/* Concierge marketing site — Apple-style minimal design system (style A) */
@import url("site-chrome.css");

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #000; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 1.15rem; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }

/* Host-page availability notice (injected by concierge-status.js) */
.concierge-service-notice.wrap {
  width: 100%;
  max-width: none;
  padding: 8px 24px;
  text-align: center;
  background: #ececee;
  color: var(--muted);
}
.concierge-service-notice a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Preview / status banner */
.preview-banner {
  padding: 10px 20px;
  text-align: center;
  background: #ececee;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.preview-banner a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Sections */
section { padding: 120px 0; scroll-margin-top: 80px; }
.section-head { max-width: 560px; margin: 0 0 64px; text-align: left; }
.section-head p, .intro { font-size: 19px; color: var(--muted); letter-spacing: -0.015em; line-height: 1.4; }
.intro { max-width: 560px; margin-bottom: 64px; }
.kicker, .eyebrow, .section-kicker {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 12px;
}
.alt { background: var(--paper); border: 0; }

/* Hero */
.hero {
  padding: 36px 0 80px; position: relative; overflow: hidden;
  background: var(--bg);
}
.blob { display: none; }
.hero-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em {
  font-style: normal;
  color: var(--ink);
  background: none;
}
.hero .lede { font-size: 19px; line-height: 1.4; color: var(--muted); letter-spacing: -0.02em; max-width: 460px; margin: 0 0 28px; }
.hero .lede b { color: var(--ink); }
.hero .kicker, .hero .eyebrow {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; }
.cta-row .btn { flex: 0 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 8px 0 0; list-style: none; }
.chip {
  background: #e8e8ed; border: 0; box-shadow: none;
  border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--muted); font-weight: 500;
}
@media (min-width: 960px) {
  .hero { padding: 24px 0 64px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; min-height: min(720px, calc(100vh - var(--nav-h) - 72px)); }
}

