@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* Sidekick app — frontend/src/theme/tokens.ts + global.css (@variant dark) */
  --app-bg-primary: #0e0e0f;
  --app-bg-secondary: #151516;
  --app-bg-tertiary: #1c1c1e;
  --app-bg-card: #121213;
  --app-bg-elevated: #1a1a1c;

  --app-text-primary: #f2efe9;
  --app-text-secondary: #a19b91;
  --app-text-tertiary: #78756d;
  --app-text-muted: #66625b;

  --app-accent-main: #d1b68c;
  --app-accent-light: rgba(209, 182, 140, 0.15);
  --app-accent-dark: #a38b63;

  --app-success: #62a896;
  --app-warning: #e09f5a;
  --app-error: #d66d75;
  --app-info: #7d90ba;

  --app-macro-carbs: #dda171;
  --app-macro-protein: #62a896;
  --app-macro-fat: #c76d7c;
  --app-macro-fiber: #7d90ba;
  --app-macro-calories: #d1b68c;

  --app-border-light: rgba(242, 239, 233, 0.04);
  --app-border-default: rgba(242, 239, 233, 0.08);
  --app-border-medium: rgba(242, 239, 233, 0.12);
  --app-border-dark: rgba(242, 239, 233, 0.2);

  /* Marketing aliases (legal + legacy sections) */
  --bg: var(--app-bg-primary);
  --bg-soft: var(--app-bg-secondary);
  --bg-card: rgba(18, 18, 19, 0.82);
  --bg-card-strong: var(--app-bg-card);
  --surface: rgba(242, 239, 233, 0.06);
  --line: var(--app-border-default);
  --line-strong: var(--app-border-medium);
  --text: var(--app-text-primary);
  --text-secondary: var(--app-text-secondary);
  --text-tertiary: var(--app-text-tertiary);
  --text-muted: var(--app-text-muted);
  --accent: var(--app-accent-main);
  --accent-soft: var(--app-accent-light);
  --success: var(--app-success);
  --warning: var(--app-warning);
  --info: var(--app-info);
  --danger: var(--app-error);

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  /* Softer than a flat 1px border: outer hairline + lift + top inner light */
  --shadow-card:
    0 20px 56px rgba(0, 0, 0, 0.28),
    0 0 0 1px var(--app-border-light),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --radius-card: 1.875rem;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;

  /* Match sidekick-app global.css: Plus Jakarta + system mono (Menlo in RN) */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--app-bg-primary);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -25%, rgba(209, 182, 140, 0.065), transparent 52%),
    radial-gradient(ellipse 55% 45% at 100% 35%, rgba(125, 144, 186, 0.06), transparent 50%),
    radial-gradient(ellipse 45% 40% at 0% 55%, rgba(98, 168, 150, 0.04), transparent 48%),
    linear-gradient(180deg, #0b0b0c 0%, var(--app-bg-primary) 22%, var(--app-bg-primary) 78%, #0c0c0d 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.42;
  z-index: 0;
}

.page-glow-left {
  top: 8rem;
  left: -6rem;
  background: rgba(209, 182, 140, 0.22);
}

.page-glow-right {
  top: 18rem;
  right: -7rem;
  background: rgba(98, 168, 150, 0.12);
}

.page-home .page-glow {
  opacity: 0.18;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-main,
.legal-main {
  position: relative;
  z-index: 1;
}

.site-body {
  position: relative;
}

.section-heading--inline {
  margin-bottom: 0.85rem;
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 0.85rem 0 0.35rem;
}

.header-wrap {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  border: none;
  border-radius: 14px;
  background: rgba(21, 21, 22, 0.78);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px) saturate(1.05);
}

