/* =========================================================================
   Frontdesk - client-facing showcase
   Identity is deliberately unrelated to LoopPartner: a client must not be
   able to connect the two. Warm paper ground, deep charcoal ink, petrol
   teal accent used sparingly. Fraunces + Karla.
   ========================================================================= */

:root {
  /* Ground and surfaces */
  --ground:      #FAF7F2;   /* warm paper */
  --surface:     #FFFFFF;
  --surface-2:   #F1EDE6;   /* warm sand */
  --surface-3:   #E8E2D8;

  /* Ink */
  --ink:         #1C2321;   /* deep warm charcoal */
  --ink-2:       #55605C;
  --ink-3:       #838C88;
  --ink-4:       #AFB6B2;

  /* Lines */
  --line:        rgba(28,35,33,0.12);
  --line-2:      rgba(28,35,33,0.22);

  /* Accent - primary action, live state, nothing else */
  --accent:      #0F6B62;
  --accent-deep: #0A524B;
  --accent-soft: #DCEAE7;
  --on-accent:   #FAF7F2;
  /* Explicit glows. color-mix() silently voids a whole gradient where it
     is unsupported, so the ambient layers use plain rgba instead. */
  --glow-accent:   rgba(15,107,98,0.34);
  --glow-positive: rgba(46,125,79,0.26);
  --glow-urgent:   rgba(180,83,31,0.18);
  --glow-spot:     rgba(15,107,98,0.15);
  --hdr-bg:        rgba(250,247,242,0.86);

  /* Semantic - held separate from accent on purpose */
  --positive:    #2E7D4F;
  --positive-soft:#E1F0E6;
  --urgent:      #B4531F;
  --urgent-soft: #F7E7DC;

  /* Dark surface for contrast bands */
  --deep:        #141A18;
  --on-deep:     #F3EFE8;
  --on-deep-2:   rgba(243,239,232,0.66);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow:    0 2px 8px rgba(28,35,33,0.05);
  --shadow-lg: 0 24px 48px -20px rgba(28,35,33,0.18);

  --container: 1180px;
  --measure: 62ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:    #141A18;
    --surface:   #1C2321;
    --surface-2: #232B29;
    --surface-3: #2C3532;
    --ink:       #F3EFE8;
    --ink-2:     #B4BCB8;
    --ink-3:     #8B938F;
    --ink-4:     #5F6864;
    --line:      rgba(243,239,232,0.14);
    --line-2:    rgba(243,239,232,0.26);
    --accent:      #4FB3A6;
    --accent-deep: #6FC7BB;
    --accent-soft: rgba(79,179,166,0.16);
    --on-accent:   #10201D;
    --glow-accent:   rgba(79,179,166,0.26);
    --glow-positive: rgba(99,188,135,0.20);
    --glow-urgent:   rgba(224,138,85,0.14);
    --glow-spot:     rgba(79,179,166,0.14);
    --hdr-bg:        rgba(20,26,24,0.86);
    --positive:      #63BC87;
    --positive-soft: rgba(99,188,135,0.16);
    --urgent:        #E08A55;
    --urgent-soft:   rgba(224,138,85,0.16);
    --deep:      #0D1211;
    --on-deep:   #F3EFE8;
    --on-deep-2: rgba(243,239,232,0.66);
    --shadow-lg: 0 24px 48px -20px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"] {
  --ground:#141A18; --surface:#1C2321; --surface-2:#232B29; --surface-3:#2C3532;
  --ink:#F3EFE8; --ink-2:#B4BCB8; --ink-3:#8B938F; --ink-4:#5F6864;
  --line:rgba(243,239,232,0.14); --line-2:rgba(243,239,232,0.26);
  --accent:#4FB3A6; --accent-deep:#6FC7BB; --accent-soft:rgba(79,179,166,0.16); --on-accent:#10201D;
  --glow-accent:rgba(79,179,166,0.26); --glow-positive:rgba(99,188,135,0.20);
  --glow-urgent:rgba(224,138,85,0.14); --glow-spot:rgba(79,179,166,0.14);
  --hdr-bg:rgba(20,26,24,0.86);
  --positive:#63BC87; --positive-soft:rgba(99,188,135,0.16);
  --urgent:#E08A55; --urgent-soft:rgba(224,138,85,0.16);
  --deep:#0D1211; --on-deep:#F3EFE8; --on-deep-2:rgba(243,239,232,0.66);
  --shadow-lg:0 24px 48px -20px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;            /* deliberately large: read on phones, bad light */
  line-height: 1.62;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------------- Type ---------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.95rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.22; }
