/* Promptly marketing site.
   Tokens measured from keytail.ai CSS (light marketing theme).
   ABC Diatype / Messina Sans are proprietary — do not bundle those files.
   Self-hosted substitute: Geist Sans (SIL OFL 1.1), metrics matched below. */

@font-face {
  font-family: "Geist Sans";
  src: url("fonts/GeistSans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url("fonts/GeistSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url("fonts/GeistSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url("fonts/GeistSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url("fonts/GeistSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Keytail color tokens */
  --bg-base: #f9f9f9;
  --bg-secondary: #f9f9f9;
  --bg-primary: #fff;
  --bg-tertiary: #f1f1f1;
  --bg-quaternary: #e9e9e9;
  --bg-darkest: #f2f2f4;
  --bg-warm: #F4F5F0;
  --neutral-0: #fff;
  --neutral-5: #f5f5f5;
  --neutral-10: #ededed;
  --neutral-20: #dbdbdb;
  --neutral-30: #c2c2c2;
  --neutral-40: #adadad;
  --neutral-50: #878787;
  --neutral-60: #707070;
  --neutral-70: #5c5c5c;
  --neutral-80: #404040;
  --neutral-90: #262626;
  --neutral-95: #1f1f1f;
  --neutral-100: #141414;
  --fg-primary: #141414;
  --fg-marketing: #111111;
  --fg-secondary: #707070;
  --fg-tertiary: #adadad;
  --fg-muted: #666666;
  --border-primary: #0000000d;
  --border-secondary: #00000014;
  --border-tertiary: #0000001a;
  --border-ui: #E5E5E5;
  --shadow-1: 0px 7px 29px 0px #64646f33;
  --shadow-2: 0 4px 10px -2px #0003, 0 2px 2px -1px #0003;
  --shadow-3: 0px 12px 40px 0px #000c;
  --spacing: 0.25rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 1.5rem;
  --radius-4xl: 2rem;
  --radius-pill: 999px;
  --text-xs: 0.75rem;
  --text-xs--line-height: 1.333;
  --text-sm: 0.875rem;
  --text-sm--line-height: 1.429;
  --text-base: 1rem;
  --text-base--line-height: 1.5;
  --text-lg: 1.125rem;
  --text-lg--line-height: 1.556;
  --text-xl: 1.25rem;
  --text-xl--line-height: 1.4;
  --text-2xl: 1.5rem;
  --text-2xl--line-height: 1.333;
  --text-3xl: 1.875rem;
  --text-3xl--line-height: 1.2;
  --text-4xl: 2.25rem;
  --text-4xl--line-height: 1.111;
  --text-5xl: 3rem;
  --text-5xl--line-height: 1;
  --text-6xl: 3.75rem;
  --text-6xl--line-height: 1;
  --text-7xl: 4.5rem;
  --text-7xl--line-height: 1;
  --tracking-display: -0.05em; /* Keytail .tracking-tighter utility on headlines */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.025em;
  --tracking-medium: -0.015em;
  --tracking-normal: 0em;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --leading-display: 0.9;
  --leading-heading: 1.05;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
  --duration-slow: 300ms;

  /* Mapped aliases used across the existing stylesheet */
  --text: var(--fg-marketing);
  --secondary: var(--fg-muted);
  --muted: var(--neutral-50);
  --canvas: #fff;
  --surface: var(--bg-primary);
  --group: var(--bg-tertiary);
  --control: var(--bg-quaternary);
  --border: var(--border-primary);
  --border-strong: var(--border-ui);
  --primary: #000000;
  --primary-text: #ffffff;
  --accent: #2E6DE9;
  --hero-fg: #ffffff;
  --icon-green: #2A8A3E;
  --icon-orange: #ED990E;
  --icon-blue: #2E6DE9;
  --icon-red: #DC2D28;
  --icon-purple: #9C5FE1;
  --icon-amber: #E2A028;
  --icon-pink: #E5508F;
  --selection: rgba(46, 109, 233, 0.22);
  --shadow: var(--shadow-1);
  --shadow-soft: var(--shadow-3);
  --radius-card: var(--radius-2xl);
  --radius-stage: var(--radius-2xl);
  --radius-win: var(--radius-xl);
  --header-h: 58px;
  --wrap: 1120px;
  --wrap-wide: 1440px;
  --font: "Geist Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-base: #111111;
    --bg-secondary: #111111;
    --bg-primary: #131314;
    --bg-tertiary: #1f1f1f;
    --bg-quaternary: #2e2e2e;
    --bg-darkest: #0e0e0e;
    --bg-warm: #0e0e0e;
    --fg-primary: #f0f0f0;
    --fg-marketing: #f0f0f0;
    --fg-secondary: #adadad;
    --fg-tertiary: #878787;
    --fg-muted: #989898;
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: rgba(255, 255, 255, 0.14);
    --border-tertiary: rgba(255, 255, 255, 0.16);
    --border-ui: rgba(255, 255, 255, 0.18);
    --text: #f0f0f0;
    --secondary: #989898;
    --muted: #878787;
    --canvas: #0e0e0e;
    --surface: #131314;
    --group: #1f1f1f;
    --control: #2e2e2e;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --primary: #f0f0f0;
    --primary-text: #0e0e0e;
    --selection: rgba(46, 109, 233, 0.38);
    --shadow: 0px 7px 29px 0px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0px 12px 40px 0px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--text-base--line-height);
  font-weight: 400;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* Small platform label for Mac-only features on a Mac + Windows page. */
.on-mac {
  display: inline-block;
  margin-left: 0.35em;
  padding: 0.1em 0.45em;
  border-radius: 999px;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  opacity: 0.7;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.7; }
:focus-visible { outline: 2px solid var(--fg-primary); outline-offset: 3px; }

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  z-index: 200;
  top: 8px; left: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
  min-width: 0;
}
.wrap-wide {
  width: min(var(--wrap-wide), calc(100% - 48px));
  margin-inline: auto;
  min-width: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background var(--duration-slow) var(--ease), backdrop-filter var(--duration-slow) var(--ease), border-color var(--duration-slow) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.header-page {
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.home-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { opacity: 1; color: var(--text); }
.logo { width: 28px; height: 28px; border-radius: var(--radius-md); flex-shrink: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  opacity: 0.82;
  transition: opacity var(--duration-slow) var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

.nav-toggle { display: none; position: relative; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.nav-toggle > summary::-webkit-details-marker,
.nav-toggle > summary::marker { display: none; content: ""; }
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}
.nav-panel a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.nav-panel a:hover { background: var(--group); opacity: 1; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--primary-text);
  font: inherit;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  font-weight: 500;
  letter-spacing: var(--tracking-normal);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--duration-slow) var(--ease), background var(--duration-slow) var(--ease), color var(--duration-slow) var(--ease);
}
.btn:hover { color: var(--primary-text); opacity: 0.7; }
.btn-sm { height: 34px; min-height: 34px; padding: 0 16px; font-size: var(--text-sm); }
.btn-light {
  background: #fff;
  color: #141414;
}
.btn-light:hover { color: #141414; opacity: 0.9; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { color: var(--text); opacity: 1; background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,0.12); opacity: 1; }

/* Type */

.display {
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin: 0;
}
.hero .display {
  font-size: clamp(3.25rem, 8.4vw, 7.5rem);
  color: var(--text);
}
h2.display,
.display-md {
  font-size: clamp(var(--text-4xl), 5.6vw, var(--text-7xl));
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-heading);
  color: var(--text);
  margin: 0 0 20px;
}
.page-hero h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-heading);
  margin: 0 0 16px;
}
h3, .h3 {
  font-size: var(--text-lg);
  line-height: var(--text-lg--line-height);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 6px;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.hero .eyebrow { color: var(--secondary); letter-spacing: 0.04em; text-transform: none; font-size: 14px; font-weight: 400; }
.lede {
  margin: 0;
  font-size: var(--text-lg);
  line-height: var(--text-lg--line-height);
  color: var(--secondary);
}
.hero .lede {
  color: var(--text);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  max-width: 34rem;
  margin-inline: auto;
  opacity: 0.82;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 34rem; }

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--text);
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
  background: var(--canvas);
}
.hero-bg {
  position: absolute;
  inset: auto;
  top: 0;
  left: -6%;
  right: -6%;
  /* Keep a tall box so background-size: cover matches the previous crop.
     Mask: solid blue into the window's lower third, then fade out just below the window. */
  bottom: -6%;
  background: url("img/wide-blue.webp") center 40% / cover no-repeat;
  animation: heroZoom 18s var(--ease) both;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 72rem, transparent 85rem);
  mask-image: linear-gradient(to bottom, #000 0, #000 72rem, transparent 85rem);
}
.hero-bg::after {
  content: none;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 72px 24px 0;
}
.hero-copy .display { margin-bottom: 28px; }

