:root {
  --ink: #0f172a;
  --muted: #526071;
  --line: rgba(15, 23, 42, 0.08);
  --wash: #f4fbfb;
  --wash-strong: #e6f7f8;
  --accent: #0f7f83;
  --accent-strong: #0a676b;
  --card: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Avenir Next",
    "Segoe UI",
    "Helvetica Neue",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(166, 239, 246, 0.72), transparent 30rem),
    radial-gradient(circle at top right, rgba(196, 181, 253, 0.36), transparent 28rem),
    linear-gradient(180deg, #fbffff 0%, #f4fbfb 55%, #ffffff 100%);
}

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

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 1.35rem;
  line-height: 1;
}

.brand em {
  margin-top: 4px;
  color: var(--accent-strong);
  font-style: normal;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  min-height: min(74vh, 760px);
  padding: 44px 0 60px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 28px rgba(15, 127, 131, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-device {
  justify-self: end;
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.hero-device img,
.screen-grid img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-band article,
.notice,
.support {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
}

.feature-band article {
  min-height: 172px;
  padding: 26px;
  border-radius: 30px;
}

.feature-band h2,
.notice h2,
.support h2,
.section-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.feature-band p,
.notice p,
.support p,
.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.screens {
  padding: 110px 0 88px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

figure {
  margin: 0;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

figcaption {
  padding: 18px 10px 10px;
  color: var(--muted);
}

.notice {
  padding: 30px;
  border-radius: 34px;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 30px;
  border-radius: 34px;
}

.support div {
  max-width: 680px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 48px 0 36px;
  color: var(--muted);
}

.legal-page {
  max-width: 920px;
  padding: 38px 0 70px;
}

.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.legal-hero {
  padding: clamp(30px, 5vw, 52px);
  border-radius: 38px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

.legal-hero p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-card {
  margin-top: 18px;
  padding: 28px;
  border-radius: 28px;
}

.legal-card h2 {
  margin: 0 0 12px;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.3rem;
}

.legal-card a,
footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .hero-device {
    justify-self: start;
  }

  .feature-band,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .support {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  nav {
    gap: 16px;
    font-size: 0.94rem;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
