/* SmileMaxer.com — "Marigold on paper": white canvas, vivid #FC921F ink,
   charting-grid texture, crisp editorial cards, diamond motif. */

:root {
  /* Marigold orange ramp (primary = #FC921F) */
  --orange-50:  #FFF6EA;
  --orange-100: #FFE9CC;
  --orange-200: #FFD49A;
  --orange-300: #FFBA63;
  --orange-400: #FCA02E;
  --orange-500: #FC921F;  /* primary — marigold */
  --orange-600: #E67A06;  /* large accents, gradients */
  --orange-700: #B25800;  /* small text on white — WCAG AA (≈4.7:1) */
  --orange-800: #8F4500;

  /* Cool accent so the blue app screenshots pop against the orange */
  --app-blue:   #1E6ED2;
  --app-blue-2: #3C8CE6;

  /* Neutrals — paper white + warm near-black ink */
  --cream:      #FFFFFF;   /* page canvas is pure white now */
  --white:      #FFFFFF;
  --ink:        #1A1206;
  --ink-soft:   #5C5142;
  --ink-faint:  #8A8170;

  /* Surfaces — solid white cards, warm hairlines (glass var names kept
     for backwards compat with every page already referencing them) */
  --glass-bg:       #FFFFFF;
  --glass-bg-hi:    #FFFFFF;
  --surface-tint:   #FFF8EE;        /* faint warm wash for alt surfaces */
  --glass-border:   #F0E6D6;        /* warm hairline */
  --glass-border-2: rgba(252, 146, 31, 0.28);
  --line:           #ECE2D2;
  --hairline-orange: rgba(252, 146, 31, 0.32);

  /* Shadows — refined, marigold-tinted */
  --shadow-sm: 0 1px 2px rgba(26, 18, 6, 0.05), 0 2px 8px rgba(252, 146, 31, 0.07);
  --shadow-md: 0 4px 16px rgba(252, 146, 31, 0.12), 0 2px 6px rgba(26, 18, 6, 0.05);
  --shadow-lg: 0 24px 60px rgba(252, 146, 31, 0.16), 0 8px 20px rgba(26, 18, 6, 0.08);

  /* Radius + type — tightened for an editorial, precise feel */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --font-display: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1120px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* White canvas + a single soft marigold glow at the top. The page reads
   as white; the warmth only kisses the masthead. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 520px at 50% -8%, rgba(252, 146, 31, 0.10) 0%, transparent 70%),
    var(--white);
}

/* Charting-paper texture: a fine marigold dot-grid — a nod to the perio
   chart's graph-paper lineage. Subtle enough that the page stays white. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(252, 146, 31, 0.16) 1.1px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 60%, transparent 100%);
  pointer-events: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: var(--orange-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange-800); }

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

::selection { background: var(--orange-300); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 12px 24px 0;
  margin-top: 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--orange-500);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(252, 146, 31, 0.40), inset 0 0 0 1px rgba(255,255,255,0.18);
  color: white;
  font-size: 15px;
  line-height: 1;
}

/* App-icon brand mark + two-tone wordmark (Smile = ink, Maxer = marigold),
   matching the in-app logo treatment. */