.frost {
  width: min(100%, 520px);
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(20, 20, 20, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(20, 30, 40, 0.08);
}
.frost .waitlist-fields {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  width: 100%;
  min-width: 0;
  background: transparent;
}
.frost input,
.frost input[type="email"],
.frost.waitlist input[type="email"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  background-color: transparent;
  color: #141414;
  -webkit-text-fill-color: #141414;
  caret-color: #141414;
  font: inherit;
  font-size: 16px; /* 16px avoids iOS zoom on focus */
  line-height: 1.3;
  outline: none;
  height: 44px;
  color-scheme: light;
}
.frost input::placeholder,
.frost input[type="email"]::placeholder,
.frost.waitlist input[type="email"]::placeholder {
  color: #3a3a3a;
  -webkit-text-fill-color: #3a3a3a;
  opacity: 1;
}
.frost input:-webkit-autofill,
.frost input[type="email"]:-webkit-autofill,
.frost.waitlist input[type="email"]:-webkit-autofill {
  -webkit-text-fill-color: #141414;
  caret-color: #141414;
  box-shadow: 0 0 0 44px rgba(255,255,255,0.01) inset;
  transition: background-color 9999s ease-out;
}
.frost-go {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease);
}
.frost-go:hover { opacity: 0.8; }
.frost-thanks {
  margin: 0 auto 22px;
  width: min(100%, 520px);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(20,20,20,0.12);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}
.hero-services {
  margin: 0;
  font-size: 14px;
  color: var(--secondary);
  max-width: 36rem;
  margin-inline: auto;
}


/* First-screen type matches Keytail: white on the sky photo. Frost input stays dark for contrast. */
.hero .display {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.frost-thanks {
  color: #141414;
}
.frost input,
.frost input[type="email"],
.frost.waitlist input[type="email"] {
  color: #141414;
  -webkit-text-fill-color: #141414;
}
.hero-actions .btn,
.hero-actions .btn-ghost,
.header-actions .btn {
  -webkit-text-fill-color: currentColor;
}
.hero .lede {
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}
.hero .eyebrow,
.hero-services,
.hero-pricing {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}
.hero-services { opacity: 0.9; }
.hero-pricing {
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.55;
  max-width: 36rem;
  opacity: 0.95;
}
.hero-pricing a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-pricing a:hover { opacity: 0.85; }
/* First-screen header matches Keytail: white menu and buttons on the hero photo.
   After scroll (.is-scrolled), the default dark-on-frost styles apply. */
.home-header:not(.is-scrolled) .brand,
.home-header:not(.is-scrolled) .brand span,
.home-header:not(.is-scrolled) .nav a,
.home-header:not(.is-scrolled) .btn-ghost {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}
.home-header:not(.is-scrolled) .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  text-shadow: none;
}
.home-header:not(.is-scrolled) .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.home-header:not(.is-scrolled) .header-actions .btn:not(.btn-ghost) {
  background: #fff;
  color: #141414;
}
.home-header:not(.is-scrolled) .header-email {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}
.hero-actions .btn:not(.btn-ghost) {
  background: #fff;
  color: #141414;
}
.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.hero-actions .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-header:not(.is-scrolled) .nav-toggle > summary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

/* Product window */

.product-stage {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 48px));
  margin: 28px auto 0;
  padding-bottom: 0;
}
.mac-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-win);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  color: var(--text);
  text-align: left;
}
.mac-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--group) 70%, var(--surface));
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
}
.mac-dots { display: flex; gap: 6px; margin-right: 6px; }
.mac-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ddd;
}
.mac-dots i:nth-child(1) { background: #ff5f57; }
.mac-dots i:nth-child(2) { background: #febc2e; }
.mac-dots i:nth-child(3) { background: #28c840; }

.mac-body {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--canvas) 65%, var(--surface)), var(--surface));
  padding: 28px 28px 80px;
}

.doc-mock { max-width: 440px; }
.doc-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--muted); }
.doc-mock p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.sel {
  background: var(--selection);
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Popup (Full) */

.popup-full {
  position: absolute;
  left: 280px;
  top: 168px;
  width: 378px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  container-type: inline-size;
}
.popup-text { padding: 12px 12px 8px; border-bottom: 1px solid var(--border); }
.popup-text .edit {
  position: relative;
  background: var(--group);
  border-radius: 8px;
  padding: 8px 10px 22px;
  min-height: 52px;
}
.popup-text .count {
  position: absolute;
  right: 8px; bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.popup-tabs {
  display: flex;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
}
.popup-tabs span {
  padding: 9px 10px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.popup-tabs span.is-active { color: var(--text); border-bottom-color: var(--text); }
.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
}
.prompt-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12.5px;
}
.prompt-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.prompt-icon svg { width: 12px; height: 12px; }
.pi-green { background: var(--icon-green); }
.pi-orange { background: var(--icon-orange); }
.pi-blue { background: var(--icon-blue); }
.pi-red { background: var(--icon-red); }
.pi-purple { background: var(--icon-purple); }
.pi-amber { background: var(--icon-amber); }
.pi-pink { background: var(--icon-pink); }
.popup-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-top: 1px solid var(--border);
  background: var(--group);
}
.ibtn {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: grid; place-items: center;
  color: var(--secondary);
  flex-shrink: 0;
}
.ibtn svg { width: 14px; height: 14px; }
.service-pick {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-right: auto;
}
.service-pick svg { width: 10px; height: 10px; color: var(--secondary); }
.ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}
.ask-btn .kbd-inline { opacity: 0.7; font-size: 10.5px; }

@container (max-width: 365px) {
  .popup-bar { gap: 2px; padding: 8px 6px; }
  .ask-btn .kbd-inline { display: none; }
  .ibtn { width: 26px; height: 26px; }
}

/* Minimal bar */

