:root {
  --ink: #0a2540;
  --ink-soft: #3d5263;
  --muted: #6b7f90;
  --accent: #1fa855;
  --accent-deep: #168a44;
  --accent-soft: #d8f5e5;
  --bg: #f4f6f8;
  --bg-deep: #e8eef2;
  --white: #ffffff;
  --amber: #c2410c;
  --amber-soft: #ffedd5;
  --rose: #be123c;
  --rose-soft: #ffe4e6;
  --line: rgba(10, 37, 64, 0.08);
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(10, 37, 64, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.logo-word {
  font-family: var(--display);
  letter-spacing: -0.03em;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-120%);
}

.skip:focus {
  transform: none;
}

/* Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 246, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.brand:hover {
  opacity: 0.78;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.logo-word {
  font-size: 1.15rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(31, 168, 85, 0.45);
  animation: pulse-dot 2.4s ease-out infinite;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(31, 168, 85, 0.18), transparent 28%),
    linear-gradient(165deg, #0a2540 0%, #0d3354 58%, #168a44 140%);
  color: var(--white);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
  gap: 40px;
  align-items: center;
  padding: 64px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b7f0cc;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: #8be4ad;
}

.lede {
  margin: 0 0 28px;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.form-card,
.form-success {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-card.light,
.form-success.light {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.waitlist-form input[type='email'] {
  flex: 1 1 12rem;
  min-width: 0;
  height: 52px;
  max-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem var(--body);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.form-card.light .waitlist-form input[type='email'] {
  background: var(--bg);
  border: 1px solid var(--line);
}

.waitlist-form input[type='email']:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-form button {
  height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font: 700 0.98rem var(--body);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.waitlist-form button:hover:not(:disabled) {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(22, 138, 68, 0.28);
}

.waitlist-form button:active:not(:disabled) {
  transform: translateY(0);
}

.waitlist-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font: 700 0.95rem var(--body);
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--accent-deep);
}

.blog-body {
  background: #f7f5f0;
}

.guide-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(31, 168, 85, 0.2), transparent 32%),
    linear-gradient(165deg, #0a2540 0%, #0d3354 62%, #0a2540 100%);
  color: var(--white);
  padding: 52px 0 56px;
}

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

.guide-hero-kicker {
  margin: 0 0 14px;
  color: #8be4ad;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.12;
  color: var(--white);
}

.guide-hero-sub {
  margin: 0 0 24px;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.6;
}

.guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.guide-hero-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.blog {
  padding: 28px 0 72px;
}

.blog-article {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
}

.blog-kicker {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-article h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
}

.blog-meta {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-article h2 {
  margin: 40px 0 12px;
  font-size: 1.45rem;
}

.blog-article h3 {
  margin: 26px 0 8px;
  font-size: 1.12rem;
}

.blog-article p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-end {
  margin-top: 48px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.blog-end-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.blog-end .btn-cta {
  margin-top: 8px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  flex: 1 0 100%;
}

.form-note,
.form-status {
  margin: 12px 4px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

.form-card.light .form-note,
.form-card.light .form-status {
  color: var(--muted);
}

.form-status.is-error {
  color: #fecaca;
}

.form-card.light .form-status.is-error {
  color: var(--rose);
}

.form-success {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-success:not([hidden]) {
  animation: rise 0.55s var(--ease) both;
}

.form-success[hidden],
.waitlist-form[hidden],
.form-status[hidden] {
  display: none;
}

.success-mark {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.success-title {
  margin: 0 0 4px;
  font-weight: 700;
}

.success-body {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.form-success.light .success-body {
  color: var(--muted);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 4px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
}

.waitlist-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 168, 85, 0.18);
  border: 1px solid rgba(139, 228, 173, 0.35);
  color: #e8fff0;
  font-weight: 600;
}

.waitlist-count strong {
  font-variant-numeric: tabular-nums;
  color: #8be4ad;
  font-size: 1.05em;
}

.waitlist-count-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fa855;
  box-shadow: 0 0 0 0 rgba(31, 168, 85, 0.45);
  animation: pulse-dot 2.4s ease-out infinite;
}

.band-count {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.band-count strong {
  font-size: 1.2em;
}

/* Phone — real screenshots in a straight iPhone-ish bezel */

.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.phone {
  position: relative;
  width: 230px;
  margin: 0;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(180deg, #142433 0%, #071828 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hero-phones .phone-home,
.hero-phones .phone-retention {
  width: 230px;
  animation: phone-in 1s var(--ease) 0.2s both;
}

.hero-phones .phone-retention {
  animation-delay: 0.12s;
}

.phone-screen {
  overflow: hidden;
  border-radius: 20px;
  background: #eef2f6;
}

.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 390 / 844;
  object-fit: contain;
  object-position: top center;
}

.article-shot {
  margin: 32px auto 40px;
  max-width: 560px;
}

.article-shot .phone {
  width: min(230px, 70vw);
  margin: 0 auto;
}

.article-shot.article-shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.article-shot.article-shots .phone {
  margin: 0;
}

.article-shot.article-shots figcaption {
  flex: 1 0 100%;
}

.article-shot figcaption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 36px;
  max-width: 38rem;
  color: var(--ink-soft);
}

.section-lead a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 168, 85, 0.22);
  box-shadow: 0 16px 36px rgba(10, 37, 64, 0.08);
}

