/* Hussain Fintech Solutions. Concept: a classroom board with a chart on it.
   Slate and chalk come from the logo's own banner, red and green from the handshake, copper from the tagline. */

@font-face { font-family: "Archivo Narrow Var"; src: url("/assets/fonts/archivo-narrow-var.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("/assets/fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("/assets/fonts/kalam-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --slate: #18292b;
  --slate-deep: #102022;
  --slate-line: #2f4649;
  --chalk: #f2f0e6;
  --chalk-dim: #c3ccc6;
  --bull: #37c47d;
  --bear: #f0444d;
  --copper: #d0936a;

  --paper: #f7f9f8;
  --tint: #e9efec;
  --card: #fff;
  --ink: #14211f;
  --ink-soft: #46564f;
  --rule: #d2dcd8;
  --bull-deep: #136b42;
  --bear-deep: #b3121d;
  --copper-deep: #8a5226;

  --display: "Archivo Narrow Var", "Arial Narrow", Impact, sans-serif;
  --body: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --hand: "Kalam", "Segoe Print", cursive;

  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--chalk); color: var(--ink); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 3px; }
.paper :focus-visible, .tint :focus-visible { outline-color: var(--copper-deep); }

/* surfaces */
.board { background-color: var(--slate); color: var(--chalk); }
.paper { background: var(--paper); }
.tint { background: var(--tint); }
.section { padding-block: clamp(56px, 8vw, 104px); }

/* type */
h1, .title, .stage-label h3, .card-title, .fee, .finder-name, .why-b, .beliefs h3, .modules h3, .course-main h2, .form-card .title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .005em;
}
.title { font-size: clamp(2.5rem, 5vw, 4.25rem); text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--chalk-dim); max-width: 56ch; }
.eyebrow { color: var(--copper); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fee { font-weight: 800; font-size: 1.75rem; letter-spacing: .01em; font-variant-numeric: lining-nums; white-space: nowrap; }

/* a marker stroke under the words that matter, drawn when the heading arrives */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: -.14em; height: .13em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q40 2 90 6 T190 5 T298 4' fill='none' stroke='%2337c47d' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat left center / 100% 100%;
}
.paper .mark::after, .tint .mark::after { filter: brightness(.6) saturate(1.3); }
.js .mark::after { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.3, .7, .2, 1) .15s; }
.js .mark.in::after { clip-path: inset(0 -2% 0 0); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 6px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .9375rem; }
.btn-bull { background: var(--bull); color: #08201a; }
.btn-bull:hover { background: #4fd590; }
.btn-line { border-color: var(--chalk-dim); color: var(--chalk); }
.btn-line:hover { background: var(--chalk); border-color: var(--chalk); color: var(--slate); }
.btn-deep { background: var(--bull-deep); color: #fff; }
.btn-deep:hover { background: #0f5a37; }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: var(--paper); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--slate-deep); color: var(--chalk); border-bottom: 1px solid var(--slate-line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chalk); min-width: 0; }
.brand img { width: 58px; height: auto; flex: none; }
.brand-text { display: grid; gap: 3px; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.0625rem; line-height: 1.1; letter-spacing: .015em; text-transform: uppercase; white-space: nowrap; }
.brand-tag { font-weight: 600; font-size: .625rem; line-height: 1.1; letter-spacing: .19em; text-transform: uppercase; color: var(--copper); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav li a { position: relative; display: inline-block; padding: 8px 0; text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--bull); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav li a:hover::after, .nav li a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-bars, .nav-bars::before, .nav-bars::after { display: block; width: 24px; height: 2px; background: var(--chalk); transition: transform .2s ease, opacity .2s ease; }
.nav-bars { position: relative; margin: 0 auto; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -7px; }
.nav-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* hero: the board. The chart climbs to the top right, which leaves the top left free for the headline. */
.hero-board {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h) - 58px); min-height: calc(100svh - var(--header-h) - 58px);
  display: flex; align-items: center;
  background-image:
    linear-gradient(to right, rgba(242, 240, 230, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 230, .045) 1px, transparent 1px);
  background-size: 96px 96px;
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(36px, 5vh, 64px); }
.hero-copy { max-width: min(560px, 42vw); display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(4rem, 8.6vw, 8.75rem); font-weight: 900; line-height: .9; max-width: 6.2em; }
.chart-wide { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: min(60%, 1100px); height: auto; max-height: 100%; }
.chart-tall { display: none; }
.chart-cap { position: absolute; right: var(--gutter); bottom: 12px; font-size: .8125rem; color: var(--chalk-dim); z-index: 2; }

.cd line { stroke-width: 2; }
.cd.up line { stroke: var(--bull); } .cd.up rect { fill: var(--bull); }
.cd.dn line { stroke: var(--bear); } .cd.dn rect { fill: var(--bear); }
.chalk .stroke { fill: none; stroke: var(--chalk); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.note { fill: var(--chalk); font-family: var(--hand); font-weight: 400; }

@media (prefers-reduced-motion: no-preference) {
  .cd { animation: candle .34s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 24ms + 120ms); }
  .chalk .stroke { stroke-dasharray: 1; animation: draw .55s ease-out both; animation-delay: calc(var(--t) + 1.3s); }
  .note { animation: write .6s ease-out both; animation-delay: calc(var(--t) + 1.3s); }
}
@keyframes candle { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes write { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -5% -20% 0); } }

/* the tape carries our courses, never prices of real stocks */
.tape { background: var(--slate-deep); border-block: 1px solid var(--slate-line); overflow: hidden; }
.tape-track { display: flex; width: max-content; animation: tape 46s linear infinite; }
.tape:hover .tape-track, .tape:focus-within .tape-track { animation-play-state: paused; }
.tape-set { display: flex; flex: none; }
.tape a { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 28px; color: var(--chalk); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; border-right: 1px solid var(--slate-line); }
.tape a b { color: var(--bull); font-weight: 800; }
.tape a:hover { background: var(--slate); }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape { overflow-x: auto; }
  .tape-track { animation: none; }
  .tape-set[aria-hidden] { display: none; }
  .js .mark::after { clip-path: none; transition: none; }
}

/* section head */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--ink-soft); max-width: 40ch; font-size: 1.125rem; }