h4 {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 14px;
}
p { margin: 0 0 16px; max-width: var(--measure); color: var(--ink-2); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); }
strong, b { color: var(--ink); font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }
.narrow { max-width: 780px; margin: 0 auto; }

section { padding: 76px 0; }
@media (min-width: 900px) { section { padding: 108px 0; } }

.band-sand { background: var(--surface-2); }
.band-deep { background: var(--deep); color: var(--on-deep); }
.band-deep h1, .band-deep h2, .band-deep h3 { color: var(--on-deep); }
.band-deep p { color: var(--on-deep-2); }
.band-deep h4 { color: var(--on-deep-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--accent);
}
.band-deep .eyebrow { color: var(--accent-deep); }
.band-deep .eyebrow::before { background: var(--accent-deep); }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { margin-top: 18px; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ---------------- Header + lockup ---------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: var(--hdr-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--container); margin: 0 auto;
  padding: 14px 22px;
  display: flex; align-items: center; gap: 20px;
}
@media (min-width: 900px) { .hdr-in { padding: 16px 40px; } }

.lockup { display: flex; align-items: center; gap: 13px; }
.mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--ink);
  position: relative; flex-shrink: 0;
}
.mark::before {  /* the desk bell dome */
  content: ''; position: absolute;
  left: 9px; right: 9px; top: 12px; height: 11px;
  border-radius: 11px 11px 0 0;
  background: var(--accent);
}
.mark::after {   /* the desk surface */
  content: ''; position: absolute;
  left: 7px; right: 7px; top: 24px; height: 2.5px;
  border-radius: 2px; background: var(--ground);
}
.lockup-txt { display: flex; flex-direction: column; line-height: 1.1; }
.lockup-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.32rem; letter-spacing: -0.02em; color: var(--ink);
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
}
.lockup-by { font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 2px; }
.lockup-by b { color: var(--ink-2); font-weight: 700; }

.hdr-nav { display: none; margin-left: auto; gap: 4px; }
@media (min-width: 980px) { .hdr-nav { display: flex; } }
.hdr-nav a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 0.95rem; color: var(--ink-2);
}
.hdr-nav a:hover { background: var(--surface-2); color: var(--ink); }
.hdr-cta { margin-left: auto; }
@media (min-width: 980px) { .hdr-cta { margin-left: 12px; } }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .14s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--ink); color: var(--ground); }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-sm { padding: 10px 17px; font-size: 0.9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.band-deep .btn-ghost { color: var(--on-deep); border-color: rgba(243,239,232,0.3); }
.band-deep .btn-ghost:hover { border-color: var(--on-deep); background: rgba(243,239,232,0.08); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------------- Hero ---------------- */
.hero { padding-top: 64px; padding-bottom: 84px; }
@media (min-width: 900px) { .hero { padding-top: 88px; padding-bottom: 110px; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 52px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 64px; } }
.hero h1 { margin-bottom: 22px; }
.hero .lede { max-width: 30rem; }
.hero-note {
  margin-top: 24px; font-size: 0.95rem; color: var(--ink-3);
  display: flex; align-items: center; gap: 9px;
}
.hero-note::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--positive); flex-shrink: 0;
}

/* ---------------- Phone / widget frame ---------------- */
.phone {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-width: 420px; margin: 0 auto; width: 100%;
}
.phone-top {
  padding: 15px 18px;
  background: var(--ink); color: var(--ground);
  display: flex; align-items: center; gap: 11px;
}
.phone-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  flex-shrink: 0;
}
.phone-who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.phone-name { font-weight: 700; font-size: 0.98rem; }
.phone-status { font-size: 0.76rem; color: rgba(250,247,242,0.66); display: flex; align-items: center; gap: 6px; }
.phone-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
.phone-clock { margin-left: auto; font-size: 0.78rem; color: rgba(250,247,242,0.6); font-variant-numeric: tabular-nums; }