/* Product-shot hero: iPhone live-call + floating web-chat card */
.stage {
  position: relative;
  height: 640px;
  max-width: 100%;
  margin: 0;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: visible;
}
.stage-shadow {
  position: absolute; left: 40%; bottom: 32px; transform: translateX(-50%);
  width: min(480px, 100%); height: 60px; background: radial-gradient(ellipse, rgba(0,0,0,.16), transparent 70%);
  filter: blur(8px); pointer-events: none;
}
.handset {
  position: relative; z-index: 2;
  width: 292px; height: 600px;
  margin-left: 8px;
  background: #1c1c1e;
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 1px 1px rgba(255,255,255,.12) inset,
    0 30px 60px rgba(0,0,0,.18),
    0 12px 24px rgba(0,0,0,.08);
}
.phone-screen {
  height: 100%; border-radius: 36px; background: #f2f2f7; overflow: hidden; position: relative;
}
.island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 30px; background: #000; border-radius: 20px; z-index: 3;
}
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px 0; font-size: 12px; font-weight: 600; position: relative; z-index: 2;
}
.status-bar .sigs { display: flex; gap: 5px; align-items: center; }
.sig { width: 15px; height: 10px; background:
  linear-gradient(#1d1d1f, #1d1d1f) 0 100%/3px 5px no-repeat,
  linear-gradient(#1d1d1f, #1d1d1f) 4px 100%/3px 7px no-repeat,
  linear-gradient(#1d1d1f, #1d1d1f) 8px 100%/3px 9px no-repeat,
  linear-gradient(#1d1d1f, #1d1d1f) 12px 100%/3px 10px no-repeat;
}
.bat { width: 22px; height: 10px; border: 1.4px solid #1d1d1f; border-radius: 3px; position: relative; }
.bat::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: #1d1d1f; border-radius: 1px; }
.bat::before { content: ""; position: absolute; right: -3px; top: 2.5px; width: 2px; height: 4px; background: #1d1d1f; border-radius: 0 1px 1px 0; }
.call-head { text-align: center; padding: 14px 16px 8px; }
.call-head .who { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 8px auto 6px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(99,102,241,.28);
}
.avatar svg { width: 30px; height: 30px; color: #fff; }
.call-head h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.call-head .live { font-size: 13px; color: var(--teal); font-weight: 500; margin-top: 2px; }
.transcript { padding: 4px 14px 86px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13px; line-height: 1.4;
}
.bubble.them { background: #fff; color: var(--ink); align-self: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.bubble.us { background: var(--ink); color: #fff; align-self: flex-end; }
.bubble b { font-weight: 600; }
.call-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 28px 22px; display: flex; justify-content: space-between;
  background: linear-gradient(to top, #f2f2f7 70%, transparent);
}
.call-btn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.call-btn svg { width: 18px; height: 18px; max-width: none; }
.call-btn.end { background: #ff3b30; color: #fff; }
.call-btn.mute, .call-btn.key { background: #e5e5ea; }

.chat-float {
  position: absolute; right: 0; top: 88px; z-index: 3;
  width: 264px; background: #fff; border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
}
.chat-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: #fff;
}
.chat-hd .dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; flex: none; }
.chat-hd strong { font-size: 13px; font-weight: 600; display: block; }
.chat-hd span { font-size: 11px; color: var(--faint); display: block; font-weight: 400; }
.chat-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 210px; background: #fbfbfc; }
.chat-body .bubble { font-size: 12.5px; }
.chat-in {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff;
}
.chat-in span { flex: 1; font-size: 12.5px; color: var(--faint); padding: 8px 12px; background: #f2f2f7; border-radius: 980px; }

/* Legacy illustration kept for any leftover markup */
.illo { position: relative; height: 480px; }
.shape { position: absolute; }
.ring {
  width: 280px; height: 280px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, var(--paper) 0 42%, transparent 43%),
    conic-gradient(from 200deg, #ececfb, #e8e8ed, #f5f5f7, #ececfb);
  box-shadow: var(--shadow);
}
.core {
  width: 108px; height: 108px; border-radius: 32px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--grad);
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.28);
  display: flex; align-items: center; justify-content: center;
  z-index: 4;
}
.core svg, .core img { width: 56px; height: 56px; }
.ch-card {
  background: var(--paper); border-radius: 22px; padding: 14px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  z-index: 5; min-width: 168px;
}
.ch-card .mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff; flex: none;
  background: var(--grad);
}
.ch-card .mark svg { width: 20px; height: 20px; }
.ch-card strong { display: block; font-size: 14px; font-weight: 600; }
.ch-card span { font-size: 12px; color: var(--faint); }
.c1 { left: 0; top: 36px; }
.c2 { right: 0; top: 150px; }
.c3 { left: 18px; bottom: 48px; }
.c4 { right: 16px; bottom: 20px; }
.m1, .m2, .m3, .m4 { background: var(--grad); }

/* Grids & cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .g2, .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--paper); border: 0; border-radius: var(--radius);
  padding: 28px 24px; box-shadow: none;
}
.alt .card, #how .card, #demo .card:not(.demo-call) { background: var(--bg); box-shadow: none; }
.card p { color: var(--muted); margin: 0; }
.icon, .ico-lg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; margin-bottom: 22px;
}
.icon svg, .ico-lg svg { width: 22px; height: 22px; }
.icon.t, .icon.b { background: var(--grad); color: #fff; }
.card.feature { border-top: 0; }
.fine { font-size: 13px; color: var(--faint); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 960px) { .steps.g4, ol.steps.setup-flow { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--bg); border-radius: var(--radius); padding: 28px 24px 32px; box-shadow: none; }
#how .card.step { background: var(--paper); box-shadow: none; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 20px; right: 24px;
  width: auto; height: auto; border-radius: 0;
  background: none; color: var(--faint); font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em;
  display: block; place-items: unset;
}
.step h3 { margin-top: 4px; font-size: 20px; }

.channels {
  display: grid; gap: 16px; margin-top: 32px;
  background: var(--ink); border-radius: var(--radius); padding: 28px; color: #fff;
}
.channels h3 { color: #fff; }
.channels p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.ch-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ch-list li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 14px;
}
.ch-list svg { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .channels { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 36px 40px; }
}

.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; vertical-align: 2px; white-space: nowrap; }
.badge.soon { background: #e8e8ed; color: var(--muted); border: 0; }
.badge.live { background: #e8e8ed; color: var(--ink); border: 0; }
.badge.req { background: var(--bg); color: var(--muted); border: 0; }
.channels .badge.soon { background: #fff; color: var(--ink); }

.ind { display: flex; gap: 14px; align-items: flex-start; }
.ind .icon { flex: none; margin: 0; }
.ind h3 { margin-bottom: 4px; font-size: 1.05rem; }
.ind p { font-size: 15px; }

/* Demo */
.demo-grid, .demo { display: grid; gap: 16px; }
@media (min-width: 960px) { .demo-grid, .demo { grid-template-columns: 1fr 1fr; } }
.demo-call, .demo-card {
  background: var(--bg); color: var(--ink); border: 0; border-radius: var(--radius);
  padding: 36px 32px; box-shadow: none;
}
#demo .card.demo-call { background: var(--ink); color: #fff; }
.demo-call p { color: rgba(255, 255, 255, 0.72); }
.demo-call h3 { color: #fff; font-size: 24px; }
.demo-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 8px; }
.demo-card > p, .demo-card .pre p { color: var(--muted); margin-bottom: 24px; }
.demo-call .phone {
  display: block; font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 600;
  color: #fff; text-decoration: none; margin: 14px 0 18px; letter-spacing: -0.02em;
}
.demo-call .phone:hover { color: #fff; }
.demo-call ul { padding-left: 20px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.72); }
.demo-call li { margin-bottom: 6px; }
.label-opt { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.card .label-opt { color: var(--faint); }
.demo-call .label-opt { color: rgba(255, 255, 255, 0.55); }

form .row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { form .row.two { grid-template-columns: 1fr 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, label { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea,
input, select, textarea {
  font: inherit; padding: 0 14px; border: 0; border-radius: 12px;
  background: #fff; color: var(--ink); height: 44px; min-height: 44px; width: 100%;
  box-shadow: 0 0 0 1px var(--line); outline: none;
}
.field textarea, textarea { height: auto; min-height: 96px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus,
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: 0 0 0 2px #b42318; }
.err { color: #b42318; font-size: 0.85rem; margin: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -5000px; }
.consent { font-size: 12px; color: var(--faint); margin: 4px 0 16px; }
.thanks { text-align: left; padding: 8px 0; }
.thanks .icon { width: 64px; height: 64px; border-radius: 20px; }
.booking-slot { margin-top: 24px; }
.booking-slot iframe {
  width: 100%; min-height: 680px; border: 0; border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow);
}
.demo-card.done form, .demo-card.done .pre { display: none; }
.demo-card.done .thanks { display: block; }
.thanks { display: none; }
#demo .thanks { display: none; }
#demo .demo-card.done .thanks { display: block; }

/* FDE */
.fde { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.fde .section-head p { color: rgba(255, 255, 255, 0.72); }
.fde .kicker { color: rgba(255, 255, 255, 0.55); }
.fde h2, .fde h3 { color: #fff; }
.fde .card { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.fde .card p { color: rgba(255, 255, 255, 0.72); }
.fde .icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.fde-cta {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  margin-top: 28px; background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius); padding: 28px;
}
.fde-cta p { margin: 0; color: rgba(255, 255, 255, 0.72); }
@media (min-width: 960px) { .fde-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Pricing */
.price { display: flex; flex-direction: column; background: var(--paper); box-shadow: none; }
#pricing .card.price { background: var(--paper); }
.price .tier { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.price .amt { font-size: 40px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; margin: 0 0 8px; }
.price .amt small { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--faint); margin-left: 8px; white-space: nowrap; }
.price > p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.price li { position: relative; padding-left: 18px; margin: 0; color: var(--muted); font-size: 15px; }
.price li svg { display: none; }
.price li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.price.featured { background: var(--ink); color: #fff; position: relative; box-shadow: none; }
#pricing .card.price.featured { background: var(--ink); }
.price.featured p, .price.featured li { color: rgba(255, 255, 255, 0.72); }
.price.featured .tier, .price.featured .amt small { color: rgba(255, 255, 255, 0.55); }
.price.featured li::before { background: currentColor; }
.price.featured .btn-primary,
.price.featured .btn-dark,
.price.featured .btn-ghost,
.price.featured .btn-soft,
.price.featured .btn-grey {
  background: #fff;
  color: var(--ink);
}
.price.featured .btn-primary:hover,
.price.featured .btn-dark:hover,
.price.featured .btn-ghost:hover,
.price.featured .btn-soft:hover,
.price.featured .btn-grey:hover {
  background: #f5f5f7;
  color: var(--ink);
}
.price .ribbon {
  position: absolute; top: -13px; left: 24px;
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.note { max-width: 760px; margin: 24px 0 0; text-align: left; color: var(--muted); font-size: 15px; }

.pilot {
  display: grid; gap: 20px;
  background: var(--paper); border: 0; box-shadow: none;
  border-radius: var(--radius); padding: 28px; margin-top: 40px;
}
.pilot h3 { font-size: 1.4rem; }
.pilot ul { margin: 0; padding-left: 20px; color: var(--muted); }
@media (min-width: 960px) {
  .pilot { grid-template-columns: 1.3fr 1fr auto; align-items: center; padding: 32px 40px; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0; }
.faq details { background: var(--paper); border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: 18px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Final CTA */
.final {
  background: var(--ink); color: #fff; text-align: left;
  border-radius: var(--radius); padding: 48px 32px;
}
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, 0.72); max-width: 600px; margin: 0 0 24px; }
.final .cta-row { margin-bottom: 0; }

/* Visual story and flows */
.visual-story {
  background: var(--paper); border: 0; border-radius: 28px; padding: 24px; box-shadow: none;
}
.flow-section .visual-story { box-shadow: 0 0 0 1px var(--line); }
.story-top { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.story-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex-shrink: 0; }
.example-label { margin-left: auto; border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: 8px; padding: 2px 7px; font-weight: 500; }
.story-message, .story-result { display: flex; gap: 14px; align-items: center; padding: 20px; background: var(--bg); border-radius: 18px; box-shadow: none; }
.story-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #e8e8ed; color: var(--ink); flex-shrink: 0; }
.story-avatar svg { width: 24px; height: 24px; }
.story-message small, .story-result small { font-size: 12px; color: var(--faint); display: block; margin-bottom: 4px; }
.story-message p { font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin: 0; color: var(--ink); }
.story-message.assistant { margin-left: 24px; background: var(--ink); color: #fff; }
.assistant .story-avatar { background: rgba(255, 255, 255, 0.12); color: #fff; }
.assistant small { color: rgba(255, 255, 255, 0.65); }
.assistant p { color: #fff; }
.story-connector { text-align: center; font-size: 25px; line-height: 1.2; padding: 7px; color: #c7c7cc; }
.story-result { background: #ececee; }
.story-result .story-avatar { background: #fff; color: var(--ink); }
.story-result strong { display: block; font-size: 1rem; }
.story-result span:not(.story-avatar) { font-size: 13px; color: var(--muted); }
.story-result > svg { width: 22px; height: 22px; margin-left: auto; color: var(--ink); flex-shrink: 0; }
.story-note { font-size: 13px; line-height: 1.5; color: var(--faint); margin: 16px 4px 0; }

.flow-section { background: var(--paper); }
.big-flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; }
.flow-node { position: relative; border: 0; border-radius: 22px; padding: 28px; background: var(--bg); text-align: left; }
.flow-node:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 42%; font-size: 22px; color: #c7c7cc; z-index: 1; }
.flow-number { position: absolute; top: 14px; right: 16px; color: var(--faint); font-size: 13px; font-weight: 600; }
.flow-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 20px; border-radius: 12px; background: var(--grad); color: #fff; }
.flow-icon svg { width: 22px; height: 22px; }
.flow-node h3 { font-size: 20px; }
.flow-node p { color: var(--muted); line-height: 1.7; margin: 0; }
.flow-main { background: var(--ink); box-shadow: none; }
.flow-main h3, .flow-main p, .flow-main .flow-number { color: #fff; }
.flow-main p { color: rgba(255, 255, 255, 0.72); }
.flow-main .flow-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.flow-owner { background: #ececee; }
.flow-owner .flow-icon { background: var(--grad); color: #fff; }
.human-branch {
  display: flex; align-items: center; gap: 14px; max-width: 570px;
  margin: 24px 0 0; padding: 16px 22px;
  border: 0; box-shadow: 0 0 0 1px var(--line);
  border-radius: 14px; background: var(--paper);
}
.human-branch > span { font-size: 30px; color: #c7c7cc; }
.human-branch svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--ink); }
.human-branch p { margin: 0; font-size: 15px; color: var(--muted); }
.human-branch b { color: var(--ink); }

.journey-switch { display: flex; justify-content: flex-start; gap: 10px; margin: 0 0 28px; flex-wrap: wrap; }
.journey-choice {
  display: flex; gap: 9px; align-items: center;
  border: 0; box-shadow: none;
  border-radius: 999px; background: #e8e8ed; padding: 12px 22px;
  cursor: pointer; font: inherit; font-weight: 500; color: var(--ink);
}
.journey-choice svg { width: 20px; height: 20px; }
.journey-choice[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.journey-panel[hidden] { display: none; }
.mini-flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; }
.mini-flow li { background: var(--bg); border: 0; border-radius: 18px; padding: 26px; position: relative; }
.mini-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 42%; font-size: 20px; color: #c7c7cc; }
.mini-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; margin-bottom: 18px; }
.mini-icon svg { width: 22px; height: 22px; }
.mini-flow h3 { font-size: 1.12rem; }
.mini-flow p { margin: 0; color: var(--muted); }
.setup-flow .step { position: relative; }
.setup-flow .icon { margin-top: 8px; }

@media (max-width: 767px) {
  .big-flow, .mini-flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-node:not(:last-child)::after, .mini-flow li:not(:last-child)::after { content: "↓"; top: auto; right: calc(50% - 10px); bottom: -22px; }
  .visual-story { padding: 18px; }
  .story-message, .story-result { padding: 16px; gap: 10px; }
  .story-message.assistant { margin-left: 12px; }
  .journey-choice { padding: 10px 16px; font-size: 15px; }
}

/* Security */
.security-section { background: var(--paper); }
.privacy-map { display: grid; grid-template-columns: 130px 30px 1fr 150px; align-items: center; gap: 18px; margin: 35px 0 18px; }
.privacy-source, .privacy-blocked { text-align: center; display: flex; align-items: center; flex-direction: column; gap: 8px; }
.privacy-source .flow-icon { margin: 0 0 8px; }
.privacy-source small, .privacy-blocked small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.map-arrow { font-size: 30px; color: var(--faint); }
.privacy-boundary { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 22px; background: var(--bg); }
.boundary-label { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--ink); }
.boundary-label svg { width: 26px; height: 26px; flex-shrink: 0; }
.privacy-inner { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin: 24px 0; }
.privacy-inner > div { display: flex; flex: 1; align-items: center; text-align: center; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.privacy-inner svg { width: 32px; height: 32px; color: var(--ink); }
.privacy-inner > span { color: var(--faint); }
.privacy-boundary p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.privacy-blocked { border: 0; padding: 18px; border-radius: 16px; background: var(--bg); box-shadow: none; }
.privacy-blocked > svg { width: 30px; height: 30px; color: var(--ink); }
.security-subhead { text-align: left; margin: 42px 0 24px; font-size: 1.35rem; }
.standards { margin: 28px 0 0; max-width: 850px; border: 0; background: var(--bg); border-radius: 16px; padding: 20px 24px; box-shadow: none; }
.standards summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.standards p, .standards li { font-size: 15px; line-height: 1.65; color: var(--muted); }
.standards p { margin: 16px 0 0; }
.standards a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 959px) {
  .privacy-map { grid-template-columns: 1fr; gap: 16px; }
  .map-arrow { text-align: center; transform: rotate(90deg); }
  .privacy-blocked { max-width: 260px; justify-self: center; }
}

/* Company / about */
.company-page { padding-bottom: 0; }
.company-nav { flex-wrap: wrap; gap: 16px; }
.company-nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; margin-left: auto; }
.company-nav-links > a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.company-nav-links > a:not(.btn):hover, .company-nav-links > [aria-current="page"] { color: var(--ink); font-weight: 600; }
.company-hero { background: var(--bg); text-align: left; }
.company-hero h1 { max-width: 800px; margin: 16px 0 24px; }
.company-hero h1 em { font-style: normal; color: var(--ink); }
.company-intro { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.company-hero blockquote {
  font-size: clamp(1.55rem, 3.5vw, 2.4rem); font-weight: 600; line-height: 1.35;
  color: var(--ink); letter-spacing: -0.03em; margin: 36px 0 24px; padding: 28px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 850px;
}
.company-hero .fine { max-width: 660px; margin: 0; }
.company-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.company-story p { font-size: 1.07rem; line-height: 1.8; color: var(--muted); }
.company-loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.company-loop li { position: relative; background: var(--bg); border: 0; border-radius: 20px; padding: 28px; }
.company-loop li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 45%; font-size: 22px; color: #c7c7cc; }
.company-loop li > span { font-size: 2.4rem; font-weight: 600; display: block; margin-bottom: 20px; color: var(--ink); opacity: 0.25; }
.company-loop p { color: var(--muted); margin: 0; }
.company-roadmap h3 { margin-top: 18px; }
.company-updates { max-width: 950px; }
.company-timeline { list-style: none; padding: 0 0 0 32px; margin: 0 0 0 12px; border-left: 2px solid var(--line-strong); }
.timeline-entry { position: relative; padding: 0 0 38px 14px; }
.timeline-entry::before {
  content: ""; position: absolute; left: -41px; top: 7px; width: 16px; height: 16px;
  border: 4px solid var(--bg); border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}
.alt .timeline-entry::before { border-color: var(--paper); }
.timeline-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; margin-bottom: 12px; color: var(--muted); }
.timeline-entry h3 { font-size: 1.3rem; }
.timeline-entry p { color: var(--muted); line-height: 1.75; max-width: 720px; }
.update-status { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.5; padding: 4px 10px; border-radius: 999px; }
.update-status.live { background: var(--ink); color: #fff; }
.update-status.built { background: #e8e8ed; color: var(--ink); }
.update-version { color: var(--faint); }
.timeline-entry:last-child { padding-bottom: 0; }
@media (max-width: 767px) {
  .company-nav-links { gap: 14px; flex-wrap: wrap; font-size: 13px; }
  .company-nav .brand { width: auto; }
  .company-story, .company-loop { grid-template-columns: 1fr; gap: 32px; }
  .company-loop li:not(:last-child)::after { content: "↓"; right: calc(50% - 10px); top: auto; bottom: -24px; }
  .company-timeline { padding-left: 22px; }
  .timeline-entry::before { left: -31px; }
}

/* Brand lockup */
.brand-wordmark { position: relative; display: flex; align-items: center; gap: 9px; width: auto; height: auto; overflow: visible; flex: none; mix-blend-mode: normal; }
.brand-wordmark img { position: static; width: 28px; height: 28px; max-width: none; border-radius: 7px; object-fit: cover; }
.brand-icon { width: 28px; height: 28px; object-fit: contain; flex: none; border-radius: 7px; }
.error-brand-icon { display: block; margin: 0 auto 24px; border-radius: 20px; }
.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { margin-bottom: 12px; }

.company-nav { height: auto; min-height: 56px; padding-top: 0; padding-bottom: 0; }

/* Legal / privacy article */
.legal-page { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 96px; }
.legal-page h1 { font-size: clamp(36px, 4.6vw, 48px); margin-bottom: 10px; }
.legal-page h2 { font-size: 21px; letter-spacing: -0.03em; margin-top: 2.4rem; margin-bottom: 0.7rem; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 17px; line-height: 1.55; }
.legal-page a { text-underline-offset: 3px; }
.legal-page .fine { color: var(--faint); font-size: 14px; }
.legal-page section { padding: 0; width: auto; max-width: none; margin: 0; }

/* Simple content pages (previous chats, server preview) */
.simple-page { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 96px; }
.simple-page h1 { margin-bottom: 16px; }
.simple-page p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.simple-page a { text-underline-offset: 3px; }
.simple-page .notice {
  padding: 16px 18px; background: #e8e8ed; border-radius: 16px;
  color: var(--ink); font-size: 15px;
}
.simple-page .page-links { margin-top: 28px; }
.simple-page .page-links a { color: var(--ink); }

@media (max-width: 960px) {
  section { padding: 88px 0; }
  .form { grid-template-columns: 1fr; }
  .illo { height: 400px; }
  .chat-float { right: 8px; top: 40px; transform: scale(.86); transform-origin: top right; }
  .stage { height: 580px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 24px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { margin-left: 0; margin-right: 0; margin-bottom: 22px; font-size: 17px; }
  .chat-float { display: none; }
  .stage { height: 620px; justify-content: center; }
  .handset { margin-left: 0; }
  .illo { height: 420px; margin-bottom: 8px; }
  .c1 { left: 0; top: 8px; right: auto; bottom: auto; }
  .c2 { right: 0; top: 8px; left: auto; bottom: auto; }
  .c3 { left: 0; bottom: 8px; right: auto; top: auto; }
  .c4 { right: 0; bottom: 8px; left: auto; top: auto; }
  .ch-card { min-width: 0; max-width: 48%; padding: 10px 12px; }
  .ch-card strong { white-space: nowrap; }
}

/* Auth / account and admin workspace cards */
body.auth-page { background: var(--bg); }
.auth-card {
  width: min(480px, calc(100% - 32px));
  margin: 56px auto 96px;
  padding: 40px 36px;
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line);
}
.auth-card .kicker { margin-bottom: 10px; }
.auth-card h1 { font-size: clamp(32px, 5vw, 40px); letter-spacing: -0.035em; margin: 0 0 12px; }
.auth-card > p { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0 0 8px; }
.auth-card label { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 20px; letter-spacing: -0.01em; }
.auth-card input {
  display: block; font: inherit; width: 100%; margin-top: 8px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 16px;
}
.auth-card input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.auth-card button {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; width: 100%; margin-top: 16px; height: 48px; padding: 0 22px;
  border: 0; cursor: pointer; font-weight: 500; font-size: 17px; border-radius: 980px;
  background: var(--ink); color: #fff;
}
.auth-card button:hover { background: #000; }
.auth-card button:disabled { opacity: 0.45; cursor: not-allowed; }
.auth-card #google { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); margin-top: 8px; }
.auth-card #google:hover { background: #f5f5f7; }
.auth-card #change-email,
.auth-card #logout,
.auth-card #switch-account { background: #e8e8ed; color: var(--ink); margin-top: 10px; }
.auth-card #change-email:hover,
.auth-card #logout:hover,
.auth-card #switch-account:hover { background: #dcdcde; }
.auth-card #return-hint { color: var(--ink); font-weight: 500; }
.auth-card #login-options > p { text-align: center; color: var(--faint); font-size: 13px; margin: 18px 0 0; }
.auth-card #signed-in p { color: var(--ink); }
.auth-card #signed-in a { color: var(--ink); text-underline-offset: 3px; }
.auth-card #status {
  min-height: 0; margin: 20px 0 0; padding: 0; color: var(--muted); font-size: 15px;
}
.auth-card #status:not(:empty) {
  padding: 12px 14px; border-radius: 12px; background: #e8e8ed; color: var(--ink);
}
.auth-card small { display: block; margin-top: 20px; color: var(--faint); font-size: 13px; line-height: 1.5; }
.auth-card small a { color: var(--ink); text-underline-offset: 2px; }
.auth-card [hidden] { display: none !important; }
@media (max-width: 520px) {
  .auth-card { margin: 28px 16px 80px; padding: 28px 22px; width: auto; }
}

/* Keep sign-in controls close to their explanation and delivery status. */
.auth-card > section { padding: 0; margin-top: 24px; }
.auth-card #google { gap: 12px; }
.auth-card #google img { flex: none; width: 20px; height: 20px; object-fit: contain; }
.auth-card #code-sent { margin: 16px 0 0; padding: 12px 14px; background: #f5f5f7; border-radius: 12px; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
