/* Hunny — layout & theme */

:root {
  --sand: #efe3bf;
  --sand-rgb: 239 227 191;
  --teal: #439c9c;
  --teal-rgb: 67 156 156;
  --apricot: #ea923f;
  --apricot-rgb: 234 146 63;
  --sage: #b8c9a3;
  --sage-rgb: 184 201 163;
  --lavender: #baa6cd;
  --lavender-rgb: 186 166 205;
  --cream: #fffaf6;
  --cream-rgb: 255 250 246;
  --cream-deep: #efe9d6;
  --ink: #174066;
  --muted: #675f58;
  --teal-deep: #2f7676;
  --apricot-deep: #9f5d22;
  --sage-deep: #60714f;
  --lavender-deep: #665275;
  --footer-bg: #355d5f;
  --header-h: 122px;
  --radius-lg: 28px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
  --gradient-title: linear-gradient(90deg, var(--teal) 0%, var(--apricot) 48%, var(--lavender) 100%);
  --gradient-cta: linear-gradient(90deg, var(--teal) 0%, var(--apricot) 58%, var(--lavender) 100%);
  --logo-gradient: linear-gradient(90deg, #f6c56e 0%, #ffb469 42%, #ff9a5f 72%, #ff7a57 100%);
  /* Solid CTAs — matches “Know What To Ask Tonight” heading */
  --btn-waitlist-solid: #2f89a8;
  --btn-solid: #25445c;
  --font-title: "Nunito Sans", "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-zh: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 118.75%;
  background-color: var(--cream);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  background-image: none;
  padding-top: var(--header-h);
}

html[lang="zh-Hant"] body {
  font-family: var(--font-zh);
}

main {
  background-color: var(--cream);
}

.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;
}

/* Author `display` on components can override the default [hidden] behavior; force it. */
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-heading,
.hero-waitlist__title,
.feature-board__title,
.paper-note h3,
.feature-text__eyebrow,
.pitch-eyebrow,
.pitch-title,
.pitch-trust-list li,
.stat-num,
.stat-label,
.contact-section__eyebrow,
.contact-section__title,
.contact-card__label,
.email-copy-bar__copy,
.footer-col strong,
.nav-main__list a,
.language-switch__option,
.ph-badge,
.waitlist-label,
.waitlist-submit,
.faq-page-kicker,
.faq-page-title,
.faq-category-title,
.faq-summary,
.blog-hero-kicker,
.blog-hero-title,
.blog-post-meta,
.blog-post-title,
.blog-toc-title,
.coming-soon-dialog__title,
.pitch-trust-foot,
.btn {
  font-family: var(--font-title);
  font-weight: 725;
}

html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3,
html[lang="zh-Hant"] h4,
html[lang="zh-Hant"] h5,
html[lang="zh-Hant"] h6,
html[lang="zh-Hant"] .hero-heading,
html[lang="zh-Hant"] .hero-waitlist__title,
html[lang="zh-Hant"] .feature-board__title,
html[lang="zh-Hant"] .paper-note h3,
html[lang="zh-Hant"] .feature-text__eyebrow,
html[lang="zh-Hant"] .pitch-eyebrow,
html[lang="zh-Hant"] .pitch-title,
html[lang="zh-Hant"] .pitch-trust-list li,
html[lang="zh-Hant"] .stat-num,
html[lang="zh-Hant"] .stat-label,
html[lang="zh-Hant"] .contact-section__eyebrow,
html[lang="zh-Hant"] .contact-section__title,
html[lang="zh-Hant"] .contact-card__label,
html[lang="zh-Hant"] .email-copy-bar__copy,
html[lang="zh-Hant"] .footer-col strong,
html[lang="zh-Hant"] .nav-main__list a,
html[lang="zh-Hant"] .language-switch__option,
html[lang="zh-Hant"] .ph-badge,
html[lang="zh-Hant"] .waitlist-label,
html[lang="zh-Hant"] .waitlist-submit,
html[lang="zh-Hant"] .faq-page-kicker,
html[lang="zh-Hant"] .faq-page-title,
html[lang="zh-Hant"] .faq-category-title,
html[lang="zh-Hant"] .faq-summary,
html[lang="zh-Hant"] .blog-hero-kicker,
html[lang="zh-Hant"] .blog-hero-title,
html[lang="zh-Hant"] .blog-post-meta,
html[lang="zh-Hant"] .blog-post-title,
html[lang="zh-Hant"] .blog-toc-title,
html[lang="zh-Hant"] .coming-soon-dialog__title,
html[lang="zh-Hant"] .pitch-trust-foot,
html[lang="zh-Hant"] .btn {
  font-family: var(--font-zh);
  font-weight: 725;
  letter-spacing: 0;
}

