/* The guide funnel's shared styles: /guide/, /guide/ready/, /guide/not-a-fit/ and /apply/. Built on tokens.css.
   A rule two funnel pages use lives here, once; a page keeps inline only what no other page has. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--dd-ink);color:var(--fg-1);font-family:var(--font-sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--dd-blue-400)}a:hover{color:var(--dd-blue-100)}
:focus-visible{outline:2px solid var(--dd-blue);outline-offset:3px;border-radius:4px}
[hidden]{display:none !important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nowrap{white-space:nowrap}

/* Layout */
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.narrow{max-width:760px}
section{padding:96px 0}
.rule-top{border-top:1px solid var(--border-1)}
.stack{display:flex;flex-direction:column}
.g-16{gap:16px}.g-24{gap:24px}.g-32{gap:32px}.g-48{gap:48px}

/* Type */
h1,h2,h3{margin:0;font-weight:800;letter-spacing:-0.02em;color:var(--fg-1)}
h1{font-size:clamp(2.125rem,1.1rem + 4.4vw,3.75rem);line-height:1.04;letter-spacing:-0.03em;text-wrap:balance}
h2{font-size:clamp(1.875rem,1.25rem + 2.2vw,2.75rem);line-height:1.1;text-wrap:balance}
h3{font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-0.01em;text-wrap:balance}
.page-title{font-size:clamp(2rem,1.4rem + 2.6vw,3rem)}
.section-title{font-size:clamp(1.5rem,1.2rem + 1.2vw,2rem)}
p,li{text-wrap:pretty}
p{margin:0}
.lede{font-size:19px;line-height:1.55;color:var(--fg-2);max-width:62ch}
.muted{color:var(--fg-2)}
.small{font-size:14px;line-height:1.5;color:var(--fg-3)}
/* The brand's hero accent (as on the home page): Instrument Serif italic in the blue-to-marigold blend, in an h1. */
.serif{font-family:var(--font-serif);font-style:italic;font-weight:400;letter-spacing:-0.01em}
h1 .serif{background:linear-gradient(90deg,#2B83F7 0%,#9AA6B8 52%,#F5A524 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:0.06em}
h2 .serif,.cover .serif{color:var(--dd-marigold)}

/* Buttons: marigold is the site's one "take the next step" colour */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 24px;border-radius:8px;font-family:var(--font-sans);font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background 160ms ease,border-color 160ms ease,color 160ms ease,opacity 160ms ease}
.btn-primary{background:var(--dd-marigold);color:var(--dd-ink)}
.btn-primary:hover{background:#FFB940;color:var(--dd-ink)}
.btn-primary[disabled]{opacity:0.7;cursor:progress}
.btn-ghost{background:transparent;color:var(--fg-1);border-color:var(--border-strong)}
.btn-ghost:hover{border-color:var(--fg-1);color:var(--fg-1)}
.btn-sm{min-height:44px;padding:0 16px;font-size:14px}
.btn-block{width:100%}
.btn.is-locked{opacity:0.45;cursor:not-allowed;filter:grayscale(1)}
.btn.is-locked:hover{background:var(--dd-marigold)}
.arrow{transition:transform 160ms ease}.btn:hover .arrow{transform:translateX(3px)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-underline-offset:3px}

/* Nav */
.nav{position:sticky;top:0;z-index:60;background:rgba(11,15,20,0.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--border-1)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px}
.nav-logo{display:flex;align-items:center;min-height:44px;gap:10px;font-weight:700;font-size:16px;letter-spacing:-0.01em;color:var(--fg-1);text-decoration:none}
.nav-logo:hover{color:var(--fg-1)}
.nav-logo img{width:30px;height:30px;display:block}

/* The guide at thumbnail size */
.mini-cover{display:none;position:relative;width:74px;aspect-ratio:8.5/11;border-radius:3px 7px 7px 3px;padding:9px 8px;flex-direction:column;justify-content:space-between;background:linear-gradient(160deg,#1A2533 0%,#0E141B 70%);border:1px solid var(--border-2);box-shadow:0 10px 26px rgba(0,0,0,0.5),-4px 0 0 -2px #0A0D12;overflow:hidden;flex:0 0 auto}
.mini-cover b{font-size:10.5px;line-height:1.02;font-weight:800;letter-spacing:-0.02em;color:var(--fg-1)}
.mini-cover b i{display:block;font-family:var(--font-serif);font-weight:400;font-size:1.1em;color:var(--dd-marigold)}
.mini-cover span{display:flex;align-items:flex-end;gap:2px;height:14px}
.mini-cover span i{flex:1;background:var(--dd-blue);border-radius:1px 1px 0 0}
.mini-cover span i:last-child{background:var(--dd-marigold)}

/* Video */
.video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:16px;overflow:hidden;border:1px solid var(--border-2);background:var(--dd-ink-2);box-shadow:var(--shadow-3)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.caption{font-size:15px;line-height:1.55;color:var(--fg-2);max-width:760px}

/* Lists */
.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.checks li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;font-size:17px;line-height:1.5;color:var(--fg-1)}
.checks li::before{content:"";width:22px;height:22px;margin-top:2px;border-radius:999px;background:rgba(245,165,36,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A524' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat}
.dots{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.dots li{position:relative;padding-left:22px;font-size:16px;line-height:1.55;color:var(--fg-2)}
.dots li::before{content:"";position:absolute;left:2px;top:0.66em;width:7px;height:7px;border-radius:999px;background:var(--dd-blue)}
.dots ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.dots ul li{font-size:15px;color:var(--fg-3);padding-left:20px}
.dots ul li::before{background:transparent;border:1px solid var(--fg-3);width:6px;height:6px}

/* Cards */
.card{border-radius:16px;background:var(--dd-ink-2);border:1px solid var(--border-1);padding:32px}
.card-warm{border-color:rgba(245,165,36,0.35);background:rgba(245,165,36,0.06)}
.badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:rgba(45,212,160,0.14);color:var(--status-good)}

/* Forms */
.form-card{scroll-margin-top:76px;border-radius:18px;background:var(--dd-ink-2);border:1px solid var(--border-2);box-shadow:var(--shadow-3);padding:32px}
.form-title{font-size:clamp(1.5rem,1.2rem + 0.9vw,1.875rem);line-height:1.15;font-weight:800;letter-spacing:-0.02em}
.progress{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}
.progress-label{display:flex;justify-content:space-between;font-family:var(--font-mono);font-size:12px;letter-spacing:0.06em;color:var(--fg-3)}
.progress-track{height:6px;border-radius:999px;background:var(--border-1);overflow:hidden}
.progress-fill{height:100%;width:12.5%;border-radius:999px;background:linear-gradient(90deg,var(--dd-blue),var(--dd-marigold));transition:width 260ms cubic-bezier(0.16,1,0.3,1)}
.choices{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.choice{position:relative;display:flex}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice span{flex:1;display:flex;align-items:center;min-height:52px;padding:12px 16px;border-radius:10px;border:1px solid var(--border-strong);background:var(--dd-ink);font-size:16px;font-weight:600;line-height:1.35;color:var(--fg-1);cursor:pointer;transition:border-color 140ms ease,background 140ms ease}
.choice span:hover{border-color:rgba(255,255,255,0.45)}
.choice input:focus-visible+span{outline:2px solid var(--dd-blue);outline-offset:2px}
.choice input:checked+span{border-color:var(--dd-marigold);background:rgba(245,165,36,0.1)}
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field label,.field legend{padding:0;font-size:15px;font-weight:700;color:var(--fg-1)}
.field input[type="text"],.field input[type="email"],.field input[type="url"],.field input[type="tel"],.field textarea{width:100%;min-height:52px;padding:0 16px;border-radius:10px;border:1px solid var(--border-strong);background:var(--dd-ink);color:var(--fg-1);font-family:var(--font-sans);font-size:16px;line-height:1.4;transition:border-color 140ms ease,box-shadow 140ms ease}
.field textarea{min-height:110px;padding:14px 16px;resize:vertical}
.field input:hover,.field textarea:hover{border-color:rgba(255,255,255,0.4)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--dd-blue);box-shadow:0 0 0 3px var(--dd-blue-glow)}
fieldset.field{border:0;margin:0;padding:0}
.field legend{margin-bottom:8px}
.fields{display:flex;flex-direction:column;gap:22px}
.check{display:flex;gap:12px;align-items:center;min-height:44px;font-size:15px;line-height:1.5;color:var(--fg-2);cursor:pointer}
.check input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--dd-blue)}
.honey{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-error{display:none;margin-top:16px;padding:12px 14px;border-radius:8px;border:1px solid rgba(242,106,106,0.5);background:rgba(242,106,106,0.08);font-size:14px;line-height:1.5;color:var(--fg-1)}
/* Tyler, under a form: the funnel's one face at the moment someone decides */
.proof{display:flex;align-items:center;gap:14px;margin-top:20px;padding-top:20px;border-top:1px solid var(--border-1)}
.proof img{width:44px;height:44px;border-radius:999px;object-fit:cover;object-position:center 15%;flex:0 0 auto}
.proof p{font-size:14px;line-height:1.45;color:var(--fg-2)}
.proof strong{color:var(--fg-1);font-weight:600}

/* FAQ: one component for the whole funnel */
.faq{border-top:1px solid var(--border-1)}
.faq details{border-bottom:1px solid var(--border-1)}
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:20px 0;cursor:pointer;font-weight:700;font-size:18px;line-height:1.4;color:var(--fg-1)}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover .chev{border-color:var(--border-strong)}
.faq .chev{flex:0 0 auto;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-2);border-radius:999px;color:var(--dd-blue-400);transition:transform 200ms cubic-bezier(0.16,1,0.3,1),border-color 160ms ease}
.faq details[open] .chev{transform:rotate(180deg)}
.faq .ans{display:flex;flex-direction:column;gap:14px;max-width:66ch;padding:0 44px 24px 0;font-size:16px;line-height:1.65;color:var(--fg-2)}
.faq-video{display:grid;gap:12px}
.faq-video h3{font-size:18px}

/* Footer */
.footer{background:var(--dd-ink-2);border-top:1px solid var(--border-1);padding:48px 0 32px}
.footer-top{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding-bottom:28px;border-bottom:1px solid var(--border-1)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-top:16px;font-size:13px;color:rgba(255,255,255,0.6)}
.footer-bottom a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;color:rgba(255,255,255,0.6);text-decoration:none}.footer-bottom a:hover{color:var(--fg-1)}
.legal-links{display:flex;gap:12px}

/* The page head of /guide/ready/, /guide/not-a-fit/ and /apply/ */
.page-head{padding:64px 0 40px}
.ready-head{display:flex;align-items:center;gap:24px}
.ready-head .mini-cover{display:flex;width:112px;padding:13px 12px}
.ready-head .mini-cover b{font-size:15px}
.ready-head .mini-cover span{height:22px;gap:3px}
.paths{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}
.paths .card{display:flex;flex-direction:column;gap:16px}
.proof-line{max-width:72ch;font-size:16px;line-height:1.6;color:var(--fg-2);padding-top:24px;border-top:1px solid var(--border-1)}
.known{font-size:15px;line-height:1.5;color:var(--fg-2)}
.known button{border:0;background:none;padding:0;min-height:44px;color:var(--dd-blue-400);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.scheduler{min-height:720px;border-radius:16px;overflow:hidden;border:1px solid var(--border-2);background:var(--dd-ink)}

@media (max-width:880px){.paths{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
  .wrap{padding:0 20px}
  section{padding:64px 0}
  .page-head{padding:40px 0 24px}
  .ready-head{gap:16px}
  .ready-head .mini-cover{width:84px;padding:10px 9px}
  .ready-head .mini-cover b{font-size:11.5px}
  .card,.form-card{padding:22px}
  .lede{font-size:17px}
  .faq summary{font-size:17px}
  .faq .ans{padding-right:0}
  /* On a phone every button in a row of actions is a full-width, thumb-sized target */
  .actions .btn,.paths .btn{width:100%}
  .scheduler{min-height:900px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none !important;animation:none !important}}
