/* ============================================================================
   MARK MY 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)
     8. ACCESSIBILITY CONTRAST FIX, dated 2026-08-07   (read before touching)

   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. Search for "--" in :root
   and you have the whole palette in one screen.

   WHERE THE BRAND COLOURS LIVE
   :root near the top of this file. --navy and --navy-dark are the brand base,
   --accent and --accent-dark are the orange calls to action, --teal is the
   secondary. Nothing else in the file should contain a raw hex value for a
   brand colour. If you find one, it is a bug, and the exceptions are noted
   inline where they exist.

   IMPORTANT: this file ends with a dated contrast override block that
   re-declares the button and link colours. Anything you set for .btn-primary
   or for the default link colour further up will be overridden by it. Edit the
   override block, not just the original rule.

   No preprocessor, no build step, no CDN. This file is served as written.
   NOTE: the legacy banner on the next line calls this the "IELTS Tutoring
   Site". It is historical. This is the Mark My Essay stylesheet.
   ============================================================================ */
/* ===== IELTS Tutoring Site , 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: #14304f; 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 #ff7a3c;
  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. See the contrast override at the
   bottom of the file before changing --accent or --teal.
   --------------------------------------------------------------------------- */
:root {
  --navy: #14304f;
  --navy-dark: #0d2138;
  --accent: #ff7a3c;       /* warm orange CTA */
  --accent-dark: #e8631f;
  --teal: #1aa3a3;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --text: #2a3645;
  --muted: #5d6b7c;
  --border: #e3e9f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 48, 79, 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(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { color: var(--navy); 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: 80px 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-primary colours are overridden by the dated block at the end. */
.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(255,122,60,.35); }
.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(--navy); 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(--navy); 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(--teal), var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; }
.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(--navy); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #0a1a2c 100%);
  color: #fff; padding: 90px 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(26,163,163,.35), transparent 70%);
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: #d4dde8; 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: #cfe6e6; font-weight: 600; font-size: .95rem; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.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(--teal);
}

/* ===== 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(--navy); 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(--teal); 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(--navy); color:#fff; display:grid; place-items:center; font-weight:800; font-size:1.15rem; letter-spacing:.5px; }
.who strong { color: var(--navy); display: block; }
.who span { color: var(--muted); font-size: .9rem; }
.stars { color: #ffb400; margin-bottom: 6px; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff; text-align: center; border-radius: 20px; padding: 56px 30px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0f2f2; 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(--navy); }
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(--teal); box-shadow: 0 0 0 3px rgba(26,163,163,.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(--teal); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #c7d2de; 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: #c7d2de; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--accent); 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,.12); padding-top: 22px; text-align: center; font-size: .9rem; color: #8ea0b3; }

/* ===== 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(--navy);
  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: #fff5ef; border: 1px solid #ffd9c4; 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(--teal); background:var(--bg-soft); padding:4px 10px; border-radius:50px; margin-bottom:12px; align-self:flex-start; }
.res-card h3 a { color: var(--navy); }
.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(--teal); 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
   900px 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. Two smaller breakpoints (480px and 360px)
   live in the 2026 block further down.
   --------------------------------------------------------------------------- */
/* ===== Responsive ===== */
@media (max-width: 900px) {
  .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: 56px 0; }
  .hero { padding: 64px 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 #ff7a3c; 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: #c7d2de; }
.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(--navy); }
.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(--navy); }
.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; }
}


/* ============================================================
   8. ACCESSIBILITY CONTRAST FIX, 2026-08-07. READ BEFORE EDITING.

   WHAT IT FIXES: the original orange call-to-action colour and the original
   teal link colour did not meet WCAG 2.1 AA for normal-size text, which needs
   a 4.5:1 contrast ratio against the background. White text on the original
   orange button measured 2.59:1, and the teal body-link colour measured 3.08:1
   on white. Both were failures, on every page, on the most-clicked elements on
   the site.

   HOW IT FIXES IT: this block declares three new tokens and re-applies them to
   the same selectors. Because it is the last thing in the file, it wins on
   source order. The hue is untouched, only the lightness was reduced, so the
   site still looks like itself.

   MEASURED RATIOS (foreground vs #ffffff, verified 2026-08-07):
     .btn-primary background   #ff7a3c -> #ce4200   2.59:1 -> 4.77:1  PASS
     .btn-primary:hover        #e8631f -> #a84411   3.37:1 -> 6.00:1  PASS
     body link colour          #1aa3a3 -> #147b7b   3.08:1 -> 5.06:1  PASS

   WARNING: deleting or reverting this block puts every primary button and
   every body link back below 4.5:1 and reintroduces the AA failures site-wide.
   It is not cosmetic and it is not optional. If a redesign changes the brand
   orange or teal, re-measure the new values against white and update the
   tokens here rather than removing the block.
   ============================================================ */

/* ============================================================
   ACCESSIBILITY CONTRAST FIX - 2026-08-07
   WCAG 2.1 AA (4.5:1) remediation. Brand hues are unchanged
   (orange 19deg, teal 180deg); only lightness is reduced.
   Delete this whole block to revert to the previous colours.
     .btn-primary background   #ff7a3c -> #ce4200  (2.59 -> 4.77 vs #fff)
     .btn-primary:hover bg     #e8631f -> #a84411  (3.37 -> 6.00 vs #fff)
     default body link colour  #1aa3a3 -> #147b7b  (3.08 -> 5.06 vs #fff)
   ============================================================ */
:root {
  --accent-aa:      #ce4200;  /* darkened var(--accent) for white text */
  --accent-dark-aa: #a84411;  /* darkened var(--accent-dark) for white text */
  --link-aa:        #147b7b;  /* darkened var(--teal) for body links on white */
}
a { color: var(--link-aa); }
.btn-primary { background: var(--accent-aa); }
.btn-primary:hover { background: var(--accent-dark-aa); }
/* ============================================================ */


/* ============================================================
   UPGRADE BLOCK - 2026-11-16
   Tap targets, services "How it works" list, print styles for
   the new hub page. Uses the tokens in :root above.
   ============================================================ */
.nav-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
.site-footer .footer-grid a { padding: 6px 0; }
.how-line { margin-top: 14px; max-width: 760px; }
.how-line p { margin-bottom: 6px; }
.how-line ol { margin: 0; padding-left: 22px; }
.how-line li { margin-bottom: 4px; }
@media print {
  .site-header, .site-footer, .back-to-top, .skip-link, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: none !important; color: #000; padding: 12px 0; }
  .hero h1, .hero p, .hero .eyebrow { color: #000; }
  a { color: #000; text-decoration: underline; }
  .res-card { break-inside: avoid; box-shadow: none; border: 1px solid #999; }
}

/* ===== 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(--navy) 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(--teal); }
.info-ic svg { width: 22px; height: 22px; }
.card .icon, .info-ic { color: var(--teal); }
.ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: .4em; flex: none; color: var(--teal); }
.btn-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--navy); color: #fff; border: 2px solid var(--navy);
  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(--navy-dark); border-color: var(--navy-dark); color: #fff; text-decoration: none; }
@media (max-width: 480px) { .btn-book { width: 100%; } }
@media print { .btn-book { display: none; } }