/* ——— Fixed top bar (always visible on scroll) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgb(var(--cream-rgb) / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.07);
  border-bottom-color: rgba(0, 0, 0, 0.09);
  background: rgb(var(--cream-rgb) / 0.94);
}

.header-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: clamp(230px, 18vw, 280px);
  height: 112px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
  filter: brightness(1.03);
}

.brand:active .brand-logo {
  transform: scale(0.98);
}

.nav-toggle,
.nav-main__close,
.nav-overlay {
  display: none;
}

.nav-toggle {
  appearance: none;
  border: 1px solid rgb(var(--teal-rgb) / 0.18);
  background: rgb(255 255 255 / 0.84);
  color: var(--ink);
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgb(var(--teal-rgb) / 0.35);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.nav-toggle:focus-visible,
.nav-main__close:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-main__mobile-head {
  display: none;
}

.nav-main__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgb(23 64 102 / 0.24);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 998;
}

.nav-main__list {
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.82) 0%,
    rgb(var(--sand-rgb) / 0.48) 100%
  );
  border: 1px solid rgb(var(--teal-rgb) / 0.14);
  border-radius: 100px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 6px 20px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-main__list li {
  margin: 0;
}

.nav-main__list a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: -0.02em;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-main__list a:hover {
  color: #fff;
  background: var(--btn-solid);
  box-shadow: 0 4px 14px rgba(37, 68, 92, 0.28);
}

.nav-main__list a:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.65);
  outline-offset: 2px;
  color: var(--ink);
}

.nav-main__list a[aria-current="page"]:focus-visible {
  color: #fffaf6;
}

.nav-main__list a:hover:focus-visible {
  color: #fff;
}

.nav-main__list a[aria-current="page"] {
  color: #fffaf6;
  background: var(--btn-solid);
  box-shadow: 0 4px 14px rgba(37, 68, 92, 0.28);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.32rem 0.46rem;
  border: 1px solid rgb(var(--teal-rgb) / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.language-switch:hover {
  border-color: rgb(var(--teal-rgb) / 0.32);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.language-switch:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: 2px;
}

.language-switch__option {
  font-size: 0.72rem;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.language-switch[aria-checked="false"] .language-switch__option--en,
.language-switch[aria-checked="true"] .language-switch__option--zh {
  color: var(--ink);
}

.language-switch__track {
  position: relative;
  width: 2.05rem;
  height: 1.12rem;
  border-radius: 999px;
  background: rgb(var(--sand-rgb) / 0.84);
  box-shadow:
    inset 0 0 0 1px rgb(var(--teal-rgb) / 0.14),
    inset 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.language-switch__thumb {
  position: absolute;
  top: 0.17rem;
  left: 0.17rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease;
}

.language-switch[aria-checked="true"] .language-switch__track {
  background: rgb(var(--teal-rgb) / 0.34);
  box-shadow:
    inset 0 0 0 1px rgb(var(--teal-rgb) / 0.22),
    inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.language-switch[aria-checked="true"] .language-switch__thumb {
  transform: translateX(0.93rem);
}

.ph-badge {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--apricot-deep);
  border: 1px solid rgb(var(--apricot-rgb) / 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgb(var(--sand-rgb) / 0.28);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .ph-badge:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgb(var(--apricot-rgb) / 0.16);
  }
}

@media (min-width: 900px) {
  .ph-badge {
    display: inline-flex;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 4.75rem) 1.5rem clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  background-color: var(--cream);
  background-image: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: min(40rem, 100%);
}

.hero-heading {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.05rem);
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.hero-heading-emphasis {
  color: var(--btn-waitlist-solid);
}

.hero-description {
  margin: 1.15rem 0 0;
  max-width: 38rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  min-height: clamp(400px, 48vw, 560px);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  position: relative;
}

.hero-cta--waitlist {
  gap: 1rem 1.25rem;
}

.hero-waitlist {
  width: min(100%, 34rem);
}

.hero-waitlist__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-waitlist__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.waitlist-form--hero .waitlist-field {
  margin-bottom: 0;
}

.waitlist-form--hero .waitlist-submit {
  width: 100%;
  align-self: stretch;
  margin-bottom: 1.2rem;
}

.hero-waitlist__note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: var(--btn-solid);
  box-shadow: 0 8px 24px rgba(37, 68, 92, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgb(var(--lavender-rgb) / 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.spark {
  width: 28px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--apricot) 0,
    var(--apricot) 4px,
    transparent 4px,
    transparent 8px
  );
  border-radius: 2px;
  opacity: 0.85;
}

.spark--left {
  transform: rotate(-8deg);
}

.spark--right {
  transform: rotate(8deg);
}

.hero-cta--waitlist .spark {
  display: none;
}

@media (max-width: 520px) {
  .spark {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-waitlist {
    width: min(100%, 30rem);
  }

  .hero-waitlist__fields {
    grid-template-columns: 1fr;
  }
}

.hero-mascot {
  position: absolute;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-mascot {
    pointer-events: auto;
  }
}

.hero-mascot--primary {
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: clamp(280px, 36vw, 420px);
  transform: translateX(-50%);
}

.hero-mascot--secondary {
  left: 0;
  bottom: 1.25rem;
  z-index: 3;
  width: clamp(150px, 18vw, 210px);
  padding: clamp(0.75rem, 1.8vw, 1rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.hero-bunny {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  filter: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

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

  .hero-visual {
    justify-self: center;
    width: min(100%, 360px);
    min-height: clamp(430px, 66vw, 560px);
  }

  .hero-mascot--primary {
    bottom: -0.35rem;
    width: clamp(300px, 42vw, 390px);
  }
}

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

  .hero-inner {
    margin-top: -4rem;
  }

  .hero-visual {
    width: min(100%, 390px);
    min-height: clamp(450px, 104vw, 610px);
  }

  .hero-mascot--primary {
    bottom: -1.1rem;
    width: clamp(340px, 82vw, 430px);
  }
}

/* ——— Second screen: scalloped feature board ——— */
.home-wallpaper-band {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  --feature-edge-h: clamp(4.25rem, 8vw, 6.25rem);
  --feature-edge-w: 46rem;
  margin-top: 0;
  padding: clamp(4.2rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 6.8rem);
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.38) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 74% 66%, rgba(255, 255, 255, 0.28) 0 0.16rem, transparent 0.18rem),
    linear-gradient(180deg, #e8f1e6 0%, #d4e7dd 54%, #edf4e8 100%);
  background-size: 4.5rem 4.5rem, 5.8rem 5.8rem, 100% 100%;
}

