/* =====================================================================
   MockTest - public stylesheet
   Serves both the marketing pages and the long-form policy pages.
   Self-contained: no imports, no web fonts, no external assets.

   Design notes
   -----------
   Direction: "the question paper". The visual language of the Indian
   exam hall - warm paper, hairline rules, a bookish serif for display,
   monospace digits for marks and labels, and the OMR bubble as the
   brand motif. One interactive hue: deep board green. Ballpoint blue
   appears only inside paper artefacts (a filled answer bubble), never
   on a control.

   Type roles
     display : Iowan Old Style / Palatino Linotype / Georgia (serif)
     body    : system sans
     utility : system mono - eyebrows, labels, numerals, badges

   CONTENTS
     1.  Tokens
     2.  Reset and base elements
     3.  Layout: container, section, grid
     4.  Type helpers: eyebrow, lead, muted, sr-only
     5.  Buttons
     6.  Site header and nav
     7.  Hero
     8.  Page header (policy title band)
     9.  Cards
     10. Prose (policy / legal reading column)
     11. Notice callout (exam instruction box)
     12. Pricing
     13. Steps
     14. FAQ (details / summary)
     15. Contact list
     16. Tables
     17. Site footer
     18. Responsive
     19. Print
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
    --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
        Georgia, "Times New Roman", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono",
        SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

    /* Board green - the single interactive hue */
    --board: #0f5c46;
    --board-strong: #0a4434;
    --board-line: #bcd6cc;
    --board-tint: #ecf3ef;

    /* Ballpoint blue - paper artefacts only, never controls */
    --ballpoint: #2740a8;

    /* Graphite ink with a cool green cast */
    --ink: #1c2420;
    --ink-soft: #4d5a54;
    --ink-faint: #74807a;

    /* Paper */
    --page: #ffffff;
    --paper: #f6f4ee;
    --paper-deep: #efece2;
    --surface: #ffffff;
    --line: #e5e2d8;
    --line-strong: #cfcaba;

    /* Footer ground */
    --ground: #0d2b23;
    --ground-soft: #a9c4ba;
    --ground-faint: #7d9c91;

    /* Error red - form validation and failure notices only */
    --danger: #a1332a;
    --danger-line: #e2c3bf;
    --danger-tint: #f9efed;

    --radius: 10px;
    --radius-sm: 7px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 2px rgba(28, 36, 32, .06);
    --shadow-md: 0 6px 22px rgba(28, 36, 32, .09);
    --shadow-lg: 0 20px 50px rgba(28, 36, 32, .14);

    --gutter: 20px;
    --max: 1104px;
    --measure: 800px;

    /* Legacy aliases - older page-scoped styles may still read these */
    --accent: var(--board);
    --accent-strong: var(--board-strong);
    --accent-line: var(--board-line);
    --accent-tint: var(--board-tint);
    --band: var(--ground);
    --band-soft: var(--ground-soft);
}


/* ---------------------------------------------------------------------
   2. RESET AND BASE ELEMENTS
   --------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 .6em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--ink);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.1rem, 1.45rem + 2.8vw, 3.4rem);
    letter-spacing: -.012em;
}

h2 {
    font-size: clamp(1.55rem, 1.28rem + 1.15vw, 2.2rem);
}

h3 {
    font-size: clamp(1.16rem, 1.08rem + .34vw, 1.35rem);
}

h4 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 1.05em;
}

a {
    color: var(--board);
    text-decoration: underline;
    text-underline-offset: .18em;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--board-line);
    overflow-wrap: anywhere;
    transition: color .14s ease, text-decoration-color .14s ease;
}

a:hover {
    color: var(--board-strong);
    text-decoration-color: currentColor;
}

strong,
b {
    font-weight: 700;
    color: var(--ink);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.4rem 0;
}

code,
kbd,
samp {
    font-family: var(--font-mono);
    font-size: .88em;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: .08em .34em;
}

address {
    font-style: normal;
}

::selection {
    background: var(--board);
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--board);
    outline-offset: 2px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ground);
    color: #fff;
    padding: .7rem 1.1rem;
    border-radius: 0 0 var(--radius-sm) 0;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

.site-main {
    display: block;
    min-height: 40vh;
}


/* ---------------------------------------------------------------------
   3. LAYOUT: container, section, grid
   --------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding: clamp(2.8rem, 1.7rem + 3.6vw, 5rem) 0;
}

/* Every paper-toned band carries the same answer-book ruling as the
   hero and the page header, so the texture reads as one material used
   consistently rather than a one-off effect. */