/* course route */
.route { display: grid; gap: clamp(44px, 6vw, 72px); }
.stage { display: grid; grid-template-columns: minmax(200px, 3fr) 9fr; gap: 20px 40px; align-items: start; }
.stage-label { position: sticky; top: calc(var(--header-h) + 24px); border-top: 3px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; }
.stage-label h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.stage-label p { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; max-width: 26ch; }
.stage-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stage-one .stage-cards { grid-template-columns: 1fr; }

.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--slate); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.card:hover { border-color: var(--ink); box-shadow: 0 10px 28px rgba(20, 33, 31, .12); }
.card:hover img { transform: scale(1.025); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 18px; position: relative; background: var(--card); }
.card-title { font-size: 1.875rem; margin: 0; }
.card-body > p { color: var(--ink-soft); line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card .fee { color: var(--bull-deep); }
.card-go { font-weight: 700; font-size: .9375rem; }
.card-go::after { content: " \2192"; }
.card-wide { flex-direction: row; }
.card-wide img { width: 50%; aspect-ratio: auto; min-height: 280px; }
.card-wide .card-body { padding: 28px 32px; }
.card-wide .card-title { font-size: clamp(2.25rem, 3.4vw, 3rem); }
.card-wide .card-body > p { font-size: 1.125rem; }

/* finder: the answer stays beside the options on a wide screen and comes after them on a phone */
.finder {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "head list" "result list"; gap: 28px clamp(32px, 5vw, 72px); align-items: start;
}
.finder-head { grid-area: head; display: grid; gap: 14px; }
.finder-result { grid-area: result; }
.finder .title { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.finder-lead { color: var(--ink-soft); font-size: 1.125rem; }
.finder-list { grid-area: list; display: grid; }
.finder-list a { display: block; padding: 12px 14px 12px 16px; border-left: 3px solid var(--rule); text-decoration: none; font-weight: 500; line-height: 1.35; transition: border-color .15s ease, background-color .15s ease; }
.finder-list a:hover { border-left-color: var(--ink); }
.finder-list a[aria-current] { border-left-color: var(--bull-deep); background: var(--card); font-weight: 700; }
.finder-result { padding: 18px 20px; background: var(--slate); color: var(--chalk); border-radius: 8px; display: grid; gap: 4px; }
.finder-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.finder-name { font-size: 1.875rem; }
.finder-sum { color: var(--chalk-dim); line-height: 1.4; }
.finder-result .fee { color: var(--bull); }
.finder-result .card-go { color: var(--chalk); }

/* why */
.why .title { margin-bottom: clamp(32px, 5vw, 56px); }
.why-list { display: grid; border-top: 1px solid var(--slate-line); }
.why-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; align-items: baseline; padding-block: clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--slate-line); }
.why-a { color: var(--chalk-dim); font-size: 1.125rem; }
.why-b { font-size: clamp(1.75rem, 3.2vw, 2.875rem); font-weight: 800; line-height: 1.05; text-wrap: balance; }

