/* CarryPath prelander */

:root {
  --navy-950: #07111f;
  --navy-900: #0a1628;
  --navy-800: #0f2340;
  --navy-700: #183560;
  --ink: #101827;
  --muted: #566274;
  --paper: #f6f4ee;
  --paper-2: #edeadf;
  --card: #ffffff;
  --line: #e3dfd3;
  --amber: #f4a912;
  --amber-hi: #ffc241;
  --amber-ink: #241500;
  --amber-text: #8a5700;
  --good: #16895a;
  --good-bg: #e4f4ec;
  --warn: #a5500c;
  --warn-bg: #fcf0e2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-1: 0 1px 2px rgba(10, 22, 40, .06), 0 10px 28px -12px rgba(10, 22, 40, .16);
  --shadow-2: 0 2px 4px rgba(10, 22, 40, .08), 0 40px 70px -24px rgba(3, 10, 24, .6);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 40px); }

:focus-visible { outline: 3px solid rgba(244, 169, 18, .75); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #fff; position: relative; z-index: 3; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; }
.brand__mark { width: 28px; height: 28px; }
.brand__mark path:first-child { fill: var(--amber); }
.brand__mark path:last-child { fill: none; stroke: var(--navy-900); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.topbar__note { font-size: .8rem; font-weight: 600; color: #b9c6dc; letter-spacing: .01em; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; }
.topbar__note .short { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(36px, 6vw, 80px) 0 clamp(96px, 11vw, 150px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(244, 169, 18, .24), transparent 62%),
    radial-gradient(760px 520px at -8% 108%, rgba(58, 118, 210, .38), transparent 62%),
    linear-gradient(180deg, #0a1628 0%, #0c1f3a 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 28%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 80% at 72% 28%, #000 0%, transparent 72%);
}
.hero__grid { display: grid; gap: 36px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-hi); margin-bottom: 18px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(244, 169, 18, .22); }

h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 1.25rem + 3.7vw, 3.7rem);
  line-height: 1.06; letter-spacing: -.025em;
  text-wrap: balance;
}
.geo { font-style: italic; color: var(--amber-hi); }

.lede {
  margin-top: 20px; max-width: 34em;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #c7d2e5;
}
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #eef3fb; }
.ticks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(244, 169, 18, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc241' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.hero__note { margin-top: 28px; max-width: 32em; font-size: .88rem; color: #93a4c2; }

/* ---------- Quiz card ---------- */
.card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow-2); }
.quiz { padding: clamp(22px, 3.2vw, 32px); max-width: 520px; margin-inline: auto; width: 100%; color: var(--ink); }
.quiz__kicker { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--amber-text); }
.quiz__title { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.015em; line-height: 1.2; }

.progress { margin: 18px 0 24px; height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-hi)); transition: width .45s cubic-bezier(.2, .7, .2, 1); }

html:not(.js) .quiz__body, html:not(.js) .progress { display: none; }
.quiz__noscript { margin-bottom: 16px; font-weight: 600; }