.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 3px 10px rgba(252, 146, 31, 0.30);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name .max { color: var(--orange-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  /* Never let a link label break in two ("Log in" → "Log" / "in")
     when the CTA pill squeezes the row at narrow widths. */
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.nav-links a:hover {
  background: rgba(252, 146, 31, 0.1);
  color: var(--ink);
}

.nav-links a.active {
  background: rgba(252, 146, 31, 0.15);
  color: var(--orange-700);
}

.nav-cta {
  background: var(--orange-500) !important;
  color: white !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(252, 146, 31, 0.38);
}

.nav-cta:hover { background: var(--orange-600) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-width: var(--container);
  margin: 10px auto 0;
  padding: 14px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.nav-drawer a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink);
}

.nav-drawer a:hover { background: rgba(252, 146, 31, 0.1); }

@media (max-width: 760px) {
  /* On phones the nav keeps only the brand + CTA — the text links hide
     (no hamburger; the footer carries the same links). */
  .nav-toggle { display: grid; place-items: center; }
  .nav-inner.open + .nav-drawer { display: flex; }
  .nav-links .nav-link { display: none; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.98rem; }
  .nav-inner { padding: 8px 10px 8px 14px; }
  .nav-cta { padding: 8px 14px !important; }
}

/* ---------- Glass primitives ---------- */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.glass-strong {
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  background: var(--orange-50);
  border: 1px solid var(--glass-border-2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--orange-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Diamond dot — echoes the ◆ brand mark */
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--orange-500);
  transform: rotate(45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary {
  background: var(--orange-500);
  color: white;
  box-shadow: 0 8px 22px rgba(252, 146, 31, 0.38), inset 0 1px 0 rgba(255,255,255,0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-600);
  box-shadow: 0 12px 28px rgba(252, 146, 31, 0.48), inset 0 1px 0 rgba(255,255,255,0.28);
  color: white;
}

.btn-glass {
  background: var(--white);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-glass:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-orange);
  box-shadow: var(--shadow-md);
  color: var(--orange-700);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

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

.hero-copy .chip { margin-bottom: 20px; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

/* Accent word: marigold ink with a soft marker-stroke underline behind it */
.hero-title .accent {
  position: relative;
  color: var(--orange-500);
  white-space: nowrap;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.36em;
  z-index: -1;
  background: var(--orange-200);
  border-radius: 999px 4px 999px 6px;
  transform: rotate(-0.8deg);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* App showcase on hero (blue phone pops against orange) */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(252, 146, 31, 0.30) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.phone {
  position: relative;
  width: 300px;
  max-width: 80%;
  aspect-ratio: 9 / 19.5;
  border-radius: 52px;
  padding: 9px;                      /* uniform titanium bezel */
  /* Brushed-titanium rail: angled metallic gradient catches light on the
     diagonal edges */
  background:
    linear-gradient(135deg,
      #54545c 0%, #26262c 13%, #101015 30%, #0b0b0f 50%,
      #101015 70%, #26262c 87%, #5c5c64 100%);
  box-shadow:
    /* rail edge speculars */
    inset 0 1.5px 1px rgba(255,255,255,0.45),
    inset 0 -1.5px 1px rgba(255,255,255,0.22),
    inset 2px 0 1.5px rgba(255,255,255,0.16),
    inset -2px 0 1.5px rgba(255,255,255,0.16),
    /* hairline outer rim */
    0 0 0 1px rgba(0,0,0,0.4),
    /* lift, grounded drop shadow, brand glow */
    0 2px 4px rgba(26,18,6,0.20),
    0 26px 50px -14px rgba(26,18,6,0.55),
    0 40px 90px rgba(252,146,31,0.22);
  z-index: 1;
  transform: rotate(-2deg);
}

/* Power button (right rail) */
.phone::before {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 30%;
  width: 3px;
  height: 64px;
  border-radius: 2px;
  background: linear-gradient(180deg, #40404a 0%, #15151a 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.30), 1px 0 1px rgba(0,0,0,0.3);
}

/* Left rail: action switch + volume rocker (cloned via box-shadow) */
.phone::after {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 25%;
  width: 3px;
  height: 30px;
  border-radius: 2px;
  background: linear-gradient(180deg, #40404a 0%, #15151a 100%);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.30),
    -1px 0 1px rgba(0,0,0,0.3),
    0 44px 0 -0.5px #18181c,    /* volume down */
    0 -34px 0 -0.5px #18181c;   /* action button */
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  position: relative;
  /* thin black inner bezel between rail and glass */
  box-shadow: inset 0 0 0 2px #000;
  display: grid;
  place-items: center;
}

/* Only the full-bleed screenshot (a direct child) fills the screen — NOT
   nested imgs like the home-hero launcher logo, which sets its own size. */
.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glass reflection sweeping across the display */
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 15%,
    transparent 33%,
    transparent 100%);
  pointer-events: none;
  z-index: 4;
}

/* Dynamic Island — hidden by default; enabled per phone context below. */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  display: none;
}

/* Hookup visual: the cropped screenshot gets a clean white status safe-area
   plus a real Dynamic Island, so the phone reads as an actual iPhone
   without the time/battery/Wi-Fi clutter. */
.hookup .phone-screen { background: #fff; }
.hookup .phone-screen img {
  height: calc(100% - 28px);
  margin-top: 28px;
}
.hookup .phone .phone-notch {
  display: block;
  top: 7px;
  width: 64px;
  height: 18px;
}

.hero-float-card {
  position: absolute;
  padding: 14px 18px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}

.hero-float-card.fc-1 { top: 12%; left: -4%; }
.hero-float-card.fc-2 { bottom: 14%; right: -2%; animation-delay: -3s; }

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

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(30, 110, 210, 0.12);
  color: var(--app-blue);
  font-size: 16px;
}

.fc-icon.orange {
  background: rgba(252, 146, 31, 0.15);
  color: var(--orange-600);
}

/* ---------- Sections ---------- */

section { padding: 56px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head .chip { margin-bottom: 14px; }

.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Feature grid ---------- */

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

@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.feature {
  position: relative;
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Signature: a short marigold index-tab on the top edge */
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--orange-500);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-orange);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  color: white;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(252, 146, 31, 0.35);
}

.feature-icon.blue {
  background: linear-gradient(135deg, var(--app-blue-2) 0%, var(--app-blue) 100%);
  box-shadow: 0 8px 20px rgba(30, 110, 210, 0.35);
}

.feature h3 { margin-bottom: 8px; }
.feature p  { margin: 0; font-size: 0.95rem; }

/* Inline SVG glyph inside the marigold tile (replaces emoji) */
.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hub app catalog (smilemaxer.com) ---------- */
/* Cards built around the real app icons — a 2×2 grid of clickable tiles. */

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

@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Same signature index-tab as .feature */
.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--orange-500);
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-orange);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.app-tile {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(26, 18, 6, 0.18);
}

.app-card-body h3 { margin-bottom: 8px; }
.app-card-body p  { margin: 0 0 12px; font-size: 0.95rem; }

.app-card-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange-700);
  transition: color .18s ease;
}

.app-card:hover .app-card-link { color: var(--orange-800); }

@media (max-width: 480px) {
  .app-card { flex-direction: column; }
}