.minimal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: min(520px, 100%);
  padding: 7px 8px 7px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  color: var(--text);
}
.minimal-bar .clip {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-icons { display: flex; gap: 4px; flex-shrink: 0; }
.minimal-bar .ask-btn { height: 28px; padding: 0 9px; }

/* Sections */

.section { padding: clamp(5.5rem, 9vw, 8rem) 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { max-width: 42rem; margin-inline: auto; margin-bottom: 64px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px 72px;
  align-items: start;
}
.split .display-md { margin-bottom: 0; }
.split .lede { font-size: 17px; }

/* Sky cards (Keytail) */

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.sky-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background:
    linear-gradient(180deg, rgba(20,30,40,0.08), rgba(20,30,40,0.04)),
    url("images/sky-soft.jpg") center / cover no-repeat;
}
.sky-card .inner { width: 100%; display: grid; place-items: center; }
.card-caption { margin-top: 28px; }
.card-caption h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 10px; }
.card-caption p { margin: 0; font-size: 14.5px; color: var(--secondary); line-height: 1.55; }

/* Relume-like panel + credibility list */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-stage);
  padding: 40px 44px;
}
.cred { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 0; list-style: none; }
.cred-intro { margin: 0 0 40px; }
.cred li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.cred .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--group);
  display: grid; place-items: center;
  color: var(--text);
}
.cred .ico svg { width: 16px; height: 16px; }
.cred p { margin: 0; color: var(--secondary); font-size: 14.5px; }

/* Feature visual chips */

.ai-names, .source-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 0; padding: 0; list-style: none;
}
.ai-names li, .source-pills span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.lib-list, .score-card {
  width: 100%;
  max-width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow);
  color: var(--text);
}
.lib-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.lib-item .meta { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.score-card { padding: 16px; }
.score-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.score-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--icon-green);
  background: color-mix(in srgb, var(--icon-green) 12%, var(--surface));
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}
.score-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--icon-green); }
.score-card .tip { margin: 10px 0 0; font-size: 13px; color: var(--secondary); }

/* Shortcuts */

.shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shortcut {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shortcut .label { font-size: 13px; color: var(--secondary); }
.keycaps { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
kbd, .key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 24px; padding: 0 7px;
  border-radius: 6px;
  background: var(--control);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px; font-weight: 500; line-height: 1;
}

/* Pricing */

.badge {
  display: inline-flex;
  width: fit-content;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.trial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 20px;
  color: var(--secondary);
}
.trial strong { color: var(--text); font-weight: 500; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.plan .name { font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.plan .price {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.plan .price [data-billing-field="price"] {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.plan .price [data-billing-field="period"],
.plan .price span:not([data-billing-field]) {
  font-size: 15px; font-weight: 500; color: var(--secondary); letter-spacing: 0;
}
.plan .note { color: var(--secondary); font-size: 14px; margin: 8px 0 0; }
.includes { margin: 28px 0 0; color: var(--secondary); font-size: 15px; }
.includes strong { color: var(--text); font-weight: 500; }
.soon { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* FAQ — Keytail/Relume hairline accordion */

.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 22px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker,
.faq-list summary::marker { display: none; content: ""; }
.faq-list summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--secondary);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 22px;
  color: var(--secondary);
  padding-right: 32px;
}

/* Footer — Keytail sky stage */

.site-footer {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.footer-bg {
  position: absolute;
  inset: 0;
  background: url("img/banner-flowers-dark.webp") center bottom / cover no-repeat;
}
.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,8,0.20), rgba(8,10,6,0.45) 55%, rgba(4,6,4,0.72) 100%);
}
.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 88px 0 64px;
}
.footer-mark {
  width: 32px;
  height: 32px;
  margin: 0 0 28px;
  flex-shrink: 0;
}
.footer-mark svg {
  width: 32px;
  height: 32px;
  display: block;
}
.footer-cta .display {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  color: #fff;
  margin-bottom: 16px;
}
.footer-cta .lede { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.footer-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding: 22px 0 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.78); }
.footer-nav a:hover { color: #fff; opacity: 1; }

/* Footer / page waitlist (on sky) */

.waitlist-fields {
  display: flex;
  gap: 8px;
  width: min(100%, 440px);
}
/* Footer only — do not apply to the light hero .frost waitlist (white-on-white). */
.site-footer .waitlist input[type="email"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.18);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font: inherit;
  font-size: 16px;
  backdrop-filter: blur(10px);
}
.site-footer .waitlist input[type="email"]::placeholder {
  color: rgba(255,255,255,0.82);
  -webkit-text-fill-color: rgba(255,255,255,0.82);
  opacity: 1;
}
.waitlist-thanks {
  margin: 0;
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  width: fit-content;
}
.waitlist-fields[hidden],
.waitlist-thanks[hidden],
.frost-thanks[hidden],
.frost[hidden] { display: none !important; }

/* On-canvas waitlist (pricing/download) */
.on-canvas .waitlist input[type="email"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  font: inherit;
  font-size: 16px;
}
.on-canvas .waitlist input[type="email"]::placeholder {
  color: #5c5c5c;
  -webkit-text-fill-color: #5c5c5c;
  opacity: 1;
}
.on-canvas .waitlist-thanks {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

/* Inner pages */

.page-hero { padding: 72px 0 24px; }
.page-section { padding: 24px 0 96px; }
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--secondary); }
.prose h2 { margin: 40px 0 12px; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; }
.prose h3 { margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.prose code {
  font-size: 0.92em;
  background: var(--group);
  padding: 1px 6px;
  border-radius: 6px;
  word-break: break-all;
}

.split-groups { display: flex; flex-direction: column; gap: 20px; }
.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 36px;
}
.group-card h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 8px; }
.group-card > p { color: var(--secondary); margin: 0 0 16px; }
.group-card ul { margin: 0; padding: 0; list-style: none; }
.group-card li {
  position: relative;
  padding: 10px 0 10px 16px;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.group-card h2 + p + ul li:first-child { border-top: 0; }
.group-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table th { font-weight: 500; color: var(--secondary); font-size: 13px; }

.req-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.req-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
}
.req-list strong { display: block; margin-bottom: 4px; letter-spacing: -0.02em; font-weight: 500; }
.req-list span { color: var(--secondary); font-size: 15px; }

.steps-ol {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40rem;
}
.steps-ol li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--secondary);
}
.steps-ol .n {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--group);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

/* Reveal */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero-bg { animation: none; transform: none; }
}


/* Photo band — wide red, used for How it works */
.photo-band {
  position: relative;
  overflow: hidden;
}
.photo-band-red {
  background: url("img/wide-red.webp") center 35% / cover no-repeat;
  color: #fff;
}
/* Standard section padding on the red band; a short white gap sits in the hero padding-bottom */
#how-it-works.photo-band {
  padding-top: clamp(5.5rem, 9vw, 8rem);
}