.home-wallpaper-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: var(--feature-edge-h);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='672' height='116' viewBox='0 0 672 116' preserveAspectRatio='none'%3E%3Cpath d='M0 0H672V64C632 54 604 74 562 64C526 56 500 48 464 58C423 69 386 75 336 64C294 55 257 56 222 66C181 78 136 76 98 64C60 52 32 58 0 70V0Z' fill='%23fffaf6'/%3E%3C/svg%3E");
  background-size: var(--feature-edge-w) var(--feature-edge-h);
  background-repeat: repeat-x;
  background-position: center top;
  pointer-events: none;
}

.home-wallpaper-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: var(--feature-edge-h);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='672' height='116' viewBox='0 0 672 116' preserveAspectRatio='none'%3E%3Cpath d='M0 116H672V56C634 68 600 74 560 62C520 50 482 50 440 62C400 74 356 76 314 63C276 51 238 58 204 68C166 80 122 72 88 60C54 49 26 55 0 65V116Z' fill='%23fffaf6'/%3E%3C/svg%3E");
  background-size: var(--feature-edge-w) var(--feature-edge-h);
  background-repeat: repeat-x;
  background-position: center bottom;
  pointer-events: none;
}

.home-wallpaper-band .feature-board {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .home-wallpaper-band {
    --feature-edge-h: 4rem;
    --feature-edge-w: 30rem;
    padding: 4.75rem 0 5rem;
  }
}