.field__label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; width: 100%;
  padding: 16px 52px 16px 18px; font-size: 1.05rem; font-weight: 600;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.select select:hover { border-color: #cdc7b6; }
.select select:focus-visible { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(244, 169, 18, .35); }
.select__chev { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.detected { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.detected .i { margin-top: 2px; color: var(--good); }
.detected strong { color: var(--ink); }
.step > .btn { margin-top: 20px; }

.q__text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; outline: none; }
.q__hint { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.q__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.opt {
  min-height: 78px; font-size: 1.2rem; font-weight: 800; letter-spacing: .01em;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s, background .15s, transform .12s, color .15s;
}
.opt:hover { border-color: var(--navy-700); background: #f1f6fd; transform: translateY(-2px); }
.opt:active { transform: scale(.98); }
.opt.is-selected { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.textbtn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 4px;
  background: none; border: 0; cursor: pointer;
  font-size: .92rem; font-weight: 700; color: var(--muted);
}
.textbtn:hover { color: var(--ink); }
.textbtn .i { width: 1.1em; height: 1.1em; }

.quiz__foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.quiz__foot .i { width: 1em; height: 1em; }

/* Results */
.result { text-align: center; }
.result .textbtn { margin-inline: auto; display: flex; justify-content: center; }
.result__icon { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.result__icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.result--pass .result__icon { background: var(--good-bg); color: var(--good); }
.result--fail .result__icon { background: var(--warn-bg); color: var(--warn); }
.result--pass .result__icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .15s ease-out forwards; stroke-width: 2.4; }
.result__title { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.015em; outline: none; }
.result__text { margin-top: 10px; color: var(--muted); }
.result__text--soft { font-size: .9rem; margin-bottom: 20px; }
.result__fine { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.recap {
  display: grid; gap: 8px; margin: 18px 0 20px; padding: 16px 18px; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .94rem; font-weight: 600;
}
.recap li { display: flex; align-items: center; gap: 10px; }
.recap li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--good-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316895a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: var(--radius-sm);
  font-size: 1.08rem; font-weight: 800; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, opacity .2s, background .2s;
}
.btn--block { width: 100%; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 1.15rem; }
.btn--primary {
  color: var(--amber-ink);
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 12px 26px -10px rgba(244, 169, 18, .8);
}
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 18px 30px -10px rgba(244, 169, 18, .9); }
.btn--primary:active:not(:disabled) { transform: translateY(0) scale(.99); }
.btn--primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn--ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy-700); }
.btn .arrow { width: 1.2em; height: 1.2em; stroke-width: 2.6; transition: transform .2s; }
.btn:hover:not(:disabled) .arrow { transform: translateX(4px); }

/* ---------- Trust strip ---------- */
.trust {
  position: relative; z-index: 2; margin-top: -58px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1);
  overflow: hidden;
}
.trust li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.trust li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust li:nth-last-child(-n + 2) { border-bottom: 0; }
.trust .i { width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: #eaf0fa; color: var(--navy-700); }
.trust span { display: grid; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.trust strong { font-size: .95rem; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section--alt { background: var(--paper-2); }
.section__head { max-width: 40em; margin-bottom: clamp(30px, 4vw, 48px); }
.kicker { margin-bottom: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.section__head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.section__head p:not(.kicker) { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

.grid { display: grid; gap: 16px; }
.req {
  padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.req:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #d6d0bf; }
.req__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: #eaf0fa; color: var(--navy-700); }
.req__icon .i { width: 24px; height: 24px; }
.req h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.005em; }
.req p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 30px 62px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: var(--amber-hi);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; border-left: 2px dashed #c9c3b0; }
.steps h3 { font-size: 1.12rem; font-weight: 800; padding-top: 9px; }
.steps p { margin-top: 4px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d3cdbb; box-shadow: var(--shadow-1); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566274' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Final CTA */
.final { padding: 0 0 clamp(60px, 8vw, 108px); }
.final__box {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 72px) 24px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(244, 169, 18, .25), transparent 62%),
    radial-gradient(500px 320px at 0% 100%, rgba(58, 118, 210, .35), transparent 62%),
    var(--navy-900);
}
.final__box h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.12; letter-spacing: -.02em; }
.final__box p { margin: 12px 0 28px; color: #c7d2e5; font-size: 1.1rem; }

/* Footer */
.footer { background: var(--navy-950); color: #8c9db9; padding: 44px 0 calc(44px + 84px); font-size: .86rem; }
.footer .wrap > * + * { margin-top: 16px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand--footer { color: #fff; font-size: 1.15rem; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: #b9c6dc; text-decoration: none; font-weight: 600; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer strong { color: #b9c6dc; }
.footer__copy { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* Sticky mobile CTA */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.sticky.is-visible { transform: none; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.hero__card { animation: rise .8s .1s cubic-bezier(.2, .7, .2, 1) both; }
.step:not([hidden]) { animation: stepIn .35s cubic-bezier(.2, .7, .2, 1) both; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .result--pass .result__icon path { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 559px) {
  .topbar__note .long { display: none; }
  .topbar__note .short { display: inline; }
  .q__opts { gap: 10px; }
}

@media (max-width: 959px) {
  .hero__note { display: none; }
  .ticks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
  .ticks li { font-size: .92rem; }
}

@media (min-width: 640px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust li, .trust li:nth-child(odd), .trust li:nth-last-child(-n + 2) { border: 0; border-right: 1px solid var(--line); }
  .trust li:last-child { border-right: 0; }
  .trust li { padding: 22px 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding: 62px 0 0; }
  .steps li:not(:last-child)::after { left: 56px; right: -20px; top: 21px; bottom: auto; border-left: 0; border-top: 2px dashed #c9c3b0; }
  .sticky { display: none; }
  .footer { padding-bottom: 44px; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .quiz { margin-inline: 0 0; margin-left: auto; }
}
