/* ============================================================================
   IELTS ESSAY, assets/style.css
   Single stylesheet for all ten pages. Updated 2026-08-07.

   HOW THIS FILE IS ORGANISED (top to bottom):
     1. Skip link and focus outlines   (accessibility, kept first on purpose)
     2. :root design tokens            (every brand colour lives here)
     3. Reset, base elements, layout   (container, headings, sections)
     4. Components                     (buttons, header, hero, cards, steps,
                                        pricing, CTA band, forms, footer, FAQ,
                                        notice, resource cards, tips)
     5. Helpers / utilities
     6. Responsive breakpoints
     7. 2026 upgrade block             (a11y, back to top, support link, small
                                        screens, reduced motion)

   THE TOKEN SYSTEM
   Everything colour, radius, shadow, width and font related is a CSS custom
   property declared once in :root and referenced with var(). To restyle the
   site, change the token, not the rule that uses it.

   WHERE THE BRAND COLOURS LIVE
   :root near the top of this file. --brand and --brand-dark are the maroon
   base, --accent and --accent-dark are the red calls to action, --slate is the
   neutral secondary. Nothing else should hard code a brand hex.

   CONTRAST NOTE, 2026-08-07
   Mark My Essay and PTE Essay each carry a dated contrast override block at
   the end of their stylesheets because their accent colours failed WCAG 2.1 AA.
   This site has no such block and does not need one: --accent #c7002b measures
   about 6.06:1 against white and --accent-dark #9e0021 about 8.48:1, both well
   past the 4.5:1 AA threshold for normal text. If you ever lighten the red,
   re-measure it. Anything above roughly #d81f45 will start to fail.

   No preprocessor, no build step, no CDN. This file is served as written.
   ============================================================================ */
/* ===== IELTS Essay , Shared Styles ===== */

/* ---------------------------------------------------------------------------
   1. ACCESSIBILITY PRIMITIVES
   These sit above :root on purpose so they are impossible to miss. The skip
   link is parked offscreen with left:-999px and pulled back on :focus, which
   is why it must never be display:none (display:none removes it from the tab
   order and the whole thing stops working).
   --------------------------------------------------------------------------- */

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: #7e0e2c; color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Visible focus outline for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid #c7002b;
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
   2. DESIGN TOKENS
   The whole palette and the shared geometry. Change a value here and it
   changes everywhere the token is used.
   --------------------------------------------------------------------------- */
:root {
  --brand: #a4123a;        /* deep IELTS maroon , headings, hero, footer */
  --brand-dark: #7e0e2c;   /* darker maroon , gradients, footer bg */
  --accent: #c7002b;       /* official IELTS red , buttons, CTAs, links */
  --accent-dark: #9e0021;  /* button hover */
  --slate: #5d6b7c;        /* neutral slate accent , icons, small highlights */
  --bg: #ffffff;
  --bg-soft: #faf6f6;      /* warm neutral tint */
  --text: #2a2a30;
  --muted: #5f5f6a;
  --border: #ece4e4;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(126, 14, 44, 0.08);
  --max: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------------------
   3. RESET, BASE ELEMENTS AND LAYOUT
   Global reset, body typography, the .container width rail, heading scale,
   and the .section / .section-soft rhythm used by every page.
   Headings use clamp() so they scale with the viewport without breakpoints.
   --------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--brand); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }

.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 8px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }

/* ---------------------------------------------------------------------------
   4. COMPONENTS
   Each block below is one component. Class names are used verbatim in the
   HTML, so renaming one here means grepping all ten pages.
   --------------------------------------------------------------------------- */

/* ===== Buttons =====
   .btn is the shape. .btn-primary / .btn-ghost / .btn-outline are the skins.
   .btn-ghost is white-on-dark and is only legible on the hero or CTA band. */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(199,0,43,.32); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; color: var(--brand); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--brand); font-size: 1.2rem; }
