/* Continuva guide funnel — shared styles. Brand: navy #111A2E / #0F1729, teal #0C8F96. */
@font-face { font-family: "Bricolage"; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #F3F7F8; --card: #FFFFFF; --tint: #E1F0F1; --tint2: #E9F2F4;
  --ink: #111A2E; --body: #3A4558; --mute: #5F6B7E; --line: #D6E2E6;
  --teal: #0C8F96; --teal-dk: #0A7F86; --teal-lt: #7DD3D8; --navy: #0F1729;
  --err: #B4432E;
  --disp: "Bricolage", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(17,26,46,.06), 0 12px 32px rgba(17,26,46,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
b, strong { color: var(--ink); font-weight: 700; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--disp); color: var(--ink); letter-spacing: -.2px; }
.mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #1AA6AB, #0C8F96); color: #fff;
        font: 400 22px/32px Georgia, "Times New Roman", serif; text-align: center; flex: none; }
.top .tag { font: 700 11px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal-dk); }
@media (max-width: 520px) { .top .tag { display: none; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-dk); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
h1, h2, h3 { color: var(--ink); font-family: var(--disp); font-weight: 800; letter-spacing: -.02em; }
.teal { color: var(--teal-dk); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 12px;
       background: var(--teal); color: #fff; font: 700 17px/1.1 var(--sans); text-decoration: none; cursor: pointer;
       box-shadow: 0 6px 18px rgba(12,143,150,.28); transition: background .15s, transform .15s; }
.btn:hover { background: var(--teal-dk); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, .chip input:focus-visible + span { outline: 3px solid #F2B84B; outline-offset: 2px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn .arr { font-size: 20px; line-height: 1; }

/* ---------- landing ---------- */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .hero { padding: 64px 0 80px; } .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: start; } }
.hero h1 { font-size: clamp(34px, 6.4vw, 54px); line-height: 1.04; margin-top: 16px; }
.hero .sub { font-size: 19px; line-height: 1.55; margin-top: 18px; max-width: 34em; }
.hero .by { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--mute); }
.hero .by img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--teal); object-fit: cover; }
.hero .by b { display: block; color: var(--ink); font-size: 15px; }

.formcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 20px; margin-top: 28px; }
@media (min-width: 640px) { .formcard { padding: 28px 28px 26px; } }
.formcard .fh { font: 700 19px/1.3 var(--disp); color: var(--ink); }
.formcard .fs { font-size: 14.5px; color: var(--mute); margin-top: 4px; }
.field { margin-top: 16px; }
.field label, .field legend { display: block; font: 600 14px/1.3 var(--sans); color: var(--ink); margin-bottom: 7px; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1.3fr; } }
input[type=text], input[type=email] { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid #C9D7DC; border-radius: 10px; background: #fff;
        font: 400 17px/1 var(--sans); color: var(--ink); }
input::placeholder { color: #8A95A6; }
input[aria-invalid=true] { border-color: var(--err); }
fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1.5px solid #C9D7DC; border-radius: 999px; background: #fff;
             font: 500 15px/1.2 var(--sans); color: var(--body); cursor: pointer; user-select: none; transition: all .12s; }
.chip input:checked + span { border-color: var(--teal); background: var(--tint); color: var(--ink); font-weight: 600; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; color: var(--teal-dk); font-weight: 700; }
.err { display: none; color: var(--err); font-size: 13.5px; margin-top: 6px; }
.err.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formcard .btn { width: 100%; margin-top: 22px; }
.fine { font-size: 13px; color: var(--mute); margin-top: 12px; text-align: center; }

.cover-stack { position: relative; padding: 18px 10px 30px; max-width: 520px; margin: 0 auto; }
.cover-stack img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 6px rgba(17,26,46,.10), 0 18px 40px rgba(17,26,46,.16); }
.cover-stack .b1, .cover-stack .b2 { position: absolute; top: 18px; left: 10px; width: calc(100% - 20px); }
.cover-stack .b1 { transform: rotate(-5deg) translate(-10px, 10px); opacity: .9; }
.cover-stack .b2 { transform: rotate(3.5deg) translate(12px, 6px); opacity: .95; }
.cover-stack .front { position: relative; }
.cover-stack .badge { position: absolute; right: 0; top: 0; background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 16px;
                      font: 700 13px/1 var(--sans); letter-spacing: .3px; box-shadow: var(--shadow); }
.cover-stack .badge span { color: var(--teal-lt); }
@media (min-width: 960px) { .hero .visual { padding-top: 40px; position: sticky; top: 24px; } }

section.band { padding: 64px 0; }
section.band.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.1; margin-top: 12px; }
.band .lede { font-size: 18px; margin-top: 14px; max-width: 40em; }

