/* Template layouts T1–T7b (site/build.py). Values from design/templates-export (1440 desktop, 375 phone). */

/* ---------- page hero (T2–T7b): copy left, job ticket right ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 90px var(--px); border-bottom: 1.5px solid var(--line); background: var(--off); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 880px) minmax(300px, 386px); justify-content: space-between; gap: 46px; align-items: center; }
.hero-grid.no-card { grid-template-columns: minmax(0, 880px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy .lead { max-width: 680px; }
.hero-copy .btns { padding-top: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.meta li { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--mut-2); }
.meta svg { width: 16px; height: 16px; }
.list-hero { padding: 88px var(--px) 72px; border-bottom-width: 1px; }
.list-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.list-hero .lead { font-size: clamp(16px, 1.39vw, 20px); line-height: 1.55; color: var(--mut-2); max-width: 760px; }
.list-hero .lead a { color: inherit; text-decoration: none; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero .ticket { display: none; } /* phone frames drop the hero card */
}
@media (max-width: 640px) {
  .page-hero { padding: 48px var(--px); }
  .hero-copy { gap: 20px; }
  .hero-copy .lead p { font-size: 16px; line-height: 1.56; }
  .offer-line { font-size: 14px; }
  .list-hero { padding: 48px var(--px); }
}