.logo:hover { text-decoration: none; }
.logo img { height: 40px; width: auto; display: block; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--brand-dark));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a.active { color: var(--accent); }
.nav-cta { padding: 10px 22px !important; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--brand); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 60%, #5e0a20 100%);
  color: #fff; padding: 60px 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
}
.hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.4rem, 6vw, 3.4rem); }
.hero .eyebrow { color: #ffffff; opacity: .9; }
.hero p { color: #ffffff; font-size: 1.2rem; max-width: 620px; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge { display: flex; align-items: center; gap: 8px; color: #ffffff; font-weight: 600; font-size: .95rem; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Cards / grid ===== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--bg-soft); color: var(--accent);
}

/* ===== Steps ===== */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 1.1rem;
}

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price-card.featured { border: 2px solid var(--accent); transform: scale(1.03); position: relative; }
.price-tag-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 5px 18px; border-radius: 50px;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
.price { font-size: 2.6rem; font-weight: 800; color: var(--brand); margin: 10px 0 2px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-features { list-style: none; margin: 22px 0; flex: 1; }
.price-features li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--border); }
.price-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}

/* ===== Testimonials (.quote, .avatar, .stars) =====
   DEAD CODE, KEPT ON PURPOSE. Fabricated testimonials were removed from every
   page on 2026-08-07 and no page uses these classes any more. They are left
   here only so the markup can be restored quickly IF, and only if, real and
   verifiable reviews are ever collected with the reviewer's permission.
   Do not reintroduce invented quotes, names, avatars, or star ratings. */
.quote {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.15rem; letter-spacing:.5px; }
.who strong { color: var(--brand); display: block; }
.who span { color: var(--muted); font-size: .9rem; }
.stars { color: #e8a900; margin-bottom: 6px; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--brand-dark));
  color: #fff; text-align: center; border-radius: 20px; padding: 56px 30px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffffff; max-width: 560px; margin: 0 auto 26px; }

/* ===== Forms ===== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--brand); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--text); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(199,0,43,.15); }
textarea { resize: vertical; min-height: 130px; }

/* ===== Contact info ===== */
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--brand-dark); color: #e7cdd4; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.site-footer a { color: #e7cdd4; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-logo { display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:1.15rem; margin-bottom:12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; text-align: center; font-size: .9rem; color: #d6a9b4; }

/* ===== FAQ accordion ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 1.08rem; font-weight: 700; color: var(--brand);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q:hover { color: var(--accent); }
.faq-q .chev { transition: transform .25s ease; flex-shrink: 0; color: var(--accent); font-size: 1.3rem; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }

/* ===== Notice / prerequisite band ===== */
.notice {
  background: #fdf1f3; border: 1px solid #f3cdd6; border-left: 5px solid var(--accent);
  border-radius: 12px; padding: 26px 28px;
}
.notice h3 { color: var(--accent-dark); margin-bottom: 8px; }
.notice p { margin-bottom: 10px; }
.notice .btn { margin-top: 8px; }

/* ===== Resource list ===== */
.res-card { display: flex; flex-direction: column; height: 100%; }
.res-card .res-tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); background:var(--bg-soft); padding:4px 10px; border-radius:50px; margin-bottom:12px; align-self:flex-start; }
.res-card h3 a { color: var(--brand); }
.res-card h3 a:hover { color: var(--accent); }
.res-card p { flex: 1; }
.res-link { font-weight:700; color:var(--accent); margin-top:auto; }
.res-link:hover { color:var(--accent-dark); text-decoration:none; }
.res-link::after { content:" →"; }

/* video embed responsive */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* tips list */
.tips { list-style: none; counter-reset: tip; }
.tips li { position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--border); }
.tips li::before { counter-increment: tip; content: counter(tip); position:absolute; left:0; top:12px; width:30px; height:30px; border-radius:50%; background:var(--slate); color:#fff; font-weight:700; display:grid; place-items:center; font-size:.9rem; }

/* ---------------------------------------------------------------------------
   5. HELPERS / UTILITIES
   --------------------------------------------------------------------------- */
/* ===== Helpers ===== */
.mt-row { margin-top: 36px; }
.text-muted { color: var(--muted); }

/* ---------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   980px is the nav breakpoint: below it the desktop <ul> becomes the dropdown
   panel and .nav-toggle appears. assets/script.js decides the menu is "mobile"
   by testing whether .nav-toggle is visible, so if you move this breakpoint
   the script follows automatically. Note this site uses 980px where Mark My
   Essay uses 900px. Two smaller breakpoints (480px and 360px) live in the 2026
   block further down.
   --------------------------------------------------------------------------- */
/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-2, .grid-3, .price-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 0;
    border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .section { padding: 40px 0; }
  .hero { padding: 44px 0; }
}