/* Per-app brand color on the card's index-tab */
.app-card.is-periomaxer::before      { background: var(--orange-500); }
.app-card.is-readymaxer::before      { background: #FFE14D; }
.app-card.is-dentaldiffusion::before { background: #00C2C7; }
.app-card.is-maximouse::before       { background: var(--app-blue-2); }

/* ---------- Hub hero: floating app-icon constellation ---------- */
/* The four real app icons drift gently in the hero's right column.
   Pure CSS; stilled under prefers-reduced-motion. */

.app-constellation {
  position: relative;
  min-height: 380px;
}

.app-constellation .orb {
  position: absolute;
  border-radius: 26%;
  box-shadow: 0 18px 44px rgba(26, 18, 6, 0.20);
  animation: orb-drift 7s ease-in-out infinite;
}

.orb-periomaxer {
  width: 120px; height: 120px;
  top: 12%; left: 16%;
  transform: rotate(-6deg);
}

.orb-readymaxer {
  width: 96px; height: 96px;
  top: 2%; right: 14%;
  transform: rotate(7deg);
  animation-delay: -2.3s;
}

.orb-dentaldiffusion {
  width: 88px; height: 88px;
  bottom: 14%; left: 30%;
  transform: rotate(5deg);
  animation-delay: -4.1s;
}

.orb-maximouse {
  width: 72px; height: 72px;
  bottom: 26%; right: 22%;
  transform: rotate(-8deg);
  animation-delay: -5.6s;
}

@keyframes orb-drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-constellation .orb { animation: none; }
}

@media (max-width: 860px) {
  .app-constellation { display: none; }
}

/* Availability tag in the card corner */
.feature-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-tag.now  { background: var(--orange-100); color: var(--orange-700); }
.feature-tag.soon { background: #F1ECE2; color: var(--ink-faint); }

/* Muted (coming-soon) icon tile — de-emphasized vs the marigold tiles */
.feature-icon.muted {
  background: #EFE8DC;
  box-shadow: none;
}

.feature-icon.muted svg { stroke: var(--ink-faint); }

/* ---------- Screenshot strip ---------- */

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

@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } }

.shot {
  position: relative;
  padding: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 20px 50px rgba(252, 146, 31, 0.25);
}

.shot-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 420px; }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-featured {
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 233, 204, 0.85) 100%);
  border: 1.5px solid rgba(252, 146, 31, 0.45);
  box-shadow:
    0 20px 50px rgba(252, 146, 31, 0.25),
    0 8px 20px rgba(26, 18, 6, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-8px);
}

.plan-featured:hover {
  transform: translateY(-12px);
}

@media (max-width: 900px) {
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-3px); }
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(252, 146, 31, 0.4);
}

.plan-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 14px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  color: var(--orange-600);
}

.plan-amount {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--orange-600) 0%, var(--orange-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-cents {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--orange-600);
  margin-bottom: 4px;
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 6px;
  margin-bottom: 6px;
}

.plan-effective {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.plan-effective strong {
  color: var(--orange-700);
}

.plan-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.plan-perks li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 0.93rem;
  color: var(--ink);
  border-bottom: 1px dashed rgba(252, 146, 31, 0.18);
}

.plan-perks li:last-child { border-bottom: 0; }

.plan-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  box-shadow: 0 2px 6px rgba(252, 146, 31, 0.35);
}

.plan-perks li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 8px;
  height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.plan-cta {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ---------- CTA block ---------- */

.cta-block {
  position: relative;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(252, 146, 31, 0.25) 0%, transparent 70%),
    var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 146, 31, 0.35) 0%, transparent 70%);
  filter: blur(30px);
}

.cta-block h2 { margin-bottom: 12px; }
.cta-block p  { max-width: 560px; margin: 0 auto 24px; }
.cta-block .hero-ctas { justify-content: center; }

/* ---------- Legal (markdown) pages ---------- */

.legal-wrap {
  padding: 40px 0 80px;
}

.legal-header {
  text-align: center;
  padding: 32px 24px 40px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
}

.legal-header p {
  color: var(--ink-faint);
  font-size: 0.95rem;
}

.legal {
  padding: 48px clamp(24px, 5vw, 64px);
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.legal h1, .legal h2, .legal h3 {
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.legal h1 { font-size: 2rem; margin-top: 0; }
.legal h2 { font-size: 1.45rem; color: var(--orange-700); }
.legal h3 { font-size: 1.15rem; color: var(--ink); }

.legal p,
.legal li {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.legal ul, .legal ol {
  padding-left: 1.4em;
  margin: 0.6em 0 1.2em;
}

.legal li { margin-bottom: 0.4em; }

.legal strong { color: var(--ink); font-weight: 700; }

.legal hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-300), transparent);
  margin: 2.4em 0;
}

.legal blockquote {
  margin: 1.2em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--orange-500);
  background: rgba(252, 146, 31, 0.08);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.legal code {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(252, 146, 31, 0.1);
  border-radius: 6px;
  color: var(--orange-700);
}

.legal a {
  color: var(--orange-700);
  border-bottom: 1px solid rgba(252, 146, 31, 0.35);
  transition: border-color .18s, color .18s;
}

.legal a:hover {
  color: var(--orange-800);
  border-color: var(--orange-700);
}

.legal a.btn {
  border-bottom: 0;
}

.legal a.btn-primary,
.legal a.btn-primary:hover {
  color: #fff;
}

.legal a.btn-glass,
.legal a.btn-glass:hover {
  color: var(--ink);
}

.legal-loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-faint);
}

.toc {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(255, 246, 234, 0.7);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-md);
}

.toc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: 24px;
}

@media (max-width: 600px) { .toc ol { columns: 1; } }

.toc li {
  font-size: 0.9rem;
  margin-bottom: 4px;
  break-inside: avoid;
}

.toc a {
  color: var(--ink-soft);
  border: 0;
}

.toc a:hover { color: var(--orange-700); }

/* ---------- About page ---------- */

.about-hero {
  padding: 48px 0 24px;
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  box-shadow: 0 16px 40px rgba(252, 146, 31, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
  border: 4px solid white;
}

.about-bio {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 40px;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
}

.about-bio p { color: var(--ink); }

.about-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.social:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
  color: var(--orange-700);
}

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

.interests {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 32px auto 0;
}

@media (max-width: 720px) { .interests { grid-template-columns: repeat(2, 1fr); } }