.cards3 { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.scard { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 22px 22px 24px; }
.scard .n { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font: 800 18px/36px var(--disp); text-align: center; }
.scard h3 { font-size: 21px; line-height: 1.2; margin-top: 14px; }
.scard p { font-size: 16px; margin-top: 8px; }
.also { margin-top: 28px; display: grid; gap: 10px; }
@media (min-width: 700px) { .also { grid-template-columns: 1fr 1fr; gap: 10px 28px; } }
.also li { list-style: none; position: relative; padding-left: 30px; font-size: 16.5px; }
.also li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); color: var(--teal-dk);
                   font: 700 12px/20px var(--sans); text-align: center; }

.story { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .story { grid-template-columns: 260px 1fr; gap: 48px; } }
.story .pic { text-align: center; }
.story .pic img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 5px solid #fff; box-shadow: 0 0 0 4px var(--teal), var(--shadow); }
.story .pic .nm { font: 700 18px/1.2 var(--disp); color: var(--ink); margin-top: 18px; }
.story .pic .cr { font: 700 11px/1 var(--sans); letter-spacing: 1.6px; color: var(--teal-dk); margin-top: 8px; text-transform: uppercase; }
.story .txt p { font-size: 18px; margin-top: 14px; }
.story .txt p:first-of-type { margin-top: 18px; }
.story .txt .sig { font: 600 17px/1.4 var(--disp); color: var(--ink); margin-top: 22px; }

.creds { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.cred { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.cred b { display: block; font-size: 16px; margin-bottom: 2px; }

.final { text-align: center; padding: 72px 0 80px; }
.final h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; max-width: 22em; margin: 12px auto 0; }
.final p { margin-top: 12px; }
.final .btn { margin-top: 26px; }

footer.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 14px; color: var(--mute); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- thank-you ---------- */
.ty-hero { padding: 40px 0 28px; }
@media (min-width: 960px) { .ty-hero { padding: 56px 0 32px; } }
.ty-hero .wrap { max-width: 920px; }
.ty-hero h1 { font-size: clamp(32px, 6vw, 50px); line-height: 1.06; margin-top: 14px; }
.ty-hero .sub { font-size: 19px; margin-top: 14px; max-width: 38em; }
.ty-hero .sub cite { font-style: normal; font-weight: 600; color: var(--ink); }
.ty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.textlink { color: var(--teal-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.deck { padding: 8px 0 24px; }
.deck .wrap { max-width: 920px; }
.slides { display: grid; gap: 18px; counter-reset: s; }
.slide { position: relative; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,26,46,.06), 0 8px 24px rgba(17,26,46,.08); border: 1px solid var(--line); }
.slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.slide .num { position: absolute; right: 8px; top: 8px; background: rgba(15,23,41,.55); color: #fff; font: 600 12px/1 var(--sans); padding: 5px 8px; border-radius: 6px; }
.progress { font-size: 14px; color: var(--mute); text-align: center; margin: 14px 0 0; }

.ctabox { background: var(--navy); color: #D5DCE6; border-radius: 18px; padding: 28px 22px; display: grid; gap: 22px; align-items: center; margin: 28px 0; }
@media (min-width: 760px) { .ctabox { grid-template-columns: auto 1fr auto; padding: 32px 34px; gap: 28px; } }
.ctabox img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--teal); }
.ctabox h2 { color: #fff; font-size: clamp(22px, 3.2vw, 28px); line-height: 1.2; }
.ctabox p { margin-top: 8px; font-size: 16px; }
.ctabox .btn { white-space: nowrap; }
.ctabox .alt { font-size: 14px; color: #AEB8C7; margin-top: 10px; }
.ctabox.compact { margin: 0; }

.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
             border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center;
             transform: translateY(110%); transition: transform .25s; }
.stickycta.on { transform: none; }
.stickycta .t { flex: 1; font: 600 14.5px/1.3 var(--sans); color: var(--ink); }
.stickycta .btn { min-height: 46px; padding: 0 18px; font-size: 15.5px; box-shadow: none; }
@media (min-width: 960px) { .stickycta { display: none; } }
.ty-page { padding-bottom: 72px; }
@media (min-width: 960px) { .ty-page { padding-bottom: 0; } }

.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; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.nw { white-space: nowrap; }
/* phone tuning: keep the tilted preview inside the screen, bring the form up */
@media (max-width: 959px) {
  .cover-stack { padding: 18px 30px 30px; max-width: 440px; }
  .cover-stack .b1, .cover-stack .b2 { left: 30px; width: calc(100% - 60px); }
  .cover-stack .b1 { transform: rotate(-4deg) translate(-6px, 8px); }
  .cover-stack .b2 { transform: rotate(3deg) translate(8px, 4px); }
}
@media (max-width: 520px) {
  .hero { padding-top: 26px; }
  .hero .sub { font-size: 17px; margin-top: 14px; }
  .hero .by { margin-top: 16px; }
  .formcard { margin-top: 22px; }
}