/* ==========================================================================
   2026 upgrade: landmarks, accordion a11y, back-to-top, support link,
   small-screen support down to 360px, reduced motion.
   Palette untouched, existing variables reused.
   ========================================================================== */

/* Main landmark should not add a focus ring of its own when the skip link
   sends focus to it. */
main:focus { outline: none; }
main:focus-visible { outline: 3px solid #c7002b; outline-offset: -3px; }


/* Collapsed FAQ panels must be out of the tab order as well as out of view. */
.faq-a { visibility: hidden; transition: max-height .28s ease, visibility 0s linear .28s; }
.faq-item.open .faq-a { visibility: visible; transition: max-height .28s ease, visibility 0s linear 0s; }
.faq-q { font-family: inherit; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); }

/* Footer support line (Buy me a coffee). Quiet, one instance, no popup. */
.footer-support {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 26px;
  padding-top: 20px;
}
.footer-support p { margin: 0; font-size: .92rem; color: #e7cdd4; }
.footer-support .bmc-link {
  display: inline;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-support .bmc-link:hover { color: #ffffff; text-decoration: underline; }

/* Inline support card, used once on the resources page. */
.support-card {
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 24px 26px;
  background: #fff;
  margin-top: 34px;
}
.support-card h3 { margin-bottom: 8px; }
.support-card p:last-child { margin-bottom: 0; }

/* Back to top. Hidden with opacity + visibility rather than display:none so it
   can transition, and so it stays out of the tab order while hidden. The
   delayed visibility transition is what makes the fade-out work. */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.back-to-top:hover { background: var(--accent-dark); }

/* Self-check and plain-English blocks on the free resource sections. */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-weight: 800;
}
.plain-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.plain-table caption { text-align: left; font-weight: 700; padding-bottom: 10px; color: var(--brand); }
.plain-table th, .plain-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: .96rem;
}
.plain-table th { background: var(--bg-soft); color: var(--brand); }
.table-scroll { overflow-x: auto; }

/* Small screens, tested down to 360px wide. */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 13px 20px; font-size: .95rem; }
  .hero-cta-row .btn,
  .notice .btn,
  .cta-band .btn { width: 100%; text-align: center; margin-left: 0 !important; }
  .notice .btn + .btn { margin-top: 10px; }
  .card, .price-card, .form-card, .quote, .support-card { padding: 22px 18px; }
  .faq-q { padding: 16px 16px; font-size: 1rem; }
  .faq-a-inner { padding: 0 16px 18px; }
  .back-to-top { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .footer-grid { gap: 26px; }
}

@media (max-width: 360px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .logo img { height: 32px; }
}

/* PRINT: there is no print stylesheet on this site. Pages print acceptably
   from the default UA styles. If you add one, put it here and remember the
   fixed .back-to-top and the sticky .site-header both need hiding. */

/* Respect a reduced-motion preference. This near-zero override is the standard
   pattern: it neutralises every transition and animation rather than trying to
   list them. Anything animated that you add is therefore covered for free. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .btn:hover, .back-to-top { transform: none !important; }
}

/* ==========================================================================
   2026-11-16 upgrade block. Uses the :root tokens above only.
   Tap targets, footer links, breadcrumb, guide pages, tools, print.
   ========================================================================== */
.nav-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
.site-footer a { padding: 6px 0; margin-bottom: 0; }
.site-footer .footer-support a.bmc-link { padding: 0; }

.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); font-size: .92rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 10px; padding-bottom: 10px; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--muted); }
.breadcrumb a { display: inline-block; padding: 8px 0; }
.breadcrumb [aria-current="page"] { color: var(--muted); }