/* ——— Feature cards ——— */
.feature-stack {
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-board {
  position: relative;
  z-index: 1;
  width: min(1520px, calc(100% - clamp(2rem, 5vw, 4rem)));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.feature-board__intro {
  text-align: center;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  max-width: 760px;
}

.feature-board__title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--btn-solid);
}

.feature-board__scene {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: stretch;
  justify-items: stretch;
}

.feature-text__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7d6a60;
}

.paper-note {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 0;
  filter: drop-shadow(0 16px 32px rgba(103, 86, 66, 0.14));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.paper-note__slot {
  display: none;
}

.paper-note__body {
  position: relative;
  height: 100%;
  padding: clamp(1.55rem, 2.8vw, 2.2rem) clamp(1.3rem, 2.6vw, 2rem) clamp(1.4rem, 2.5vw, 1.9rem);
  overflow: hidden;
  border-radius: 38px 44px 40px 42px / 40px 38px 44px 36px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.58) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 82% 24%, rgba(244, 216, 197, 0.55) 0, rgba(244, 216, 197, 0) 28%),
    radial-gradient(circle at 50% 110%, rgba(222, 191, 168, 0.28) 0, rgba(222, 191, 168, 0) 42%),
    linear-gradient(180deg, #fbf1e7 0%, #f7e7d9 100%);
  border: 1px solid rgba(187, 149, 122, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -14px 24px rgba(205, 166, 139, 0.14);
}

.paper-note__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(129, 99, 77, 0.08) 0.7px, transparent 0.8px),
    radial-gradient(rgba(255, 255, 255, 0.18) 0.7px, transparent 0.8px),
    linear-gradient(180deg, rgba(165, 124, 100, 0.06), rgba(255, 255, 255, 0));
  background-size: 12px 12px, 16px 16px, 100% 100%;
  background-position: 0 0, 6px 7px, 0 0;
  mix-blend-mode: multiply;
  opacity: 0.9;
  pointer-events: none;
}

/* Home feature board — same fill as `.hero` (cream) */
.paper-note--friend .paper-note__body,
.paper-note--summary .paper-note__body,
.paper-note--topics .paper-note__body {
  background-color: var(--cream);
  background-image: none;
  border-color: rgba(103, 86, 66, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 28px rgba(23, 64, 102, 0.045);
}

.paper-note--friend .paper-note__body::before,
.paper-note--summary .paper-note__body::before,
.paper-note--topics .paper-note__body::before {
  mix-blend-mode: multiply;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(129, 99, 77, 0.07) 0.7px, transparent 0.8px),
    radial-gradient(rgba(255, 255, 255, 0.2) 0.7px, transparent 0.8px),
    linear-gradient(180deg, rgba(165, 124, 100, 0.05), rgba(255, 250, 246, 0));
}

.paper-note h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.paper-note p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: #5d4f46;
}

.paper-note--friend {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  justify-self: stretch;
  transform: none;
}