/* ---------- T1 home ---------- */
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0 var(--px); background: var(--off); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 40px; align-items: start; min-height: 780px; }
.home-hero .hero-copy { gap: 28px; padding: 150px 0 72px; }
.home-hero .btns { flex-wrap: nowrap; position: relative; z-index: 3; }
.home-hero .offer-line { max-width: 640px; }
.home-hero .lead p { font-size: 19px; line-height: 1.58; }
.home-hero .h1 { max-width: 560px; }
.stage { position: relative; height: 780px; }
.stage > .fx { inset: 0 calc(-1 * var(--px)) 0 22%; z-index: 0; }
.stage .browser-wrap { position: absolute; top: 150px; right: 16px; width: 560px; max-width: 92%; z-index: 1; }
.browser-ink { position: absolute; inset: 14px -14px -14px 14px; background: var(--mist); border-radius: 10px; }
.browser { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); height: 470px; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bed); border-bottom: 1.5px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E3DED3; }
.browser-url { flex: 1; display: flex; gap: 6px; align-items: center; background: var(--white); border-radius: 5px; padding: 6px 12px; font-size: 12px; color: var(--mut-2); }
.browser-url svg { width: 12px; height: 12px; }
.site { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.site-nav { display: flex; justify-content: space-between; align-items: center; font: 15px var(--h); }
.site-nav span { display: flex; gap: 10px; }
.site-nav i, .site-line { display: block; height: 7px; width: 38px; border-radius: 3px; background: #E4E0D6; }
.site-line { height: 8px; max-width: 90%; border-radius: 4px; }
.site-h { font: 26px/1.4 var(--h); max-width: 330px; }
.site-btn { align-self: flex-start; background: var(--navy); color: var(--white); font: 700 13px var(--b); padding: 10px 16px; border-radius: 4px; }
.visitors { position: absolute; left: 6px; top: 440px; width: 400px; max-width: 80%; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.visitors-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.pill-up { display: inline-flex; gap: 5px; align-items: center; background: #E3F1E7; color: var(--green); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 4px; }
.pill-up svg { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; gap: 7px; align-items: center; background: var(--chip); font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 4px; }
.chip svg { width: 14px; height: 14px; }
.toast { position: absolute; right: 29px; top: 120px; z-index: 3; display: flex; gap: 12px; align-items: center; background: var(--navy); color: var(--white); padding: 14px 18px; border-radius: 10px; box-shadow: var(--shadow); }
.toast-ico { width: 34px; height: 34px; border-radius: 50%; background: #2B3C63; display: grid; place-items: center; }
.toast-ico svg { width: 16px; height: 16px; }
.toast b { display: block; font-size: 14px; }
.toast small { display: block; font-size: 12px; color: var(--mut); }
@media (max-width: 1240px) { .home-hero .btns { flex-wrap: wrap; } }
@media (max-width: 1024px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .home-hero .hero-copy { padding: 48px 0 24px; }
  .home-hero .btns { flex-wrap: wrap; }
  .stage { height: 520px; max-width: 620px; width: 100%; }
  .stage .browser-wrap { top: 0; left: 0; right: auto; width: 100%; max-width: 100%; }
  .browser { height: 380px; }
  .visitors { display: none; } /* phone frame shows browser + toast only */
  .toast { right: auto; left: 0; top: 410px; }
  .stage > .fx { display: none; }
}
@media (max-width: 640px) {
  .home-hero .hero-copy { gap: 22px; padding-top: 40px; }
  .home-hero .lead p { font-size: 16px; line-height: 1.56; }
  .stage { height: 450px; }
  .browser { height: 380px; }
  .site { padding: 18px 16px; }
  .site-h { font-size: 19px; }
  .toast { top: 405px; padding: 11px 13px; }
}
.home .home-hero::before { content: ""; }

/* built-for strip */
.strip { background: var(--deep); color: var(--mut); padding: 22px var(--px); border-bottom: 1px solid #2C3B5E; }
.strip-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; }
.strip .script { color: var(--mut); font-size: 26px; flex: none; }
.strip ul { display: flex; flex: 1; justify-content: space-between; gap: 12px 28px; margin-left: 110px; }
.strip li { font: 400 13px/1 var(--h); letter-spacing: .75px; text-transform: uppercase; }
@media (max-width: 1024px) {
  .strip-in { flex-direction: column; align-items: flex-start; gap: 10px; }
  .strip ul { margin: 0; flex-wrap: wrap; justify-content: flex-start; gap: 6px 0; }
  .strip li { font: 700 11px/1.5 var(--b); letter-spacing: 2px; }
  .strip li:not(:last-child)::after { content: "·"; margin: 0 8px; }
  .strip .script { font-size: 22px; color: var(--off); }
}

/* start here */

/* problem */
.home .sec { --sec: clamp(48px, 7.64vw, 110px); }
.home .h2 { font-size: clamp(32px, 4.03vw, 58px); line-height: 1.02; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 732px); justify-content: space-between; gap: 80px; align-items: center; }
.problem-head { display: flex; flex-direction: column; gap: 20px; }
.problem-head .prose p { font-size: 18px; line-height: 1.61; }
.problem-head .ticket { max-width: 420px; justify-self: start; margin: 4px 12px 16px 0; }
.ticket.small .ticket-bed { min-height: 149px; padding: 8px; }
.ticket.small .ticket-bed .illo { width: 120px; }
.chips-foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px 16px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; background: var(--bed); border: 1px solid var(--navy); border-radius: 999px; padding: 6px 11px; font: 700 12px/1.2 var(--b); }
.tchip svg { width: 13px; height: 13px; }
.holes li { display: flex; gap: 28px; align-items: center; padding: 28px 0; min-height: 212px; border-bottom: 1.5px solid var(--line); }
.holes li:first-child { border-top: 1.5px solid var(--line); }
.holes h3 { font-size: 26px; line-height: 1.2; }
.holes p { font-size: 17px; line-height: 1.53; color: var(--mut-2); margin-top: 8px; }
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: 1fr; gap: 24px; }
  .problem-head .ticket { display: none; } /* not in the phone frame */
  .problem-head .btns { order: 5; }
  .problem-grid { display: flex; flex-direction: column; align-items: stretch; }
  .problem-grid .holes { order: 1; }
  .problem-head { display: contents; }
  .problem-head > .btns { order: 2; }
  .holes li { min-height: 0; gap: 16px; padding: 22px 0; align-items: flex-start; }
  .holes .badge { width: 36px; height: 36px; }
  .holes .badge svg { width: 16px; height: 16px; }
  .holes h3 { font-size: 19px; }
  .holes p { font-size: 15px; }
}

/* services setlist (navy) */
.setlist-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.setlist-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.setlist-head .script { color: var(--off); text-align: right; }
.setlist li { display: grid; grid-template-columns: 56px minmax(0, 560px) minmax(0, 1fr) 24px; gap: 0 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid #2C3B5E; }
.setlist li:first-child { border-top: 1px solid #2C3B5E; }
.setlist .n { font: 400 16px/1 var(--h); letter-spacing: .6px; color: var(--mut); }
.setlist h3 { font-size: 26px; line-height: 1.2; }
.setlist p { font-size: 17px; line-height: 1.53; color: var(--mut); }
.setlist p a { color: var(--off); font-weight: 600; }
.setlist .go { width: 22px; height: 22px; color: var(--off); }
.setlist-sec .btns { margin-top: 48px; }
@media (max-width: 1024px) {
  .setlist-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .setlist-head .script { text-align: left; font-size: 22px; }
  .setlist li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .setlist .go { display: none; }
  .setlist h3 { font-size: 22px; }
  .setlist p { font-size: 15px; }
  .setlist-sec .btns { margin-top: 28px; }
}

/* study (home) */
.study-grid { display: grid; grid-template-columns: minmax(0, 812px) minmax(0, 420px); justify-content: space-between; gap: 80px; align-items: center; }
.study-l { display: flex; flex-direction: column; gap: 22px; }
.study-l .prose { max-width: 600px; }
.stat-rows li { display: flex; align-items: center; gap: 22px; padding: 24px 0; border-bottom: 1px solid #C9C2B2; }
.stat-rows b { font: 400 42px/1 var(--h); white-space: nowrap; flex: none; }
.stat-rows span { font-size: 16px; line-height: 1.38; color: var(--mut-2); }
@media (max-width: 1024px) { .study-grid { grid-template-columns: 1fr; gap: 32px; } .stat-rows b { font-size: 34px; } }

/* offer (home) */
.offer-split { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 420px); justify-content: space-between; gap: 72px; align-items: center; }
.offer-copy { display: flex; flex-direction: column; gap: 20px; }
.offer-copy .prose { max-width: 600px; }
.price-wrap { position: relative; }
.price-ink { position: absolute; inset: -16px -12px 12px 12px; border-radius: 12px; background: radial-gradient(circle, #2C3E66 1.7px, transparent 2.1px) 0 0 / 7px 7px; }
.price-card { position: relative; background: var(--off); color: var(--navy); border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.price-card .price { padding-bottom: 20px; border-bottom: 1.5px solid var(--line); }
.price-card .guarantee .t { font-size: 20px; }
@media (max-width: 1024px) { .offer-split { grid-template-columns: 1fr; gap: 48px; } .price-wrap { max-width: 420px; } }
@media (max-width: 640px) { .price-card { padding: 26px; } }

/* who's the guy */
.guy-grid { display: grid; grid-template-columns: minmax(0, 700px) minmax(0, 520px); justify-content: space-between; gap: 80px; align-items: center; }
.guy-l { display: flex; flex-direction: column; gap: 22px; }
.guy-l .prose p { font-size: 18px; line-height: 1.72; }
.sig { color: var(--navy); font-size: 32px; }
.guy-r { position: relative; }
.guy-r .ghost { position: absolute; width: 230px; right: 90px; top: 50%; transform: translateY(-50%); opacity: .2; }
.points li { position: relative; display: flex; gap: 24px; align-items: flex-start; padding: 30px 0; border-bottom: 1.5px solid var(--line); }
.points li:first-child { border-top: 1.5px solid var(--line); }
.points h3 { font-size: 26px; line-height: 1.2; }
.points p { font-size: 15px; line-height: 1.6; color: var(--mut-2); margin-top: 8px; }
.htdot { width: 64px; height: 64px; border-radius: 50%; flex: none; background-color: var(--off-2); }
.htdot.d0 { background-image: radial-gradient(circle, var(--navy) 1.4px, transparent 1.8px); background-size: 7px 7px; }
.htdot.d1 { background-image: radial-gradient(circle, var(--navy) 2.3px, transparent 2.7px); background-size: 7px 7px; }
.htdot.d2 { background: linear-gradient(90deg, transparent 30%, var(--navy) 30%), radial-gradient(circle, var(--navy) 2.2px, transparent 2.6px) 0 0 / 7px 7px var(--off-2); }
@media (max-width: 1024px) { .guy-grid { grid-template-columns: 1fr; gap: 32px; } .guy-r .ghost { display: none; } .htdot { width: 48px; height: 48px; } .points h3 { font-size: 21px; } .points li { padding: 22px 0; gap: 18px; } }

/* ---------- FAQ band ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 852px); justify-content: space-between; gap: 80px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq-head .btn { margin-top: 0; }
.faq-intro p { font-size: 17px; line-height: 1.6; color: var(--mut-2); }
@media (max-width: 1024px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } .faq-head { gap: 14px; } }
@media (max-width: 1024px) { .faq-band .faq-head .btns, .faq-band .faq-head > .btn { order: 3; } }

/* ---------- T2 study proof ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 760px); justify-content: space-between; gap: 72px; align-items: start; }
.proof-l { display: flex; flex-direction: column; gap: 18px; }
.proof-l .prose p { font-size: 18px; line-height: 1.67; }
.proof-l .btns { padding-top: 10px; }
.proof-r { display: flex; flex-direction: column; gap: 56px; align-items: flex-start; }
.dark-ink-wrap { position: relative; width: 100%; }
.dark-ink-wrap .table-card { position: relative; z-index: 1; }
.dark-ink-wrap .dark-ink { inset: 12px -12px -12px 12px; }
.proof .table td { padding: 30px 24px; }
@media (max-width: 1024px) { .proof-grid { grid-template-columns: 1fr; gap: 36px; } .proof .table td { padding: 16px 14px; } }

/* ---------- T2 what I do (navy numbered rules) ---------- */
.rules-sec .wrap { display: flex; flex-direction: column; gap: 44px; }
.rules-head { display: flex; justify-content: space-between; gap: 48px; align-items: flex-start; }
.rules-head > div { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.rules-head .prose p { color: var(--mut); font-size: 17px; }
.rules-head .chart-card { flex: none; width: 460px; }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rules.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rules.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rules li { border-top: 2px solid var(--off); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.rules .n { font: 700 14px/1 var(--b); letter-spacing: 2px; color: var(--mut); }
.rules h3 { font-size: 24px; line-height: 1.15; color: var(--off); }
.rules p { font-size: 16px; line-height: 1.63; color: var(--mut); }
.rules p a { color: var(--off); }
.rules.big h3 { font-size: 28px; }
.rules.big p { font-size: 17px; line-height: 1.6; }
@media (max-width: 1024px) {
  .rules, .rules.n3, .rules.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-head { flex-direction: column; }
  .rules-head .chart-card { width: 100%; }
}
@media (max-width: 640px) {
  .rules-sec .wrap { gap: 28px; }
  .rules, .rules.n3, .rules.n5 { grid-template-columns: 1fr; gap: 24px; }
  .rules li { padding-top: 18px; gap: 8px; }
  .rules h3, .rules.big h3 { font-size: 21px; }
  .rules p { font-size: 15px; }
}

/* ---------- T2 go deeper ---------- */
.go-deeper .wrap { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.go-deeper .h2 { margin-top: -12px; }
.linked-intro { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.linked-intro li { font-size: 18px; line-height: 1.5; color: var(--mut-2); }
.linked-intro a { color: var(--navy); font-weight: 700; text-decoration: none; }
.linked-intro a:hover { text-decoration: underline; }
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.link-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.link-card:hover { border-color: var(--navy); box-shadow: 6px 6px 0 var(--mist); }
.link-card h3 { font-size: 22px; line-height: 1.14; }
.link-card p { font-size: 16px; line-height: 1.56; color: var(--mut-2); flex: 1; }
.link-card p a { text-decoration: none; }
@media (max-width: 1024px) { .link-cards, .link-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .go-deeper .wrap { gap: 24px; }
  .link-cards, .link-cards.n2, .link-cards.n4 { grid-template-columns: 1fr; gap: 16px; }
  .link-card { padding: 22px; }
  .linked-intro li { font-size: 16px; }
}

/* ---------- offer band (T2/T3, navy) ---------- */
.offer-band { --sec: clamp(48px, 5.56vw, 80px); }
.offer-grid { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.offer-l { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.offer-l .prose p { color: var(--mut); font-size: 17px; }
@media (max-width: 1024px) { .offer-grid { flex-direction: column; align-items: flex-start; gap: 28px; } }

/* ---------- T3 rows: text + chart/illustration, alternating ---------- */
.row-sec { --sec: clamp(48px, 6.67vw, 96px); }
.row-grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; align-items: center; }
.row-sec.flip .row-grid { grid-template-columns: 560px minmax(0, 1fr); }
.row-sec.flip .row-art { order: -1; }
.row-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.row-text .prose p { font-size: 18px; line-height: 1.67; }
.row-text .btns { padding-top: 4px; }
.row-art { display: flex; flex-direction: column; gap: 40px; align-items: center; min-width: 0; }
.row-art .chart-card { width: 520px; max-width: calc(100% - 14px); align-self: flex-start; margin-right: 14px; }
.row-sec.flip .row-art .chart-card { margin-left: 20px; }
.row-spot { width: 100%; display: grid; place-items: center; }
.row-spot .illo { width: min(240px, 70%); }
.row-spot .illo-inks { width: min(300px, 80%); }
.row-sec.wide .row-grid { grid-template-columns: 1fr; gap: 40px; }
.row-sec.wide .row-art { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; order: 0; }
.row-sec.wide .row-spot { display: none; }
.link-line { margin: 0; }
@media (max-width: 1100px) { .row-grid, .row-sec.flip .row-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; } .row-sec.flip .row-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
@media (max-width: 960px) {
  .row-grid, .row-sec.flip .row-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .row-sec.flip .row-art { order: 0; }
  .row-art { align-items: stretch; }
  .row-art .chart-card, .row-sec.flip .row-art .chart-card { width: auto; max-width: none; margin: 8px 8px 0 0; }
  .row-spot .illo { width: 260px; max-width: 80%; }
}
@media (max-width: 640px) { .row-text { gap: 18px; } .row-text .prose p { font-size: 16px; line-height: 1.63; } }

/* related strip (T3) */
.related-strip { background: var(--off-2); padding: 48px var(--px) 0; }
.related-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding-bottom: 8px; }
.related-strip .label { font-size: 11px; letter-spacing: 2.5px; margin: 0; }
.related-strip a { font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.related-strip a svg { width: 15px; height: 15px; }
.related-strip a.parent { font: 400 17px/1.2 var(--h); }
.related-strip a:hover { text-decoration: underline; }
.related-text p { font-size: 16px; line-height: 1.6; color: var(--mut-2); }
.related-text a { color: var(--navy); font-weight: 700; display: inline; }
.related-in > .link-arrow { margin-left: auto; font-size: 15px; }
@media (max-width: 640px) { .related-in > .link-arrow { margin-left: 0; } }
.related-strip + .faq-band { padding-top: clamp(48px, 7vw, 100px); }
@media (max-width: 640px) { .related-in { flex-direction: column; align-items: flex-start; gap: 8px; } .related-strip { padding-top: 40px; } }

/* ---------- T5 guide ---------- */
.guide-body { --sec: clamp(48px, 6.25vw, 90px); }
.guide-grid { display: grid; grid-template-columns: 299px minmax(0, 940px); justify-content: space-between; gap: 72px; align-items: start; }
.toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; border-left: 2px solid var(--line); padding-left: 20px; display: flex; flex-direction: column; gap: 14px; }
.toc a { text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--navy); }
.toc a:hover { text-decoration: underline; }
.article { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.sec-block { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 100px; }
.sec-block > h2 { font-size: clamp(24px, 2.36vw, 34px); line-height: 1.12; }
.sec-block .prose p, .sec-block .prose li { font-size: 18px; line-height: 1.67; }
.sec-block .prose > .table-card { margin: 8px 0; }
.sec-block .chart-card { max-width: 640px; margin: 10px 14px 14px 0; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--off-2); border-radius: 10px; border-left: 4px solid var(--navy); }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.prose .callout p { font-size: 17px; line-height: 1.53; color: var(--navy); }
.next-step { background: var(--navy); color: var(--off); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; scroll-margin-top: 100px; }
.next-step .label { color: var(--mut); }
.next-text p { font: 400 22px/1.35 var(--h); color: var(--off); }
.next-text a { color: var(--off); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.next-step .btn { margin-top: 8px; }
.table-card.kw td:nth-child(2) { width: 46%; }
.barcell { display: flex; align-items: center; gap: 12px; font: 400 16px var(--h); }
.barcell b { font-weight: 400; }
.kw-bar { display: inline-block; height: 12px; max-width: 70%; background: linear-gradient(90deg, transparent 0, var(--navy) 55%), radial-gradient(circle, var(--navy) 1.3px, transparent 1.7px) 0 0 / 5px 5px var(--off-2); flex: none; }
.sec-block .table td { padding: 14px 20px; }
.sec-block .table td:nth-child(2) { font-size: 16px; }
.sec-block .table th { padding: 14px 20px; font-size: 13px; }
@media (max-width: 1024px) {
  .guide-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; border-left: 0; padding: 18px; background: var(--off-2); border-radius: 10px; gap: 10px; }
  .article { gap: 40px; }
}
@media (max-width: 640px) {
  .sec-block .prose p, .sec-block .prose li { font-size: 16px; line-height: 1.6; }
  .next-text p { font-size: 18px; }
  .sec-block .table td, .sec-block .table th { padding: 12px 14px; }
  .sec-block .chart-card { margin-right: 8px; }
}

/* ---------- T5b study ---------- */
.key-findings .wrap { display: flex; flex-direction: column; gap: 40px; }
.key-findings .h2 { max-width: 800px; margin-top: -16px; }
.navy-stats ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.navy-stats li { background: var(--navy-3); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.navy-stats b { font: 400 clamp(40px, 4.2vw, 60px)/1 var(--h); color: var(--off); }
.navy-stats span { font-size: 15px; line-height: 1.53; color: var(--mut); }
.kf-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 820px); justify-content: space-between; gap: 64px; align-items: start; }
.kf-r { display: flex; flex-direction: column; gap: 48px; }
.kf-r .chart-card { max-width: 640px; }
@media (max-width: 1024px) { .kf-grid { grid-template-columns: 1fr; gap: 32px; } }
.method-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 772px); justify-content: space-between; gap: 80px; align-items: start; }
.method-grid > div { display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1.5px solid var(--line); }
.checks li:first-child { border-top: 1.5px solid var(--line); }
.checks h3 { font-size: 22px; line-height: 1.2; }
.checks p { font-size: 16px; line-height: 1.56; color: var(--mut-2); margin-top: 6px; }
@media (max-width: 1024px) { .method-grid { grid-template-columns: 1fr; gap: 32px; } }
.towns .wrap { display: flex; flex-direction: column; gap: 36px; }
.towns .h2 { margin-top: -6px; }
.town-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.town-cols .label { margin-bottom: 8px; }
.town-cols li { padding: 12px 0; border-bottom: 1.5px solid rgba(201, 194, 178, .6); font: 400 19px/1.3 var(--h); }
@media (max-width: 760px) { .town-cols { grid-template-columns: 1fr; gap: 28px; } }
.topics .wrap { display: flex; flex-direction: column; gap: 40px; }
.topics .h2 { margin-top: -16px; }
.topic-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.topic-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.topic-card:hover { border-color: var(--navy); box-shadow: 6px 6px 0 var(--mist); }
.topic-ht { height: 120px; border-radius: 6px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(236, 230, 218, 1) 0, rgba(236, 230, 218, 0) 70%), radial-gradient(circle, var(--navy) 2.3px, transparent 2.7px) 0 0 / 8px 8px, linear-gradient(90deg, var(--off-2) 0, var(--off-2) 30%, var(--navy) 100%); }
.topic-card h3 { font-size: 22px; line-height: 1.14; }
.topic-card .more { margin-top: 6px; }
@media (max-width: 1024px) { .topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .topic-cards { grid-template-columns: 1fr; gap: 16px; } .topic-ht { height: 90px; } }
.study-article { border-top: 1.5px solid var(--line); }

/* ---------- T7 contact ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 440px); justify-content: space-between; gap: 72px; align-items: start; }
.form-wrap { position: relative; }
.form-card { position: relative; z-index: 1; background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 40px; }
.form-title { font: 400 24px/1.2 var(--h); margin-bottom: 24px; }
.form { display: flex; flex-direction: column; gap: 22px; position: relative; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 14px; }
.form input, .form textarea { font: 400 15px var(--b); color: var(--navy); background: var(--off); border: 1.5px solid var(--line); border-radius: 6px; padding: 14px 16px; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: #8A90A0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 3px 3px 0 var(--mist); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--mut-2); }
.form-note:empty { display: none; }
.next-col { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.next-col .kicker { font: 700 13px/1.2 var(--b); }
.num-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; }
.num-steps .num { width: 40px; height: 40px; font-size: 17px; }
.num-steps h3 { font-size: 22px; line-height: 1.25; }
.num-steps p { font-size: 16px; line-height: 1.56; color: var(--mut-2); margin-top: 6px; }
.num-steps p a { color: var(--navy); font-weight: 600; }
.next-col .prose p { font-size: 16px; }
@media (max-width: 1024px) { .form-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } .form-card { padding: 22px; } .form-wrap .dark-ink { inset: 8px -8px -8px 8px; } .form-wrap .reg { display: none; } }

/* ---------- T7b pricing ---------- */
.price-foot { display: flex; align-items: flex-end; gap: 8px; padding: 16px 18px 18px; }
.price-foot b { font: 400 36px/1 var(--h); }
.price-foot span { font: 400 13px var(--b); color: var(--mut-2); }
.price-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 728px); justify-content: space-between; gap: 64px; align-items: start; }
.navy-price-wrap { position: relative; }
.navy-price-wrap .dark-ink { background: radial-gradient(circle, var(--navy) 1.3px, transparent 1.7px) 0 0 / 5px 5px; }
.navy-price { position: relative; z-index: 1; background: var(--navy); color: var(--off); border-radius: 10px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.navy-price .label { color: var(--mut); }
.navy-price .price b { font-size: clamp(72px, 7.6vw, 110px); }
.navy-price .price span { color: var(--mut); }
.navy-price .guarantee { background: var(--navy-2); border-radius: 8px; padding: 20px 24px; }
.navy-price .guarantee svg { width: 22px; height: 22px; margin-top: 2px; }
.navy-price .guarantee p { color: var(--mut); }
.navy-price .btn { margin-top: 2px; }
.price-r { display: flex; flex-direction: column; gap: 22px; }
.price-r .prose p { font-size: 18px; }
.check-rows li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1.5px solid var(--line); font-weight: 600; font-size: 17px; line-height: 1.4; }
.check-rows svg { width: 18px; height: 18px; flex: none; }
.guarantee-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 792px); justify-content: space-between; gap: 80px; align-items: start; }
.g-l { display: flex; flex-direction: column; gap: 18px; }
.g-l .seal { margin-top: 18px; }
.g-r { display: flex; flex-direction: column; gap: 22px; }
.g-r .num-steps li { padding: 26px 0; border-bottom: 1.5px solid var(--line); gap: 24px; }
.g-r .num-steps li:first-child { border-top: 1.5px solid var(--line); }
.g-r .num-steps h3 { font-size: 24px; }
.g-r .num-steps p { font-size: 17px; }
@media (max-width: 1024px) { .price-grid, .guarantee-grid { grid-template-columns: 1fr; gap: 40px; } .g-l .seal { width: 130px; height: 130px; } }
@media (max-width: 640px) { .navy-price { padding: 26px; } .navy-price .guarantee { padding: 16px; } }

/* ---------- T4 guides list ---------- */
.guides-list .wrap { display: flex; flex-direction: column; gap: 28px; }
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.guide-card { display: flex; flex-direction: column; gap: 14px; height: calc(100% - 14px); padding: 32px; background: var(--white); border: 1.5px solid var(--navy); border-radius: 10px; box-shadow: var(--off-shadow); text-decoration: none; margin-right: 14px; transition: transform .15s; }
.guide-card:hover { transform: translate(-2px, -2px); }
.gc-top { display: flex; justify-content: space-between; align-items: center; }
.gc-top .badge { width: 48px; height: 48px; }
.gc-top .chip { font-size: 12px; font-weight: 600; padding: 6px 10px; }
.guide-card h2 { font-size: 26px; line-height: 1.15; }
.guide-card p { font-size: 17px; line-height: 1.53; color: var(--mut-2); flex: 1; }
.guide-card .more { font-size: 16px; }
.study-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--navy); color: var(--off); border-radius: 10px; padding: 32px 40px; }
.study-banner .label { color: var(--mut); font-size: 12px; letter-spacing: 2.4px; }
.study-banner p { font: 400 clamp(22px, 1.95vw, 28px)/1.15 var(--h); margin-top: 8px; }
@media (max-width: 860px) { .guide-cards { grid-template-columns: 1fr; gap: 28px; } .study-banner { flex-direction: column; align-items: flex-start; padding: 26px; } }
@media (max-width: 640px) { .guide-card { padding: 24px; box-shadow: 8px 8px 0 var(--mist); margin-right: 8px; } .guide-card h2 { font-size: 22px; } }