/* risk */
.risk-grid, .prose-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: start; }
.risk-grid p + p, .prose p + p { margin-top: 16px; }
.risk-grid p { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); max-width: 58ch; }
.prose { max-width: 65ch; }
.prose h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.25; margin-top: 32px; margin-bottom: 8px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--bull-deep); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: start; }
.more { font-weight: 700; color: var(--ink); display: inline-block; margin-top: 12px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.tint .faq-list details { border-bottom-color: #c3cfca; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; font-weight: 500; transition: rotate .2s ease; }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { padding: 0 40px 18px 0; color: var(--ink-soft); max-width: 65ch; }
.faq-list a { color: var(--bull-deep); font-weight: 600; }
.faq-page { max-width: 860px; }

/* enquiry */
.enquire-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.enquire-lead { color: var(--chalk-dim); font-size: 1.125rem; max-width: 46ch; margin-top: 20px; }
.contact-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--slate-line); max-width: 520px; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--slate-line); }
.contact-list dt { color: var(--copper); font-weight: 700; }
.contact-list a { text-decoration: none; }
.contact-list-paper { border-top-color: var(--rule); margin-bottom: 24px; }
.contact-list-paper > div { border-bottom-color: var(--rule); }
.contact-list-paper dt { color: var(--copper-deep); }
.ph { border-bottom: 2px dotted var(--copper); }
.contact-list-paper .ph { border-bottom-color: var(--copper-deep); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field:nth-child(n + 3) { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label span { font-weight: 400; opacity: .85; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; background: var(--card); color: var(--ink); border: 1.5px solid #8ea19b; border-radius: 6px; appearance: none; -webkit-appearance: none;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }
.form [aria-invalid="true"] { border-color: var(--bear-deep); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); translate: 0 -70%; rotate: 45deg; pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.form .btn { grid-column: 1 / -1; width: 100%; }
.err { font-size: .9375rem; font-weight: 600; color: var(--bear-deep); }
.err:empty, .form-status:empty { display: none; }
.board .err { color: #ffb4b4; }
.form-status { grid-column: 1 / -1; font-weight: 600; }
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: clamp(20px, 3vw, 32px); }
.form-card .title { font-size: clamp(2rem, 3vw, 2.75rem); margin-bottom: 20px; }

/* inner page head */
.page-head {
  padding-block: clamp(44px, 6vw, 80px);
  background-image:
    linear-gradient(to right, rgba(242, 240, 230, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 230, .045) 1px, transparent 1px);
  background-size: 96px 96px;
}
.page-head-grid { display: grid; gap: 28px 56px; align-items: center; }
.page-head-grid.has-aside { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-head h1 { font-size: clamp(3rem, 6.6vw, 6rem); font-weight: 900; line-height: .95; margin-top: 12px; max-width: 16em; text-wrap: balance; }
.page-head .lead { margin-top: 18px; }
.head-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--slate-line); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9375rem; color: var(--chalk-dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .7; }
.crumbs a { color: var(--chalk-dim); }

/* course page */
.course-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.course-main > h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-top: clamp(36px, 5vw, 52px); margin-bottom: 16px; }
.course-main > h2:first-child { margin-top: 0; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .36em; width: 7px; height: 13px; border-right: 3px solid var(--bull-deep); border-bottom: 3px solid var(--bull-deep); rotate: 40deg; }
.modules { counter-reset: mod; border-top: 2px solid var(--ink); }
.modules > li { counter-increment: mod; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding-block: 18px; border-bottom: 1px solid var(--rule); }
.modules > li::before { content: counter(mod); font-family: var(--display); font-weight: 800; font-size: 2.125rem; line-height: 1; color: var(--copper-deep); grid-row: span 2; }
.modules h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modules ul { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 28px; color: var(--ink-soft); font-size: 1rem; }
.warn { border-left: 5px solid var(--bear-deep); background: #fbecec; padding: 16px 20px; border-radius: 0 6px 6px 0; margin-bottom: 36px; }
.warn h2 { font-weight: 800; font-size: 1.125rem; margin-bottom: 4px; }
.warn a { color: var(--bear-deep); font-weight: 600; }
.fee-card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; padding: 24px; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; }
.fee-card-label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-deep); }
.fee-big { font-size: clamp(2.75rem, 4.4vw, 3.5rem); line-height: 1; color: var(--bull-deep); white-space: normal; }
.fee-card dl { display: grid; border-top: 1px solid var(--rule); margin-block: 4px; }
.fee-card dl > div { padding-block: 9px; border-bottom: 1px solid var(--rule); }
.fee-card dt { font-size: .875rem; color: var(--ink-soft); }
.fee-card dd { font-weight: 600; }
.fee-card .btn { width: 100%; }
.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; max-width: 980px; }
.buy-bar { display: none; }

