/* Segl — bona.city marketing design system */

:root {
  --brand: #29387a;
  --primary: #020963;
  --primary-dark: #02094f;
  --navy: #19217f;
  --accent: #ef3566;
  --sage: #6aaa91;
  --sky: #eaebed;
  --ground: #e1e2e8;
  --mist: #f1f5f9;

  --bg: var(--mist);
  --bg-elevated: #ffffff;
  --bg-mound: var(--ground);
  --bg-mound-soft: var(--sky);
  --text: var(--primary);
  --muted: #475569;
  --accent-hover: #d62d58;
  --accent-soft: rgba(239, 53, 102, 0.12);
  --brand-soft: rgba(41, 56, 122, 0.1);
  --border-hairline: rgba(2, 9, 99, 0.08);
  --heritage: var(--brand);
  --heritage-soft: var(--brand-soft);
  --heritage-muted: var(--navy);
  --shadow-soft: 0 8px 32px rgba(2, 9, 99, 0.08);
  --shadow-phone: 0 32px 64px rgba(2, 9, 99, 0.18), 0 0 0 1px rgba(2, 9, 99, 0.06);
  --radius-card: 22px;
  --radius-pill: 999px;
  --max-width: 1160px;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --btn-height: 2.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(241, 245, 249, 0.85);
  border-bottom: 1px solid var(--border-hairline);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand:hover {
  text-decoration: none;
}

.brand-seal {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--bg) !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s var(--ease-out);
}

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

.nav-sister {
  color: var(--heritage-muted) !important;
}

.nav-sister:hover {
  color: var(--heritage) !important;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  height: 2.25rem;
  padding: 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.35rem;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s var(--ease-out);
  border-radius: var(--radius-pill);
}

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

.lang-btn.active {
  color: var(--text);
}

.lang-divider {
  color: var(--muted);
  opacity: 0.45;
  font-weight: 400;
  user-select: none;
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  width: 100%;
}

/* --- Hero --- */

.hero-band {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  padding: 0 calc(50vw - 50% + 1.5rem);
  background:
    radial-gradient(ellipse 90% 70% at 85% 8%, rgba(106, 170, 145, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 92%, rgba(239, 53, 102, 0.14) 0%, transparent 52%),
    linear-gradient(165deg, var(--primary) 0%, var(--brand) 50%, var(--navy) 100%);
  color: var(--mist);
}

.hero-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-gradient::before {
  display: none;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage);
}

body.home header {
  background: rgba(2, 9, 99, 0.62);
  border-bottom-color: rgba(241, 245, 249, 0.1);
}

body.home .brand-name {
  color: var(--mist);
}

body.home .nav-links a {
  color: rgba(241, 245, 249, 0.78);
}

body.home .nav-links a:hover {
  color: var(--mist);
}

.hero-gradient h1 {
  color: var(--mist);
}

.hero-gradient p.hero-lead {
  color: rgba(241, 245, 249, 0.82);
}

.hero-gradient .btn-secondary {
  color: var(--mist);
  border-color: rgba(241, 245, 249, 0.34);
  background: rgba(241, 245, 249, 0.08);
}

.hero-gradient .btn-secondary:hover {
  border-color: rgba(241, 245, 249, 0.55);
  background: rgba(241, 245, 249, 0.14);
}

.hero-gradient .hero-trust {
  margin-top: 1.25rem;
  background: rgba(241, 245, 249, 0.08);
  color: rgba(241, 245, 249, 0.82);
  border: 1px solid rgba(241, 245, 249, 0.1);
}

.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
}

.hero-band .hero {
  padding: 3.25rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 520px;
  background: radial-gradient(ellipse 70% 55% at 50% 40%, rgba(41, 56, 122, 0.08) 0%, rgba(106, 170, 145, 0.06) 35%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 300px);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  animation: hero-enter 0.4s var(--ease-out) both;
}

.hero-device {
  display: flex;
  justify-content: center;
  animation: hero-enter 0.4s var(--ease-out) 0.1s both;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--heritage);
  margin: 0 0 0.65rem;
  max-width: none;
}