/* ---------- T6 about ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 772px); justify-content: space-between; gap: 80px; align-items: start; }
.story-grid > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.story-grid .prose { padding-top: 0; }
@media (max-width: 1024px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- phone frames: section buttons move to the end of their section ---------- */
@media (max-width: 1024px) {
  .problem-grid, .study-grid, .guy-grid, .faq-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .problem-head, .study-l, .guy-l, .faq-head { display: contents; }
  .problem-grid > *, .study-grid > *, .guy-grid > *, .faq-grid > * { order: 1; }
  .problem-head > .btns, .study-l > .btns, .guy-l > .btns, .faq-head > .btn, .faq-head > .btns { order: 9; margin-top: 8px; }
  .guy-r, .stat-rows, .holes, .faq { order: 5; }
  .faq-head .kicker, .faq-head .h2, .faq-head .faq-intro { order: 0; }
  .stage { order: 2; }
  .browser-ink { display: none; }
}
@media (max-width: 640px) {
  .prose p, .prose li, .row-text .prose p, .proof-l .prose p, .guy-l .prose p, .problem-head .prose p { font-size: 16px; line-height: 1.6; }
  .btn.caps { font-size: 13px; letter-spacing: 0; padding: 16px 12px; }
  .home .h2 { font-size: 32px; }
  .stat-rows li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stat-rows b { font-size: 38px; }
  .stat-rows span { font-size: 15px; }
  .study-l .inkstrip { display: none; }
  .htdot { display: none; }
  .points li { padding: 20px 0; }
  .points h3 { font-size: 19px; }
  .sig { font-size: 24px; }
  .faq .minus { display: none; }
  .stage { height: 560px; }
  .browser { height: 470px; }
  .toast { top: 490px; }
  .home-hero > .home-fx { display: block; }
}
.home-fx { display: none; }
@media (max-width: 1024px) {
  .proof-grid { display: flex; flex-direction: column; gap: 20px; }
  .proof-l { display: contents; }
  .proof-grid > * { order: 1; }
  .proof-r { order: 5; gap: 32px; align-items: stretch; }
  .proof-l > .btns { order: 9; margin-top: 8px; }
}
@media (max-width: 640px) {
  .proof-l .inkstrip { display: none; }
  .rules li { border-top: 1px solid #2C3B5E; }
  .link-card { border-color: var(--navy); }
  .link-card .badge { display: none; }
  .linked-intro li a { display: block; }
}
@media (max-width: 640px) {
  .meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .meta li { background: var(--chip); border-radius: 4px; padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--navy); }
  .meta svg { display: none; }
  .kw-bar { display: none; }
  .barcell { justify-content: flex-end; }
}
@media (min-width: 641px) and (max-width: 1024px) { .faq-head > .btn, .problem-head > .btns, .study-l > .btns, .guy-l > .btns { align-self: flex-start; } }

