/* Thirdwood coming-soon site, design A "Forest" (agreed 2026-11-28).
   Deep green header + hero with the logo canopy drawn large; product rows carry
   each product's own colour block. Poppins headings, Figtree text, self-hosted. */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #F5F6F2;
  --surface: #FFFFFF;
  --ink: #1F2933;
  --muted: #56615F;
  --line: #DDE2DA;
  --gold: #E1AE3D;
  --gold-ink: #8A6414;
  --forest: #0D3F2A;
  --forest-line: #1E6B48;
  --forest-text: #CFE3D6;
  --wood-light: #9FD5B4;
  --focus: #1F2933;
  --gutter: clamp(16px, 5vw, 64px);
  --measure: 76rem;
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* ---------- header (always on the green band) ---------- */
.site-header-band { background: var(--forest); color: #fff; }
.site-header-band :focus-visible { outline-color: var(--gold); }
.site-header {
  max-width: var(--measure); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-tree { display: block; width: 40px; height: auto; }
.logo-canopy { stroke: var(--forest); }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--head); font-size: 1.6rem; letter-spacing: -0.01em; color: #fff; }
.logo-third { font-weight: 400; }
.logo-wood { font-weight: 700; color: var(--wood-light); }
.logo-tech { font-family: var(--head); font-weight: 400; font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: #B9D3C3; margin-top: 5px; padding-left: 2px; }
.contact-links { display: flex; gap: 22px; font-weight: 600; font-size: 0.98rem; }
.contact-links a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.contact-links a:hover { border-bottom-color: var(--gold); }

/* ---------- buttons ---------- */
.button {
  display: inline-block; font: 600 1rem/1 var(--body); background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: 6px; padding: 15px 22px; text-decoration: none; cursor: pointer;
}
.button:hover { background: #2E3A45; border-color: #2E3A45; }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--surface); border-color: var(--ink); }
.button-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button-gold:hover { background: #EBBE57; border-color: #EBBE57; }
.button-outline-light { background: transparent; border-color: #fff; color: #fff; }
.button-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.muted { color: var(--muted); }
.small-link { font-size: 0.95rem; color: var(--muted); }
.small-link:hover { color: var(--ink); }

/* ---------- hero (home) ---------- */
.hero { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.hero-inner { max-width: var(--measure); margin: 0 auto; padding: clamp(40px, 7vw, 84px) var(--gutter) clamp(72px, 10vw, 128px); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.04; max-width: 13ch; }
.hero .lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--forest-text); max-width: 34rem; margin: 28px 0 0; line-height: 1.55; }
.hero :focus-visible { outline-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-canopy { position: absolute; right: -120px; top: -10px; width: min(760px, 60vw); height: auto; z-index: 0; }
.hero-canopy g { stroke: var(--forest-line); }
.hero-seed { fill: var(--gold); }
.hero-next { display: inline-flex; gap: 8px; align-items: center; margin-top: 30px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.45); padding-bottom: 2px; }
.hero-next::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hero-next:hover { border-bottom-color: var(--gold); }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }
.hero-links .hero-next { margin-top: 0; }
.hero-available::before { background: #5FD08B; }

/* inner pages (thanks, problem, 404): light page under the green header */
.page { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero { padding: clamp(48px, 9vw, 104px) 0 clamp(48px, 8vw, 88px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
.page-hero .lede { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 38rem; margin: 24px 0 0; }
.page-hero .lede a { color: var(--ink); }

/* ---------- what's coming ---------- */
.coming { padding: clamp(56px, 8vw, 88px) 0 8px; }
.section-head { display: grid; gap: 12px; max-width: 52rem; margin-bottom: 32px; }
.section-head p { max-width: 40rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }

/* featured (next) product: details on its colour, form beside it */
.featured {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.featured-info { background: var(--product); color: #fff; padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.featured-icon { display: block; width: 72px; height: 72px; border-radius: 16px; margin-bottom: 26px; }
.featured h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.featured-line { margin: 12px 0 24px; font-size: 1.12rem; line-height: 1.55; color: #D7DEEC; max-width: 30rem; }
.featured-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.featured-more { display: inline-flex; gap: 8px; color: var(--ink); background: var(--gold); padding: 11px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.featured-more:hover { background: #EBBE57; }
.featured-ask { color: #fff; font-weight: 600; font-size: 0.97rem; }
.featured-info :focus-visible { outline-color: var(--gold); }
.featured-form { padding: clamp(20px, 3vw, 36px); }
.featured-form h4 { font-family: var(--head); font-weight: 600; font-size: 1.2rem; margin: 0 0 4px; }
.featured-form .signup { margin-top: 12px; background: none; border: 0; padding: 0; max-width: none; }

/* the products that follow: compact cards, two across */
.later-title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 48px 0 16px; }
.later-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.later-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.later-block { background: var(--product); color: var(--mark); display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 20px 24px; }
.later-icon { display: block; width: 44px; height: 44px; border-radius: 10px; }
.later-name { font-family: var(--head); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.65rem); letter-spacing: -0.015em; margin: 0; line-height: 1.1; }
.later-body { padding: 18px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.later-line { margin: 0 0 16px; color: #3B4643; }
.later-body .signup-box { margin: auto 0 0; }
.later-body .signup { max-width: none; }
.later-body .field-grid { grid-template-columns: 1fr; }

.status { margin: 0 0 6px; font-size: 0.95rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.status-next::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.featured .status-on-dark { color: var(--gold); }

/* an odd last card spans the full width, laid out sideways */
.later-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.later-card:last-child:nth-child(odd) .later-block { min-height: 100%; }

/* product colours (block background + mark colour) */
.p-nia-school { --product: #1B3260; --mark: #E1AE3D; }
.p-nia-mart { --product: #147049; --mark: #E1AE3D; }
.p-websites { --product: #1F2933; --mark: #E1AE3D; }
.p-pikaybookings { --product: #0F5E63; --mark: #9FD8D3; }
.p-nirs { --product: #6B3A1F; --mark: #F0C99A; }
.p-3wp { --product: #2A2A22; --mark: #E1AE3D; }
.p-3wtai { --product: #4A2030; --mark: #E1AE3D; }

/* sign-up toggle + form */
.signup-box { margin-bottom: 14px; }
.signup-box summary {
  display: inline-block; cursor: pointer; font-weight: 600; padding: 11px 16px;
  border: 2px solid var(--ink); border-radius: 6px; list-style: none;
}
.signup-box summary::-webkit-details-marker { display: none; }
.signup-box summary::after { content: "  +"; }
.signup-box[open] summary::after { content: "  −"; }
.signup-box summary:hover { background: var(--page); }

.signup { margin-top: 16px; background: var(--page); border: 1px solid var(--line); border-radius: 8px; padding: 20px; max-width: 46rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 5px; }
.field input { width: 100%; font: 400 1rem/1.3 var(--body); color: var(--ink); background: #fff; border: 1.5px solid #9BA5A2; border-radius: 6px; padding: 11px 12px; }
.field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.hint { margin: 5px 0 0; font-size: 0.88rem; color: var(--muted); }
.tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.97rem; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.turnstile-slot { margin-top: 14px; min-height: 0; }
.turnstile-slot:not(:empty) { min-height: 65px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- about / partners ---------- */
.about { padding: 72px 0 24px; max-width: 44rem; }
.about h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.about p { margin: 0 0 16px; }
.partners { padding: 8px 0 80px; }
.partners p { margin: 0; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--surface); max-width: 44rem; }
.partners a { font-weight: 600; }

/* ---------- privacy text ---------- */
.prose { max-width: 42rem; padding: 56px 0 72px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.3rem; margin: 34px 0 8px; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { padding-left: 1.2em; }

/* ---------- footer (green, mirrors the header) ---------- */
.site-footer { background: var(--forest); color: var(--forest-text); }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--gold); }
.footer-inner {
  max-width: var(--measure); margin: 0 auto; padding: 44px var(--gutter) 36px; font-size: 0.97rem;
  display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start;
}
.footer-inner p { margin: 0 0 6px; }
.footer-address { margin-top: 14px; font-style: normal; line-height: 1.55; }
.footer-contact { text-align: right; }
.footer-small { grid-column: 1 / -1; border-top: 1px solid var(--forest-line); padding-top: 18px; margin-top: 8px !important; font-size: 0.9rem; }

/* ---------- available now (revealed products) ---------- */
.available {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-top: clamp(48px, 7vw, 72px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.available-info { background: var(--product); color: #fff; padding: clamp(24px, 3.4vw, 40px); }
.available-icon { display: block; width: 64px; height: 64px; border-radius: 14px; margin-bottom: 20px; }
.available-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.available-line { margin: 10px 0 18px; color: #D9DDE1; font-size: 1.08rem; max-width: 28rem; }
.available-price { margin: 0; color: #fff; font-weight: 600; max-width: 26rem; }
.available-body { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.available-work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.available-work a { display: block; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.available-work img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 8px; }
.available-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid #4A2030; }
.available-areas li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.available-areas a { font-family: var(--head); font-weight: 600; font-size: 1.1rem; text-decoration: none; color: #4A2030; }
.available-areas a:hover { text-decoration: underline; }
.available-areas p { margin: 4px 0 0; color: #3B4643; font-size: 0.97rem; }
.available-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: auto; }
.status-available::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5FD08B; flex: none; }
.status-available { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 8px; }
.available .status-available, .hero .status-available { color: #9FE3B8; }
.hero .status-next.status-on-dark { color: var(--gold); }

/* ---------- how it works ---------- */
/* white band across the full width, to separate "how it works" from the product sections */
.how { padding: clamp(56px, 7vw, 80px) 0; margin-top: clamp(56px, 7vw, 80px); background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.how h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.how-intro { margin: 0 0 28px; color: var(--muted); max-width: 46rem; }
.how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.how-drawing { width: 100%; height: auto; background: var(--forest); border-radius: 12px; padding: 18px; }
.how-links { stroke: #3C8A63; }
.how-wifi { stroke: var(--gold); }
.how-wifi-dot, .how-seed { fill: var(--gold); }
.how-main { fill: #E8F1EA; }
.how-screen { fill: #1E6B48; }
.how-device { fill: none; stroke: #CFE3D6; stroke-width: 2.5; }
.how-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.how-points li { border-left: 3px solid var(--gold); padding-left: 18px; }
.how-points strong { display: block; font-family: var(--head); font-weight: 600; font-size: 1.12rem; }

/* ---------- questions and answers ---------- */
.faq { padding: clamp(64px, 8vw, 88px) 0 8px; }
.faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 1.1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--gold-ink); }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0 0 20px; max-width: 46rem; color: #3B4643; }

/* ---------- websites page ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; padding: clamp(48px, 7vw, 72px) 0 8px; align-items: start; }
.price-card { background: var(--forest); color: var(--forest-text); border-radius: 12px; padding: clamp(24px, 3vw, 36px); }
.price-card .price { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.price-card p { margin: 0 0 22px; }
.price-card :focus-visible { outline-color: var(--gold); }
.included { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 36px); }
.included h2 { font-size: 1.4rem; margin-bottom: 14px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid #1E6B48; border-bottom: 2.5px solid #1E6B48; transform: rotate(-45deg); }
.work { padding: clamp(56px, 7vw, 80px) 0 8px; }
.work h2, .steps-section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-shots { position: relative; display: block; padding-right: 48px; margin-bottom: 16px; }
.work-desktop { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(13, 63, 42, 0.5); }
.work-phone { position: absolute; right: 0; bottom: -10px; width: 26%; height: auto; border-radius: 12px; border: 4px solid var(--ink); }
.work-item h3 { font-size: 1.3rem; }
.work-item p { margin: 4px 0 6px; color: var(--muted); }
.steps-section { padding: clamp(56px, 7vw, 80px) 0 72px; }
.steps { margin: 0 0 32px; padding-left: 1.3em; display: grid; gap: 14px; max-width: 46rem; }
.steps li::marker { font-family: var(--head); font-weight: 600; color: var(--gold-ink); }

@media (max-width: 760px) {
  .available { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- product page (Nia School) ---------- */
.hero-product { background: var(--product); }
.hero-product .lede { color: #D7DEEC; }
.product-hero-icon { display: block; width: 80px; height: 80px; border-radius: 18px; margin-bottom: 24px; }
.ns-core, .ns-modules, .ns-specs { padding: clamp(56px, 7vw, 80px) 0 8px; }
.ns-core h2, .ns-specs h2, .ns-signup h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 24px; }
.core-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 2px solid #1B3260; }
.core-grid li { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.core-grid h3 { font-size: 1.15rem; margin-bottom: 6px; color: #1B3260; }
.core-grid p { margin: 0; color: #3B4643; font-size: 0.98rem; }
.module-groups { display: grid; gap: 12px; }
.module-group { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.module-group summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; display: grid; gap: 4px; }
.module-group summary::-webkit-details-marker { display: none; }
.module-group summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-size: 1.5rem; color: var(--gold-ink); }
.module-group[open] summary::after { content: "−"; }
.module-group-title { font-family: var(--head); font-weight: 600; font-size: 1.15rem; }
.module-names { color: var(--muted); font-size: 0.95rem; }
.module-group dl { margin: 0; padding: 0 22px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.module-group dt { font-weight: 600; }
.module-group dd { margin: 2px 0 0; color: #3B4643; font-size: 0.96rem; }
.spec-table { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-table > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.spec-table > div:last-child { border-bottom: 0; }
.spec-table > div:nth-child(odd) { background: #FAFBF8; }
.spec-table dt { font-weight: 600; color: #1B3260; }
.spec-table dd { margin: 0; }
.ns-signup { margin: clamp(56px, 7vw, 80px) 0 72px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(22px, 3vw, 36px); scroll-margin-top: 16px; }
.ns-signup-text p { color: #3B4643; }
.ns-signup-form .signup { margin: 0; background: none; border: 0; padding: 0; max-width: none; }

@media (max-width: 760px) {
  .core-grid { grid-template-columns: 1fr; }
  .module-group dl { grid-template-columns: 1fr; }
  .spec-table > div { grid-template-columns: 1fr; gap: 2px; }
  .ns-signup { grid-template-columns: 1fr; }
}

/* ---------- header product links ---------- */
.page-links { display: flex; gap: 22px; margin-left: auto; margin-right: 28px; font-weight: 600; font-size: 0.98rem; }
.page-links a { text-decoration: none; color: #CFE3D6; padding: 6px 0; border-bottom: 2px solid transparent; }
.page-links a:hover, .page-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* ---------- product page heroes: facts or a picture beside the text ---------- */
.hero-product, .hero-websites { display: grid; }
.hero-product .hero-inner, .hero-websites .hero-inner { grid-area: 1 / 1; width: 100%; }
.glance, .hero-shot {
  grid-area: 1 / 1; align-self: center; justify-self: end; z-index: 1;
  margin: 0 max(var(--gutter), calc((100vw - var(--measure)) / 2 + var(--gutter))) 0 0;
}
.hero-product .hero-inner > *, .hero-websites .hero-inner > * { max-width: min(36rem, 52%); }
.glance { width: min(340px, 34%); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 8px 24px; }
.glance > div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.glance > div:last-child { border-bottom: 0; }
.glance dt { font-size: 0.88rem; color: #AFC0DD; }
.glance dd { margin: 2px 0 0; font-family: var(--head); font-weight: 600; font-size: 1.2rem; color: #fff; }
.hero-shot { width: min(460px, 38%); }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); }
.hero-shot figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--forest-text); }

@media (max-width: 900px) {
  .hero-product .hero-inner > *, .hero-websites .hero-inner > * { max-width: none; }
  .glance, .hero-shot { grid-area: auto; justify-self: stretch; width: auto; margin: -40px var(--gutter) 48px; }
  .glance { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .glance > div:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 760px) {
  .core-grid { grid-template-columns: 1fr; }
  .page-links { order: 3; width: 100%; margin: 0; gap: 22px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

/* ---------- footer page links + compact glance in the home Nia School panel ---------- */
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.featured .glance-compact { position: static; width: auto; justify-self: stretch; grid-area: auto; margin: 0 0 24px; padding: 4px 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.featured .glance-compact > div { padding: 10px 0; }
.featured .glance-compact > div:nth-last-child(2) { border-bottom: 0; }
.featured .glance-compact dd { font-size: 1.02rem; }

/* ---------- about page + team ---------- */
.hero-about .hero-inner { padding-bottom: clamp(48px, 7vw, 88px); }
.about-text { max-width: 42rem; padding: clamp(48px, 6vw, 72px) 0 8px; font-size: 1.1rem; }
.about-text p { margin: 0 0 18px; }
.more-link { font-weight: 600; }
.team { padding: clamp(48px, 6vw, 72px) 0 8px; }
.team h2, .visit h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 24px; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 24px; }
.person-photo { display: block; width: 100%; max-width: 240px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 12px; background: var(--forest); margin-bottom: 14px; }
.person-initial { display: grid; place-items: center; color: #CFE3D6; font: 600 3rem var(--head); }
.person h3 { font-size: 1.2rem; }
.person-role { margin: 2px 0 8px; color: var(--gold-ink); font-weight: 600; }
.person-bio { margin: 0 0 8px; color: #3B4643; font-size: 0.97rem; }
.person-email { margin: 0 0 4px; font-size: 0.93rem; overflow-wrap: anywhere; }
.person-links { margin: 0 0 0 -10px; display: flex; flex-wrap: wrap; gap: 2px; }
.visit { padding: clamp(48px, 6vw, 72px) 0 72px; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.visit-grid address { font-style: normal; line-height: 1.6; }
.visit-grid p { margin: 0; line-height: 1.8; }
.visit-grid .actions { margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; margin: 0 -10px 8px 0 !important; }
/* icon-only social links: 44 px tap target, name given by aria-label */
.social-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: inherit; text-decoration: none; }
.social-icon:hover { background: rgba(127, 127, 127, 0.14); }
.social-icon svg { display: block; }
.person-links .social-icon { color: var(--ink); }
/* admin team */
.team-thumb { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--forest); color: #fff; font-weight: 600; vertical-align: middle; }
.team-preview { width: 120px; height: 120px; margin-top: 10px; display: block; }
.team-preview[hidden] { display: none; }
.team-table { margin-bottom: 24px; }
.inline-form { display: inline; margin: 0 0 24px; }
.inline-form button { background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
@media (max-width: 760px) {
  .visit-grid { grid-template-columns: 1fr; }
  .footer-social { justify-content: flex-start; margin: 0 0 8px -10px !important; }
}

/* ---------- editions (offline / online) ---------- */
.editions-tag { margin: -8px 0 18px; font-size: 0.92rem; font-weight: 600; color: #AFC0DD; }
.editions-tag-light { margin: -8px 0 14px; color: var(--muted); }
.ns-editions { padding: clamp(56px, 7vw, 80px) 0 8px; }
.ns-editions h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 24px; }
.edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edition { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 30px); }
.edition-tag { margin: 0 0 6px; font-size: 0.9rem; font-weight: 600; color: var(--gold-ink); }
.edition h3 { font-size: 1.4rem; color: #1B3260; }
.edition-best { margin: 8px 0 16px; color: #3B4643; }
.editions-note { margin: 16px 0 0; color: var(--muted); max-width: 46rem; }
.spec-scroll { overflow-x: auto; }
.spec-compare { width: 100%; border-collapse: collapse; }
.spec-compare th, .spec-compare td { text-align: left; vertical-align: top; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.spec-compare thead th { font-family: var(--head); font-weight: 600; color: #1B3260; background: #FAFBF8; }
.spec-compare tbody th { font-weight: 600; color: #1B3260; width: 200px; }
.spec-compare tbody tr:last-child th, .spec-compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .edition-grid { grid-template-columns: 1fr; }
  .spec-compare thead { display: none; }
  .spec-compare, .spec-compare tbody, .spec-compare tr, .spec-compare th, .spec-compare td { display: block; width: auto; }
  .spec-compare tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .spec-compare tbody th, .spec-compare td { padding: 2px 0; border: 0; }
  .spec-compare td:not([colspan])::before { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
  .spec-compare td:nth-of-type(1):not([colspan])::before { content: "On your own computer"; }
  .spec-compare td:nth-of-type(2)::before { content: "Online"; }
  .spec-compare td + td { margin-top: 8px; }
}

/* ---------- text messages section (Nia School) ---------- */
.ns-alerts { padding: clamp(56px, 7vw, 80px) 0 8px; }
.ns-alerts h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 10px; }
.section-lede { margin: 0 0 22px; color: var(--muted); max-width: 46rem; }
.alerts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alerts-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 28px); }
.alerts-grid h3 { font-size: 1.15rem; color: #1B3260; margin-bottom: 12px; }
@media (max-width: 760px) { .alerts-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .hero-canopy { width: 420px; right: -170px; top: auto; bottom: -130px; opacity: 0.6; }
  .featured { grid-template-columns: 1fr; }
  .featured-icon { width: 56px; height: 56px; border-radius: 13px; margin-bottom: 18px; }
  .featured-line { margin-bottom: 18px; }
  .later-grid { grid-template-columns: 1fr; }
  .later-card:last-child:nth-child(odd) { display: flex; }
  .later-card:last-child:nth-child(odd) .later-block { min-height: 76px; }
  .later-block { min-height: 76px; padding: 16px; }
  .later-body { padding: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .field-grid { grid-template-columns: 1fr; }
  .contact-links { gap: 16px; }
}
@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; row-gap: 6px; }
  .nav-extra { display: none; }
  .nav-whatsapp { background: var(--gold); color: var(--ink); border: 0 !important; border-radius: 6px; padding: 9px 13px !important; }
  .logo-name { font-size: 1.4rem; }
}
@media (max-width: 420px) {
  .actions .button { width: 100%; text-align: center; }
}

/* ---------- admin (staff only, /admin) ---------- */
.admin { font-size: 1rem; }
.admin-bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: var(--ink); color: #fff; font-weight: 600;
}
.admin-bar a { color: #fff; text-decoration: none; }
.admin-bar a:hover { text-decoration: underline; }
.admin-main { max-width: 80rem; margin: 0 auto; padding: 28px var(--gutter) 64px; }
.admin-main h1 { font-size: 2rem; }
.admin-main h2 { font-size: 1.35rem; }
.admin-new { margin: 6px 0 22px; color: var(--gold-ink); font-weight: 600; }
.admin-help { color: var(--muted); font-size: 0.93rem; max-width: 52rem; margin: 10px 0 34px; }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 0.95rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table thead th { font-size: 0.85rem; color: var(--muted); font-weight: 600; background: var(--page); }
.admin-table.summary { max-width: 52rem; }
.admin-table.summary form { margin: 0; }

.mini-button {
  display: inline-block; font: 600 0.88rem/1 var(--body); color: #fff; background: var(--ink);
  border: 0; border-radius: 5px; padding: 8px 11px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.mini-button:hover { background: #2E3A45; }
.mini-link { font-size: 0.9rem; color: var(--muted); margin-left: 6px; }
.danger { color: #A3261B; }
.danger-button { background: #A3261B; border-color: #A3261B; }
.danger-button:hover { background: #8A1F16; border-color: #8A1F16; }
.admin-confirm { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- admin: website text ---------- */
.admin-sections { display: flex; gap: 20px; }
.admin-notice { background: #E7F4EC; border-left: 4px solid #1E6B48; padding: 12px 16px; margin: 0 0 20px; }
.admin-errors { background: #FCEBEA; border-left: 4px solid #A3261B; padding: 12px 16px; margin: 0 0 20px; }
.admin-errors p { margin: 0 0 6px; font-weight: 600; }
.admin-errors ul { margin: 0; padding-left: 1.2em; }
.text-jump { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 28px; font-weight: 600; }
.text-section { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 22px; scroll-margin-top: 12px; }
.text-section h2 { margin-bottom: 14px; }
.text-section .field { margin-bottom: 12px; }
.text-section textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--ink); border: 1.5px solid #9BA5A2; border-radius: 6px; padding: 10px 12px; resize: vertical; }
.text-section textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.qa-edit { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 4px; margin: 0 0 12px; }
.qa-edit legend { font-weight: 600; padding: 0 6px; }
.text-section .button { margin-top: 6px; }

@media (max-width: 760px) {
  .admin-table.list thead { display: none; }
  .admin-table.list tr { display: block; border-bottom: 2px solid var(--line); padding: 8px 0; }
  .admin-table.list td { display: flex; gap: 12px; border: 0; padding: 4px 12px; }
  .admin-table.list td::before { content: attr(data-label); min-width: 5.5rem; color: var(--muted); font-size: 0.85rem; }
}
.table-scroll { overflow-x: auto; max-width: 52rem; }
@media (max-width: 760px) {
  .admin-table.summary th, .admin-table.summary td { padding: 9px 8px; }
  .admin-table.list td > span { min-width: 0; }
}
.admin-bar nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-account { display: flex; gap: 14px; align-items: center; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.3); }
.admin-email { font-weight: 400; opacity: 0.85; }
@media (max-width: 560px) { .admin-email { display: none; } .admin-account { padding-left: 12px; } }

/* ---------- 3WTAI page ---------- */
.ai-areas, .ai-safeguards { padding: clamp(56px, 7vw, 80px) 0 8px; }
.ai-areas h2, .ai-safeguards h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 24px; }
.ai-safeguards h2 { margin-bottom: 12px; }
.ai-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ai-area { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid #4A2030; border-radius: 12px; padding: clamp(20px, 2.6vw, 28px); scroll-margin-top: 24px; }
.ai-area h3 { font-size: 1.35rem; color: #4A2030; margin-bottom: 14px; }
.ai-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.ai-core { border-top-color: #4A2030; }
.ai-core h3 { color: #4A2030; }
.ai-steps { margin: 0; }
.p-3wtai .glance dt { color: #E3C3CD; }
@media (max-width: 980px) { .ai-area-grid { grid-template-columns: 1fr; } }
