:root {
  --navy: #17283a;
  --navy-2: #223a51;
  --teal: #18b9a7;
  --paper: #f6f8f9;
  --white: #ffffff;
  --ink-soft: #627282;
  --line: #dce4e8;
  --shadow: 0 24px 70px rgba(23, 40, 58, .11);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--navy); }
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: clamp(220px, 28vw, 315px); height: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
.site-header nav a:hover { color: var(--teal); }

.hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  min-height: 590px;
  margin: 12px auto 76px;
  padding: clamp(52px, 8vw, 96px);
  border-radius: 34px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
}
.eyebrow { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
.hero .eyebrow { color: #9eb0bd; }
.hero .eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--teal); }
.hero h1 { position: relative; z-index: 1; margin: 0; max-width: 760px; font-size: clamp(3.5rem, 8vw, 7.4rem); line-height: .91; letter-spacing: -.065em; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero > p { position: relative; z-index: 1; max-width: 620px; margin: 32px 0; color: #c8d3da; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.button { position: relative; z-index: 1; display: inline-flex; gap: 18px; align-items: center; padding: 15px 20px; border-radius: 999px; background: var(--white); color: var(--navy); text-decoration: none; font-weight: 800; }
.button:hover { transform: translateY(-2px); }
.route-art { position: absolute; right: 5%; top: 18%; width: 270px; height: 240px; opacity: .9; transform: rotate(-6deg); }
.route-line { position: absolute; left: 36px; bottom: 43px; width: 190px; height: 150px; border-top: 24px solid var(--teal); border-right: 24px solid var(--teal); border-radius: 0 75px 0 0; transform: skewY(-28deg); }
.route-dot { position: absolute; width: 28px; height: 28px; border: 7px solid var(--white); border-radius: 50%; z-index: 2; }
.route-dot-start { left: 12px; bottom: 17px; }
.route-dot-end { right: 3px; top: 9px; background: var(--teal); border-color: var(--teal); }

.apps-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; }
.section-heading { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: start; margin-bottom: 36px; }
.section-heading .eyebrow { padding-top: 12px; color: var(--teal); }
.section-heading h2 { margin: 0; max-width: 650px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.app-card { --accent: var(--teal); position: relative; min-height: 330px; padding: 30px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 24px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.app-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow); }
.app-card::after { content: ""; position: absolute; right: -46px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.app-number { color: var(--ink-soft); font: 700 .75rem/1 ui-monospace, monospace; }
.app-symbol { float: right; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--accent); color: white; font-weight: 900; }
.app-card h3 { clear: both; margin: 70px 0 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.app-card p { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.card-link { position: absolute; left: 30px; bottom: 28px; color: var(--accent); font-weight: 800; }
.accent-gold { --accent: #d9992b; }.accent-blue { --accent: #3977c3; }.accent-coral { --accent: #e56855; }
.accent-violet { --accent: #7456c8; }.accent-lime { --accent: #6b9f39; }.accent-aqua { --accent: #138eaa; }.accent-red { --accent: #c95064; }

.principle { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; padding: clamp(42px, 7vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle .eyebrow { color: var(--teal); }
.principle blockquote { max-width: 950px; margin: 0 0 24px; font-size: clamp(2rem, 5vw, 4.25rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 750; }
.principle > p:last-child { max-width: 680px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }

.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; color: var(--ink-soft); font-size: .9rem; }
.site-footer img { width: 42px; height: 42px; }
.site-footer a { text-decoration: none; }

/* App landing pages */
.app-page { --app-accent: var(--teal); }
.app-page .site-header { height: 88px; }
.app-page .brand img { width: 245px; }
.app-hero { width: min(1180px, calc(100% - 40px)); margin: 20px auto 62px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 100px); align-items: center; min-height: 520px; }
.app-hero-copy .eyebrow { color: var(--app-accent); }
.app-hero h1 { margin: 0; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.065em; }
.app-hero p { max-width: 640px; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.7; }
.app-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 32%; background: var(--navy); box-shadow: var(--shadow); }
.app-mark span { color: white; font-size: clamp(5rem, 14vw, 10rem); font-weight: 850; letter-spacing: -.08em; }
.app-mark::after { content: ""; position: absolute; width: 32%; height: 32%; right: -4%; top: -4%; border-radius: 50%; background: var(--app-accent); }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.app-actions a { padding: 13px 18px; border-radius: 999px; background: var(--navy); color: white; text-decoration: none; font-weight: 750; }
.app-actions a.secondary { background: transparent; border: 1px solid var(--line); color: var(--navy); }
.detail-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: white; }
.detail-strip article { padding: 34px; border-right: 1px solid var(--line); }
.detail-strip article:last-child { border-right: 0; }
.detail-strip h2 { margin: 0 0 10px; font-size: 1.1rem; }
.detail-strip p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* Privacy and support */
.content-page main { width: min(820px, calc(100% - 40px)); margin: 46px auto 100px; }
.content-page .back-link { display: inline-block; margin-bottom: 34px; color: var(--teal); font-weight: 800; text-decoration: none; }
.content-page h1 { margin: 0 0 12px; font-size: clamp(2.6rem, 7vw, 5.1rem); line-height: 1; letter-spacing: -.055em; }
.content-page .lede { color: var(--ink-soft); font-size: 1.2rem; line-height: 1.65; }
.content-page .updated { margin: 24px 0 50px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.prose h2 { margin: 40px 0 12px; font-size: 1.45rem; }
.prose p, .prose li { color: #465969; font-size: 1.04rem; line-height: 1.75; }
.prose ul { padding-left: 1.25rem; }
.callout { margin: 32px 0; padding: 22px 24px; border-left: 4px solid var(--teal); background: white; border-radius: 0 14px 14px 0; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.support-card h2 { margin-top: 0; }
.support-card a { color: var(--teal); font-weight: 800; }

@media (max-width: 800px) {
  .site-header { height: 78px; }
  .site-header nav a:first-child { display: none; }
  .hero { min-height: 600px; padding-top: 64px; }
  .route-art { right: -60px; top: auto; bottom: -10px; transform: scale(.8) rotate(-6deg); }
  .section-heading, .app-hero { grid-template-columns: 1fr; }
  .app-grid, .detail-strip { grid-template-columns: 1fr; }
  .detail-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-strip article:last-child { border-bottom: 0; }
  .app-mark { width: min(320px, 85vw); order: -1; }
  .site-footer { grid-template-columns: auto 1fr; }
  .site-footer div { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header { width: min(100% - 28px, 1180px); }
  .brand img { width: 190px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .8rem; }
  .hero, .apps-section, .principle, .app-hero, .detail-strip { width: calc(100% - 28px); }
  .hero { border-radius: 24px; padding: 44px 26px; }
  .hero h1 { font-size: 3.45rem; }
  .app-card { min-height: 310px; }
  .support-options { grid-template-columns: 1fr; }
}

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