
:root{
--bg:#0B0A12;
--bg-grad-a: rgba(255,122,61,0.16);
--bg-grad-b: rgba(139,92,246,0.20);
--surface:#15111F;
--surface-2:#1C1729;
--surface-3:#241C36;
--border: rgba(245,243,247,0.10);
--border-strong: rgba(245,243,247,0.18);
--text:#F5F3F7;
--text-muted:#A79FB8;
--text-faint:#6E6680;
--orange:#FF7A3D;
--orange-strong:#FF9257;
--purple:#8B5CF6;
--purple-strong:#A78BFA;
--danger:#FF6B6B;
--good:#4ADE80;
--shadow: 0 20px 60px rgba(0,0,0,0.45);
--radius-lg: 20px;
--radius-md: 14px;
--radius-sm: 10px;
}
:root[data-theme="light"]{
--bg:#FAF8F6;
--bg-grad-a: rgba(255,122,61,0.10);
--bg-grad-b: rgba(139,92,246,0.10);
--surface:#FFFFFF;
--surface-2:#F3EFEA;
--surface-3:#ECE5DC;
--border: rgba(20,16,28,0.10);
--border-strong: rgba(20,16,28,0.18);
--text:#1B1626;
--text-muted:#5B5468;
--text-faint:#8C849C;
--orange:#E85F22;
--orange-strong:#C94E19;
--purple:#6D3FD1;
--purple-strong:#5B31B8;
--danger:#C4453D;
--good:#1E9E5A;
--shadow: 0 20px 50px rgba(30,20,10,0.10);
}

*{ box-sizing:border-box; }
body{ background: var(--bg); }

.page{
min-height:100%;
background:
radial-gradient(circle at 12% -6%, var(--bg-grad-b), transparent 42%),
radial-gradient(circle at 92% 8%, var(--bg-grad-a), transparent 38%),
var(--bg);
color: var(--text);
font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
display:flex;
flex-direction:column;
padding: 32px 20px 64px;
gap: 20px;
}
@media (min-width: 641px){
.page{ padding: 40px 32px 96px; gap: 24px; }
}

a{ color:inherit; }
button, input, textarea{ font-family: inherit; }

/* ---- site nav: matches the header used across every other Harvi page ---- */
.site-nav{
display:flex;
align-items:center;
justify-content:space-between;
max-width: 820px;
margin: 0 auto;
width:100%;
gap: 16px;
flex-wrap: wrap;
position: sticky;
top: env(safe-area-inset-top, 0px);
z-index: 5;
padding: 6px 0 4px;
min-height:44px;
}
.nav-logo{
font-family:"Permanent Marker", cursive;
font-size: 26px;
line-height: 1;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
cursor: pointer;
flex: none;
}
.nav-links{
display:flex;
align-items:center;
gap: 24px;
flex-wrap: wrap;
}
.nav-links a{
font-family: "Inter", sans-serif;
font-size: 14px;
font-weight: 500;
color: oklch(0.96 0.01 260);
text-decoration: none;
white-space: nowrap;
}
.nav-links a:hover{ color: var(--orange-strong); }
.nav-cta{
font-weight: 600;
font-size: 13px;
color: oklch(0.96 0.01 260) !important;
background: oklch(0.65 0.19 305);
padding: 10px 20px;
border-radius: 100px;
transition: opacity .15s ease;
}
.nav-cta:hover{ opacity: .88; color: oklch(0.96 0.01 260) !important; }

.schedule-row{
max-width: 820px;
margin: 0 auto;
width: 100%;
display: flex;
justify-content: flex-end;
}
.schedule-pill{
display:inline-flex;
align-items:center;
gap:7px;
background: var(--surface-2);
border: 1px solid var(--border-strong);
color: var(--text);
font-size: 13px;
font-weight: 700;
padding: 9px 14px;
border-radius: 999px;
text-decoration:none;
white-space: nowrap;
transition: border-color .15s ease, transform .12s ease;
}
.schedule-pill:hover{ border-color: var(--orange-strong); transform: translateY(-1px); }
.schedule-pill .dot{ width:7px; height:7px; border-radius:50%; background: var(--good); flex:none; }
.schedule-pill.scheduled{ border-color: var(--good); }