.thread {
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 268px; max-height: 340px; overflow-y: auto;
  background: var(--ground);
  scrollbar-width: thin;
}
.bub {
  max-width: 84%; padding: 11px 15px; border-radius: var(--r-lg);
  font-size: 0.96rem; line-height: 1.5;
  animation: rise .3s cubic-bezier(.2,.9,.3,1) both;
}
.bub.them {
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); border-bottom-left-radius: 5px; align-self: flex-start;
}
.bub.you {
  background: var(--ink); color: var(--ground);
  border-bottom-right-radius: 5px; align-self: flex-end;
}
.bub.sys {
  align-self: center; max-width: 100%; text-align: center;
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--accent-deep); font-size: 0.85rem; font-weight: 700;
  padding: 8px 14px; border-radius: var(--r-pill);
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.dots-b {
  align-self: flex-start; display: inline-flex; gap: 5px; align-items: center;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  border-bottom-left-radius: 5px; animation: rise .3s both;
}
.dots-b i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: blink 1.3s infinite; }
.dots-b i:nth-child(2) { animation-delay: .18s; }
.dots-b i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity:.3 } 30% { opacity:1 } }

.slots { display: flex; gap: 7px; flex-wrap: wrap; align-self: flex-start; animation: rise .3s both; }
.slot {
  padding: 9px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 0.88rem; font-weight: 700; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  transition: all .2s;
}
.slot.on { background: var(--positive); border-color: var(--positive); color: #fff; }

.compose {
  display: flex; gap: 9px; padding: 13px 14px;
  border-top: 1px solid var(--line); background: var(--surface);
}
.compose input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 11px 17px; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink); background: var(--ground);
}
.compose input::placeholder { color: var(--ink-4); }
.compose input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.compose button {
  flex-shrink: 0; border: none; background: var(--accent); color: var(--on-accent);
  border-radius: var(--r-pill); padding: 11px 19px; font-weight: 700; font-size: 0.95rem;
}
.compose button:hover { background: var(--accent-deep); }
.compose button:disabled { background: var(--surface-3); color: var(--ink-4); cursor: not-allowed; }

/* ---------------- Voice ---------------- */
.voice-card {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 30px;
  display: flex; flex-direction: column; gap: 20px;
}
.voice-row { display: flex; align-items: center; gap: 18px; }
.voice-btn {
  width: 62px; height: 62px; border-radius: 50%;
  border: none; background: var(--accent); color: var(--on-accent);
  font-size: 1.35rem; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 var(--accent-soft);
  transition: transform .15s, background .2s;
}
.voice-btn:hover { transform: scale(1.05); background: var(--accent-deep); }
.voice-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.voice-btn.live { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-soft); }
  70%  { box-shadow: 0 0 0 18px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.wave { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i {
  flex: 1; border-radius: 2px; min-height: 4px;
  background: var(--line-2); transition: background .2s, height .12s;
}
.wave.on i { background: var(--accent); }
.voice-meta { font-size: 0.92rem; color: var(--ink-3); }
.voice-hint {
  padding: 13px 17px; border-radius: var(--r);
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--accent-deep); font-size: 0.93rem; font-weight: 700;
}
.voice-script { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 9px; }
.voice-line { font-size: 0.95rem; color: var(--ink-3); padding-left: 62px; position: relative; line-height: 1.5; }
.voice-line::before {
  content: attr(data-who); position: absolute; left: 0; top: 2px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-4);
}
.voice-line.on { color: var(--ink); }
.voice-line.on::before { color: var(--accent); }

/* ---------------- Calculator ---------------- */
.calc {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--surface); padding: 32px;
}
@media (min-width: 800px) { .calc { padding: 44px; } }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 800px) { .calc-grid { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } }
.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field-lbl {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 11px;
}
.field-lbl span { font-size: 0.9rem; font-weight: 700; color: var(--ink-2); }
.field-lbl b {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 9px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--ground);
  font-size: 0.9rem; font-weight: 700; color: var(--ink-2);
  transition: all .18s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.rng {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 5px; border-radius: var(--r-pill);
  background: var(--surface-3); outline: none;
}
.rng::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface);
  box-shadow: 0 1px 6px rgba(28,35,33,0.25); cursor: pointer;
}
.rng::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface);
  box-shadow: 0 1px 6px rgba(28,35,33,0.25); cursor: pointer;
}
.rng:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.rng-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.82rem; color: var(--ink-4); }