.paper-note--summary {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  justify-self: stretch;
  transform: none;
}

.paper-note--topics {
  grid-column: 3;
  grid-row: 1;
  max-width: none;
  justify-self: stretch;
  transform: none;
}

.paper-note--friend h3 {
  color: var(--btn-waitlist-solid);
}

.paper-note--summary h3 {
  color: #1f5f95;
}

.paper-note--topics h3 {
  color: var(--btn-waitlist-solid);
}

.paper-note--friend .paper-note__body {
  border-radius: 40px 46px 38px 44px / 38px 42px 40px 44px;
}

.paper-note--summary .paper-note__body {
  border-radius: 44px 38px 46px 40px / 40px 44px 38px 42px;
}

.paper-note--topics .paper-note__body {
  border-radius: 38px 46px 42px 44px / 44px 38px 42px 40px;
}

@media (hover: hover) {
  .paper-note:hover {
    transform: translateY(-4px) rotate(var(--paper-tilt, 0deg));
  }
}

.paper-note--friend {
  --paper-tilt: 0deg;
}

.paper-note--summary {
  --paper-tilt: 0deg;
}

.paper-note--topics {
  --paper-tilt: 0deg;
}

@media (max-width: 980px) {
  .feature-board__scene {
    max-width: 800px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .paper-note--friend,
  .paper-note--summary,
  .paper-note--topics {
    justify-self: stretch;
  }

  .paper-note--friend {
    grid-column: 1;
    grid-row: 1;
  }

  .paper-note--summary {
    grid-column: 2;
    grid-row: 1;
  }

  .paper-note--topics {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .feature-board {
    width: 100%;
    padding-inline: 1rem;
  }

  .feature-board__scene {
    max-width: 420px;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .paper-note,
  .paper-note--friend,
  .paper-note--summary,
  .paper-note--topics {
    transform: none;
  }

  .paper-note--friend,
  .paper-note--summary,
  .paper-note--topics {
    grid-column: 1;
    justify-self: center;
  }

  .paper-note--friend {
    grid-row: 1;
  }

  .paper-note--summary {
    grid-row: 2;
  }

  .paper-note--topics {
    grid-row: 3;
  }

  .paper-note__body,
  .paper-note--friend .paper-note__body,
  .paper-note--summary .paper-note__body,
  .paper-note--topics .paper-note__body {
    border-radius: 34px 40px 36px 38px / 38px 34px 40px 36px;
  }
}

/* ——— Divider ——— */
.divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  max-width: 1100px;
  margin: 0 auto 3rem;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .divider:hover {
    transform: scaleX(1.02);
    opacity: 1;
    box-shadow: 0 1px 0 rgb(var(--teal-rgb) / 0.35);
  }
}

/* ——— Home pitch (above stats) ——— */
.home-pitch {
  display: none;
  padding: 0 1.25rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-direction: column;
  gap: 1.25rem;
}

.pitch-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .pitch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.1);
  }
}

.pitch-card--trust {
  background: linear-gradient(
    165deg,
    rgb(var(--lavender-rgb) / 0.34) 0%,
    rgb(var(--sand-rgb) / 0.74) 45%,
    rgb(var(--sage-rgb) / 0.38) 100%
  );
  border-color: rgba(255, 255, 255, 0.5);
  color: #43394f;
}

.pitch-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.pitch-eyebrow--left {
  text-align: left;
}

.pitch-card--trust .pitch-eyebrow {
  color: var(--lavender-deep);
}

.pitch-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}

.pitch-title--left {
  text-align: left;
}

.pitch-card--trust .pitch-title {
  color: #392f44;
}

.pitch-trust-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pitch-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #453c52;
}

.pitch-trust-list__icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 725;
  color: var(--teal-deep);
  background: linear-gradient(180deg, rgb(var(--sand-rgb) / 0.84) 0%, rgb(var(--teal-rgb) / 0.24) 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(100, 140, 200, 0.18);
}