.hero p.hero-subhead {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heritage-muted);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.01em;
  font-style: italic;
  max-width: 36rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--brand);
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.hero p.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero p.hero-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 36rem;
}

/* --- Buttons (unified CTA grammar) --- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  white-space: nowrap;
  text-wrap: balance;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: rgba(2, 9, 99, 0.18);
}

.btn-secondary:hover {
  border-color: rgba(2, 9, 99, 0.35);
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  height: var(--btn-height);
  padding: 0 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.text-link:hover {
  color: var(--text);
  text-decoration: none;
}

/* --- Sections --- */

.section-block {
  padding: 4.5rem 0;
}

.section-block + .section-block {
  margin-top: 0;
}

.mound-band {
  margin: 0 calc(-50vw + 50%);
  padding: 3.5rem calc(50vw - 50% + 1.5rem);
  background: linear-gradient(180deg, var(--bg-mound) 0%, var(--bg-mound-soft) 50%, var(--bg-mound) 100%);
}

.mound-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.prose {
  color: var(--muted);
}

.prose h2 {
  color: var(--text);
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.25rem;
}

/* --- Bento problem grid --- */

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  margin-top: 2rem;
  align-items: stretch;
}

.bento-grid .card:first-child {
  grid-column: 1 / -1;
}

.bento-product {
  grid-template-columns: repeat(2, 1fr);
}

.bento-product .card:first-child {
  grid-column: 1 / -1;
}

.bento-product .card:nth-child(3) {
  grid-row: span 1;
}

.seal-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seal-bullets li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
}

.seal-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.35rem;
  color: var(--sage);
  font-weight: 700;
  font-size: 0.85rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

/* --- Feature grid (product) — legacy alias --- */

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 2rem 0 2.5rem;
}

.features .card {
  padding: 1.5rem 1.75rem;
}

.bento-product {
  margin: 2rem 0 2.5rem;
}

/* --- Platform tease (full-bleed strip) --- */

.platform-strip {
  margin: 0 calc(-50vw + 50%);
  padding: 3rem 1.5rem;
  background: linear-gradient(90deg, transparent 0%, var(--heritage-soft) 30%, var(--heritage-soft) 70%, transparent 100%);
  text-align: center;
}

.platform-strip p {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}

/* --- Trust note --- */

.trust-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-note strong {
  color: var(--accent);
}

/* --- Timeline (seal story) --- */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--heritage-muted) 15%, var(--heritage-muted) 85%, transparent);
  opacity: 0.35;
}

.timeline-step {
  padding: 0 0.75rem 0 0;
  position: relative;
}

.timeline-step:last-child {
  padding-right: 0;
}

.timeline-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--heritage-soft);
  color: var(--heritage);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.timeline-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* --- Steps (how it works) --- */

.step {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
}