.section-alt {
    background-color: var(--paper);
    background-image: repeating-linear-gradient(to bottom,
            transparent 0 35px,
            rgba(28, 36, 32, .04) 35px 36px);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 700px;
    margin: 0 0 clamp(1.7rem, 1.15rem + 1.7vw, 2.8rem);
}

.section-head.is-centered {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 1.28rem + 1.15vw, 2.2rem);
    margin: 0 0 .5rem;
}

.section-sub {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.grid {
    display: grid;
    gap: clamp(1rem, .7rem + 1vw, 1.6rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
    display: grid;
    gap: clamp(1rem, .7rem + 1vw, 1.6rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    display: grid;
    gap: clamp(1rem, .7rem + 1vw, 1.6rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    display: grid;
    gap: clamp(1rem, .7rem + 1vw, 1.6rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ---------------------------------------------------------------------
   4. TYPE HELPERS
   The eyebrow is set in the utility mono, like the small print at the
   top of a question paper, and carries a four-bubble OMR strip.
   --------------------------------------------------------------------- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .8rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--board);
}

.eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 34px;
    height: 7px;
    background-image:
        radial-gradient(circle 3.5px at 3.5px 50%, var(--board) 0 3px, transparent 3px),
        radial-gradient(circle 3.5px at 12.5px 50%, transparent 0 2px, var(--board-line) 2px 3px, transparent 3px),
        radial-gradient(circle 3.5px at 21.5px 50%, transparent 0 2px, var(--board-line) 2px 3px, transparent 3px),
        radial-gradient(circle 3.5px at 30.5px 50%, transparent 0 2px, var(--board-line) 2px 3px, transparent 3px);
    background-repeat: no-repeat;
}

.lead {
    font-size: 1.13rem;
    line-height: 1.62;
    color: var(--ink-soft);
}

.muted {
    color: var(--ink-soft);
}

.small {
    font-size: .92rem;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}


/* ---------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: .98rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease,
        color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--board);
    border-color: var(--board);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--board-strong);
    border-color: var(--board-strong);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--board);
    color: var(--board-strong);
}

.btn-sm {
    padding: .5rem 1rem;
    font-size: .92rem;
}

.btn-lg {
    padding: .95rem 1.9rem;
    font-size: 1.06rem;
}

.btn-block {
    display: flex;
    width: 100%;
}


/* ---------------------------------------------------------------------
   6. SITE HEADER AND NAV
   White bar over a thin board-green ribbon, like the binding tape on
   an exam booklet.
   --------------------------------------------------------------------- */
.site-header {
    background: var(--surface);
    border-top: 3px solid var(--board);
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding-block: .7rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .62rem;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.36rem;
    letter-spacing: -.01em;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    border: 2px solid var(--board);
    color: var(--board);
    background:
        radial-gradient(circle 7px at 50% 50%, var(--board) 0 6.5px, transparent 7px);
}

.brand-name {
    display: inline-block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, .2rem + 1vw, 1.5rem);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: .96rem;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--board-strong);
    border-bottom-color: var(--board-line);
}

.nav-link.is-active {
    color: var(--board-strong);
    border-bottom-color: var(--board);
}


/* ---------------------------------------------------------------------
   7. HERO
   Light paper ground with faint answer-book rules. The dark slab is
   gone; the drama comes from the serif headline and the question-paper
   artefact the landing page places beside it.
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    background-color: var(--paper);
    background-image: repeating-linear-gradient(to bottom,
            transparent 0 35px,
            rgba(28, 36, 32, .04) 35px 36px);
    color: var(--ink);
    padding: clamp(3rem, 1.8rem + 4.8vw, 6rem) 0;
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--board);
}

.hero-title {
    margin: 0 0 1rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.014em;
}

.hero-sub {
    margin: 0 0 1.9rem;
    max-width: 58ch;
    font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
    line-height: 1.62;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero .btn-secondary {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.hero .btn-secondary:hover {
    background: var(--surface);
    border-color: var(--board);
    color: var(--board-strong);
}

.hero-note {
    margin: 1.5rem 0 0;
    font-size: .93rem;
    color: var(--ink-soft);
}

.hero-note a {
    color: var(--board);
}


/* ---------------------------------------------------------------------
   8. PAGE HEADER (policy title band)
   A paper title block with the double rule of a printed question
   paper. Same family as the hero, so legal pages read as the product.
   --------------------------------------------------------------------- */
.page-header {
    background-color: var(--paper);
    background-image: repeating-linear-gradient(to bottom,
            transparent 0 35px,
            rgba(28, 36, 32, .04) 35px 36px);
    color: var(--ink);
    padding: clamp(2.4rem, 1.6rem + 2.8vw, 4rem) 0 clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
    border-bottom: 3px double var(--line-strong);
}

.page-header .eyebrow,
.page-header .hero-eyebrow {
    color: var(--board);
}

.page-header h1,
.page-header .page-title {
    margin: 0;
    color: var(--ink);
    max-width: var(--measure);
    font-family: var(--font-display);
    font-weight: 600;
}

.page-header-sub,
.page-header-meta {
    margin: .85rem 0 0;
    max-width: var(--measure);
    color: var(--ink-soft);
    font-size: 1rem;
}

.page-header-meta {
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: .02em;
    color: var(--ink-faint);
}

.page-header a {
    color: var(--board-strong);
}


/* ---------------------------------------------------------------------
   9. CARDS
   --------------------------------------------------------------------- */
.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 1rem + .7vw, 1.8rem);
    box-shadow: var(--shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease,
        transform .15s ease;
}

