:root {
  color-scheme: light;
  --ink: #102838;
  --ink-soft: #52646f;
  --blue: #0a84ff;
  --blue-deep: #0068d8;
  --blue-soft: #e7f3ff;
  --green: #34c759;
  --orange: #ff9f0a;
  --paper: #fbfaf6;
  --paper-blue: #f1f7fd;
  --line: rgba(16, 40, 56, 0.12);
  --white: #fff;
  --shadow: 0 24px 70px rgba(31, 77, 111, 0.14);
  --radius-lg: 36px;
  --radius-md: 24px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--content), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at 8% 15%, rgba(52, 199, 89, 0.11), transparent 22%),
    radial-gradient(circle at 92% 18%, rgba(10, 132, 255, 0.16), transparent 28%),
    linear-gradient(155deg, #fffdf7 0%, #f5fbff 60%, #e5f3ff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -220px;
  top: 100px;
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -150px;
  bottom: 40px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

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

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 520;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(10, 132, 255, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 40, 56, 0.1);
}

.platform-note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.phone-shell {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  padding: 11px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 52px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 108px 0;
}

.section-alt {
  background: var(--paper-blue);
}

.section-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(16, 40, 56, 0.07);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 42px rgba(31, 77, 111, 0.07);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 16px;
  font-size: 1.45rem;
  font-weight: 850;
}

.feature-card:nth-child(2) .feature-icon {
  color: #18883a;
  background: #e8f8ec;
}

.feature-card:nth-child(3) .feature-icon {
  color: #b46a00;
  background: #fff4dc;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.45;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 34px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(10, 132, 255, 0.3) transparent;
}

.screenshots figure {
  min-width: 230px;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-preview {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(31, 77, 111, 0.14);
  text-decoration: none;
}

.screenshot-preview::after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, rgba(5, 36, 58, 0.68));
  pointer-events: none;
}

.screenshot-preview img {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.28s ease;
}

.screenshot-preview:hover img {
  transform: scale(1.025);
}

.preview-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(10, 132, 255, 0.92);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.4;
}

.screenshots figcaption {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.privacy-callout {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  color: var(--white);
  background: linear-gradient(135deg, #0c3049, #075f9f);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.privacy-callout::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.privacy-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #052f4e;
  background: #dff8e5;
  border-radius: 22px;
  font-size: 1.8rem;
  font-weight: 900;
}

.privacy-callout h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.privacy-callout p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.privacy-callout .button {
  position: relative;
  z-index: 1;
  color: var(--ink);
  background: var(--white);
  white-space: nowrap;
}

.support-card {
  padding: clamp(38px, 7vw, 76px);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(16, 40, 56, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(31, 77, 111, 0.08);
}

.support-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

.support-card p {
  max-width: 600px;
  margin: 16px auto 28px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 46px 0 38px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: #f5f3ed;
}

.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-copy {
  margin: 12px 0 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--ink-soft);
}

/* Legal pages */
.legal-hero {
  padding: 82px 0 62px;
  background:
    radial-gradient(circle at 84% 20%, rgba(10, 132, 255, 0.15), transparent 25%),
    linear-gradient(145deg, #fffdf7, #eff8ff);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner,
.legal-content {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.legal-hero p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-content {
  padding: 72px 0 110px;
}

.legal-summary {
  margin: 0 0 54px;
  padding: 26px 28px;
  color: var(--ink-soft);
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  border-radius: 0 18px 18px 0;
}

.legal-section + .legal-section {
  margin-top: 52px;
}

.legal-section h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}

.legal-section h3 {
  margin: 30px 0 10px;
  font-size: 1.05rem;
}

.legal-section p {
  margin: 0;
  color: #314855;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section ol + p {
  margin-top: 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 0;
  padding-left: 1.5em;
  color: #314855;
}

.legal-section li + li {
  margin-top: 8px;
}

.definition-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-weight: 760;
  background: #f5f8fa;
}

.definition-list dd {
  color: #314855;
  background: var(--white);
}

.definition-list dt:last-of-type,
.definition-list dd:last-of-type {
  border-bottom: 0;
}

.contact-box {
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-box p + p {
  margin-top: 6px;
}

.legal-updated {
  margin-top: 68px;
  padding-top: 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: right;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 68px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .phone-shell {
    width: min(78vw, 390px);
    transform: none;
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
  }

  .feature-icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .privacy-callout {
    grid-template-columns: auto 1fr;
  }

  .privacy-callout .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 68px;
  }

  .nav-links a:not(.nav-essential) {
    display: none;
  }

  .hero {
    padding: 56px 0 76px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-copy br {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .screenshots {
    margin-right: -20px;
    padding-right: 20px;
    grid-template-columns: repeat(4, 74vw);
  }

  .privacy-callout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .privacy-callout .button {
    justify-self: stretch;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .definition-list {
    grid-template-columns: 1fr;
  }

  .definition-list dt,
  .definition-list dd {
    border-bottom: 1px solid var(--line);
  }

  .definition-list dd:last-of-type {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