.photo-band-red::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,6,5,0.46), rgba(14,5,4,0.64));
  pointer-events: none;
}
.photo-band > .wrap,
.photo-band > .wrap-wide { position: relative; z-index: 1; }
.photo-band-red .display-md,
.photo-band-red .lede { color: #fff; }
.photo-band-red .lede { opacity: 0.9; }
.photo-band-red .card-caption { margin-top: 28px; }
.photo-band-red .card-caption h3 { color: #fff; }
.photo-band-red .card-caption p { color: rgba(255,255,255,0.88); }
.photo-band-red .step-card {
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 10px 36px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  min-height: 240px;
}

/* Portrait feature cards */
.card-blue {
  background:
    linear-gradient(180deg, rgba(20,30,40,0.04), rgba(20,30,40,0.08)),
    url("img/portrait-blue.webp") center 30% / cover no-repeat;
}
.card-red {
  background:
    linear-gradient(180deg, rgba(20,10,8,0.04), rgba(20,10,8,0.10)),
    url("img/portrait-red.webp") center 40% / cover no-repeat;
}
.card-sage {
  background:
    linear-gradient(180deg, rgba(20,20,16,0.04), rgba(20,20,16,0.10)),
    url("img/portrait-sage-gold.webp") center 40% / cover no-repeat;
}
.card-blue-alt { background-position: center 70%; }
.card-red-alt { background-position: center 70%; }
.card-sage-alt { background-position: center 65%; }

/* Overflow safety */
html, body { overflow-x: hidden; max-width: 100%; }
.card-row,
.card-row > article,
.sky-card,
.minimal-bar,
.split,
.plans,
.plan-cards,
.compare-section,
.compare-wrap,
.faq-grid,
.lib-list,
.score-card,
.ai-names,
.product-stage,
.mac-window,
.hero-copy,
.hero-grid {
  min-width: 0;
  max-width: 100%;
}
.lib-list, .score-card { max-width: min(340px, 100%); }

/* Responsive */

@media (max-width: 960px) {
  .split, .card-row, .plans, .req-list, .footer-cta, .shortcuts {
    grid-template-columns: minmax(0, 1fr);
  }
  .shortcuts { grid-template-columns: 1fr 1fr; }
  .footer-cta { padding: 64px 0 48px; }
  .popup-full { left: 24px; width: min(378px, calc(100% - 32px)); }
}

@media (max-width: 720px) {
  .wrap, .wrap-wide, .product-stage { width: calc(100% - 32px); }
  .nav { display: none; }
  .nav-toggle { display: block; flex-shrink: 0; }
  .header-inner { gap: 8px; overflow: hidden; }
  .header-actions { gap: 6px; min-width: 0; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .header-signin,
  .header-actions .header-account,
  .header-actions .header-account .btn-ghost {
    display: inline-flex;
  }
  .header-account .header-email { display: none; }
  .header-actions .btn-sm {
    padding: 0 12px;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .save-chip { display: none; }
  .hero-copy { padding: 48px 16px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { min-width: 220px; }
  .frost { width: 100%; max-width: 100%; }
  .frost, .waitlist-fields { flex-direction: row; width: 100%; }
  .section { padding: 88px 0; }
  .mac-body { min-height: 0; padding: 20px 16px 24px; }
  /* Shorter product window on small screens: fade in its lower third, end just below it. */
  .hero-bg {
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 62rem, transparent 71rem);
    mask-image: linear-gradient(to bottom, #000 0, #000 62rem, transparent 71rem);
  }
  .popup-full {
    position: relative;
    left: auto; top: 12px;
    width: 100%;
  }
  .doc-close-mobile { display: none; }
  .minimal-bar { flex-wrap: wrap; }
  .minimal-bar .clip { flex: 1 0 calc(100% - 8px); }
  .group-card { padding: 24px 20px; }
  .panel { padding: 24px 20px; }
  .shortcuts { grid-template-columns: 1fr; }
  .site-footer .waitlist-fields {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }
  .site-footer .waitlist input[type="email"],
  .site-footer .waitlist .btn {
    width: 100%;
  }
}


/* Relume-style pricing page */

.pricing-hero {
  padding: 88px 0 32px;
}
.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px 64px;
  align-items: end;
}
.pricing-hero .display {
  font-size: clamp(var(--text-4xl), 5.2vw, var(--text-6xl));
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-heading);
  font-weight: 400;
  margin: 0;
}
.pricing-hero .lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--secondary);
  max-width: 40ch;
}

.billing-bar {
  display: flex;
  justify-content: center;
  margin: 8px 0 28px;
}
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.billing-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  font-weight: 500;
  letter-spacing: var(--tracking-normal);
  padding: 8px 16px;
  min-height: 34px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.billing-toggle button.is-on,
.billing-toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--primary-text);
}
.billing-toggle .save-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: color-mix(in srgb, var(--icon-green) 18%, var(--surface));
  color: var(--icon-green);
  border-radius: var(--radius-pill);
  padding: 2px 7px;
}
.billing-toggle button.is-on .save-chip,
.billing-toggle button[aria-pressed="true"] .save-chip {
  background: color-mix(in srgb, #fff 22%, transparent);
  color: inherit;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
}
.plans.plans-billing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.plan-card .plan-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.plan-card .price {
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}
.plan-card .price [data-billing-field="price"] {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.plan-card .price [data-billing-field="period"],
.plan-card .price span:not([data-billing-field]) {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0;
}
.plan-card .note {
  color: var(--secondary);
  font-size: 14px;
  margin: 8px 0 0;
}
.plan-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--group);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}
.plan-features {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.plan-features .check,
.compare .check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--icon-green);
}
.plan-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.plan .btn {
  margin-top: 18px;
}

/* Highlight paid plans, not Free */
.plan-card[data-plan="pro"],
.plan-card[data-plan="enterprise"],
.plan-card-lifetime,
.plans-billing .plan[data-plan="pro"],
.plans-billing .plan[data-plan="lifetime"] {
  background: var(--bg-warm);
  border-color: var(--border-secondary);
}
@media (prefers-color-scheme: dark) {
  .plan-card[data-plan="pro"],
  .plan-card[data-plan="enterprise"],
  .plan-card-lifetime,
  .plans-billing .plan[data-plan="pro"],
  .plans-billing .plan[data-plan="lifetime"] {
    background: #1a1a18;
    border-color: var(--border-secondary);
  }
}