.pitch-trust-foot {
  margin: 0;
  text-align: center;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-style: normal;
  line-height: 1.45;
  color: #64576e;
}

/* ——— Stats ——— */
.stats {
  padding: 2rem 1.5rem 4rem;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 1.35rem 2rem;
  margin-bottom: 2.5rem;
}

.stat {
  padding: 0.85rem 0.65rem;
  border-radius: 20px;
  width: min(100%, 420px);
  transition: transform 0.25s ease, background 0.25s ease;
}

@media (hover: hover) {
  .stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.55);
  }
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" 1;
  color: #1a3670;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.stat-note {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.stat-note--center {
  grid-column: 1 / -1;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  color: var(--btn-waitlist-solid);
}

.stats-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.btn-gradient {
  color: #fff;
  background: var(--btn-solid);
  box-shadow: 0 8px 24px rgba(37, 68, 92, 0.28);
}

.btn-waitlist-plain {
  color: #fff;
  background: var(--btn-waitlist-solid);
  border: none;
  box-shadow: 0 8px 24px rgba(47, 137, 168, 0.28);
}

.btn-waitlist-plain:hover {
  filter: brightness(1.06);
}

.btn-waitlist-plain:active {
  filter: brightness(0.96);
}

.btn-muted {
  color: #fff;
  background: var(--lavender-deep);
  border: none;
}

.btn-muted:hover {
  background: #564664;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ——— Contact ——— */
.contact-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-section__inner {
  text-align: center;
}

.contact-section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot-deep);
}

.contact-section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact-section__lead {
  margin: 0 auto 1.75rem;
  max-width: 29.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.waitlist-section .contact-section__lead a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.waitlist-section .contact-section__lead a:hover {
  text-decoration: underline;
}

.contact-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem 1.75rem;
  text-align: left;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

.contact-card:hover {
  transform: none;
  box-shadow: none;
}

.contact-card:active {
  transform: none;
}

a.contact-card:hover .contact-card__value,
button.contact-card:hover .contact-card__value {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-card:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: 3px;
}

.contact-card--instagram,
.contact-card--threads,
.contact-card--email {
  background: transparent;
}

button.contact-card {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.contact-card-email-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.email-copy-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  margin-top: 0.6rem;
  padding: 0.6rem 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.email-copy-bar[hidden] {
  display: none;
}

.email-copy-bar__addr {
  font-size: 0.88rem;
  font-weight: 500;
  color: #43384f;
  word-break: break-all;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.email-copy-bar__copy {
  flex-shrink: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  box-shadow: 0 2px 10px rgb(var(--teal-rgb) / 0.32);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.email-copy-bar__copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgb(var(--teal-rgb) / 0.4);
}

.email-copy-bar__copy:active {
  transform: translateY(0);
}

.email-copy-bar__copy:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.85);
  outline-offset: 2px;
}

.contact-card__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3b3245;
}

.contact-card__value {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4d4356;
  word-break: break-word;
}

@media (max-width: 720px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ——— Footer ——— */
.site-footer {
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 1100px;
  margin: 0 auto;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  font-size: 0.9rem;
}

.footer-row--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  text-decoration: underline;
  color: var(--teal-deep);
}

.footer-col a:active {
  transform: translateX(2px);
}

.footer-col a:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-col--center {
  text-align: center;
  justify-self: center;
}

.footer-col--end {
  text-align: right;
  align-items: flex-end;
}

.footer-brand-strip {
  margin-top: 2.5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding: 1.75rem 1.25rem 2rem;
  background: var(--footer-bg);
  text-align: center;
}

.footer-logo {
  display: inline-block;
  width: clamp(230px, 18vw, 280px);
  height: 112px;
  max-width: min(340px, 78vw);
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-brand-strip:hover .footer-logo {
  transform: scale(1.05);
  opacity: 0.95;
}

.footer-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 700px) {
  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col--end {
    align-items: center;
    text-align: center;
  }

  .footer-col--center {
    justify-self: stretch;
  }
}

