:root {
  --blue: #2477b9;
  --ink: #14263a;
  --muted: #536477;
  --line: #dce7f0;
  --surface: #ffffff;
  --background: #f5faff;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0;
  background: rgba(245, 250, 255, 0.9);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.company-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.hero {
  padding: 5rem 0 6rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.hero h1 span {
  color: var(--blue);
}

.hero p {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #1b6097;
  transform: translateY(-2px);
}

.intro,
.product {
  padding: 5rem 0;
}

.intro {
  background: var(--surface);
  text-align: center;
}

.intro h2,
.product h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.intro p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

.product-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-icon {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
}

.feature-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(20, 38, 58, 0.14);
}

.screenshots {
  padding: 5rem 0;
  background: var(--background);
}

.screenshots h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 1rem 2.5rem rgba(20, 38, 58, 0.08);
}

.screenshot-grid figcaption {
  padding-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
}

.app-page .hero {
  padding-bottom: 3rem;
}

.app-page .hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: -0.07em;
}

.app-page .hero p {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--ink);
}

.details {
  padding: 1rem 0 5rem;
  background: var(--surface);
}

.legal {
  padding: 4rem 0 6rem;
  background: var(--surface);
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.legal h2 {
  margin: 2.5rem 0 0.65rem;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal .button {
  color: #fff;
  text-decoration: none;
}

.legal-links {
  margin-top: 3rem;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.detail {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--background);
}

.detail h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.detail p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .screenshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .site-footer .container {
    flex-direction: column;
  }
}