.compare-section { padding-top: 24px; overflow-x: auto; max-width: 100%; }
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  max-width: 100%;
  min-width: 0;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th {
  font-weight: 500;
  letter-spacing: -0.02em;
  background: color-mix(in srgb, var(--group) 55%, var(--surface));
}
[data-billing="monthly"] .compare thead th:nth-child(3),
[data-billing="monthly"] .compare tbody td:nth-child(3),
[data-billing="yearly"] .compare thead th:nth-child(4),
[data-billing="yearly"] .compare tbody td:nth-child(4) {
  background: var(--bg-warm);
}
@media (prefers-color-scheme: dark) {
  [data-billing="monthly"] .compare thead th:nth-child(3),
  [data-billing="monthly"] .compare tbody td:nth-child(3),
  [data-billing="yearly"] .compare thead th:nth-child(4),
  [data-billing="yearly"] .compare tbody td:nth-child(4) {
    background: #1a1a18;
  }
}
.compare tbody th {
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  width: 32%;
}
.compare td {
  color: var(--text);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .check { margin: 0 auto; display: block; }

.pricing-faq-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: end;
  margin-bottom: 24px;
}
.pricing-faq-head .display-md { margin: 0; }
.pricing-faq-head .lede { margin: 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.faq-grid .faq-list { max-width: none; margin: 0; }
.faq-grid .faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq-grid .faq-list details:last-child { margin-bottom: 0; }
.faq-grid .faq-list summary { padding: 16px 0; }
.faq-grid .faq-list details p { margin: 0 0 16px; padding-right: 8px; }

.waitlist-error {
  margin: 12px 0 0;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  color: var(--fg-secondary);
}
.waitlist-error.is-error {
  color: #8a1f1a;
}
@media (prefers-color-scheme: dark) {
  .waitlist-error { color: var(--fg-secondary); }
  .waitlist-error.is-error { color: #f2b4b0; }
}

@media (max-width: 960px) {
  .pricing-hero-grid,
  .plan-cards,
  .plans.plans-billing,
  .faq-grid,
  .pricing-faq-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-hero { padding-top: 72px; }
  .pricing-hero-grid { gap: 20px; }
  .compare { min-width: 520px; }
}

@media (max-width: 720px) {
  .plan-cards, .plans { grid-template-columns: minmax(0, 1fr); }
  .compare { min-width: 100%; font-size: 13px; }
  .compare th, .compare td { padding: 12px 10px; }
}



/* Real app screenshots */
.popup-shot {
  position: absolute;
  left: 220px;
  top: 108px;
  width: min(520px, 64%);
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(20, 20, 20, 0.2));
  pointer-events: none;
  z-index: 3;
}
.app-shot {
  display: block;
  width: 90%;
  max-height: 86%;
  height: auto;
  object-fit: cover;
  object-position: top left;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.app-shot-bar {
  width: 92%;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.app-shot-editor {
  object-position: top center;
  width: 84%;
}
.app-shot-settings {
  object-position: 72% 18%;
  width: 92%;
  max-height: 88%;
  object-fit: cover;
}
@media (max-width: 960px) {
  .popup-shot { left: 24px; width: min(520px, calc(100% - 32px)); }
}
@media (max-width: 720px) {
  .popup-shot {
    position: relative;
    left: auto;
    top: 12px;
    width: 100%;
  }
}


.plans-billing .plan { position: relative; padding-top: 28px; }
.plans-billing .plan .plan-flag { position: absolute; top: 16px; right: 16px; }


/* Keep in-page anchors clear of the sticky header */
#main,
#pricing,
#compare,
#waitlist,
#contact,
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}


/* ---------- 12 Nov 2026: step GIFs, page rhythm, new portraits, consent ---------- */

/* 13 Nov 2026 t180/t182: the blue hero fades to white in the window's lower
   third and ends just below the window; a short white gap then meets the red
   How-it-works band. The previous override that blended the hero into the red
   band has been removed. */

/* How it works — GIF step cards */
.photo-band-red .step-card.step-media {
  position: relative;
  display: block;
  min-height: 0;
  padding: 8px;
  border-radius: var(--radius-card);
}
.step-media picture,
.step-media img {
  display: block;
  width: 100%;
}
.step-media img {
  height: auto;
  aspect-ratio: 880 / 720;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 8px);
  background: #F4F5F0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  color: #141414;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Second-row feature cards: their own photos, no repeats */
.card-violet {
  background:
    linear-gradient(180deg, rgba(24,16,40,0.04), rgba(24,16,40,0.10)),
    url("img/portrait-violet.webp") center 40% / cover no-repeat;
}
.card-amber {
  background:
    linear-gradient(180deg, rgba(36,22,6,0.04), rgba(36,22,6,0.10)),
    url("img/portrait-amber.webp") center 40% / cover no-repeat;
}
.card-teal {
  background:
    linear-gradient(180deg, rgba(6,30,32,0.04), rgba(6,30,32,0.10)),
    url("img/portrait-teal.webp") center 40% / cover no-repeat;
}

/* Shortcuts — a second mid-page photo band */
.photo-band-blue {
  background: url("img/wide-blue.webp") center 78% / cover no-repeat;
  color: #fff;
}
.photo-band-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,16,30,0.52), rgba(6,12,24,0.66));
  pointer-events: none;
}
.photo-band-blue .display-md,
.photo-band-blue .lede { color: #fff; }
.photo-band-blue .lede { opacity: 0.9; }
.photo-band-blue .shortcut {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.photo-band-blue .shortcut .label { color: rgba(255,255,255,0.9); }
.photo-band-blue kbd {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.6);
  color: #141414;
}

/* FAQ is the one warm band on the homepage */
#faq { background: var(--bg-warm); }

/* Compact consent card */
.consent {
  position: fixed;
  right: 24px;
  left: auto;
  bottom: 24px;
  z-index: 80;
  width: min(360px, calc(100% - 48px));
  transform: translateY(12px);
  opacity: 0;
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: #fff;
  color: #141414;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 50px rgba(20,20,30,0.16), 0 2px 8px rgba(20,20,30,0.06);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.consent.is-in { opacity: 1; transform: translateY(0); }
.consent.is-leaving { opacity: 0; transform: translateY(12px); }
.consent-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #3a3a3a;
}
.consent-text a { color: #141414; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn {
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.16);
  background: #fff;
  color: #141414;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.consent-btn:hover { background: #f4f4f4; border-color: rgba(0,0,0,0.28); }
.consent-btn:focus-visible { outline: 2px solid #2E6DE9; outline-offset: 2px; }
@media (prefers-color-scheme: dark) {
  .consent { background: #1a1a1b; color: #f0f0f0; border-color: rgba(255,255,255,0.1); box-shadow: 0 18px 50px rgba(0,0,0,0.6); }
  .consent-text { color: #c8c8c8; }
  .consent-text a { color: #f0f0f0; }
  .consent-btn { background: #1a1a1b; color: #f0f0f0; border-color: rgba(255,255,255,0.22); }
  .consent-btn:hover { background: #252526; }
}
@media (max-width: 720px) {
  .consent {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    padding: 18px;
  }
}


/* Enterprise pricing card */
.enterprise-hero { padding-bottom: 28px; }
.enterprise-hero .lede { max-width: 40rem; }
.enterprise-layout {
  padding: 0 0 96px;
}
.enterprise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 22.5rem);
  gap: 36px 48px;
  align-items: start;
}
.enterprise-layout .req-list {
  margin: 0;
}
.enterprise-side {
  position: sticky;
  top: calc(var(--header-h, 64px) + 20px);
}
.enterprise-side .plan-card {
  width: 100%;
}
.enterprise-side .plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.enterprise-side .plan-card-top .badge {
  margin: 0;
}
.enterprise-side .plan-card-top .plan-flag {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
}
.enterprise-side .plan-name {
  margin-top: 0;
}
.enterprise-side-lede {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
}
.enterprise-side .ent-fine {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--secondary);
}
.enterprise-side .ent-fine a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 900px) {
  .enterprise-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .enterprise-side {
    position: static;
    order: -1; /* prices first on small screens, so they aren't lost below */
  }
  .enterprise-layout .req-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .enterprise-side .plan-card { max-width: 28rem; }
}

/* ---------- 12 Nov 2026: white model logos under How-it-works ---------- */
.compat-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 40px;
  margin: 56px 0 0;
  padding: 0;
  color: #fff;
}
.compat-logos li {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
}
.compat-logos svg {
  display: block;
  width: 32px;
  height: 32px;
  opacity: 0.95;
}
@media (max-width: 720px) {
  .compat-logos {
    gap: 16px 18px;
    margin-top: 40px;
  }
  .compat-logos li,
  .compat-logos svg {
    width: 24px;
    height: 24px;
  }
}


/* ---------- 12 Nov 2026: Features page product shots ---------- */
.features-hero {
  padding: 128px 0 32px;
}
.features-hero h1 {
  margin-bottom: 16px;
}
.features-hero .lede {
  max-width: 38rem;
}
.features-page {
  padding-top: 24px;
  padding-bottom: 64px;
}
.feature-list {
  display: flex;
  flex-direction: column;
}
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 48px 56px;
  align-items: start;
  padding: 112px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:first-child { padding-top: 72px; }
.feature-block:last-child { border-bottom: 0; padding-bottom: 80px; }
.feature-block--flip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr);
}
.feature-block--flip .feature-copy { order: 2; }
.feature-block--flip .feature-shot { order: 1; }