/* ——— Subpages (FAQ, blog) ——— */
.page-sub {
  min-height: calc(100vh - var(--header-h));
}

.faq-page-section {
  padding: 2.5rem 1.5rem 3rem;
}

.faq-page-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.faq-page-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot-deep);
}

.faq-page-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.faq-page-lead {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.faq-category {
  margin-bottom: 2.25rem;
}

.faq-category-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
  margin-bottom: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

@media (hover: hover) {
  .faq-item:hover {
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
    border-color: rgb(var(--teal-rgb) / 0.26);
  }
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-size: 0.98rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.faq-summary:active {
  transform: scale(0.995);
}

.faq-summary:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: -2px;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 725;
  font-size: 1.15rem;
  color: var(--apricot-deep);
  line-height: 1;
}

details[open] > .faq-summary::after {
  content: "−";
}

.faq-summary:hover {
  background: rgb(var(--sand-rgb) / 0.4);
}

.faq-item[open] .faq-summary {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-answer {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0.65rem 0 0;
}

.faq-answer p:first-child {
  margin-top: 0;
}

.faq-answer ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin: 0.25rem 0;
}

.faq-answer a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-answer-list--plain {
  list-style: none;
  padding-left: 0;
}

.faq-answer-list--plain li {
  margin: 0.5rem 0;
}

.faq-page-back {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Blog */
.blog-hero {
  text-align: center;
  padding: 2.75rem 1.5rem 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.blog-hero-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lavender-deep);
}

.blog-hero-title {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 5vw, 2.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.blog-hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.blog-index {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.blog-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgb(255 255 255 / 0.88) 0%, rgb(var(--sand-rgb) / 0.72) 100%);
  border: 1px solid rgb(var(--apricot-rgb) / 0.28);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

@media (hover: hover) {
  .blog-toc:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
    border-color: rgb(var(--apricot-rgb) / 0.42);
  }
}

.blog-toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.blog-toc-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}

.blog-toc-list li {
  margin: 0.4rem 0;
}

.blog-toc-list a {
  color: var(--apricot-deep);
  text-decoration: none;
  font-weight: 500;
}

.blog-toc-list a:hover {
  text-decoration: underline;
}

.blog-toc-list a:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.blog-articles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post {
  padding: 1.75rem 1.5rem 1.85rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    border-color: rgb(var(--teal-rgb) / 0.2);
  }
}

.blog-post-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-post-title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  line-height: 1.25;
  color: var(--ink);
}