/* study key findings: 4 stat cards + paired-bar comparison (top 3 vs #4 to #10) */
.kf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 36px 0 48px; }
.kf-stats li { background: var(--navy-3); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.kf-stats b { font: 400 clamp(40px, 4vw, 56px)/1 var(--h); color: var(--off); }
.kf-stats span { color: var(--off); font-size: 15px; line-height: 1.45; }
.kf-stats small { color: var(--sky); font-size: 13px; font-weight: 600; margin-top: auto; }
.key-findings .kf-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.key-findings .kf-grid .prose p { color: var(--mut); }
.cmp-card { margin: 0; background: var(--white); border: 1.5px solid var(--navy); border-radius: 10px; padding: 28px; box-shadow: 14px 14px 0 #2C3E66; color: var(--navy); }
.cmp-key { display: flex; gap: 22px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.cmp-key span { display: inline-flex; gap: 8px; align-items: center; }
.cmp-key i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.cmp-key i.top, .cmp-bar.top .fill { background: var(--navy); }
.cmp-key i.rest, .cmp-bar.rest .fill { background: var(--sky); }
.cmp-card ul { display: flex; flex-direction: column; }
.cmp-card li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.cmp-lbl { font-weight: 600; font-size: 15px; line-height: 1.35; }
.cmp-bar { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; align-items: center; }
.cmp-bar .track { height: 16px; background: var(--off-2); border-radius: 3px; overflow: hidden; display: block; }
.cmp-bar .fill { display: block; height: 100%; border-radius: 3px; }
.cmp-bar b { font: 400 15px/1 var(--h); white-space: nowrap; }
.cmp-bar.rest b { font: 600 14px/1 var(--b); color: var(--mut-2); }
.cmp-nums { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cmp-nums b { font: 400 28px/1 var(--h); }
.cmp-nums b.rest { color: var(--mut-2); margin-left: 18px; }
.cmp-nums em { font-style: normal; font-size: 13px; color: var(--mut-2); }
@media (max-width: 1024px) { .kf-stats { grid-template-columns: 1fr 1fr; } .key-findings .kf-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .kf-stats { grid-template-columns: 1fr; } .cmp-card { padding: 20px; box-shadow: 8px 8px 0 #2C3E66; } .cmp-bar { grid-template-columns: minmax(0, 1fr) 112px; } }
@media (max-width: 560px) { .kf-stats { grid-template-columns: 1fr 1fr; gap: 12px; } .kf-stats li { padding: 18px; } .kf-stats b { font-size: 34px; } .kf-stats span { font-size: 13px; } }

/* study TL;DR */
.tldr { padding-top: 72px; padding-bottom: 72px; }
.tldr-card { background: var(--white); border: 1.5px solid var(--navy); border-radius: 10px; padding: 36px 40px; box-shadow: 14px 14px 0 var(--mist); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
.tldr-h { font: 400 40px/1 var(--h); color: var(--navy); }
.tldr-card ul { display: flex; flex-direction: column; }
.tldr-card li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.tldr-card li:first-child { border-top: 0; padding-top: 0; }
.tldr-card h3 { font: 400 19px/1.25 var(--h); color: var(--navy); }
.tldr-card p { font-size: 17px; line-height: 1.6; color: var(--mut-2); }
@media (max-width: 1024px) { .tldr-card { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 640px) { .tldr-card { padding: 24px 20px; box-shadow: 8px 8px 0 var(--mist); } .tldr-card li { grid-template-columns: 1fr; gap: 6px; } .tldr-h { font-size: 32px; } }

/* contents list: the section being read is highlighted */
.toc a { position: relative; color: var(--mut-2); transition: color .15s; }
.toc a::before { content: ""; position: absolute; left: -22px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .15s; }
.toc a.active { color: var(--navy); font-weight: 700; }
.toc a.active::before { background: var(--navy); }

/* study: "What you can do" action box at the end of each findings section */
.do-box { margin-top: 8px; background: var(--off-2); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.do-k { display: inline-flex; align-items: center; gap: 8px; font: 400 15px/1.2 var(--h); color: var(--navy); text-transform: uppercase; letter-spacing: .6px; }
.do-k svg { width: 18px; height: 18px; }
.do-box p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--navy) !important; }
.bg-navy .do-box { background: var(--navy-3); border-left-color: var(--sky); }
.bg-navy .do-box p, .bg-navy .do-k { color: var(--off) !important; }
.key-findings .do-box { margin-top: 40px; }

/* home hero: the halftone bloom belongs to the whole section (Pen: section fill from the top-right corner), so it
   never stops at the mockup's box edge on wide screens; the visitors card sits clear of the mockup's quote button */
.home-hero > .home-fx { position: absolute; inset: 0; z-index: -1; display: block; }
.stage > .fx { display: none; }
.visitors { top: 492px; }
.home-hero .btns .btn { white-space: nowrap; }
@media (max-width: 560px) { .home-hero .btns .btn { white-space: normal; } }
.home-hero .btns { gap: 10px; }
.home-hero .btns .btn { padding-left: 16px; padding-right: 16px; }
@media (max-width: 1240px) { .home-hero .btns .btn { white-space: normal; } }
/* more air between the hero copy and the mockup (Josh, 2026-10-28) */
.visitors { left: 70px; }
