/* ═════════════════════════════════════════════════════════════════
   SEA · v10 layer on top of v9 "HIGH GROUND"
   What changed and why (research: Cleo, Ramp, Mercury, Attio, Cluely, Lemonade):
   · Cleo: the nav becomes a floating frosted pill; answers live in a chat.
   · Ramp: four hard numbers in the proof strip and a calculator where the
     owner runs his own math.
   · Cluely / Attio: a live lead desk showing speed to lead in real time.
   Everything sits flat and still. Only content moves (rows, numbers, bubbles).
   ═════════════════════════════════════════════════════════════════ */

/* ─── Cleo style floating pill nav ─────────────────────────────── */
.nav { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 10px var(--gutter) 0; }
.nav-inner {
  max-width: calc(var(--container) - 2 * var(--gutter) + 40px); padding: 8px 8px 8px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--bone) 78%, transparent);
  backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid var(--line); box-shadow: 0 14px 34px -24px rgba(17,20,24,.45);
}

/* ─── Proof strip: four numbers ────────────────────────────────── */
.proof.proof4 { grid-template-columns: repeat(4, 1fr); }
.proof.proof4 .pn { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
@media (max-width: 1000px) { .proof.proof4 { grid-template-columns: 1fr 1fr; }
  .proof.proof4 > div:nth-child(2) { border-right: 0; }
  .proof.proof4 > div:nth-child(3) { padding-left: 0; }
  .proof.proof4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .proof.proof4 { grid-template-columns: 1fr; }
  .proof.proof4 > div, .proof.proof4 > div:nth-child(3) { padding-left: 0; border-right: 0; } }

/* ─── Speed to lead: the lead desk ─────────────────────────────── */
.speed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.speed .h2 { margin: 18px 0 18px; }
.speed .lead { color: var(--soft); font-weight: 450; }
.speed-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid var(--line-2); }
.speed-list li { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.speed-list b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--cobalt); }
.speed-list span { font-size: 1.05rem; color: var(--ink-2); line-height: 1.45; }
.speed-stage { min-width: 0; }
.feed { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-big); box-shadow: 0 40px 90px -54px rgba(17,20,24,.5); padding: 10px; overflow: hidden; }
.feed-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 16px; font-size: 15px; }
.feed-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #2FA866; box-shadow: 0 0 0 4px rgba(47,168,102,.18); }
.feed-top .clock { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--cobalt); font-size: 15px; }
.ev { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 16px; border-radius: 18px; transition: opacity .5s var(--ease), background .5s var(--ease); opacity: .22; }
.ev + .ev { margin-top: 4px; }
.ev .t { font-size: 13px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 2px; }
.ev b { display: block; font-size: 1.04rem; font-weight: 700; letter-spacing: -.01em; }
.ev p { margin: 4px 0 0; font-size: .96rem; color: var(--soft); line-height: 1.45; }
.ev.on { opacity: 1; background: var(--bone); }
.ev.good.on { background: var(--cobalt); color: var(--on-field); }
.ev.good.on p, .ev.good.on .t { color: var(--sub-on-field); }
.feed-note { margin: 12px 4px 0; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .speed { grid-template-columns: 1fr; } .speed-list li { grid-template-columns: 96px 1fr; } }

/* ─── Run your numbers ─────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: 0; }
.calc-in { padding: clamp(28px, 4vw, 56px); }
.calc-in .h2 { margin: 18px 0 14px; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.calc-in .lead { margin-bottom: 26px; }
.sl { display: block; padding: 18px 0; border-top: 1px solid var(--line); }
.sl > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 1.02rem; color: var(--ink-2); }
.sl b { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 16px; border-radius: 999px; background: linear-gradient(90deg, var(--cobalt) var(--p, 50%), var(--bone-2) var(--p, 50%)); outline: none; }
.sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: 0 6px 16px -6px rgba(30,63,224,.6); cursor: pointer; }
.sl input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); cursor: pointer; }
.sl input[type=range]:focus-visible { box-shadow: 0 0 0 4px var(--cobalt-tint); }
.calc-out { background: var(--cobalt); color: var(--on-field); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 4px; position: relative; isolation: isolate; }
.calc-out::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle, rgba(243,240,232,.3) 1px, transparent 1.6px); background-size: 28px 28px; }
.co-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--field-line); font-size: 1.02rem; color: var(--sub-on-field); }
.co-row b { color: var(--on-field); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.co-big { padding: 24px 0 8px; }
.co-big span { display: block; color: var(--sub-on-field); font-weight: 600; }
.co-big b { display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.co-note { margin: 10px 0 24px; font-size: .95rem; color: var(--sub-on-field); line-height: 1.5; }
.calc-out .pill { background: var(--bone); color: var(--ink); align-self: flex-start; }
.calc-out .pill:hover { background: #fff; color: var(--cobalt-2); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out .pill { align-self: stretch; } }

/* ─── Ask us: chat instead of a FAQ list ───────────────────────── */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ask .h2 { margin: 18px 0 16px; }
.qpills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 26px; }
.qpill { border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); border-radius: 999px; padding: 13px 18px; font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.qpill:hover { border-color: var(--ink); }
.qpill[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.ask-phone { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 34px; box-shadow: 0 40px 90px -54px rgba(17,20,24,.5); display: flex; flex-direction: column; height: clamp(520px, 52vw, 600px); overflow: hidden; }
.ap-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ap-faces { display: inline-flex; }
.ap-faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card); }
.ap-faces img + img { margin-left: -10px; }
.ap-top b { display: block; font-size: 15.5px; }
.ap-top small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); }
.ap-top small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2FA866; }
.ap-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, var(--card), var(--bone)); scrollbar-width: none; }
.ap-msgs::-webkit-scrollbar { display: none; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: 1rem; line-height: 1.45; animation: msgin .35s var(--ease) both; }
@keyframes msgin { from { opacity: 0; } to { opacity: 1; } }
.msg.them { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--cobalt); color: var(--on-field); border-bottom-right-radius: 6px; }
.msg.typing { display: inline-flex; gap: 5px; align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 15px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.ap-input { margin: 12px; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); font-size: 15px; background: #fff; }
.ask-fallback dt { font-weight: 700; margin-top: 14px; } .ask-fallback dd { margin: 4px 0 0; color: var(--soft); }
@media (max-width: 900px) { .ask { grid-template-columns: 1fr; } .ask-phone { height: 500px; } }

@media (prefers-reduced-motion: reduce) { .msg, .ev { animation: none; transition: none; } }

/* ─── iPhone on the Organic Engine card: titanium rim, thinner bezel, glass sheen (v10.1) ─── */
.iph { background: linear-gradient(135deg, #5B5E64 0%, #2A2C30 18%, #18191C 50%, #2A2C30 82%, #5E6167 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 2.5px #0C0D0F, 0 50px 80px -40px rgba(17,20,24,.6), 0 18px 30px -18px rgba(17,20,24,.45); }
.iph-glass { inset: calc(var(--iw) * .024); }
.iph-scr { inset: calc(var(--iw) * .02); width: calc(100% - var(--iw) * .04); height: calc(100% - var(--iw) * .04); border-radius: calc(var(--iw) * .082); }
.iph-glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%); }
.iph-island { width: calc(var(--iw) * .27); height: calc(var(--iw) * .075); top: calc(var(--iw) * .046); z-index: 2; }
.iph-btn { background: linear-gradient(90deg, #3A3C41, #1F2023); }