.blog-post-body {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.blog-post-body p {
  margin: 0 0 0.85rem;
}

.blog-post-body p:last-child {
  margin-bottom: 0;
}

.blog-post-body a:not(.btn) {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.blog-post-body a:not(.btn):hover {
  text-decoration: underline;
}

.blog-post-body .btn {
  margin-top: 0.5rem;
}

@media (max-width: 800px) {
  .blog-index {
    grid-template-columns: 1fr;
  }

  .blog-toc {
    position: static;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-h: 100px;
  }

  .header-inner {
    padding: 0 1rem;
    gap: 0.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 0.45rem;
  }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    bottom: 0;
    z-index: 1001;
    width: min(84vw, 21rem);
    max-width: 21rem;
    padding: 1rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.96) 0%, rgb(var(--cream-rgb) / 0.98) 100%);
    border-right: 1px solid rgb(var(--teal-rgb) / 0.14);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    transform: translateX(calc(-100% - 1.5rem));
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
    visibility: hidden;
  }

  .nav-main__mobile-head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-main__close {
    display: inline-flex;
  }

  .nav-main__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-main__list a {
    padding: 0.92rem 1rem;
    font-size: 1rem;
    border-radius: 1rem;
    background: rgb(var(--sand-rgb) / 0.2);
  }

  .nav-main__list a[aria-current="page"] {
    background: var(--btn-solid);
  }

  .nav-overlay {
    display: block;
    top: var(--header-h);
    z-index: 997;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-main {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.28s ease, visibility 0s;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .ph-badge {
    display: none;
  }

  .language-switch {
    gap: 0.32rem;
    padding: 0.28rem 0.4rem;
  }

  .language-switch__option {
    font-size: 0.68rem;
  }

  .language-switch__track {
    width: 1.86rem;
  }

  .language-switch[aria-checked="true"] .language-switch__thumb {
    transform: translateX(0.74rem);
  }

  .brand-logo {
    width: 178px;
    height: 78px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  :root {
    --header-h: 88px;
  }

  .header-inner {
    padding: 0 0.75rem;
    gap: 0.4rem;
  }

  .brand-logo {
    width: 138px;
    height: 62px;
  }

  .nav-toggle {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
  }

  .language-switch {
    gap: 0.24rem;
    padding: 0.24rem 0.34rem;
  }

  .language-switch__option {
    font-size: 0.62rem;
  }

  .language-switch__track {
    width: 1.62rem;
    height: 1rem;
  }

  .language-switch__thumb {
    width: 0.68rem;
    height: 0.68rem;
    top: 0.16rem;
    left: 0.16rem;
  }

  .language-switch[aria-checked="true"] .language-switch__thumb {
    transform: translateX(0.62rem);
  }
}

/* ——— Waitlist ——— */
.waitlist-section {
  padding: 2rem 1.5rem 1rem;
  max-width: 1040px;
  margin: 0 auto;
}

.waitlist-section__inner {
  text-align: center;
}

.waitlist-block {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  width: 100%;
  max-width: min(420px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.waitlist-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-align: left;
  width: 100%;
  min-width: 0;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.waitlist-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

.waitlist-optional {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #888;
}

.waitlist-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-input::placeholder {
  color: rgba(92, 92, 92, 0.45);
}

.waitlist-input:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.waitlist-input:focus {
  outline: none;
  border-color: rgb(var(--teal-rgb) / 0.65);
  box-shadow: 0 0 0 3px rgb(var(--teal-rgb) / 0.18);
}

.waitlist-hp {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.waitlist-hp-label,
.waitlist-hp input {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}

.waitlist-submit {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: var(--btn-waitlist-solid);
  box-shadow: 0 8px 24px rgba(47, 137, 168, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  align-self: center;
}

.waitlist-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.waitlist-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.waitlist-status {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--teal-deep);
  text-align: center;
}

.waitlist-status[hidden] {
  display: none !important;
  margin: 0;
}

.waitlist-status--error {
  color: #c62828;
}

.waitlist-privacy {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.waitlist-page-panel-wrap {
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.waitlist-page-panel {
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.waitlist-page-back {
  margin: 1.75rem 0 0;
  text-align: center;
}

.waitlist-page-back-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
}

.waitlist-page-back-link:hover {
  text-decoration: underline;
}

.waitlist-page-back-link:focus-visible {
  outline: 2px solid rgb(var(--teal-rgb) / 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— Coming soon (app / try CTAs) ——— */
.coming-soon-dialog {
  margin: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(26rem, calc(100vw - 2rem));
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}

.coming-soon-dialog::backdrop {
  background: rgba(26, 26, 26, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.coming-soon-dialog__inner {
  padding: 1.65rem 1.65rem 1.4rem;
}

.coming-soon-dialog__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  letter-spacing: -0.02em;
}

.coming-soon-dialog__body {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.coming-soon-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.coming-soon-dialog__actions .btn {
  flex: 0 1 auto;
  min-width: 8rem;
  text-align: center;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ——— Scroll reveal (html.js set via inline snippet at body start) ——— */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal-on-scroll {
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.js .reveal-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(28px);
  }

  html.js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  html.js .reveal-on-scroll--d1 {
    transition-delay: 0.1s;
  }

  html.js .reveal-on-scroll--d2 {
    transition-delay: 0.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal-on-scroll:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