@media (min-width: 1024px) {
  .site-nav--primary {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.header-cta {
  flex-shrink: 0;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.87rem;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav--primary {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(242, 239, 233, 0.05);
  }

  .header-cta {
    margin-left: auto;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(209, 182, 140, 0.22);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Header nav: same treatment on home + legal (footer keeps its own rhythm below) */
.site-header .site-nav a {
  color: rgba(242, 239, 233, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible {
  color: var(--text);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-nav a:hover,
.logo:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 2rem 0 1.25rem;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-backdrop {
  position: absolute;
  inset: -22% -35% 0;
  background:
    radial-gradient(ellipse 52% 40% at 50% 8%, rgba(209, 182, 140, 0.12), transparent 60%),
    radial-gradient(ellipse 68% 48% at 50% 92%, rgba(125, 144, 186, 0.055), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2rem);
}

@media (min-width: 981px) {
  .hero-shell {
    flex-direction: column-reverse;
  }

  /* Phones use transforms; keep intro above any frame/shadow bleed */
  .hero-stage {
    z-index: 1;
  }

  .hero-intro {
    position: relative;
    z-index: 2;
  }
}

.hero-intro {
  text-align: center;
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.65rem, 4vw, 2.65rem) clamp(1.35rem, 4vw, 2.5rem) clamp(1.65rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: none;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(16, 16, 17, 0.72) 38%,
    rgba(12, 12, 13, 0.5) 100%
  );
  backdrop-filter: blur(22px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 48px 100px -36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.042),
    inset 0 0 48px rgba(0, 0, 0, 0.12);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 auto 1.5rem;
  padding: 0.32rem 0.75rem 0.32rem 0.38rem;
  border-radius: 999px;
  border: none;
  background: rgba(8, 8, 9, 0.55);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(184, 177, 165, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(209, 182, 140, 0.1);
}

.hero-pill-tag {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(209, 182, 140, 0.14);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-pill-arrow {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.9;
}

.hero-title {
  margin: 0 auto;
  max-width: 15ch;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.75rem, 6.8vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  text-align: center;
  color: #faf8f4;
  text-wrap: balance;
}

.hero-text.hero-text--center {
  margin: 1.35rem auto 0;
  max-width: 31rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  color: rgba(184, 177, 165, 0.9);
}

.hero-actions--center {
  justify-content: center;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  margin: 1.85rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.hero-meta-sep {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 0.9rem;
  border-radius: 50%;
  background: rgba(209, 182, 140, 0.4);
  box-shadow: 0 0 12px rgba(209, 182, 140, 0.25);
  flex-shrink: 0;
}

.hero-meta-link {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.hero-meta-link:hover {
  color: #f0e8dc;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  min-height: min(46vh, 31rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 981px) {
  .hero-stage {
    min-height: min(42vh, 28rem);
    padding-top: 0.35rem;
  }
}

.hero-float {
  position: absolute;
  z-index: 2;
  max-width: 11.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1.05rem;
  border: none;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(16px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-float--tl {
  top: 4%;
  left: 0;
}

.hero-float--bl {
  bottom: 22%;
  left: 0;
}

.hero-float--tr {
  top: 10%;
  right: 0;
}

.hero-float-label,
.hero-float-stat,
.hero-float-chip {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-float-stat {
  color: var(--success);
  letter-spacing: 0.1em;
}

.hero-float-chip {
  color: var(--info);
}

.hero-float-copy,
.hero-float-meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.hero-float-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-phones {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0 0.5rem 1.75rem;
}

.hero-phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 17rem;
  transition: transform 0.35s ease;
}

.hero-phone--left {
  margin-right: -2.25rem;
  z-index: 1;
  transform: rotate(-5deg);
}

.hero-phone--right {
  margin-left: -2.25rem;
  z-index: 2;
  transform: rotate(6deg) translateY(1.1rem);
}

.hero-phone--left:hover {
  transform: rotate(-5deg) translateY(-5px);
}

.hero-phone--right:hover {
  transform: rotate(6deg) translateY(calc(1.1rem - 5px));
}

.hero-phone-frame {
  width: 100%;
  max-width: 16.5rem;
  padding: 0.5rem;
  border-radius: 2.65rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 42%, rgba(0, 0, 0, 0.35) 100%),
    rgba(12, 12, 13, 0.6);
  border: none;
  box-shadow:
    0 2.25rem 4.5rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  transition: box-shadow 0.35s ease;
}

.hero-phone:hover .hero-phone-frame {
  box-shadow:
    0 2.5rem 5rem rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(209, 182, 140, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.hero-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 2.25rem;
  box-shadow: 0 1.1rem 2.75rem rgba(0, 0, 0, 0.32);
}

.hero-phone figcaption {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-mascot-wrap {
  position: absolute;
  right: -1%;
  bottom: 4%;
  z-index: 0;
  width: min(9.25rem, 22vw);
  aspect-ratio: 1;
  pointer-events: none;
  animation: mascot-float 7s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.hero-mascot {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.5;
  display: block;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.legal-heading h1 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-text,
.section-heading p,
.stack-item p,
.feature-card p,
.step-card p,
.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.hero-text {
  max-width: 38rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ead8b6 0%, var(--accent) 100%);
  color: #111214;
  box-shadow: 0 18px 40px rgba(209, 182, 140, 0.18);
}

/* OLED-style primary: material lift, no gradient (Taste Skill–aligned agency) */
.page-home .button-primary {
  background: #e4e2de;
  color: #0e1011;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.page-home .button-primary:hover {
  background: #f0eeea;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 48px rgba(0, 0, 0, 0.4);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(242, 239, 233, 0.04);
  color: var(--text);
}

.page-home .button-secondary {
  border-color: rgba(255, 255, 255, 0.11);
  background: transparent;
  color: rgba(242, 239, 233, 0.88);
  backdrop-filter: none;
  box-shadow: none;
}

.bar-head,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-card,
.stack-item,
.insight-panel,
.step-card,
.legal-card,
.contact-box {
  border: none;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.panel-label {
  margin: 0 0 0.3rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.section {
  padding: 4.75rem 0;
}

.page-home #features {
  padding-top: 4rem;
  padding-bottom: 4.25rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

header.section-heading {
  display: block;
}

.section-heading h2,
.legal-heading h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

.section-heading p {
  margin: 1rem 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone {
    transition: none;
  }

  .hero-phone--left:hover {
    transform: rotate(-5deg);
  }

  .hero-phone--right:hover {
    transform: rotate(6deg) translateY(1.1rem);
  }

  .hero-phone-frame {
    transition: none;
  }

  .hero-mascot-wrap {
    animation: none;
  }
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.35rem;
}

.feature-card,
.step-card {
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
}

.stack-item {
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
}

.feature-kicker,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card h3,
.stack-item h3,
.insight-panel h3,
.step-card h3,
.contact-box h2 {
  margin: 0 0 0.7rem;
  letter-spacing: -0.03em;
}

.feature-card h3,
.stack-item h3,
.step-card h3,
.insight-panel h3 {
  font-size: 1.35rem;
}

.feature-card p,
.stack-item p,
.insight-panel p,
.step-card p,
.contact-box p,
.footer-copy {
  margin: 0;
}

.section-product {
  padding-top: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.4rem;
  border-radius: var(--radius-card);
  background: rgba(14, 14, 15, 0.88);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.stack-list .stack-item {
  margin: 0;
  padding: 1.35rem 1.35rem;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
}

.stack-list .stack-item:first-child {
  padding-top: 1.25rem;
  border-radius: calc(var(--radius-card) - 0.35rem) calc(var(--radius-card) - 0.35rem) 0 0;
}

.stack-list .stack-item:last-child {
  padding-bottom: 1.25rem;
  border-radius: 0 0 calc(var(--radius-card) - 0.35rem) calc(var(--radius-card) - 0.35rem);
}

.stack-list .stack-item:only-child {
  border-radius: calc(var(--radius-card) - 0.35rem);
}

.stack-list .stack-item + .stack-item {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.product-copy .stack-list {
  margin-top: 0.35rem;
}

.insight-board {
  display: grid;
  gap: 0.85rem;
}

.insight-panel {
  border-radius: var(--radius-card);
  padding: 1.5rem 1.6rem;
}

.insight-panel-quote {
  background:
    linear-gradient(180deg, rgba(209, 182, 140, 0.08), rgba(125, 144, 186, 0.03)),
    var(--bg-card);
}

.bar-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.bar-head {
  margin-bottom: 0.45rem;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.bar-head strong {
  color: var(--text);
}

.bar-track {
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--app-border-default);
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(209, 182, 140, 0.55) 0%, var(--app-macro-calories) 100%);
}

.bar-track .tone-green {
  background: linear-gradient(90deg, rgba(98, 168, 150, 0.5) 0%, var(--app-macro-protein) 100%);
}

.bar-track .tone-blue {
  background: linear-gradient(90deg, rgba(125, 144, 186, 0.5) 0%, var(--app-macro-fiber) 100%);
}

.section-steps {
  padding-top: 1rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(209, 182, 140, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(209, 182, 140, 0.11);
  letter-spacing: 0;
}

.legal-card a,
.footer-nav a[href^="mailto"] {
  color: var(--accent);
}

.site-footer {
  padding: 1rem 0 3rem;
}

.footer-inner {
  gap: 1.5rem;
  align-items: flex-end;
  padding-top: 2rem;
}

.footer-logo {
  margin-bottom: 0.7rem;
}

.footer-copy {
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-legal {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-blurb {
  margin: 0;
  color: var(--text-secondary);
}

.legal-main {
  padding: 2.5rem 0 5rem;
}

.legal-shell {
  max-width: 54rem;
}

.legal-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.legal-updated {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal-card {
  padding: 2rem;
  border-radius: 2rem;
}

.legal-card h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.legal-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal-card li + li {
  margin-top: 0.55rem;
}

.contact-box {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(209, 182, 140, 0.08), rgba(209, 182, 140, 0.02)),
    rgba(255, 255, 255, 0.02);
}

@keyframes mascot-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

/* -------------------------------------------------------------------------- */
/* Premium landing (page-home only; legal pages use page-legal)              */
/* -------------------------------------------------------------------------- */

.page-home {
  /* Premium marketing layer — same palette as app dark theme */
  --oled: var(--app-bg-primary);
  --premium-gold: var(--app-accent-main);
  --premium-gold-mid: var(--app-accent-dark);
  --premium-gold-deep: #6b5a40;
  --premium-ink: var(--app-text-primary);
  --premium-fog: var(--app-text-secondary);
  --premium-veil: var(--app-border-light);
  font-family: var(--font-sans);
  background-color: var(--oled);
  background-image: radial-gradient(
    ellipse 130% 85% at 50% -30%,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 55%
  );
}

.page-home .home-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-home .home-atmosphere__mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 60% at 80% 20%,
    rgba(255, 255, 255, 0.025) 0%,
    transparent 45%
  );
  opacity: 0.9;
}

.page-home .home-atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  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");
}

/* Vertical guides only; no horizontal lines (they read like section rules) */
.page-home .home-atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 80px 100%;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 25%, black 0%, transparent 78%);
  opacity: 0.22;
}

.page-home .page-glow-left {
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.2;
}

.page-home .page-glow-right {
  background: rgba(255, 255, 255, 0.035);
  opacity: 0.18;
}

.page-home .logo--premium {
  position: relative;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-home .logo-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
}

.page-home .logo-mark {
  border-radius: 0.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.page-home .hero .hero-shell {
  gap: clamp(0.5rem, 1.75vw, 1.1rem);
}

.page-home .hero--premium {
  padding: clamp(0.5rem, 2vw, 1.25rem) 0 0;
}

.page-home .hero-backdrop--premium {
  inset: 0;
  background: transparent;
}

.page-home .hero-intro--premium {
  max-width: 46rem;
  padding: clamp(1.1rem, 3vw, 1.65rem) clamp(1.25rem, 3.5vw, 2rem);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(18, 20, 22, 0.5) 50%,
    rgba(14, 16, 17, 0.25) 100%
  );
  border: none;
  box-shadow: 0 40px 88px -40px rgba(0, 0, 0, 0.65);
}

.page-home .hero-dek--premium {
  margin: 0 auto 0.65rem;
  max-width: 28rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.42);
}

.page-home .hero-title--premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  max-width: none;
  font-family: var(--font-sans);
  font-size: clamp(2.85rem, 7.5vw, 5.15rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--premium-ink);
}

.page-home .hero-title-main {
  display: block;
  background: linear-gradient(180deg, #fffefb 0%, rgba(242, 239, 233, 0.82) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-title-accent {
  display: block;
  color: rgba(242, 239, 233, 0.72);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.page-home .hero-text--center {
  margin: 0.85rem auto 0;
  color: rgba(242, 239, 233, 0.58);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 32rem;
}

.page-home .hero-actions--center {
  margin-top: 1.15rem;
}

.page-home .hero-meta--premium {
  margin-top: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(161, 155, 145, 0.9);
}

.page-home .hero-meta-sep {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.page-home .hero-meta-link {
  color: rgba(242, 239, 233, 0.65);
}

.page-home .hero-meta-link:hover {
  color: var(--premium-ink);
}

.page-home .hero-float--premium {
  border: none;
  background: rgba(7, 7, 8, 0.78);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.page-home .hero-float--premium .hero-float-label,
.page-home .hero-float--premium .hero-float-stat,
.page-home .hero-float--premium .hero-float-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.page-home .hero-float--premium .hero-float-label {
  color: var(--app-accent-main);
}

.page-home .hero-float--premium .hero-float-stat {
  color: var(--app-success);
}

.page-home .hero-float--premium .hero-float-chip {
  color: var(--app-info);
}

/* Drop default hero-stage min-height (was up to 46vh / 31rem — huge dead space) */
.page-home .hero .hero-stage {
  min-height: 0;
  margin-top: 0;
}

@media (min-width: 981px) {
  .page-home .hero .hero-stage {
    padding-top: 0;
  }
}

.page-home .hero-stage--premium {
  max-width: 60rem;
}

.page-home .hero-phones--premium {
  padding-bottom: 1rem;
}

.page-home .hero-phone-frame {
  padding: 0.55rem;
  border-radius: 2.75rem;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    rgba(18, 18, 19, 0.55);
  border: none;
  box-shadow:
    0 2.5rem 5rem rgba(0, 0, 0, 0.5),
    0 0 64px rgba(255, 255, 255, 0.03);
}

.page-home .hero-phone:hover .hero-phone-frame {
  box-shadow:
    0 2.75rem 5.5rem rgba(0, 0, 0, 0.52),
    0 0 72px rgba(255, 255, 255, 0.04);
}

.page-home .hero-mascot {
  opacity: 0.42;
}

.page-home .home-manifesto {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 4vw, 2.25rem) 0 clamp(0.85rem, 2.5vw, 1.35rem);
}

.page-home .home-manifesto__inner {
  text-align: center;
}

.page-home .home-manifesto__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.35);
}

.page-home .home-manifesto__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02em;
}

.page-home .home-manifesto__line {
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 8.5vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: rgba(242, 239, 233, 0.92);
}

.page-home .home-manifesto__line--dim {
  color: rgba(242, 239, 233, 0.22);
}

.page-home .home-trust {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0 1.35rem;
}

.page-home .home-trust__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-trust__list--spec {
  gap: 1.25rem 2rem;
}

.page-home .home-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.page-home .home-trust__list--spec .home-trust__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(242, 239, 233, 0.38);
}

.page-home .site-body--premium {
  position: relative;
  z-index: 1;
  background: transparent;
}

.page-home .section--premium {
  padding: 3.25rem 0;
}

.page-home #features.section--premium {
  padding-top: 2.75rem;
}

.page-home .section-heading--premium {
  max-width: 52rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.page-home .section-heading--premium h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--premium-ink);
}

.page-home .section-heading--premium p {
  margin-top: 0.65rem;
  color: rgba(242, 239, 233, 0.5);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 38rem;
}

.page-home .eyebrow--premium {
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.38);
}

.page-home .feature-grid--premium {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.page-home .feature-grid--premium .feature-card--premium {
  min-width: 0;
}

.page-home .feature-card--premium {
  grid-column: span 6;
  padding: 1.35rem 1.45rem;
  border-radius: 1.5rem;
  border: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.042) 0%, rgba(16, 16, 18, 0.58) 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.26);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-home .feature-card--premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.32);
}

/* Masonry: wide lead (~⅔), pair row, full-width closer */
.page-home .feature-card--lead {
  grid-column: 1 / span 8;
}

.page-home .feature-card--lead p {
  max-width: 42rem;
}

.page-home .feature-card--split-start {
  grid-column: 1 / span 6;
}

.page-home .feature-card--split-end {
  grid-column: 7 / span 6;
}

.page-home .feature-card--span-full {
  grid-column: 1 / -1;
}

.page-home .feature-card--accent {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055) 0%, transparent 52%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.038) 0%, rgba(16, 18, 20, 0.6) 100%);
}

.page-home .feature-card--premium h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--premium-ink);
}

.page-home .feature-card--premium p {
  color: rgba(242, 239, 233, 0.52);
  font-size: 0.98rem;
  line-height: 1.62;
}

.page-home .feature-card--premium .feature-kicker--premium {
  display: block;
  width: max-content;
  margin: 0 0 0.85rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(242, 239, 233, 0.34);
  background: none;
  border: none;
  box-shadow: none;
}

.page-home .section-product--premium {
  padding-top: 0.5rem;
  padding-bottom: 3.25rem;
}

.page-home .product-grid--premium {
  gap: clamp(1.1rem, 2.5vw, 1.85rem);
}

.page-home .stack-list--premium {
  padding: 0;
  border: none;
  background: rgba(8, 8, 9, 0.4);
  overflow: hidden;
  border-radius: 1.65rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.page-home .stack-list--premium .stack-item--premium {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.15rem 1.25rem 1.15rem 1.15rem;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: none;
}

.page-home .stack-list--premium .stack-item + .stack-item {
  border-top: none;
}

.page-home .stack-list--premium .stack-item:first-child,
.page-home .stack-list--premium .stack-item:last-child,
.page-home .stack-list--premium .stack-item:only-child {
  border-radius: 0;
}

.page-home .stack-item__index {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(242, 239, 233, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: none;
}

.page-home .stack-item__body h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--premium-ink);
}

.page-home .stack-item__body p {
  color: rgba(242, 239, 233, 0.52);
  font-size: 0.96rem;
  line-height: 1.62;
}

.page-home .insight-panel--premium .panel-label {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 233, 0.35);
}

.page-home .insight-board--premium {
  gap: 0.75rem;
}

.page-home .insight-panel--premium {
  border: none;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035) 0%, rgba(14, 14, 16, 0.58) 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.page-home .insight-panel--quote {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(12, 14, 16, 0.52);
}

.page-home .insight-quote {
  margin: 0.15rem 0 0.5rem;
  padding: 0;
  border: none;
}

.page-home .insight-quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: rgba(242, 239, 233, 0.88);
}