.feature-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.feature-copy > p {
  color: var(--secondary);
  margin: 0 0 28px;
  font-size: 1.08rem;
  line-height: 1.55;
}
.feature-group {
  margin: 28px 0 0;
}
.feature-group h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-copy li {
  position: relative;
  padding: 7px 0 7px 16px;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.5;
}
.feature-copy li:first-child { border-top: 0; }
.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.feature-shot {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h, 64px) + 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.feature-shot img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
  background: transparent;
}
@media (prefers-color-scheme: dark) {
  .feature-shot img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.10));
  }
}
.feature-shot .feature-shot-bar {
  width: 88%;
  max-width: 480px;
  margin-top: 0;
}

.feature-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 48px 0 24px;
}
.feature-text-grid .feature-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .features-hero { padding: 96px 0 24px; }
  .feature-block,
  .feature-block--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 72px 0;
  }
  .feature-block:first-child { padding-top: 48px; }
  .feature-block .feature-shot { order: -1; }
  .feature-block--flip .feature-copy,
  .feature-block--flip .feature-shot { order: unset; }
  .feature-block .feature-copy { order: 1; }
  .feature-shot { position: static; }
  .feature-copy h2 { font-size: 1.5rem; }
  .feature-text-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 28px;
  }
}


/* ---------- 12 Nov 2026: Demo time-saved forecast ---------- */
.impact {
  padding: 24px 0 16px;
}
.features-impact {
  padding: 128px 0 140px;
  border-top: 1px solid var(--border);
}
.impact-head {
  max-width: 40rem;
  margin: 0 0 32px;
}
.impact-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: var(--tracking-tighter);
  line-height: var(--leading-heading);
  margin: 0 0 12px;
}
.impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--border-ui);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
}
.impact-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--icon-amber);
}
.impact-head .lede { margin: 0; }
.impact-panel {
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: var(--radius-2xl);
  padding: 28px 32px 24px;
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.06);
}
.impact-control {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto;
  align-items: center;
  gap: 10px 20px;
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.impact-control label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking-medium);
  color: var(--text);
  grid-column: 1;
}
.impact-control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  grid-column: 2;
  width: 100%;
  min-width: 0;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.impact-control input[type="range"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 999px;
}
.impact-control input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-quaternary);
}
.impact-control input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-quaternary);
  border: none;
}
.impact-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--fg-marketing);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--fg-marketing);
  cursor: pointer;
}
.impact-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fg-marketing);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--fg-marketing);
  cursor: pointer;
}
.impact-asks-out {
  min-width: 2.2rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.impact-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: 32px 56px;
  align-items: end;
}
.impact-body-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  min-width: 0;
}
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin: 0;
}
.impact-stat {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--border);
}
.impact-stat-value {
  display: block;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.impact-stat-unit {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--secondary);
  vertical-align: 0.35em;
}
.impact-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--secondary);
}
.impact-chart-wrap {
  margin: 20px 0 8px;
}
.impact-chart-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 8px;
}
.impact-chart-caption h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking-medium);
}
.impact-chart-caption p {
  margin: 0;
  font-size: 13px;
  color: var(--secondary);
}
.impact-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.impact-chart .grid line {
  stroke: var(--border-ui);
  stroke-width: 1;
}
.impact-chart .grid text {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--font);
}
.impact-chart .months text {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--font);
}
.impact-chart .area {
  fill: rgba(17, 17, 17, 0.08);
}
.impact-chart .line {
  fill: none;
  stroke: var(--fg-marketing);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.impact-chart .dot {
  fill: var(--fg-marketing);
  stroke: var(--surface);
  stroke-width: 2;
}
.impact-chart .end-label {
  fill: var(--text);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  text-anchor: end;
}
@media (prefers-color-scheme: dark) {
  .impact-panel { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28); }
  .impact-chart .area { fill: rgba(255, 255, 255, 0.12); }
  .impact-chart .line { stroke: #f0f0f0; }
  .impact-chart .dot { fill: #f0f0f0; stroke: var(--surface); }
}
.impact-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.impact-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.impact-bar-row p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--secondary);
}
.impact-bar-row strong { color: var(--text); font-weight: 500; }
.impact-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  overflow: hidden;
}
.impact-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--fg-marketing);
}
.impact-bar-fill.is-promptly {
  width: 12.5%; /* 5 / 40 */
  background: var(--fg-marketing);
}
.impact-bar-fill.is-manual { width: 100%; }
.impact-bar-time {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.impact-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.55;
  color: var(--secondary);
}
.impact-note strong { color: var(--text); font-weight: 500; }
.impact-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 64px 0 8px;
}
.impact-use {
  padding: 4px 4px 8px 0;
}
.impact-use h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}
.impact-use p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--secondary);
}
.impact-path {
  margin: 72px 0 0;
}
.impact-path h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 500;
}
.impact-path > p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--secondary);
}
.impact-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.impact-path figure {
  margin: 0;
  background: var(--group);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-path img {
  display: block;
  width: 100%;
  height: auto;
}
.impact-path figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--secondary);
}
.impact-path figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}
.section.impact-home {
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 6.5rem);
}
@media (max-width: 900px) {
  .impact-panel { padding: 22px 18px 18px; }
  .impact-stats { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .impact-body,
  .impact-compare, .impact-uses, .impact-path-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .features-impact { padding: 88px 0 96px; }
  .impact-stat-value { font-size: 1.85rem; }
}
#time-back { scroll-margin-top: calc(var(--header-h, 64px) + 16px); }
@media (max-width: 560px) {
  .impact-control {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
  }
  .impact-control label { grid-column: 1; grid-row: 1; }
  .impact-asks-out { grid-column: 2; grid-row: 1; }
  .impact-control input[type="range"] { grid-column: 1 / -1; grid-row: 2; }
}


/* Testimonials — placeholders until real quotes arrive */
#testimonials { background: var(--canvas); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-card);
  padding: 32px 28px 24px;
  min-height: 100%;
  min-width: 0;
}
.quote-mark {
  display: block;
  color: var(--text);
  margin: 0 0 16px;
  flex-shrink: 0;
}
.quote-card blockquote {
  margin: 0;
  flex: 1;
}
.quote-card blockquote p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--text);
}
.quote-card.is-placeholder blockquote p {
  color: var(--secondary);
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.quote-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--group);
  border: 1px dashed var(--border-ui);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--muted);
}
.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quote-who cite {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: block;
}
.quote-role {
  font-size: 13px;
  line-height: 1.35;
  color: var(--secondary);
}
.quote-card.is-placeholder cite {
  color: var(--secondary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .quotes {
    grid-template-columns: minmax(0, 1fr);
    max-width: 28rem;
    margin-inline: auto;
  }
}


/* ---------- 13 Nov 2026: Features “uses” section (Vesence rhythm, Promptly style) ---------- */
.uses {
  padding: 48px 0 24px;
}
.uses-ticker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  margin: 56px 0 8px;
}
/* Edge fade via overlays in the section background, not mask-image.
   All three rows are aligned (no horizontal offsets), so a card
   crossing the edge dissolves the same way in every row. */