.feature-num {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

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

.how {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.step h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

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

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.who-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 37, 64, 0.18);
}

.who-card.alt {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.who-card h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.who-card p {
  margin: 0;
  color: inherit;
  opacity: 0.8;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq details:hover {
  border-color: rgba(10, 37, 64, 0.16);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  transition: color 0.25s var(--ease);
}

.faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.band {
  background: var(--ink);
  color: var(--white);
}

.band .section {
  padding: 64px 0;
}

.band .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Legal */

.legal-hero {
  padding: 48px 0 12px;
}

.legal-hero p {
  color: var(--muted);
  margin: 8px 0 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

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

.legal-nav a:hover,
.legal-nav a[aria-current='page'] {
  color: var(--ink);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  font-size: 0.95rem;
}

.legal th,
.legal td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--bg-deep);
  color: var(--ink);
  font-weight: 600;
}

.cookie-manage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}

.cookie-manage .cookie-btn {
  min-width: 112px;
}

.cookie-manage .cookie-btn-reject {
  border-color: rgba(10, 37, 64, 0.22);
  color: var(--ink);
}

.cookie-manage .cookie-btn-reject:hover {
  border-color: var(--ink);
  background: var(--bg-deep);
}

.legal {
  padding-bottom: 80px;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 1.25rem;
}

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

.legal ul {
  padding-left: 1.2rem;
}

/* Footer */

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

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-row a:hover {
  color: var(--ink);
}

.form-note a,
.legal a {
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

.form-note a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 8px 0;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a + a::before {
  content: '·';
  margin: 0 10px;
  color: rgba(10, 37, 64, 0.28);
  pointer-events: none;
}

.footer-text-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-text-btn:hover {
  color: var(--ink);
}

.cookie-btn {
  min-width: 112px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font: 700 0.95rem var(--body);
  cursor: pointer;
}

.cookie-btn-reject {
  border: 1.5px solid rgba(10, 37, 64, 0.22);
  background: transparent;
  color: var(--ink);
}

.cookie-btn-accept {
  border: 0;
  background: var(--accent);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--accent-deep);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink-soft);
  cursor: default;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a.social-icon {
  cursor: pointer;
}

a.social-icon:hover {
  color: var(--ink);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 880px) {
  .hero-grid,
  .features,
  .steps,
  .who-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
    padding: 36px 0 44px;
  }

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

  .hero-phones {
    gap: 12px;
  }

  .hero-phones .phone-home,
  .hero-phones .phone-retention {
    width: min(210px, 44vw);
    animation: none;
  }

  .feature:hover,
  .who-card:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .nav {
    min-height: 58px;
  }

  .hero-grid {
    padding: 24px 0 32px;
    gap: 28px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.74rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .lede {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .form-card,
  .form-success {
    padding: 10px;
    border-radius: 14px;
  }

  .waitlist-form {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
  }

  .waitlist-form input[type='email'] {
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
  }

  .waitlist-form button {
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
  }

  .form-note,
  .form-status {
    margin-top: 10px;
    font-size: 0.8rem;
  }

  .hero-phones .phone-home,
  .hero-phones .phone-retention {
    width: min(196px, 44vw);
    animation: none;
  }

  .band .section {
    padding: 40px 0;
  }

  .band h2 {
    font-size: 1.7rem;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-links {
    max-width: 100%;
  }
}

/* Motion — Mercury-quiet: fade, lift, no bounce */

.intro {
  animation: rise 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}

[data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.8s var(--ease),
    translate 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 168, 85, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(31, 168, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 168, 85, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .intro,
  .phone,
  .hero-phones .phone-home,
  .hero-phones .phone-retention,
  .pill-dot,
  .waitlist-count-dot,
  .form-success:not([hidden]) {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .waitlist-form button:hover:not(:disabled),
  .feature:hover,
  .who-card:hover {
    transform: none;
    box-shadow: none;
  }
}