.step + .step {
  border-top: none;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-text {
  flex: 1;
  min-width: 260px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--heritage-soft);
  color: var(--heritage);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.step-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.step-text p,
.step-text li {
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Phone mockups (iOS 26-ish) --- */

.phone {
  width: 272px;
  border-radius: 44px;
  background: #1a1f2a;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  flex-shrink: 0;
  padding: 10px;
}

.phone-frame {
  border-radius: 36px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.1rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.phone-time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.phone-island {
  position: absolute;
  left: 50%;
  top: 0.45rem;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #000;
  border-radius: 14px;
}

.phone-status-icons {
  display: flex;
  gap: 0.25rem;
  font-size: 0.55rem;
  opacity: 0.85;
}

.phone-screen {
  padding: 0.35rem 0.7rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-height: 330px;
  font-size: 0.74rem;
}

.phone-screen.compact {
  min-height: 310px;
}

.phone-screen.dense {
  min-height: 0;
  gap: 0.28rem;
}

.hero-device .phone-screen {
  min-height: 26.5rem;
}

/* How-it-works: uniform phone frame size (dense otherwise shrinks step 1) */
#saadan .step .phone-screen {
  min-height: 25.1rem;
}

.phone-screen-spacer {
  flex: 1 1 auto;
  min-height: 0.35rem;
}

.mock-note {
  font-size: 0.62rem;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.site-name {
  font-weight: 600;
}

.phone-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
  padding: 0 0.15rem;
}

.phone-large-title {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
  padding: 0 0.15rem;
}

.phone-home-bar {
  margin-top: auto;
  padding: 0.5rem 0 0.25rem;
  display: flex;
  justify-content: center;
}

.phone-home-bar span {
  width: 96px;
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 99px;
}

/* iOS grouped list */

.ios-group {
  background: var(--bg-elevated);
  border-radius: 12px;
  overflow: hidden;
}

.ios-group + .ios-group {
  margin-top: 0.5rem;
}

.ios-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  min-width: 0;
}

.ios-row > span:first-child,
.ios-row > strong,
.ios-row > .muted {
  min-width: 0;
}

.ios-row > span:first-child {
  flex: 1 1 auto;
}

.ios-row > strong,
.ios-row > .muted,
.ios-row > .app-pill {
  flex-shrink: 0;
  text-align: right;
}

.ios-row:last-child {
  border-bottom: none;
}

.ios-row .label {
  color: var(--muted);
}

.ios-row strong {
  font-weight: 600;
}

.app-card {
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}

.app-card .label {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-card .value {
  font-weight: 700;
  font-size: 1rem;
}

.app-btn {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 0.65rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-decoration: none;
  display: block;
}

.app-btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(106, 170, 145, 0.45);
}

a.app-btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

a.app-btn.secondary:hover {
  background: rgba(106, 170, 145, 0.08);
}

.app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-hairline);
  min-width: 0;
}

.app-row > span,
.app-row > strong {
  min-width: 0;
}

.app-row > span:first-child {
  flex: 1 1 auto;
}

.app-row > strong,
.app-row > .seal-badge,
.app-row > .hash-preview {
  flex-shrink: 0;
  text-align: right;
}

.app-row:last-child {
  border-bottom: none;
}

.app-row .muted {
  color: var(--muted);
  font-size: 0.7rem;
}

.app-pill {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.seal-badge {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.seal-badge.pulse-once {
  animation: seal-pulse 0.8s var(--ease-out) 0.6s 1 both;
}

@keyframes seal-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(106, 170, 145, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(106, 170, 145, 0.18);
  }
}

.seal-card {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, rgba(106, 170, 145, 0.05) 100%);
}

.site-picker {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.site-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
}

.site-option.active {
  background: var(--accent-soft);
}

.site-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.site-dot.client {
  background: var(--heritage);
}

.hash-preview {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
}

.event-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.75rem;
}

.event-row:last-child {
  border-bottom: none;
}

.event-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 2.8rem;
}

.event-type {
  font-weight: 600;
}

.event-correction {
  color: var(--heritage);
  font-size: 0.65rem;
}

.event-source {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.toggle-row {
  align-items: center;
}

.ios-toggle {
  width: 2.1rem;
  height: 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--border-hairline);
  position: relative;
  flex-shrink: 0;
}

.ios-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ios-toggle.on {
  background: var(--accent);
}

.ios-toggle.on::after {
  left: auto;
  right: 2px;
}

.radius-bar {
  height: 4px;
  margin: 0 0.75rem 0.5rem;
  background: var(--border-hairline);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.radius-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
}

.tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  color: var(--muted);
  font-size: 0.6rem;
  padding: 0.45rem 0 0.15rem;
}

.tabbar .active {
  color: var(--accent);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

/* --- Pricing --- */

.pricing {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0 1rem;
  align-items: stretch;
}

.bento-pricing .price-card.featured {
  /* no vertical offset — keeps pricing row aligned for demo */
}

.price-card .btn {
  width: 100%;
  min-height: var(--btn-height);
  height: auto;
  padding: 0.65rem 1rem;
  white-space: normal;
  margin-top: auto;
}

.price-more {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  text-align: center;
}

.price-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  border: 1px solid var(--border-hairline);
  min-width: 0;
}

.price-card.featured {
  box-shadow: var(--shadow-soft), 0 0 0 1.5px var(--accent);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, rgba(106, 170, 145, 0.06) 100%);
}