.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card > *:last-child {
    margin-bottom: 0;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--board-tint);
    border: 1px solid var(--board-line);
    color: var(--board-strong);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-title {
    margin: 0 0 .5rem;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.008em;
}

.card-text {
    margin: 0;
    color: var(--ink-soft);
    font-size: .99rem;
}

.card-text + .card-text {
    margin-top: .8em;
}


/* ---------------------------------------------------------------------
   10. PROSE - the reading column for policy and legal pages
   Serif headings over sans body, like a printed regulation with a
   modern setting. Numbered h2s hang their rule like paper sections.
   --------------------------------------------------------------------- */
.prose {
    max-width: var(--measure);
    margin-inline: auto;
    font-size: 1.02rem;
    line-height: 1.74;
    color: var(--ink);
}

.prose > *:first-child {
    margin-top: 0;
}

.prose > *:last-child {
    margin-bottom: 0;
}

.prose h1 {
    margin: 0 0 1rem;
}

.prose h2 {
    margin: 2.7rem 0 .85rem;
    padding-top: 1.7rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.32rem, 1.18rem + .55vw, 1.62rem);
    font-weight: 600;
    letter-spacing: -.006em;
}

.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    margin: 1.9rem 0 .55rem;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
}

.prose h4 {
    margin: 1.5rem 0 .45rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-soft);
}

.prose p {
    margin: 0 0 1.1em;
}

.prose ul,
.prose ol {
    margin: 0 0 1.25em;
    padding-left: 1.35em;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: .55em;
    padding-left: .15em;
}

.prose li::marker {
    color: var(--board);
    font-weight: 600;
}

.prose ol > li::marker {
    font-family: var(--font-mono);
    font-size: .92em;
}

.prose li > ul,
.prose li > ol {
    margin-top: .55em;
    margin-bottom: .2em;
}

.prose strong {
    font-weight: 700;
}

.prose a {
    color: var(--board);
    font-weight: 550;
}

.prose blockquote {
    margin: 1.6rem 0;
    padding: .2rem 0 .2rem 1.15rem;
    border-left: 3px solid var(--board);
    color: var(--ink-soft);
}

.prose dl {
    margin: 0 0 1.25em;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 1.1rem 1.25rem .95rem;
}

.prose dt {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: .95em;
}

.prose dt:first-child {
    margin-top: 0;
}

.prose dd {
    margin: .18em 0 0;
    padding-left: 0;
    color: var(--ink);
    font-weight: 500;
}

.prose table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: .96rem;
}