/* about */
.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(28px, 4vw, 56px); margin-top: 36px; }
.beliefs li { border-top: 3px solid var(--ink); padding-top: 14px; }
.beliefs h3 { font-size: 1.75rem; margin-bottom: 8px; }
.beliefs p { color: var(--ink-soft); }

.closing-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.closing { padding-block: clamp(44px, 6vw, 72px); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.legal { margin-inline: auto; }

/* footer */
.site-footer { background: var(--slate-deep); color: var(--chalk); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(280px, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 32px 40px; padding-bottom: 40px; }
.foot-brand p { color: var(--chalk-dim); margin-top: 14px; }
.foot-social { display: flex; gap: 18px; margin-top: 12px; }
.site-footer h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.site-footer nav li + li { margin-top: 6px; }
.site-footer nav a, .foot-social a { color: var(--chalk-dim); text-decoration: none; font-size: .9875rem; }
.site-footer nav a:hover, .foot-social a:hover { color: var(--chalk); text-decoration: underline; }
.foot-legal { display: grid; gap: 8px; padding-block: 20px 24px; color: var(--chalk-dim); font-size: .875rem; line-height: 1.5; background: linear-gradient(var(--slate-line), var(--slate-line)) no-repeat var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px; }
.foot-legal p { max-width: 110ch; }

/* tablet */
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 22px; background: var(--slate-deep); border-bottom: 1px solid var(--slate-line); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 12px 0; font-size: 1.125rem; border-bottom: 1px solid var(--slate-line); }
  .nav li a::after { display: none; }
  .nav .btn { width: 100%; }

  .hero-board { display: block; min-height: 0; }
  .hero-inner { padding-bottom: 0; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: none; font-size: clamp(3.75rem, 14vw, 7rem); }
  .chart-wide { display: none; }
  .chart-tall { display: block; width: 100%; height: auto; margin-top: 8px; }
  .chart-cap { position: static; padding: 4px var(--gutter) 12px; text-align: right; }

  .stage { grid-template-columns: 1fr; }
  .stage-label { position: static; }
  .stage-label p { max-width: none; }
  .enquire-grid { grid-template-columns: 1fr; }
  .finder { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "list" "result"; gap: 20px; }
  .course-grid { grid-template-columns: 1fr; }
  .fee-card { position: static; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

/* phone */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brand { gap: 8px; }
  .brand img { width: clamp(36px, 11.5vw, 46px); }
  .brand-name { font-size: clamp(.71875rem, 3.5vw, .875rem); }
  .brand-tag { font-size: clamp(.5rem, 2.3vw, .5625rem); letter-spacing: .1em; }
  .bar { gap: 8px; }
  .nav-toggle { flex: none; }
  .stage-cards, .also, .beliefs { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column; }
  .card-wide img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .card-wide .card-body { padding: 20px 22px 18px; }
  .card-wide .card-title { font-size: 1.875rem; }
  .why-list li, .risk-grid, .prose-grid, .faq-grid { grid-template-columns: 1fr; }
  .page-head-grid.has-aside { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field:nth-child(n) { grid-column: auto; }
  .modules ul { grid-template-columns: 1fr; }
  .modules > li { grid-template-columns: 42px minmax(0, 1fr); }
  .contact-list > div { grid-template-columns: 90px 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-bar { position: sticky; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--gutter); background: var(--slate-deep); color: var(--chalk); border-top: 1px solid var(--slate-line); }
  .buy-bar .fee { color: var(--bull); font-size: 1.5rem; }
  .buy-name { font-weight: 700; line-height: 1.2; }
}