.result {
  background: var(--urgent-soft); border: 1px solid var(--urgent);
  border-radius: var(--r-lg); padding: 30px; text-align: center;
}
.result-lbl { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--urgent); margin-bottom: 12px; }
.result-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1;
  color: var(--urgent); font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.result-sub { font-size: 0.94rem; color: var(--ink-2); margin-top: 12px; }
.result-work {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--urgent);
  font-size: 0.87rem; color: var(--ink-3); line-height: 1.5;
}

/* ---------------- Outcome cards ---------------- */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
  transition: border-color .22s, transform .22s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; margin: 0; }
.card-ico {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--accent-soft); color: var(--accent-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 18px;
}

.notdo {
  margin-top: 34px; padding: 22px 26px;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  background: transparent;
}
.notdo p { font-size: 0.97rem; margin: 0; }

/* ---------------- Vertical proof ---------------- */
.verts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.proof {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 34px;
}
@media (min-width: 860px) { .proof { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 44px; align-items: center; } }
.proof-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--ink); margin-bottom: 10px;
}
.proof-cap { font-weight: 700; color: var(--ink); font-size: 1.05rem; margin-bottom: 8px; }
.proof-quote { font-size: 1.02rem; color: var(--ink-2); font-style: italic; }
.proof-who { margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); }
.proof-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.pstat { padding: 18px; border-radius: var(--r); background: var(--surface-2); }
.pstat b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pstat span { font-size: 0.86rem; color: var(--ink-3); }

/* placeholder for real photography */
.photo-slot {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  background: repeating-linear-gradient(45deg, transparent, transparent 9px, var(--surface-2) 9px, var(--surface-2) 18px);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 20px;
}

/* ---------------- Steps ---------------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5,1fr); } }
.step {
  padding: 26px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.step-n {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--ground);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 15px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: 0.93rem; margin: 0; }

/* ---------------- Price + guarantee ---------------- */
.price-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .price-wrap { grid-template-columns: 1fr; gap: 24px; } }
@media (min-width: 860px) { .guarantee { text-align: center; padding: 30px 36px; } }
@media (min-width: 860px) { .guarantee p { max-width: 62ch; margin-left: auto; margin-right: auto; } }
.price-box, .guarantee {
  border-radius: var(--r-xl); padding: 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.price-box { background: var(--surface); border: 1px solid var(--line); }
.anchor-line {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--urgent-soft); color: var(--urgent);
  font-size: 0.92rem; font-weight: 700; margin-bottom: 22px; align-self: flex-start;
}
.guarantee { background: var(--positive-soft); border: 1px solid var(--positive); }
.guarantee h3 { color: var(--positive); margin-bottom: 12px; }
.guarantee p { color: var(--ink-2); font-size: 0.99rem; }
.guarantee-badge {
  font-family: var(--font-display); font-weight: 600;
  font-size: 2.6rem; line-height: 1; color: var(--positive); margin-bottom: 14px;
}

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 26px 6px; display: flex; align-items: center;
  justify-content: space-between; gap: 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.16rem;
  color: var(--ink); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-body); font-size: 1.7rem; font-weight: 400;
  color: var(--ink-3); flex-shrink: 0; line-height: 1; transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-a { padding: 0 6px 26px; }
.faq-a p { font-size: 1.02rem; }

/* ---------------- Final CTA ---------------- */
.final { text-align: center; }
.final h2 { margin-bottom: 20px; }
.final p { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }

/* ---------------- Footer ---------------- */
.ftr { background: var(--deep); color: var(--on-deep); padding: 62px 0 30px; }
.ftr-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(243,239,232,0.14); }
@media (min-width: 800px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }
.ftr .lockup-name { color: var(--on-deep); }
.ftr .mark { background: var(--on-deep); }
.ftr .mark::after { background: var(--deep); }
.ftr .lockup-by { color: var(--on-deep-2); }
.ftr .lockup-by b { color: var(--on-deep); }
.ftr p { color: var(--on-deep-2); font-size: 0.95rem; margin-top: 16px; }
.ftr .ftr-h { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-deep); margin: 0 0 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ftr ul a { color: var(--on-deep-2); font-size: 0.95rem; }
.ftr ul a:hover { color: var(--accent-deep); }
.ftr-btm {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; font-size: 0.86rem; color: rgba(243,239,232,0.45);
}