.how-steps { margin: 0 0 0 22px; max-width: 620px; color: #fff; }
.how-steps li { margin-bottom: 6px; }

.guide-hero p { margin-bottom: 0; }
.jump-links a { display: inline-block; padding: 10px 12px 10px 0; font-weight: 600; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.plain-list li:last-child { border-bottom: none; }
.planner-type { border-top: 1px solid var(--border); }
.planner-type ol, .planner-type ul { margin-left: 20px; }
.planner-type li { margin-bottom: 8px; }
.planner-type .table-scroll { margin-top: 24px; }
.plain-table td.fill { min-width: 140px; height: 54px; }
.band-table { margin-bottom: 26px; }
.bands-note { margin-bottom: 20px; }
details { border-bottom: 1px solid #f3cdd6; padding: 4px 0; }
details summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; color: var(--brand); }
details p { margin: 0 0 10px; }

.tool-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin: 20px 0; }
.field-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.field label, .desk-label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .desk { width: 100%; font: inherit; padding: 10px 12px; min-height: 44px; border: 1px solid var(--border); border-radius: 10px; }
.calc-result { font-size: 1.25rem; font-weight: 700; color: var(--brand); margin: 16px 0 0; min-height: 1.6em; }
.task-pick { border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.task-pick legend { font-weight: 700; padding: 0 6px; }
.task-pick label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.task-pick input, .switch-row input { width: 22px; height: 22px; }
.timer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.timer-display { font-size: clamp(2.4rem, 9vw, 3.6rem); font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.timer-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.timer-buttons .btn, .desk-foot .btn { min-height: 44px; cursor: pointer; }
.timer-buttons .btn:disabled { opacity: .5; cursor: not-allowed; }
.timer-status { min-height: 1.6em; margin: 10px 0; color: var(--muted); }
.desk { resize: vertical; line-height: 1.6; }
.desk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.word-count { font-weight: 700; margin: 0; }
.switch-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .tool-card { padding: 18px 14px; }
  .timer-buttons .btn { flex: 1 1 auto; }
}

/* PRINT (added 2026-11-16): hides site chrome and fixed elements. */
@media print {
  .site-header, .site-footer, .back-to-top, .skip-link, .no-print, .breadcrumb, .jump-links, .tool-card .btn { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; line-height: 1.4; }
  .hero, .guide-hero { background: none !important; color: #000 !important; padding: 0 0 8pt !important; }
  .hero::after { display: none; }
  .hero h1, .hero p, .hero .eyebrow { color: #000 !important; }
  .hero h1 { font-size: 20pt; margin-bottom: 4pt; }
  .section { padding: 10pt 0 !important; background: none !important; }
  .card { box-shadow: none; border: 1px solid #999; break-inside: avoid; padding: 8pt; }
  .plain-table th, .plain-table td { border: 1px solid #666; }
  tr, .planner-type .card { break-inside: avoid; }
  .planner-type { break-before: page; }
  a { color: #000; text-decoration: none; }
  .print-one-page { font-size: 8pt; line-height: 1.25; }
  .print-one-page .container { padding: 0; max-width: none; }
  .print-one-page h1 { font-size: 14pt; }
  .print-one-page .hero p { font-size: 8pt; margin: 0; }
  .print-one-page .section { padding: 2pt 0 !important; }
  .print-one-page .plain-table th, .print-one-page .plain-table td { font-size: 7.5pt; padding: 2pt 4pt; }
  .print-one-page .plain-table caption { font-size: 9pt; padding-bottom: 2pt; }
  .print-one-page .band-table { margin-bottom: 6pt; }
  .print-one-page .bands-note { font-size: 7.5pt; margin-bottom: 4pt; }
  @page { margin: 10mm; }
}

/* ===== 2026-11-16 icon and booking-button refresh =====
   Emoji icons replaced by inline SVG line icons (stroke = currentColor).
   .btn-book is the readable booking button (dark fill, white text, large).
   Contrast: white on var(--brand-dark) is well above 4.5:1 (AA). */
svg.ico-svg { width: 24px; height: 24px; flex: none; }
.icon svg { width: 26px; height: 26px; }
.form-card .icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent); }
.info-ic svg { width: 22px; height: 22px; }
.card .icon, .info-ic { color: var(--accent); }
.ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: .4em; flex: none; color: var(--accent); }
.btn-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--brand-dark); color: #fff; border: 2px solid var(--brand-dark);
  font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  padding: 16px 28px; min-height: 52px; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.22); text-decoration: none;
}
.btn-book svg.ico-svg { width: 22px; height: 22px; flex: none; }
.btn-book:hover, .btn-book:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; text-decoration: none; }
@media (max-width: 480px) { .btn-book { width: 100%; } }
@media print { .btn-book { display: none; } }

/* Red buttons vanish on the maroon hero and call-to-action band, so use white there. */
.hero .btn-primary, .cta-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #fdecef; color: var(--brand-dark); }