.price-card h3 {
  margin: 0 0 0.25rem;
  color: var(--text);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

.price-amount span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-amount > span:first-child {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.price-year {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.price-badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.price-card li {
  padding: 0.3rem 0;
}

.price-card .seal-bullets li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.6rem;
}

.price-card li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.price-card .seal-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--sage);
  font-weight: 700;
  font-size: 0.85rem;
}

.app-store-stub {
  display: none !important;
}

.price-card .btn-secondary {
  margin-top: auto;
}

.price-card .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-note {
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Waitlist --- */

.waitlist-card {
  text-align: center;
  padding: 3rem 2rem;
  align-items: center;
}

.waitlist-card h2 {
  margin-top: 0;
}

.waitlist-card .waitlist-body {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.waitlist-card .cta-row {
  justify-content: center;
  margin-top: 1.25rem;
}

.waitlist-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.disclaimer {
  font-size: 0.85rem;
  max-width: 44rem;
  padding: 1rem 0;
}

/* --- UX sketch page --- */

.draft-banner {
  background: var(--heritage-soft);
  border-radius: var(--radius-card);
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--heritage);
}

.ux-section {
  padding: 3rem 0;
}

.ux-section + .ux-section {
  margin-top: 1rem;
}

.ux-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--heritage);
  margin-bottom: 0.5rem;
}

.ux-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

/* --- Footer --- */

footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-mound {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  opacity: 0.55;
}

.footer-mound svg {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0 auto;
}

.footer-mound-line {
  stroke: var(--heritage);
  stroke-width: 1;
  opacity: 0.65;
}

.footer-mound-hill {
  fill: none;
  stroke: var(--heritage);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.75;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-lockup {
  display: none;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--heritage-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* --- Tier pages --- */

.compare-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 540px;
}

.compare-table th,
.compare-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border-hairline);
  text-align: center;
}

.compare-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.compare-table th.tier-featured {
  color: var(--accent);
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
}

.compare-table .yes {
  color: var(--accent);
  font-weight: 700;
}

.compare-table .no {
  color: var(--muted);
}

.compare-table tr.price-row td {
  font-weight: 700;
  border-bottom: none;
  padding-top: 1rem;
}

.tier-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  padding-top: 3rem;
}

.tier-hero .tier-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.tier-hero .tier-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
  .nav-links {
    gap: 0.85rem;
    font-size: 0.85rem;
  }

  .hero-bento {
    grid-template-columns: 1fr minmax(220px, 252px);
    gap: 2rem;
  }

  .phone {
    width: 248px;
  }

  .pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-bento {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .timeline::before {
    display: none;
  }

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

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

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

  .bento-grid .card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .step,
  .step:nth-child(even) {
    flex-direction: column;
  }

  .phone {
    width: 240px;
  }

  .hero-subhead {
    display: none;
  }

  .hero p.hero-subhead {
    display: none;
  }

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

/* Tablet: phone beside copy; phone may lead */
@media (min-width: 481px) and (max-width: 960px) {
  .hero-device {
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-links > a:not(.nav-cta):not(.nav-sister) {
    display: none;
  }

  .nav-links {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 1.125rem 4rem;
  }

  .nav {
    padding: 0.65rem 1.125rem;
  }

  .hero {
    padding: 2.75rem 0 2.5rem;
  }

  .section-block {
    padding: 3.25rem 0;
  }

  .btn {
    white-space: normal;
    min-height: var(--btn-height);
    height: auto;
    padding: 0.65rem 1.15rem;
  }

  .cta-row {
    gap: 0.5rem;
  }

  .waitlist-card {
    padding: 2.25rem 1.25rem;
  }

  .price-card {
    padding: 1.35rem 1.15rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --max-width: 1200px;
  }

  main,
  .nav,
  .footer-inner,
  .mound-band-inner,
  .trust-band-inner {
    max-width: var(--max-width);
  }

  .hero-bento {
    gap: 4rem;
  }

  .section-block {
    padding: 5rem 0;
  }
}