.interest {
  text-align: center;
  padding: 20px 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.interest .emoji { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */

.footer {
  margin-top: 80px;
  padding: 40px 0 32px;
  border-top: 1px solid rgba(252, 146, 31, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.footer-meta {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 20px;
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.faq-item[open] {
  background: var(--glass-bg-hi);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  outline: none;
}

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

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--orange-500);
  transition: transform 160ms ease;
}

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

.faq-item summary:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.97rem;
}

/* ---------- Clinical disclaimer ---------- */

.clinical-disclaimer {
  max-width: 760px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border: 1px dashed var(--glass-border-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.clinical-disclaimer strong {
  display: inline-block;
  margin-right: 6px;
  color: var(--orange-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Cloud-app extras — forms, alerts, admin shell, prelaunch banner.
   Visually consistent with the glass theme above.
   ============================================================ */

/* ---------- Pre-launch banner ---------- */

.banner-prelaunch {
  position: relative;
  padding: 10px 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink);
  background:
    radial-gradient(600px 100px at 50% 0%, rgba(252, 146, 31, 0.18) 0%, transparent 70%),
    var(--glass-bg-hi);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border-2);
}

.banner-prelaunch strong {
  color: var(--orange-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-right: 8px;
}

/* ---------- Generic content cards (for non-marketing pages) ---------- */

.content-wrap {
  padding: 32px 0 56px;
}

.content-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.content-card h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 14px;
}

.content-card h2 {
  font-size: 1.35rem;
  color: var(--orange-700);
  margin-top: 1.8em;
}

.content-card h3 {
  font-size: 1.1rem;
  margin-top: 1.4em;
}

.content-card p, .content-card li {
  color: var(--ink);
  line-height: 1.7;
}

.content-card .lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.content-card .hint {
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.content-card ul, .content-card ol {
  padding-left: 1.4em;
  margin: 0.6em 0 1.2em;
}

.content-card li { margin-bottom: 0.4em; }

.content-card hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-300), transparent);
  margin: 2.4em 0;
}

.content-card code {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(252, 146, 31, 0.1);
  border-radius: 6px;
  color: var(--orange-700);
}

.content-card a {
  color: var(--orange-700);
  border-bottom: 1px solid rgba(252, 146, 31, 0.35);
}

.content-card a:hover {
  color: var(--orange-800);
  border-color: var(--orange-700);
}

.content-card a.btn { border-bottom: 0; }
.content-card a.btn-primary, .content-card a.btn-primary:hover { color: #fff; }
.content-card a.btn-glass, .content-card a.btn-glass:hover { color: var(--ink); }

/* ---------- Tables (used in /how-it-works etc.) ---------- */

table.plain {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  background: var(--glass-bg);
  border-radius: var(--r-md);
  overflow: hidden;
}

table.plain th, table.plain td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border-2);
  font-size: 0.95rem;
}

table.plain th {
  font-weight: 600;
  color: var(--orange-700);
  background: rgba(252, 146, 31, 0.06);
  letter-spacing: 0.02em;
}

table.plain tr:last-child td { border-bottom: 0; }

/* ---------- Forms (stacked layout) ---------- */

form.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 28rem;
}

form.stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

form.stack input,
form.stack select,
form.stack textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--glass-border-2);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

form.stack input::placeholder { color: var(--ink-faint); }

form.stack input:focus,
form.stack select:focus,
form.stack textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(252, 146, 31, 0.18);
}

form.stack .hint {
  font-size: 0.84rem;
  color: var(--ink-faint);
  font-weight: 400;
}

form.stack .error {
  color: #b3261e;
  font-size: 0.9rem;
}

form.stack button.btn { align-self: flex-start; }

/* Wider variant for multi-field forms (signup, BAA, etc.) — fills the
   content-card width so City/State/ZIP rows have breathing room. */
form.stack.stack-wide { max-width: 100%; }

/* Inline row of labels, e.g. City + State + ZIP. Children declare
   their relative width with .grow-1 / .grow-2. */
form.stack .form-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

form.stack .form-row > label {
  flex: 1 1 0;
  min-width: 0;
}

form.stack .form-row > label.grow-2 { flex-grow: 2; }
form.stack .form-row > label.grow-1 { flex-grow: 1; }

/* On narrow screens, collapse the row to a column so fields aren't
   crushed below the legible-input-width threshold. */
@media (max-width: 520px) {
  form.stack .form-row {
    flex-direction: column;
    gap: 16px;
  }
  form.stack .form-row > label { flex: 1 1 auto; width: 100%; }
}

.hint { font-size: 0.85rem; color: var(--ink-faint); font-weight: 400; }

/* ---------- Alerts ---------- */

.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border-2);
  background: var(--glass-bg);
  margin: 16px 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.alert-success {
  background: rgba(30, 110, 70, 0.08);
  border-color: rgba(30, 110, 70, 0.25);
  color: #185c33;
}

.alert-error {
  background: rgba(179, 38, 30, 0.07);
  border-color: rgba(179, 38, 30, 0.25);
  color: #762019;
}

/* ---------- Secondary button alias used by older pages ---------- */