/* ---------------- Motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------- Narrow ---------------- */
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  section { padding: 60px 0; }
  .sec-head { margin-bottom: 38px; }
  .calc, .price-box, .guarantee, .proof { padding: 26px; }
  .card, .step { padding: 24px; }
  .actions .btn { width: 100%; }
  .voice-line { padding-left: 0; padding-top: 18px; }
  .voice-line::before { top: 0; }
  .proof-stats { grid-template-columns: 1fr; }
}

/* =========================================================================
   Conversion fixes, 2026-09-05
   Fallback enquiry form, inline CTAs, persistent mobile action bar.
   ========================================================================= */

/* ---- Inline CTA at the point of conviction ---- */
.inline-cta {
  margin: 22px auto 0;
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
  text-align: center;
}
.inline-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 1px;
  transition: border-color .18s ease;
}
.inline-cta a:hover { border-bottom-color: var(--accent); }
.band-deep .inline-cta { color: var(--on-deep-2); }
.band-deep .inline-cta a { color: var(--on-deep); border-bottom-color: rgba(243,239,232,0.4); }

/* ---- Fallback enquiry form ---- */
.enquire {
  margin: 34px auto 0;
  max-width: 620px;
  text-align: left;
  background: var(--surface);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 24px 60px -28px rgba(28,35,33,0.45);
}
.enquire-intro {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.enquire-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 620px) { .enquire-row { grid-template-columns: 1fr 1fr; gap: 16px; } }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fld > span em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-4); }
.fld input {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.fld input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.enquire-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 6px; }
.enquire-fine {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--ink-3);
  text-align: center;
}
.enquire-done { text-align: center; padding: 12px 0; }
.enquire-tick {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--positive-soft);
  color: var(--positive);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
}
.enquire-done h3 { margin: 0 0 10px; color: var(--ink); }
.enquire-done p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* ---- Persistent action bar on mobile ---- */
.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--hdr-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2,.9,.3,1);
}
.action-bar.on { transform: translateY(0); }
.action-bar-txt {
  flex: 1; min-width: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.action-bar-txt b { display: block; color: var(--ink); font-size: 0.94rem; }
.action-bar .btn { flex-shrink: 0; }
@media (max-width: 860px) {
  .action-bar { display: flex; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .action-bar { transition: none; }
}

/* ---- Runs on / talks to strip ---- */
.works {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .works { grid-template-columns: 1fr 1fr; gap: 56px; } }
.works-col h3 { margin: 0 0 10px; font-size: 1.14rem; }
.works-col p { margin: 0 0 18px; font-size: 0.97rem; color: var(--ink-2); }
.works-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
@media (min-width: 520px) { .works-list { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.works-list li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
}

/* ---- Client-facing plan cards ---- */
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 22px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 44px -26px var(--glow-accent);
}
.plan-tag {
  position: absolute;
  top: -10px; left: 22px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-name { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; color: var(--ink); }
.plan-for { font-size: 0.84rem; color: var(--ink-3); margin: 2px 0 16px; }
.plan-cost { display: flex; align-items: baseline; gap: 7px; }
.plan-cost b {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.plan-cost span { font-size: 0.84rem; color: var(--ink-3); }
.plan-mo {
  font-size: 0.92rem; color: var(--ink-2); font-weight: 500;
  margin: 6px 0 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}
.plan-fine {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 68ch;
  margin: 0;
}
.plan-fine b { color: var(--ink-2); }


/* Stands in for the price table that used to sit here. Quiet, not a callout:
   it explains an absence, it is not trying to sell on its own. */
.cost-note{
  margin:26px 0 0;
  padding:20px 22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:0 10px 10px 0;
  max-width:62ch;
}
.cost-note h4{
  margin:0 0 7px;
  font-family:var(--font-display,Fraunces,Georgia,serif);
  font-size:17px;
  font-weight:600;
}
.cost-note p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.62}