.uses-ticker::before,
.uses-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(88px, 14vw, 200px);
  z-index: 2;
  pointer-events: none;
}
.uses-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--canvas) 0%, var(--canvas) 22%, transparent 100%);
}
.uses-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--canvas) 0%, var(--canvas) 22%, transparent 100%);
}
.uses-ticker-row {
  overflow: hidden;
}
.uses-ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: uses-marquee 70s linear infinite;
}
.uses-ticker-row:nth-child(2) .uses-ticker-track {
  animation-duration: 82s;
  animation-direction: reverse;
}
.uses-ticker-row:nth-child(3) .uses-ticker-track {
  animation-duration: 94s;
}
@keyframes uses-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.uses-card {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  min-height: 104px;
  margin: 0;
  padding: 18px 20px;
  background: var(--group);
  border-radius: var(--radius-lg);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
@media (min-width: 640px) {
  .uses-card {
    width: 340px;
    min-height: 116px;
    padding: 20px 22px;
    font-size: 16px;
  }
}
.uses-examples {
  /* Screen-reader list; becomes a visible wrap when motion is reduced. */
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.uses-body {
  padding-bottom: 24px;
}
.uses-head {
  max-width: 40rem;
  margin: 0 auto 72px;
  text-align: center;
}
.uses-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-heading);
  color: var(--text);
  margin: 0;
}
.uses-title--left { text-align: left; }
.uses-complete-head {
  max-width: 36rem;
  padding: 48px 0 8px;
}
.uses-complete-head .lede {
  margin-top: 12px;
}

.uses-case {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 40px 56px;
  align-items: center;
  margin: 0 0 28px;
  padding: 48px 40px;
  background: var(--group);
  border-radius: var(--radius-2xl);
}
.uses-case--flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}
.uses-case--flip .uses-case-copy { order: 2; }
.uses-case--flip .uses-case-shot { order: 1; }
.uses-case-copy .eyebrow { margin-bottom: 14px; }
.uses-case-copy h3,
.uses-trio-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: var(--tracking-tighter);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--text);
}
.uses-case-copy p,
.uses-trio-card > p,
.uses-context-lead p,
.uses-points p {
  margin: 0;
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.55;
}
.uses-more {
  display: inline-block;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-decoration: none;
}
.uses-more::after { content: " →"; }
.uses-more:hover { opacity: 0.7; }
.uses-case-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.uses-case-shot img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}
.uses-case-shot .uses-shot-bar {
  width: 88%;
  max-width: 480px;
}

.uses-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}
.uses-trio-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 28px 28px;
  background: var(--group);
  border-radius: var(--radius-2xl);
  min-width: 0;
}
.uses-trio-card .eyebrow { margin-bottom: 12px; }
.uses-trio-card > p { flex: 1 1 auto; }
.uses-trio-shot {
  margin: 28px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.uses-trio-shot img {
  width: 100%;
  max-height: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}
.uses-trio-card .uses-more { margin-top: 16px; }

.uses-context {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 64px;
  align-items: start;
  margin: 48px 0 80px;
  padding: 56px 48px 40px;
  background: var(--group);
  border-radius: var(--radius-2xl);
}
.uses-context-lead { max-width: 36rem; }
.uses-context-lead .uses-title { margin: 0 0 16px; }
.uses-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.uses-points h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 6px;
}
.uses-chips {
  grid-column: 1 / -1;
  list-style: none;
  margin: 12px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.uses-chips li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}
.uses-chips-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--secondary);
}

@media (prefers-color-scheme: dark) {
  .uses-case-shot img,
  .uses-trio-shot img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.10)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.16));
  }
}

@media (max-width: 900px) {
  .uses-ticker { margin: 20px 0 64px; }
  .uses-head { margin-bottom: 40px; }
  .uses-case,
  .uses-case--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 22px 32px;
  }
  .uses-case .uses-case-shot,
  .uses-case--flip .uses-case-shot { order: -1; }
  .uses-case--flip .uses-case-copy { order: 1; }
  .uses-trio { grid-template-columns: minmax(0, 1fr); }
  .uses-context {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 22px 28px;
    margin: 32px 0 56px;
    gap: 32px;
  }
  .uses-complete-head { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .uses-ticker { display: none; }
  .uses-examples {
    position: static;
    width: auto; height: auto;
    margin: 12px auto 64px;
    padding: 0 24px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    max-width: var(--wrap-wide);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
  }
  .uses-examples li {
    margin: 0;
    padding: 18px 20px;
    background: var(--group);
    border-radius: var(--radius-lg);
    font-size: 15px;
    line-height: 1.45;
    color: var(--text);
    list-style: none;
  }
}

/* Pause the ticker in design previews so cards aren’t mid-scroll. */
html.is-preview .uses-ticker-track {
  animation-play-state: paused;
}




/* Varied case backgrounds — white popup, plus grainy motion-blur photos */
.uses-case--white {
  background: var(--canvas);
  border: 1px solid var(--border);
}
.uses-context {
  background: var(--canvas);
  border: 1px solid var(--border);
}
.uses-case--violet,
.uses-trio-card--warm,
.uses-trio-card--amber,
.uses-trio-card--teal {
  color: #fff;
  border: 0;
}
.uses-case--violet .eyebrow,
.uses-case--violet h3,
.uses-case--violet .uses-more,
.uses-trio-card--warm .eyebrow,
.uses-trio-card--warm h3,
.uses-trio-card--warm .uses-more,
.uses-trio-card--amber .eyebrow,
.uses-trio-card--amber h3,
.uses-trio-card--amber .uses-more,
.uses-trio-card--teal .eyebrow,
.uses-trio-card--teal h3,
.uses-trio-card--teal .uses-more {
  color: #fff;
}
.uses-case--violet p,
.uses-trio-card--warm > p,
.uses-trio-card--amber > p,
.uses-trio-card--teal > p {
  color: rgba(255, 255, 255, 0.88);
}
.uses-case--violet {
  background:
    linear-gradient(270deg, rgba(8, 10, 14, 0.40) 0%, rgba(8, 10, 14, 0.14) 55%, rgba(8, 10, 14, 0.06) 100%),
    url("img/uses-bg-blue.webp") right center / cover no-repeat;
}
.uses-trio-card--warm {
  background:
    linear-gradient(180deg, rgba(6, 18, 18, 0.42) 0%, rgba(6, 18, 18, 0.20) 55%, rgba(6, 18, 18, 0.14) 100%),
    url("img/uses-bg-teal.webp") center / cover no-repeat;
}
.uses-trio-card--amber {
  background:
    linear-gradient(180deg, rgba(20, 10, 4, 0.40) 0%, rgba(20, 10, 4, 0.18) 55%, rgba(20, 10, 4, 0.12) 100%),
    url("img/uses-bg-red.webp") center / cover no-repeat;
}
.uses-trio-card--teal {
  background:
    linear-gradient(180deg, rgba(16, 8, 24, 0.42) 0%, rgba(16, 8, 24, 0.20) 55%, rgba(16, 8, 24, 0.12) 100%),
    url("img/uses-bg-violet.webp") center / cover no-repeat;
}
.uses-life {
  margin: 48px 0 0;
}
.uses-life img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-2xl);
}
.uses-context { margin-top: 28px; }
@media (max-width: 900px) {
  .uses-case--violet,
  .uses-case--flip.uses-case--violet {
    background:
      linear-gradient(180deg, rgba(8, 10, 14, 0.16) 0%, rgba(8, 10, 14, 0.48) 100%),
      url("img/uses-bg-blue.webp") center / cover no-repeat;
  }
  .uses-ticker { margin: 36px 0 8px; }
  .uses-life { margin-top: 32px; }
}