.btn-secondary {
  background: var(--glass-bg-hi);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.btn-link {
  background: transparent;
  color: var(--orange-700);
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Pricing-grid alias (used by older /pricing page) ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.price-card {
  position: relative;
  padding: 28px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: transform .22s ease, box-shadow .22s ease;
}

.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.price-card.featured {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 233, 204, 0.85) 100%);
  border: 1.5px solid rgba(252, 146, 31, 0.45);
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
  background: linear-gradient(180deg, var(--orange-600) 0%, var(--orange-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  -webkit-text-fill-color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.price-card li {
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(252, 146, 31, 0.18);
}

.price-card li:last-child { border-bottom: 0; }

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(252, 146, 31, 0.4);
}

/* ---------- Admin portal shell ---------- */

.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  max-width: var(--container);
  margin: 24px auto;
  padding: 0 24px;
}

.admin-side {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.admin-side nav { display: flex; flex-direction: column; gap: 4px; }

.admin-side nav a {
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  border-bottom: 0;
}

.admin-side nav a:hover {
  background: rgba(252, 146, 31, 0.1);
  color: var(--ink);
}

.admin-side nav a.active {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(252, 146, 31, 0.35);
}

.admin-content {
  padding: 24px 0;
}

@media (max-width: 720px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { border-radius: var(--r-md); }
}

/* ---------- main wrapper for non-marketing pages ---------- */

main { display: block; }

/* ============================================================
   Phone → Desktop hookup visual.
   Used in the hero of the landing page to show how the SmileMaxer
   mobile app on a clinician's phone hooks into a PMS on the
   operatory desktop.
   ============================================================ */

.hookup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 540px;
  padding: 0 4%;
}

@media (max-width: 720px) {
  .hookup {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }
}

.hookup .phone {
  width: 220px;
  max-width: 90%;
  justify-self: end;
  transform: rotate(-4deg);
  margin-right: -28px;
}

@media (max-width: 720px) {
  .hookup .phone {
    justify-self: center;
    margin-right: 0;
    transform: rotate(0);
  }
}

.hookup-arrow {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 80px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg,
    rgba(252, 146, 31, 0) 0%,
    rgba(252, 146, 31, 0.6) 30%,
    rgba(252, 146, 31, 0.9) 70%,
    rgba(252, 146, 31, 0.6) 100%);
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
}

.hookup-arrow::before,
.hookup-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 10px;
  height: 2px;
  background: rgba(252, 146, 31, 0.9);
  border-radius: 999px;
}

.hookup-arrow::before { top: -4px; transform: rotate(35deg); transform-origin: right center; }
.hookup-arrow::after  { top:  4px; transform: rotate(-35deg); transform-origin: right center; }

@media (max-width: 720px) {
  .hookup-arrow { display: none; }
}

/* Faux desktop window showing the PMS being typed into */
.desktop-window {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: start;
  padding: 0;
  background: var(--glass-bg-hi);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(252, 146, 31, 0.18),
    0 10px 24px rgba(26, 18, 6, 0.08);
  transform: rotate(3deg);
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 720px) {
  .desktop-window {
    justify-self: center;
    transform: rotate(0);
  }
}

.desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 246, 234, 0.85) 100%);
  border-bottom: 1px solid var(--glass-border-2);
}

.desktop-dots {
  display: flex;
  gap: 6px;
}

.desktop-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0e0e0;
}

.desktop-dots span:nth-child(1) { background: #ff6058; }
.desktop-dots span:nth-child(2) { background: #ffbd2e; }
.desktop-dots span:nth-child(3) { background: #28c941; }

.desktop-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.desktop-body {
  padding: 18px 18px 20px;
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
}

.pms-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 0.84rem;
  color: var(--ink);
}

.pms-row .pms-label {
  width: 72px;
  font-weight: 600;
  color: var(--orange-700);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pms-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  border-radius: 6px;
  background: rgba(252, 146, 31, 0.08);
  border: 1px solid rgba(252, 146, 31, 0.18);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.85rem;
}

.pms-cell.filled {
  background: linear-gradient(135deg, var(--orange-100) 0%, var(--orange-200) 100%);
  border-color: rgba(252, 146, 31, 0.35);
  color: var(--orange-800);
  animation: cell-pop 320ms ease both;
}

.pms-cell.filled:nth-child(3) { animation-delay: 600ms; opacity: 0; animation-fill-mode: both; }
.pms-cell.filled:nth-child(4) { animation-delay: 1100ms; opacity: 0; animation-fill-mode: both; }
.pms-cell.filled:nth-child(5) { animation-delay: 1600ms; opacity: 0; animation-fill-mode: both; }

.pms-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--orange-600);
  margin-left: 2px;
  animation: cursor-blink 1.1s steps(2) infinite;
}

@keyframes cell-pop {
  0% { opacity: 0; transform: translateY(-4px) scale(0.85); }
  60% { opacity: 1; transform: translateY(0) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.desktop-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(252, 146, 31, 0.22);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.desktop-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2bb673;
  box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.2);
}

/* ============================================================
   "Three pieces" explainer block on the homepage.
   ============================================================ */

.three-pieces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .three-pieces { grid-template-columns: 1fr; }
}

.piece {
  position: relative;
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.piece::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--orange-500);
}

.piece-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(252, 146, 31, 0.35);
}

.piece h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.piece p {
  font-size: 0.93rem;
  margin: 0;
}


/* ============================================================
   SmileMaxer hub window (homepage hero) — the Creative-Cloud-style
   "window of apps" the practice actually installs. Replaces the
   old phone mockup as the hero visual.
   ============================================================ */

.hub-window {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--glass-bg-hi);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow:
    0 30px 80px rgba(252, 146, 31, 0.20),
    0 12px 28px rgba(26, 18, 6, 0.10);
  overflow: hidden;
  transform: rotate(-1.5deg);
  z-index: 1;
}

@media (max-width: 900px) { .hub-window { transform: rotate(0); } }

.hub-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 246, 234, 0.85) 100%);
  border-bottom: 1px solid var(--glass-border-2);
}

.hub-titlebar-brand {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}

.hub-titlebar-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

/* Balances the traffic-dot cluster so the window title optically centers. */
.hub-titlebar-pad { width: 45px; }

.hub-body {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 348px;
  background: #fff;
}

.hub-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  background: var(--surface-tint);
  border-right: 1px solid var(--line);
}