.prose table th,
.prose table td {
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose table th {
    background: var(--paper);
    font-weight: 700;
}

.prose hr {
    margin: 2.2rem 0;
}


/* ---------------------------------------------------------------------
   11. NOTICE - the exam instruction box
   Modelled on the "read the following instructions carefully" panel
   printed at the top of a question paper.
   --------------------------------------------------------------------- */
.notice {
    margin: 0 0 1.8rem;
    padding: 1.05rem 1.25rem;
    background: var(--board-tint);
    border: 1px solid var(--board-line);
    border-left: 3px solid var(--board);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
    font-size: .97rem;
    line-height: 1.62;
}

.notice > *:last-child {
    margin-bottom: 0;
}

.notice-title {
    display: block;
    margin: 0 0 .35rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--board-strong);
}

.notice-plain {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--line-strong);
}

.notice-plain .notice-title {
    color: var(--ink-soft);
}


/* ---------------------------------------------------------------------
   12. PRICING
   The amount is set in the mono face with tabular figures - the way
   marks are printed on a mark sheet.
   --------------------------------------------------------------------- */
.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 1.1rem + .8vw, 2rem);
    box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
    border-color: var(--board);
    border-width: 1.5px;
    box-shadow: var(--shadow-md);
}

.price-name {
    margin: .6rem 0 .35rem;
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 600;
}