/* ---------- 13 Nov 2026: photo heroes on Features and Download ---------- */
.page-hero--photo {
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 128px);
  padding-bottom: 120px;
}
.page-hero--photo .page-hero-bg {
  position: absolute;
  inset: 0;
  background: url("img/hero-features.webp") center 42% / cover no-repeat;
}
.page-hero--download .page-hero-bg {
  background-image: url("img/hero-download.webp");
  background-position: center 45%;
}
.page-hero--photo .page-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 18, 0.22) 0%, rgba(20, 22, 18, 0.16) 48%, transparent 78%);
  pointer-events: none;
}
.page-hero--photo .page-hero-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--canvas));
  pointer-events: none;
}
.page-hero--photo > .wrap,
.page-hero--photo > .wrap-wide {
  position: relative;
  z-index: 1;
}
.page-hero--photo h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.40), 0 0 2px rgba(0, 0, 0, 0.35);
}
.page-hero--photo .lede {
  color: #fff;
  opacity: 0.96;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45), 0 0 2px rgba(0, 0, 0, 0.4);
}
.page-hero--photo .btn:not(.btn-ghost) {
  background: #fff;
  color: #141414;
  -webkit-text-fill-color: #141414;
}
.page-hero--photo .btn:not(.btn-ghost):hover {
  opacity: 0.9;
}
@media (max-width: 900px) {
  .page-hero--photo {
    padding-top: calc(var(--header-h) + 96px);
    padding-bottom: 72px;
  }
}

.page-hero--download .hero-waitlist {
  margin: 24px 0 0;
  width: min(100%, 560px);
  align-items: flex-start;
}
.page-hero--download .hero-waitlist .frost {
  width: 100%;
}
.page-hero--download .hero-waitlist .frost .btn {
  height: 44px;
  border: 0;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: #141414;
  color: #fff;
  -webkit-text-fill-color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.page-hero--download .hero-waitlist .frost .btn:hover {
  color: #fff;
  -webkit-text-fill-color: #fff;
  opacity: 0.85;
}
.page-hero--download .hero-waitlist .frost-thanks {
  margin: 0;
  width: 100%;
  color: #141414;
  -webkit-text-fill-color: #141414;
}


/* Blog article and listing — reuse prose / group-card; only what those pages need. */
.prose a { color: var(--text); }
.prose figure {
  margin: 28px 0;
}
.prose figure img,
.impact-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.prose figcaption {
  margin-top: 8px;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  color: var(--secondary);
  font-style: italic;
}
.prose .table { margin: 8px 0 28px; }
.prose .calc {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: var(--group);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  overflow-x: auto;
}
.blog-list { max-width: 40rem; }
.blog-list .group-card h2 { margin: 4px 0 10px; }
.blog-list .group-card h2 a { text-decoration: none; }
.blog-list .group-card h2 a:hover { text-decoration: underline; }
.blog-list .eyebrow { margin: 0 0 8px; }
.blog-list .group-card > p:last-child { margin-bottom: 0; }
.article-meta { margin: 0 0 8px; }
.impact-stat-value.is-range {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}
.impact-figure { margin: 0; }
.impact-figure figcaption {
  margin-top: 10px;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  color: var(--secondary);
}
.footer-nav { flex-wrap: wrap; }
@media (max-width: 900px) {
  .impact-stat-value.is-range { font-size: 1.45rem; }
}

.impact-ref {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--secondary);
}

/* Site-wide account header and auth modal */

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.header-account[hidden] { display: none !important; }
.header-email {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fg-marketing, #141414);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
  flex-shrink: 0;
  text-shadow: none;
}
a.header-avatar { text-decoration: none; color: #fff; }
a.header-avatar:hover { opacity: 0.85; color: #fff; }
.header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-account-menu { position: relative; }
.header-account-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  min-width: 0;
  max-width: 18rem;
}
.header-account-menu > summary::-webkit-details-marker,
.header-account-menu > summary::marker { display: none; content: ""; }
.header-account-chevron {
  display: inline-flex;
  color: var(--secondary);
  flex-shrink: 0;
}
.header-account-menu[open] > summary .header-account-chevron { transform: rotate(180deg); }
.header-account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 51;
  min-width: 180px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.header-account-panel a,
.header-account-panel [data-auth-signout] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  height: auto;
  min-height: 0;
}
.header-account-panel a:hover,
.header-account-panel [data-auth-signout]:hover {
  background: var(--group);
  color: var(--text);
  opacity: 1;
}
@media (max-width: 720px) {
  .header-actions .header-account-menu { display: block; }
  .header-actions .header-account-menu > summary {
    width: 28px;
    height: 28px;
    justify-content: center;
    max-width: none;
  }
}

.auth-modal[hidden] { display: none !important; }
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--fg-marketing) 45%, transparent);
}
.auth-dialog {
  position: relative;
  width: min(400px, 100%);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-soft);
}
.auth-dialog h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.auth-dialog .lede { margin-bottom: 20px; font-size: var(--text-sm); }
.auth-dialog label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin: 0 0 6px;
}
.auth-dialog input[type="email"],
.auth-dialog input[type="password"] {
  width: 100%;
  height: 44px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-providers .btn { width: 100%; }
.btn-apple {
  background: #000;
  color: #fff;
  border-color: #000;
}
.btn-apple:hover { color: #fff; opacity: 0.85; }
.btn-apple svg { width: 16px; height: 16px; flex-shrink: 0; }
.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.auth-error { color: #DC2D28; font-size: var(--text-sm); margin: 0 0 8px; }
.auth-error.auth-ok { color: var(--secondary); }
.auth-forgot-wrap {
  margin: 8px 0 0;
  font-size: var(--text-sm);
  text-align: center;
}
.auth-forgot-wrap[hidden] { display: none; }
.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  border-radius: var(--radius-pill);
}
.auth-close:hover { background: var(--group); }
.auth-switch {
  margin: 16px 0 0;
  font-size: var(--text-sm);
  color: var(--secondary);
  text-align: center;
}
.auth-switch-btn {
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.auth-switch-btn:hover { opacity: 0.8; }

.section.on-canvas .waitlist-fields,
.on-canvas .waitlist-fields {
  margin: 0 auto;
}
.on-canvas form.waitlist,
.section#waitlist form.waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Compact Mac / Windows / Both control, same family as .billing-toggle */
.waitlist-platforms {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.waitlist-platforms[hidden] { display: none !important; }
.waitlist-platforms button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: var(--text-sm);
  line-height: var(--text-sm--line-height);
  font-weight: 500;
  padding: 6px 14px;
  min-height: 32px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.waitlist-platforms button.is-on,
.waitlist-platforms button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--primary-text);
}

.hero-waitlist {
  width: min(100%, 520px);
  margin: 0 auto 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-waitlist .frost {
  width: 100%;
  margin: 0;
}
.hero-waitlist .waitlist-platforms {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(20, 20, 20, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero-waitlist .waitlist-platforms button { color: #141414; }
.hero-waitlist .waitlist-platforms button.is-on,
.hero-waitlist .waitlist-platforms button[aria-pressed="true"] {
  background: #141414;
  color: #fff;
}

.site-footer form.waitlist {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.site-footer .waitlist-platforms {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
.site-footer .waitlist-platforms button { color: rgba(255, 255, 255, 0.88); }
.site-footer .waitlist-platforms button.is-on,
.site-footer .waitlist-platforms button[aria-pressed="true"] {
  background: #fff;
  color: #141414;
}