.stage{
max-width: 820px;
margin: 44px auto 0;
width: 100%;
flex: 1;
display:flex;
flex-direction:column;
}
@media (min-width: 641px){ .stage{ margin-top: 80px; } }

h1{
font-size: clamp(24px, 4.2vw, 36px);
line-height: 1.15;
letter-spacing: -0.01em;
text-wrap: balance;
margin: 0 0 12px;
font-weight: 800;
}
.lede{
color: var(--text-muted);
font-size: 15.5px;
line-height: 1.55;
max-width: 62ch;
margin: 0 0 22px;
}
.lede strong{ color: var(--text); }

.playful-tag{
display:inline-flex; align-items:center; gap:7px;
font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.1em;
color: var(--purple-strong);
background: var(--surface-2);
border: 1px solid var(--border-strong);
padding: 6px 12px;
border-radius: 999px;
margin-bottom: 14px;
}

/* ---- contact step ---- */
.contact-card{
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 44px;
box-shadow: var(--shadow);
display:flex;
flex-direction:column;
gap:18px;
min-width:0;
}
@media (max-width: 640px){ .contact-card{ padding: 28px 24px; } }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width:0; }
@media (max-width: 640px){ .field-row{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.field label{ font-size:12.5px; font-weight:700; color: var(--text-muted); text-transform:uppercase; letter-spacing:.08em; }
.field label .opt{ text-transform:none; font-weight:500; color: var(--text-muted); opacity:.85; }
.field input{
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text);
padding: 11px 13px;
font-size:15px;
outline:none;
width:100%;
min-width:0;
}
.field input::placeholder{ color: var(--text-muted); opacity:.75; }
.field input:focus{ border-color: var(--purple-strong); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus{
-webkit-text-fill-color: var(--text);
caret-color: var(--text);
transition: background-color 9999s ease-in-out 0s;
box-shadow: 0 0 0px 1000px var(--surface-2) inset;
border-color: var(--border);
}
.field input[aria-invalid="true"]{ border-color: var(--danger); }
.field-error{
font-size:12.5px;
color: var(--danger);
margin:0;
min-height:0;
}
.contact-actions{ display:flex; justify-content:flex-end; padding-top:6px; }
.consent-text{
font-size:12px;
color: var(--text-muted);
line-height:1.5;
margin: 2px 0 0;
text-align:center;
}
.consent-text a{ color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ---- two-column hero + panel layout for the intro step ---- */
.contact-grid{
display:grid;
grid-template-columns: minmax(0,1fr) minmax(0,1fr);
gap: 72px;
align-items:start;
}
@media (max-width: 820px){
.contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}
.contact-copy h1{ margin-bottom: 20px; }
.contact-copy .lede{ margin-bottom: 32px; }
.harvi-badge-card{
display:flex;
align-items:center;
gap:16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 18px 20px;
margin-top: 32px;
max-width: 440px;
}
.harvi-badge-mark{
font-family:"Permanent Marker", cursive;
font-size: 22px;
line-height: 1;
flex:none;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.harvi-badge-card p{ margin:0; font-size:13.5px; color: var(--text-muted); line-height:1.5; }
.contact-card-head{ margin-bottom: 2px; }
.contact-card-head h2{ font-size: 21px; font-weight:800; margin:0 0 6px; }
.contact-card-head p{ font-size:13.5px; color: var(--text-muted); margin:0; line-height:1.5; }
.contact-card .contact-actions{ justify-content:stretch; }
.contact-card .contact-actions .primary-btn{ width:100%; justify-content:center; }
.contact-card-foot{ font-size:12.5px; color: var(--text-muted); margin: 4px 0 0; text-align:center; line-height:1.5; }
.contact-card-foot a{ color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ---- shared: input card (question + answer) ---- */
.q-meta{ display:flex; align-items:center; gap:10px; margin-bottom:10px; flex-wrap:wrap; }
.q-eyebrow{
font-size: 11.5px; text-transform:uppercase; letter-spacing:.12em; font-weight:700;
color: var(--orange-strong);
}
.q-progress{ font-size:12px; color: var(--text-faint); }
.followup-badge{
display:inline-flex; align-items:center; gap:6px;
font-size: 11.5px; font-weight:700;
color: var(--purple-strong);
background: var(--surface-3);
border: 1px solid var(--border-strong);
padding: 4px 10px;
border-radius: 999px;
}
.followup-badge::before{ content:"\21B3"; }

.question-card{
background: var(--surface);
border: 1px solid var(--border);
border-left: 4px solid var(--orange-strong);
border-radius: var(--radius-md);
padding: 18px 20px;
margin-bottom: 18px;
scroll-margin-top: 16px;
}
.question-card h1{ margin-bottom: 0; }
.question-card.enter{
animation: question-slide .45s cubic-bezier(.16,1,.3,1) both,
question-flash 1.2s ease both;
}
@keyframes question-slide{
0%{ opacity:0; transform: translateY(12px); }
100%{ opacity:1; transform: translateY(0); }
}
@keyframes question-flash{
0%{ background: linear-gradient(100deg, rgba(255,122,61,0.20), rgba(139,92,246,0.24)); border-left-color: var(--purple-strong); }
100%{ background: var(--surface); border-left-color: var(--orange-strong); }
}

.input-card{
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 18px;
box-shadow: var(--shadow);
}
textarea{
width:100%;
resize: vertical;
min-height: 88px;
background: transparent;
border: none;
outline: none;
color: var(--text);
font-size: 17px;
line-height: 1.5;
padding: 6px 4px 14px;
}
textarea::placeholder{ color: var(--text-faint); }

.input-row{
display:flex;
align-items:center;
gap: 10px;
flex-wrap: wrap;
padding-top: 12px;
border-top: 1px solid var(--border);
}

.mic-btn{
display:inline-flex; align-items:center; gap: 8px;
background: var(--surface-2);
border: 1px solid var(--border-strong);
color: var(--text);
padding: 10px 16px;
border-radius: 999px;
font-size: 14px; font-weight: 600;
cursor:pointer;
transition: border-color .15s ease, background .15s ease;
}
.mic-btn:hover{ border-color: var(--purple-strong); }
.mic-btn.recording{
background: linear-gradient(100deg, rgba(255,122,61,0.22), rgba(139,92,246,0.28));
border-color: var(--orange-strong);
}
.mic-dot{ width:8px; height:8px; border-radius:50%; background: var(--danger); flex: none; }
.mic-btn.recording .mic-dot{ animation: pulse-dot 1.1s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.35; transform:scale(0.7);} }
.mic-status{ font-size: 13px; color: var(--text-faint); flex: 1 1 auto; min-width: 80px; }

.primary-btn{
appearance:none; border:none; cursor:pointer;
font-weight: 700; font-size: 15px;
color: #150E1F;
padding: 12px 20px;
border-radius: 999px;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
box-shadow: 0 8px 24px rgba(139,92,246,0.28);
text-decoration:none;
display:inline-flex; align-items:center; gap: 8px;
transition: transform .12s ease, box-shadow .12s ease;
}
.primary-btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 30px rgba(139,92,246,0.36); }
.primary-btn:disabled{ opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; }

.ghost-btn{
appearance:none; background:transparent;
border: 1px solid var(--border-strong);
color: var(--text-muted);
font-weight: 600; font-size: 13.5px;
padding: 10px 16px;
border-radius: 999px;
cursor:pointer;
}
.ghost-btn:hover{ color: var(--text); border-color: var(--purple-strong); }
.text-link{
appearance:none; background:none; border:none; cursor:pointer;
color: var(--text-faint); font-size: 13px; text-decoration: underline;
text-underline-offset: 2px; padding: 6px 2px;
}
.text-link:hover{ color: var(--text-muted); }

.fallback-note{
margin-top: 16px;
font-size: 13px;
color: var(--text-faint);
background: var(--surface);
border: 1px dashed var(--border-strong);
border-radius: var(--radius-md);
padding: 14px 16px;
line-height: 1.5;
}

.thinking{
display:flex; flex-direction:column; align-items:center; justify-content:center;
gap: 16px; padding: 34px 10px; text-align:center;
}
.pulse{
width: 46px; height:46px; border-radius: 50%;
background: linear-gradient(135deg, var(--orange), var(--purple));
animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe{ 0%,100%{ transform: scale(0.85); opacity:.7;} 50%{ transform: scale(1.05); opacity:1;} }
.thinking p{ color: var(--text-muted); font-size: 14px; }

/* ---- mosaic of unlocked reveal tiles ---- */
.mosaic{
display:grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
margin: 22px 0 6px;
}
@media (max-width: 620px){ .mosaic{ grid-template-columns: 1fr; } }
.tile{
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 16px 18px;
box-shadow: var(--shadow);
animation: pop-in .35s ease both;
}
@keyframes pop-in{ from{ opacity:0; transform: scale(.94) translateY(6px);} to{ opacity:1; transform:none; } }
.tile-label{
display:block; font-size: 11px; text-transform: uppercase; letter-spacing:.12em;
font-weight:700; color: var(--purple-strong); margin-bottom:8px;
}
.tile-headline{ font-size: 18px; font-weight: 800; margin: 0 0 6px; line-height:1.25; }
.tile p{ margin:0 0 6px; font-size: 14px; line-height:1.5; color: var(--text-muted); }
.tile p:last-child{ margin-bottom:0; }
.tile .metaphor{ font-style: italic; color: var(--text); }
.tile .kv{ margin-bottom:8px; }
.tile .kv b{ color: var(--text); }

.below-mosaic{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:4px; }

.schedule-banner{
display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
background: linear-gradient(100deg, rgba(255,122,61,0.12), rgba(139,92,246,0.14));
border: 1px solid var(--border-strong);
border-radius: var(--radius-md);
padding: 16px 18px;
margin: 18px 0 4px;
}
.schedule-banner p{ margin:0; font-size:14px; color: var(--text-muted); max-width:44ch; }
.schedule-banner strong{ color: var(--text); }

/* ---- wrap-up ---- */
.result-hero{
background: linear-gradient(125deg, rgba(255,122,61,0.24), rgba(139,92,246,0.30));
border: 1px solid var(--border-strong);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: 44px 28px;
text-align: center;
margin-bottom: 20px;
animation: pop-in .5s cubic-bezier(.16,1,.3,1) both;
}
.result-hero .wrap-eyebrow{ color: var(--text); opacity: .8; }
.hero-archetype{
font-size: clamp(30px, 6vw, 50px);
font-weight: 800;
line-height: 1.1;
margin: 8px 0 14px;
text-wrap: balance;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-tagline{
font-size: 17px;
color: var(--text);
max-width: 54ch;
margin: 0 auto;
line-height: 1.5;
}

.book-hero .wrap-eyebrow{ color: var(--text); opacity:.8; }
.book-headline{
font-size: clamp(28px, 5.4vw, 44px);
font-weight: 800;
line-height: 1.12;
margin: 8px 0 14px;
text-wrap: balance;
color: var(--text);
}
.why-fit{
font-size: 16px;
color: var(--text);
opacity: .92;
max-width: 58ch;
margin: 0 auto 22px;
line-height: 1.55;
}
.book-hero .cta-row{ justify-content:center; margin-top:0; }
.book-hero .schedule-complete{ text-align:left; }

.profile-card{
position: relative;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: 26px;
margin-bottom: 18px;
}
.profile-watermark{
position: absolute;
top: 16px; right: 18px;
font-family: "Permanent Marker", cursive;
font-size: 16px;
opacity: .5;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
pointer-events: none;
}
.profile-archetype{
font-size: clamp(22px, 3.6vw, 30px);
font-weight: 800;
margin: 4px 60px 8px 0;
text-wrap: balance;
}
.profile-tagline{
font-size: 15px;
color: var(--text-muted);
max-width: 58ch;
margin: 0 0 4px;
line-height: 1.5;
}

.share-block{
margin-top: 20px;
padding-top: 18px;
border-top: 1px solid var(--border);
}
.share-block .share-label{
font-size: 13.5px;
font-weight: 700;
margin: 0 0 4px;
}
.share-block .share-hint{
font-size: 12.5px;
color: var(--text-faint);
margin: 0 0 12px;
}
.share-block .share-hint b{ color: var(--purple-strong); }
.share-caption{
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 12px 14px;
font-size: 13.5px;
color: var(--text-muted);
line-height: 1.5;
margin-bottom: 12px;
}

.wrap-card{
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
padding: 22px 26px;
}
.wrap-eyebrow{ display:block; font-size:12px; text-transform:uppercase; letter-spacing:.14em; font-weight:700; color: var(--orange-strong); margin-bottom:8px; }
.wrap-card h2{ font-size: clamp(24px,3.6vw,30px); margin:0 0 10px; font-weight:800; text-wrap:balance; }
.wrap-card .sub{ color:var(--text-muted); font-size:14px; margin:0 0 18px; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top: 22px; }
.copy-status{ font-size:12.5px; color: var(--good); }

.schedule-complete{
display:flex; align-items:center; gap:12px;
background: rgba(74,222,128,0.12);
border: 1px solid rgba(74,222,128,0.38);
border-radius: var(--radius-md);
padding: 14px 16px;
font-size: 14px;
color: var(--text);
margin-top: 20px;
}
.check-dot{
width:20px; height:20px; border-radius:50%;
background: var(--good);
flex: none;
position: relative;
}
.check-dot::after{
content:"";
position:absolute; left:6px; top:4px;
width:6px; height:10px;
border-right:2px solid #0B0A12;
border-bottom:2px solid #0B0A12;
transform: rotate(40deg);
}

.footer{
max-width: 820px; margin: 40px auto 0; width:100%; text-align:center;
font-size: 12.5px; color: var(--text-muted);
display:flex; flex-direction:column; align-items:center; gap:14px;
}
.footer a{ color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-brand{
font-family:"Permanent Marker", cursive;
font-size: 18px;
background: linear-gradient(100deg, var(--orange-strong), var(--purple-strong));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.footer-links{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.footer-links a{ text-decoration:none; color: var(--text-muted); }
.footer-links a:hover{ color: var(--text); }
.footer-copyright{ color: var(--text-faint); font-size:12px; }

[hidden]{ display:none !important; }

@media (prefers-reduced-motion: reduce){
.pulse, .mic-btn.recording .mic-dot, .tile, .question-card.enter, .result-hero{ animation: none; }
}


/* ===== Harvi mobile-only fixes (added; no existing rule above is edited) ===== */
@media (max-width: 768px){
  .site-nav{ flex-wrap:nowrap !important; }
  .nav-logo{ font-size:20px !important; }
  .nav-links{ display:none !important; }
  #harviHamburgerBtn{ display:flex !important; }
  #harviMobileMenu.harvi-open{ display:flex !important; }
  html, body{ max-width:100vw; overflow-x:hidden; }
  h1, h2, h3{ overflow-wrap:anywhere; word-break:break-word; }
  img, svg, video{ max-width:100%; height:auto; }
  /* F. Founder Read form: full-width controls, 16px+ inputs so iOS doesn't zoom */
  .field input{ font-size:16px !important; }
  .contact-actions{ justify-content:stretch !important; }
  .primary-btn, .ghost-btn, .mic-btn{ width:100% !important; justify-content:center !important; }
  .input-row{ flex-direction:column; align-items:stretch !important; }
  .input-row .mic-status{ text-align:center; }
}
@media (min-width: 769px){
  #harviHamburgerBtn{ display:none !important; }
  #harviMobileMenu{ display:none !important; }
}
#harviHamburgerBtn{
  display:none; align-items:center; justify-content:center;
  width:44px; height:44px; background:transparent;
  border:1px solid rgba(255,255,255,0.35); border-radius:8px;
  color:#fff; font-size:20px; line-height:1; cursor:pointer; flex:none; padding:0;
}
#harviMobileMenu{
  display:none; position:fixed; top:0; left:0; right:0; bottom:0;
  background:#000; flex-direction:column; padding:80px 24px 24px;
  z-index:9999; overflow-y:auto;
}
#harviMobileMenu a{
  color:#fff !important; font-size:18px; font-weight:600;
  text-decoration:none; padding:14px 4px; min-height:44px;
  display:flex; align-items:center;
  border-bottom:1px solid rgba(255,255,255,0.14); background:none !important;
}
#harviMobileMenu a.nav-cta{
  margin-top:12px; border:1px solid rgba(255,255,255,0.35); border-radius:10px; justify-content:center;
  background:none !important;
}