.price-amount {
    display: block;
    margin: .4rem 0 .25rem;
    font-family: var(--font-mono);
    font-size: clamp(2rem, 1.65rem + 1.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.price-period {
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.price-meta {
    margin: .5rem 0 1.2rem;
    color: var(--ink-soft);
    font-size: .94rem;
}

.price-features {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    flex: 1 1 auto;
}

.price-features li {
    position: relative;
    margin-bottom: .6rem;
    padding-left: 1.5rem;
    font-size: .98rem;
    color: var(--ink-soft);
}

.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--board);
    border-bottom: 2px solid var(--board);
    transform: rotate(-45deg);
}

.badge {
    display: inline-block;
    align-self: flex-start;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: var(--board-tint);
    border: 1px solid var(--board-line);
    color: var(--board-strong);
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-solid {
    background: var(--board);
    border-color: var(--board);
    color: #fff;
}


/* ---------------------------------------------------------------------
   13. STEPS - numbered because the content really is a sequence
   Question numbers in the mono face, hung on the answer-book rule.
   --------------------------------------------------------------------- */
.steps {
    counter-reset: mt-step;
    display: grid;
    gap: clamp(1rem, .8rem + .8vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    counter-increment: mt-step;
    position: relative;
    padding: .1rem 0 .1rem 1.25rem;
    border-left: 2px solid var(--board-line);
}

.step::before {
    content: "Q." counter(mt-step);
    display: block;
    margin-bottom: .3rem;
    font-family: var(--font-mono);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--board);
    font-variant-numeric: tabular-nums;
}

.step-title {
    margin: 0 0 .3rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
}

.step-text {
    margin: 0;
    color: var(--ink-soft);
    font-size: .99rem;
}


/* ---------------------------------------------------------------------
   14. FAQ - built on <details> / <summary>, no JavaScript
   --------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: .7rem;
    max-width: var(--measure);
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.faq-item[open] {
    border-color: var(--board-line);
    box-shadow: var(--shadow-sm);
}

.faq-item > summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 650;
    font-size: 1.02rem;
    line-height: 1.45;
    color: var(--ink);
    list-style: none;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: .28em;
    border-radius: 50%;
    border: 2px solid var(--board);
    background: transparent;
    transition: background-color .15s ease, transform .15s ease;
}

.faq-item[open] > summary::after {
    background: var(--board);
}

.faq-item > summary:hover {
    color: var(--board-strong);
}

.faq-item > *:not(summary) {
    padding: 0 1.2rem;
    color: var(--ink-soft);
    font-size: .99rem;
}

.faq-item > *:last-child:not(summary) {
    padding-bottom: 1.15rem;
}


/* ---------------------------------------------------------------------
   15. CONTACT LIST
   --------------------------------------------------------------------- */
.contact-list {
    display: grid;
    gap: .8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--board);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: .95rem 1.15rem;
}

.contact-item-label {
    display: block;
    margin-bottom: .22rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.contact-item-value {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.contact-item-value a {
    font-weight: 600;
}

.contact-item-note {
    display: block;
    margin-top: .22rem;
    font-size: .9rem;
    font-weight: 400;
    color: var(--ink-soft);
}


/* ---------------------------------------------------------------------
   16. TABLES - set like a mark scheme
   .table-wrap keeps wide tables from breaking the mobile layout.
   --------------------------------------------------------------------- */
.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.table-wrap > table {
    margin: 0;
    border: 0;
    min-width: 480px;
}

.table-wrap > table th,
.table-wrap > table td {
    border-left: 0;
    border-right: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96rem;
    font-variant-numeric: tabular-nums;
}

.table th,
.table td {
    padding: .72rem .9rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table thead th {
    background: var(--paper);
    border-bottom: 2px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
}

.table tbody th {
    background: var(--paper);
    font-weight: 700;
}

.table tr:last-child td,
.table tr:last-child th {
    border-bottom: 0;
}


/* ---------------------------------------------------------------------
   17. SITE FOOTER
   Deep board green, serif brand, mono labels.
   --------------------------------------------------------------------- */
.site-footer {
    background: var(--ground);
    color: var(--ground-soft);
    padding: clamp(2.6rem, 1.9rem + 2.4vw, 4rem) 0 1.6rem;
    border-top: 3px solid var(--board);
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    gap: clamp(1.6rem, 1.2rem + 1.4vw, 2.8rem);
    grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr;
}

.footer-col {
    min-width: 0;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #fff;
    margin-bottom: .3rem;
}

.footer-legal-name {
    margin: 0 0 .9rem;
    font-weight: 600;
    color: #fff;
}

.footer-note {
    margin: 0 0 .7rem;
    color: var(--ground-soft);
    font-size: .9rem;
    line-height: 1.6;
}

.footer-title {
    margin: 0 0 .95rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: .55rem;
}

.footer-links a {
    color: var(--ground-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact li {
    margin-bottom: .85rem;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ground-faint);
    margin-bottom: .12rem;
}

.footer-address {
    color: var(--ground-soft);
    line-height: 1.55;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.4rem;
    margin-top: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .88rem;
    color: var(--ground-faint);
}

.footer-copy,
.footer-gateway {
    margin: 0;
}


/* ---------------------------------------------------------------------
   17b. NOTICE VARIANTS - success and failure banners for form feedback
   --------------------------------------------------------------------- */
.notice-danger {
    background: var(--danger-tint);
    border-color: var(--danger-line);
    border-left-color: var(--danger);
}

.notice-danger .notice-title {
    color: var(--danger);
}


/* ---------------------------------------------------------------------
   17c. FORMS AND AUTH
   Login and registration, set like an admission form: a white sheet on
   the ruled paper ground, serif title over a double rule, mono field
   labels, one green submit.
   --------------------------------------------------------------------- */
.auth-section {
    background-color: var(--paper);
    background-image: repeating-linear-gradient(to bottom,
            transparent 0 35px,
            rgba(28, 36, 32, .04) 35px 36px);
    padding: clamp(2.6rem, 1.7rem + 3vw, 4.6rem) 0;
    border-bottom: 1px solid var(--line);
}

.auth-card {
    max-width: 460px;
    margin-inline: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
}

.auth-card.is-wide {
    max-width: 600px;
}

.auth-head {
    text-align: center;
    padding-bottom: 1.05rem;
    border-bottom: 3px double var(--line-strong);
    margin-bottom: 1.5rem;
}

.auth-title {
    margin: 0 0 .3rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
}

.auth-sub {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.auth-foot {
    margin-top: 1.4rem;
    padding-top: 1.05rem;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: .93rem;
    color: var(--ink-soft);
}

.auth-foot p {
    margin: 0 0 .4rem;
}

.auth-foot p:last-child {
    margin-bottom: 0;
}

.field {
    margin: 0 0 1.05rem;
}

.field-label {
    display: block;
    margin-bottom: .35rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field-input {
    display: block;
    width: 100%;
    padding: .68rem .85rem;
    font: inherit;
    font-size: .98rem;
    line-height: 1.4;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    transition: border-color .14s ease, box-shadow .14s ease;
}

.field-input:focus {
    outline: none;
    border-color: var(--board);
    box-shadow: 0 0 0 3px var(--board-tint);
}

select.field-input {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 49%, var(--ink-soft) 51%),
        linear-gradient(135deg, var(--ink-soft) 49%, transparent 51%);
    background-position:
        calc(100% - 19px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
}

.field-input[type="file"] {
    padding: .5rem .6rem;
    font-size: .92rem;
    color: var(--ink-soft);
}

.field-hint {
    display: block;
    margin-top: .3rem;
    font-size: .85rem;
    color: var(--ink-faint);
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--board);
}

.consent-box {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin: 1.3rem 0 0;
    padding: 1rem 1.1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.consent-box input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: .2rem;
}

.consent-box label {
    font-size: .9rem;
    line-height: 1.55;
    color: var(--ink);
}

.consent-note {
    margin: .5rem 0 0;
    font-size: .85rem;
    color: var(--ink-faint);
}

.form-actions {
    margin-top: 1.4rem;
}

.form-errors {
    margin-top: 1.1rem;
}

.form-errors:empty {
    display: none;
}

.form-errors .text-danger {
    display: block;
    margin: 0 0 .35rem;
    padding-left: 1rem;
    position: relative;
    color: var(--danger);
    font-size: .92rem;
}

.form-errors .text-danger::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--danger);
}


/* ---------------------------------------------------------------------
   18. RESPONSIVE
   Ordered widest to narrowest so later rules win.
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1.2fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 18px;
    }

    body {
        font-size: 16px;
    }

    .grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-header-inner {
        flex-direction: column;
        align-items: center;
        gap: .35rem;
        padding-block: .85rem;
        text-align: center;
    }

    .site-nav {
        justify-content: center;
        gap: .55rem 1rem;
        width: 100%;
    }

    .hero-actions .btn,
    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .nav-link {
        font-size: .9rem;
    }

    .btn {
        padding: .72rem 1.1rem;
    }

    .btn-sm {
        padding: .45rem .8rem;
        font-size: .88rem;
    }

    .brand {
        font-size: 1.2rem;
    }

    .site-nav {
        gap: .45rem .75rem;
    }

    .table-wrap > table {
        min-width: 420px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .btn:hover,
    .card:hover {
        transform: none;
    }
}


/* ---------------------------------------------------------------------
   19. PRINT - policy pages are often saved to PDF by reviewers
   --------------------------------------------------------------------- */
@media print {
    :root {
        --gutter: 0;
    }

    html,
    body {
        background: #fff;
        color: #000;
        font-size: 11.5pt;
        line-height: 1.45;
        overflow: visible;
    }

    .site-header,
    .site-nav,
    .skip-link,
    .hero-actions,
    .btn {
        display: none !important;
    }

    .container,
    .prose,
    .faq-list {
        max-width: 100%;
        width: auto;
        padding: 0;
        margin: 0;
    }

    .section {
        padding: 0 0 12pt;
    }

    .section-alt {
        background: #fff !important;
        background-image: none !important;
        border: 0;
    }

    .page-header,
    .hero,
    .site-footer {
        background: #fff !important;
        background-image: none !important;
        color: #000 !important;
        border: 0;
        border-bottom: 1pt solid #000;
        padding: 0 0 10pt;
        margin-bottom: 14pt;
    }

    .site-footer {
        border: 0;
        border-top: 1pt solid #000;
        padding: 10pt 0 0;
        margin: 18pt 0 0;
        font-size: 9.5pt;
    }

    .page-header h1,
    .page-header .page-title,
    .hero-title,
    .footer-brand-name,
    .footer-legal-name,
    .footer-title,
    .page-header .eyebrow {
        color: #000 !important;
    }

    .page-header-sub,
    .page-header-meta,
    .hero-sub,
    .footer-note,
    .footer-address,
    .footer-contact-label,
    .footer-bottom {
        color: #333 !important;
    }

    .footer-links a,
    .footer-contact a,
    a {
        color: #000 !important;
        text-decoration: underline;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10pt;
    }

    .prose a[href^="http"]::after,
    .prose a[href^="mailto"]::after {
        content: " (" attr(href) ")";
        font-size: .85em;
        word-break: break-all;
    }

    .notice,
    .contact-item,
    .card,
    .price-card,
    .faq-item,
    .step {
        background: #fff !important;
        border: 1pt solid #999;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .faq-item,
    .faq-item > *:not(summary) {
        display: block !important;
        content-visibility: visible !important;
    }

    .prose h1,
    .prose h2,
    .prose h3 {
        break-after: avoid;
        page-break-after: avoid;
    }

    .table-wrap {
        overflow: visible;
        border: 0;
    }

    .table-wrap > table {
        min-width: 0;
    }
}