.page-home .insight-quote__support {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: rgba(242, 239, 233, 0.52);
}

.page-home .section-steps--premium {
  padding-top: 0.5rem;
  padding-bottom: clamp(2.75rem, 8vw, 4rem);
}

.page-home .steps-grid--premium {
  gap: 0.85rem;
}

.page-home .step-card--premium {
  position: relative;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 1.65rem;
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(12, 12, 14, 0.62) 100%);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.page-home .step-card--premium h3 {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--premium-ink);
}

.page-home .step-card--premium p {
  color: rgba(242, 239, 233, 0.5);
}

.page-home .step-card--premium .step-number {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(242, 239, 233, 0.55);
  font-family: var(--font-mono);
  font-weight: 500;
}

.page-home .site-footer--premium {
  padding: 1.75rem 0 2.25rem;
  border-top: none;
}

.page-home .footer-inner--premium {
  align-items: flex-start;
}

.page-home .footer-brand {
  max-width: 26rem;
}

.page-home .footer-nav--premium {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.page-home .footer-nav--premium a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(242, 239, 233, 0.45);
}

.page-home .footer-nav--premium a:hover {
  color: var(--premium-ink);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .feature-card--premium:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .page-home .feature-grid--premium {
    grid-template-columns: 1fr;
  }

  .page-home .feature-card--lead,
  .page-home .feature-card--split-start,
  .page-home .feature-card--split-end,
  .page-home .feature-card--span-full,
  .page-home .feature-card--accent,
  .page-home .feature-card--premium {
    grid-column: 1 / -1;
  }

  .page-home .footer-nav--premium {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .page-home .home-manifesto {
    padding-top: 1.25rem;
    padding-bottom: 0.85rem;
  }

  .page-home .home-trust__list {
    flex-direction: column;
    gap: 1rem;
  }

  .page-home .hero-title--premium {
    font-size: clamp(2.35rem, 10vw, 3.25rem);
  }
}

@media (max-width: 980px) {
  .product-grid,
  .steps-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-float {
    display: none;
  }

  .hero-stage {
    min-height: 0;
    margin-top: 1.5rem;
  }

  .hero-phones {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1rem;
  }

  .hero-phone--left,
  .hero-phone--right {
    margin-left: 0;
    margin-right: 0;
    transform: none;
    max-width: 16.25rem;
  }

  .hero-phone--left:hover,
  .hero-phone--right:hover {
    transform: translateY(-4px);
  }

  .hero-title {
    max-width: none;
  }

  .hero-mascot-wrap {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .header-inner {
    padding: 1rem;
    border-radius: 1.4rem;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-text,
  .hero-meta,
  .section-heading p,
  .feature-card p,
  .stack-item p,
  .step-card p,
  .legal-card p,
  .legal-card li,
  .legal-updated,
  .footer-copy {
    font-size: 0.96rem;
  }

  .footer-legal {
    font-size: 0.76rem;
  }

  .section,
  .legal-main {
    padding: 4rem 0;
  }

  .legal-card {
    padding: 1.35rem;
    border-radius: 1.5rem;
  }
}

@media (max-width: 560px) {
  .hero-meta-sep {
    display: none;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.45rem;
    letter-spacing: 0.04em;
  }

  .hero-intro {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    border-radius: var(--radius-md);
  }
}