.hub-side-item {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hub-side-item.active {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 4px 10px rgba(252, 146, 31, 0.35);
}

.hub-main {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.hub-main-label {
  margin: 0 0 10px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hub-tiles {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hub-tile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(26, 18, 6, 0.04);
}

.hub-tile-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  box-shadow: 0 5px 12px rgba(252, 146, 31, 0.35);
}

.hub-tile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-tile-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hub-tile-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}

.hub-tile-desc {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.hub-tile-cta {
  flex: none;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

/* trailing "more coming" placeholder tile */
.hub-tile-more {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
}
.hub-tile-more .hub-tile-icon { background: var(--surface-tint); box-shadow: none; }
.hub-tile-more .hub-tile-icon svg { stroke: var(--ink-faint); }
.hub-tile-more .hub-tile-name { color: var(--ink-soft); }

.hub-foot {
  margin-top: auto;
  padding-top: 12px;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

@media (max-width: 460px) {
  .hub-body { grid-template-columns: 1fr; min-height: 0; }
  .hub-side {
    flex-direction: row;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ============================================================
   MaxiMouse brand identity — black & white. The one app whose
   surfaces are monochrome; the cursor it draws is a white circle,
   so the white circle IS the icon. SmileMaxer chrome and
   PerioMaxer marigold stay untouched.
   ============================================================ */

.hub-tile-icon.mono,
.feature-icon.mono {
  background: linear-gradient(135deg, #34343a 0%, #0b0b0e 100%);
  box-shadow: 0 5px 12px rgba(12, 12, 14, 0.35);
}

.feature-icon.mono { box-shadow: 0 8px 20px rgba(12, 12, 14, 0.30); }

/* The white-circle cursor mark, sized by context. */
.mm-cursor-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
}

.feature-icon.mono .mm-cursor-dot {
  width: 20px;
  height: 20px;
  border-width: 3px;
}

/* ---------- App-card extras (homepage catalog) ---------- */

a.feature { display: block; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.platform {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-tint);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-700);
}

a.feature:hover .feature-link { color: var(--orange-800); }

/* ============================================================
   MaxiMouse app page — monochrome brand surface. Scopes the
   marigold accents to black & white for everything inside
   .theme-mono; global nav/footer outside it stay marigold.
   ============================================================ */

.theme-mono .chip {
  background: #131316;
  border-color: #131316;
  color: #fff;
}
.theme-mono .chip-dot { background: #fff; }

.theme-mono .hero-title .accent { color: #131316; }
.theme-mono .hero-title .accent::after { background: #E6E6EA; }

.theme-mono .btn-primary {
  background: #131316;
  box-shadow: 0 8px 22px rgba(12, 12, 14, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.theme-mono .btn-primary:hover {
  background: #000;
  box-shadow: 0 12px 28px rgba(12, 12, 14, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.theme-mono .btn-glass:hover { color: #131316; border-color: #131316; }

.theme-mono .feature::before { background: #131316; }
.theme-mono .feature:hover { border-color: rgba(19, 19, 22, 0.30); }
.theme-mono .feature-icon {
  background: linear-gradient(135deg, #34343a 0%, #0b0b0e 100%);
  box-shadow: 0 8px 20px rgba(12, 12, 14, 0.30);
}
.theme-mono .feature-tag.soon { background: #ECECEF; color: #5a5a64; }

.theme-mono .hero-visual::before {
  background: radial-gradient(circle at 50% 50%, rgba(12, 12, 14, 0.16) 0%, transparent 60%);
}

.theme-mono .platform {
  background: #F4F4F6;
  border-color: #E2E2E7;
  color: #5a5a64;
}

/* ---------- MaxiMouse demo window: dark screen, white-circle cursor ---------- */

.mm-window {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #232328;
  background: #101014;
  box-shadow:
    0 30px 80px rgba(12, 12, 14, 0.45),
    0 12px 28px rgba(12, 12, 14, 0.25);
  transform: rotate(1.5deg);
  z-index: 1;
}

@media (max-width: 900px) { .mm-window { transform: rotate(0); } }

.mm-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #17171c;
  border-bottom: 1px solid #232328;
}

.mm-titlebar .desktop-dots span { background: #3a3a42; }

.mm-title {
  flex: 1;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: #9a9aa4;
  letter-spacing: 0.03em;
}

.mm-screen {
  position: relative;
  padding: 22px 20px 26px;
  min-height: 280px;
}

.mm-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.mm-block {
  height: 38px;
  border-radius: 9px;
  background: #1b1b21;
  border: 1px solid #26262d;
  flex: 1;
}

.mm-block.wide { flex: 2; }
.mm-block.tall { height: 96px; }

/* The cursor MaxiMouse draws: a bright white circle, easy to find on
   any screen. Drifts between targets and "dwells" like a real session. */
.mm-cursor {
  position: absolute;
  top: 38%;
  left: 30%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.12),
    0 0 22px rgba(255, 255, 255, 0.45);
  animation: mm-drift 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* click pulse while the cursor dwells on a target */
.mm-cursor::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: mm-click 7s ease-out infinite;
}

@keyframes mm-drift {
  0%, 100% { top: 38%; left: 30%; }
  32%      { top: 58%; left: 64%; }
  52%      { top: 58%; left: 64%; }
  74%      { top: 28%; left: 52%; }
}

@keyframes mm-click {
  0%, 38%  { opacity: 0; transform: scale(1); }
  42%      { opacity: 0.9; transform: scale(1); }
  52%      { opacity: 0; transform: scale(2.1); }
  53%, 100% { opacity: 0; }
}

.mm-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px dashed #2a2a31;
  color: #9a9aa4;
  font-size: 0.78rem;
}

.mm-caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Mono theme: the white chip-dot is for the black chip pill only — the
   bare hero-meta dots sit on the white page, so they go ink. */
.theme-mono .hero-meta .chip-dot { background: #131316; }

/* Mono theme: CTA block loses the marigold wash — neutral graphite glow. */
.theme-mono .cta-block {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(19, 19, 22, 0.10) 0%, transparent 70%),
    var(--glass-bg-hi);
}
.theme-mono .cta-block::before {
  background: radial-gradient(circle, rgba(19, 19, 22, 0.16) 0%, transparent 70%);
}

/* ============================================================
   PerioMaxer production marketing — public launch surfaces
   ============================================================ */

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.narrow {
  max-width: 820px;
}

.prod-hero {
  padding-top: 88px;
  padding-bottom: 76px;
}

.prod-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(450px, .95fr);
  gap: 64px;
}

.trust-list,
.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--ink-soft);
}

.trust-list li {
  font-size: .86rem;
  font-weight: 650;
}

.trust-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-700);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
}

.connection-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(98px, .45fr) minmax(190px, .9fr);
  align-items: center;
  isolation: isolate;
}

.connection-visual::before {
  content: "";
  position: absolute;
  inset: 6% -4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,146,31,.23), transparent 67%);
  filter: blur(26px);
}

.connection-phone {
  display: grid;
  place-items: center;
}

.connection-phone .phone {
  width: 225px;
  max-width: none;
  border-radius: 40px;
  transform: rotate(-2.5deg);
}

.connection-phone .phone-screen {
  border-radius: 33px;
}

.connection-phone .phone-notch {
  display: block;
  width: 62px;
  height: 18px;
  top: 9px;
}

.connection-line {
  display: grid;
  gap: 9px;
  align-items: center;
  color: var(--orange-700);
  text-align: center;
}

.connection-line span {
  position: relative;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
}

.connection-line span:first-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 7px rgba(252,146,31,.15);
  transform: translate(-50%, -50%);
}

.connection-line small {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.desktop-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.desktop-card::before {
  content: "";
  position: absolute;
  inset: 8px 12px auto;
  height: 1px;
  background: var(--line);
}

.desktop-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 999px;
  background: #2FA24F;
  box-shadow: 0 0 0 5px rgba(47,162,79,.12);
}

.desktop-card strong {
  font-size: .98rem;
}

.desktop-card p {
  margin: 12px 0 20px;
  font-size: .82rem;
  line-height: 1.55;
}

.desktop-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.desktop-row i {
  height: 24px;
  border: 1px solid #C9D8EB;
  border-radius: 4px;
  background: #F6FAFF;
}

.desktop-row i:nth-child(3) {
  border-color: var(--orange-500);
  box-shadow: inset 0 -4px 0 var(--orange-500);
}

.proof-strip {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,248,238,.78);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 22px;
  padding-bottom: 22px;
}

.proof-grid > div {
  padding: 5px 24px;
  border-right: 1px solid var(--line);
}

.proof-grid > div:first-child {
  padding-left: 0;
}

.proof-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: .9rem;
}

.proof-grid span {
  color: var(--ink-faint);
  font-size: .74rem;
}

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

.step-card,
.catalog-card,
.plan-card,
.security-card {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-card {
  min-height: 260px;
  padding: 30px 28px;
}

.step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  place-items: center;
  border: 1px solid var(--glass-border-2);
  border-radius: 50%;
  color: var(--orange-700);
  font-size: .75rem;
  font-weight: 800;
}

.step-card h3 {
  font-size: 1.35rem;
}

.step-card p {
  margin-bottom: 0;
  font-size: .94rem;
}

.split-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #FFFDF9, var(--surface-tint));
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
}

.privacy-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.privacy-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-700);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-card > a {
  display: inline-block;
  margin-top: 22px;
  font-weight: 750;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 17px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: .82rem;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.store-link:hover {
  background: #000;
  color: var(--white);
  transform: translateY(-1px);
}

.pricing-preview {
  padding-top: 72px;
  padding-bottom: 72px;
}

.price-callout {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--glass-border-2);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.price-callout span,
.price-callout strong {
  display: block;
}

.price-callout span {
  margin-bottom: 3px;
  color: var(--ink-faint);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-callout strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.page-hero,
.hub-hero {
  padding-top: 110px;
  padding-bottom: 78px;
  text-align: center;
}

.page-hero .container,
.hub-hero .container {
  margin-inline: auto;
}

.page-hero h1,
.hub-hero h1 {
  font-size: clamp(2.45rem, 6vw, 4.5rem);
}

.page-hero .hero-sub,
.hub-hero .hero-sub {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.page-hero .hero-ctas,
.page-hero .store-links {
  justify-content: center;
}

.screenshot-card {
  max-width: 430px;
  margin-inline: auto;
  padding: 14px;
  border: 1px solid var(--glass-border);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}

.screenshot-card img {
  border-radius: 24px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.feature-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list article:last-child {
  border-bottom: 0;
}

.feature-list h3 {
  margin-bottom: 6px;
}

.feature-list p {
  margin: 0;
  font-size: .94rem;
}

.center-cta {
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface-tint);
}

.center-cta .btn {
  margin-top: 10px;
}

.hub-hero {
  padding-bottom: 44px;
}

.hub-hero .hero-sub {
  font-size: 1.2rem;
}

.hub-products {
  padding-top: 24px;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.catalog-card {
  min-height: 270px;
  padding: 30px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.catalog-card:hover {
  color: var(--ink);
  border-color: var(--glass-border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.catalog-card img {
  margin-bottom: 25px;
  border-radius: 16px;
}

.catalog-card .feature-tag {
  position: absolute;
  top: 30px;
  right: 30px;
}

.catalog-featured {
  background:
    linear-gradient(135deg, rgba(252,146,31,.08), transparent 55%),
    var(--white);
}

.feature-tag.live {
  background: var(--orange-100);
  color: var(--orange-800);
}

.office-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.office-flow article {
  min-height: 260px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.office-flow article:last-child {
  border-right: 0;
}

.office-flow article > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-800);
  font-size: .75rem;
  font-weight: 900;
}

.office-flow p {
  margin-bottom: 0;
  font-size: .9rem;
}

.timeline {
  max-width: 940px;
}

.timeline article {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.timeline article:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline article > span {
  color: var(--orange-700);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timeline h2 {
  font-size: 1.55rem;
}

.pricing-hero {
  padding-bottom: 42px;
}

.pricing-section {
  padding-top: 26px;
}

.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pricing-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pricing-table tr > *:last-child {
  border-right: 0;
}

.pricing-table tbody tr:last-child > * {
  border-bottom: 0;
}

.pricing-table thead th {
  background: var(--surface-tint);
  color: var(--ink-faint);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-table tbody th {
  width: 29%;
}

.pricing-table strong,
.pricing-table span {
  display: block;
}

.pricing-table span {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: .8rem;
  font-weight: 500;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  padding: 30px 27px 27px;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--glass-border-2);
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(180deg, rgba(252,146,31,.07), transparent 34%),
    var(--white);
}

.plan-card .plan-badge {
  position: static;
  align-self: flex-start;
  margin: -15px 0 20px;
}

.plan-capacity {
  min-height: 68px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.plan-capacity strong {
  display: block;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1;
}

.plan-card .check-list {
  flex: 1;
  margin: 6px 0 28px;
  padding: 16px 0 0;
}

.plan-card .check-list li {
  font-size: .87rem;
}

.plan-price-block {
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.plan-price-block > span,
.plan-price-block > strong,
.plan-price-block > em {
  display: block;
}

.plan-price-block > span {
  color: var(--ink-faint);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-price-block > strong {
  margin: 6px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
}

.plan-price-block small {
  color: var(--ink-faint);
  font-size: .82rem;
  font-weight: 600;
}

.plan-price-block > em {
  color: var(--ink-faint);
  font-size: .76rem;
  font-style: normal;
}

.btn-block {
  width: 100%;
}

.annual-link {
  display: block;
  margin-top: 13px;
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
}

.competitor-note,
.trial-disclosure,
.dso-callout {
  margin-top: 32px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--r-xl);
}

.competitor-note {
  border: 1px solid #DCE7F4;
  background: #F6FAFF;
}

.competitor-note h2 {
  max-width: 900px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.competitor-note p {
  margin-bottom: 0;
}

.trial-disclosure {
  border: 1px solid var(--glass-border-2);
  background: var(--surface-tint);
}

.trial-disclosure p:last-child {
  margin-bottom: 0;
}

.dso-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.dso-callout p {
  margin-bottom: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.security-card {
  padding: clamp(28px, 5vw, 46px);
  overflow: hidden;
}

.security-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--orange-500);
}

.security-card.cloud::before {
  background: var(--app-blue);
}

.security-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-faint);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-note {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px dashed var(--glass-border-2);
  border-radius: var(--r-md);
  font-size: .88rem;
}

.signup-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.signup-heading h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.signup-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.signup-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: .75rem;
  font-weight: 750;
}

.signup-progress li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: var(--line);
}

.signup-progress li.active {
  color: var(--ink);
}

.signup-progress li.active::after {
  background: var(--orange-500);
}

.signup-progress span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: .68rem;
}

.signup-progress li.active span {
  border-color: var(--orange-500);
  color: var(--orange-800);
}

form.stack .form-section {
  margin: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

form.stack .form-section legend {
  padding: 0 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 750;
}

@media (max-width: 980px) {
  .prod-hero-grid {
    grid-template-columns: 1fr;
  }

  .connection-visual {
    max-width: 620px;
    margin-inline: auto;
  }

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

  .office-flow article:nth-child(2) {
    border-right: 0;
  }

  .office-flow article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .prod-hero,
  .page-hero,
  .hub-hero {
    padding-top: 74px;
  }

  .connection-visual {
    min-height: 480px;
    grid-template-columns: 1fr 72px 1fr;
  }

  .connection-phone .phone {
    width: 175px;
    border-radius: 32px;
  }

  .connection-phone .phone-screen {
    border-radius: 25px;
  }

  .desktop-card {
    padding: 22px 18px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:last-child {
    padding: 5px 18px;
    border-right: 0;
  }

  .proof-grid > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .steps-grid,
  .split-grid,
  .product-catalog,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-grid {
    gap: 54px;
  }

  .price-callout,
  .dso-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .office-flow {
    grid-template-columns: 1fr;
  }

  .office-flow article,
  .office-flow article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .office-flow article:last-child {
    border-bottom: 0;
  }

  .office-flow article > span {
    margin-bottom: 20px;
  }
}

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

  .hero-title {
    font-size: clamp(2.25rem, 13vw, 3.25rem);
  }

  .hero-ctas,
  .store-links,
  .price-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-ctas .btn,
  .store-link {
    width: 100%;
    justify-content: center;
  }

  .connection-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 16px;
  }

  .connection-line {
    width: 72%;
    margin-inline: auto;
  }

  .connection-line span {
    transform: rotate(90deg);
  }

  .desktop-card {
    max-width: 280px;
    margin-inline: auto;
    transform: none;
  }

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

  .proof-grid > div,
  .proof-grid > div:nth-child(odd) {
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:last-child {
    border-bottom: 0;
  }

  .signup-progress {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }

  form.stack .form-section {
    padding: 20px 16px;
  }
}
