/* ---------------------------------------------------------------------------
   Wise Timetable — single stylesheet.

   Replaces the previous build's ~15 stylesheets and five icon webfonts
   (icon54, icon54-v2/3/4, iconsMind, simple-line-icons, FontAwesome, socicon,
   mobirise-icons, mobirise-icons2 — several megabytes of font data for a
   handful of glyphs). Icons are now inline SVG, so there are zero font
   requests and no flash of invisible text.

   Colour palette is taken from the Wise Timetable logo:
     steel blue #6283a2  ->  darkened to #2d5c85 for accessible text contrast
     deep red   #a32b31  ->  the call-to-action colour
   All text/background pairs below meet WCAG AA (4.5:1) or better.
--------------------------------------------------------------------------- */

:root {
  --ink:        #0f2231;   /* headings */
  --text:       #37485a;   /* body copy, 8.4:1 on white */
  --muted:      #64768a;   /* secondary copy, 4.6:1 on white */
  --brand:      #2d5c85;   /* links, accents, 6.4:1 on white */
  --brand-dark: #1d3f5e;
  --brand-soft: #6283a2;   /* logo blue, decorative use only */
  --brand-wash: #eef4f9;
  --accent:     #a32b31;   /* logo red, 6.9:1 on white */
  --accent-dark:#86232a;
  --line:       #dde5ed;
  --bg:         #ffffff;
  --bg-alt:     #f5f8fb;
  --bg-deep:    #12293d;

  --wrap: 1140px;
  --r: 10px;
  --sh: 0 1px 2px rgba(15,34,49,.06), 0 8px 24px rgba(15,34,49,.06);
  --sh-lg: 0 2px 4px rgba(15,34,49,.06), 0 16px 48px rgba(15,34,49,.10);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---- reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* anchors must clear the sticky header when jumped to */
:target, [id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  color: var(--ink); line-height: 1.2; margin: 0 0 .5em;
  font-weight: 700; letter-spacing: -.015em;
  /* if a heading must wrap, split it evenly rather than stranding one word */
  text-wrap: balance;
}
p { text-wrap: pretty; }
h1 { font-size: clamp(1.95rem, 1.45rem + 2.1vw, 2.95rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.05vw, 2.0rem); letter-spacing: -.02em; }
h3 { font-size: 1.19rem; }
p  { margin: 0 0 1.05em; }
a  { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--brand-wash); padding: .12em .38em; border-radius: 4px;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.ic { width: 22px; height: 22px; flex: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.5em; border: 1px solid transparent; border-radius: var(--r);
  font-size: .97rem; font-weight: 600; line-height: 1.3; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover  { background: #86232a; color: #fff; }
.btn-secondary { background: var(--brand); color: #fff; }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-wash); color: var(--brand-dark); border-color: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--brand-wash); color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* ---- header ------------------------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { flex: none; display: block; }
.brand img { width: 208px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 10px 12px; font-size: .95rem; font-weight: 600;
  color: var(--ink); text-decoration: none; border-radius: 7px;
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { background: var(--brand-wash); color: var(--brand-dark); }
.sub-toggle { display: none; }

.sub {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
  min-width: 268px; max-height: min(70vh, 620px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .14s, transform .14s, visibility .14s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
  display: block; padding: 8px 12px; border-radius: 7px;
  font-size: .92rem; color: var(--text); text-decoration: none;
}
.sub a:hover { background: var(--brand-wash); color: var(--brand-dark); }
.nav-cta { display: flex; gap: 10px; flex: none; }
.nav-cta .btn { padding: .58em 1.05em; font-size: .9rem; }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-list > li > a { padding: 10px 8px; font-size: .9rem; }
  .brand img { width: 176px; }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 9px;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 68px); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg); padding: 12px 24px 22px;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { padding: 14px 4px; font-size: 1rem; border-radius: 0; }
  .sub-toggle {
    display: block; position: absolute; right: 0; top: 4px;
    width: 46px; height: 46px; padding: 11px; background: none;
    border: 0; color: var(--muted); cursor: pointer;
  }
  .sub-toggle svg { width: 100%; height: 100%; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; max-height: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--line); border-radius: 0;
    padding: 0 0 10px 12px; margin: 0 0 8px;
  }
  .sub.open { display: block; }
  .sub.mega {
    grid-template-columns: 1fr; min-width: 0; padding: 0 0 10px 12px;
    left: auto; transform: none; gap: 0;
  }
  .has-sub:hover .sub.mega, .has-sub:focus-within .sub.mega { transform: none; }
  .sub.mega:not(.open) { display: none; }
  .mega-h { padding: 10px 4px 2px; }
  .mega-all { padding: 10px 4px 0; }
  .nav-cta { margin-top: 18px; }
  .nav-cta .btn { flex: 1; padding: .8em 1em; font-size: .96rem; }
}

/* ---- breadcrumbs -------------------------------------------------------- */

.crumbs { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.crumbs ol {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  margin: 0; padding: 11px 0; font-size: .85rem; color: var(--muted);
}
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---- hero --------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(98,131,162,.20), transparent 62%),
    radial-gradient(800px 400px at 6% 108%, rgba(163,43,49,.07), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-in { padding: clamp(26px, 3.4vw, 46px) 24px clamp(30px, 4vw, 56px); }
.hero-copy { max-width: 780px; }
/* A hero with no visual beside it has the whole band to itself, so the
   heading may use it. The standfirst keeps its reading measure. */
.hero-in:not(.hero-split) .hero-copy { max-width: 980px; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; padding: 5px 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand);
}
.hero h1 { margin-bottom: .38em; }
.hero-sub { font-size: clamp(1.05rem, .98rem + .4vw, 1.28rem); color: var(--muted); max-width: 68ch; margin-bottom: 1.7em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none;
  margin: 30px 0 0; padding: 0; font-size: .93rem; font-weight: 500; color: var(--text);
}
.hero-notes li { display: flex; align-items: center; gap: 8px; }
.hero-notes .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; }

/* ---- hero visual: a week resolving into a compact timetable -------------- */
/* Plays once, ~3.5s. The last empty slot is filled by a booking card at the
   end — the product's argument in one picture. Decorative and aria-hidden;
   users who asked for reduced motion get the finished timetable, still. */

.hero-split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; }
@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 620px; }
}
.hero-visual { width: 100%; }
.hero-grid { width: 100%; height: auto; overflow: visible; }

.hg-day {
  font: 600 11.5px var(--sans); fill: var(--muted);
  text-anchor: middle; letter-spacing: .06em; text-transform: uppercase;
}
.hg-rule { stroke: rgba(45,92,133,.10); stroke-width: 1; }
.hg-t { font: 600 10.5px var(--sans); fill: var(--ink); }
.hg-k { font: 500 8.5px var(--sans); fill: var(--muted); letter-spacing: .04em; }

.hg-b { animation: hg-settle .8s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d); }
.hg-b .hg-bg { fill: #e3ebf3; }
.hg-b .hg-bar { fill: var(--brand); }

.hg-lecture .hg-bg { fill: #e1ebf4; }  .hg-lecture .hg-bar { fill: #2d5c85; }
.hg-lab     .hg-bg { fill: #e7f0da; }  .hg-lab     .hg-bar { fill: #6f8f2a; }
.hg-lab     .hg-t  { fill: #3f5518; }
.hg-seminar .hg-bg { fill: #fbeed7; }  .hg-seminar .hg-bar { fill: #b8862b; }
.hg-seminar .hg-t  { fill: #6b4d13; }
.hg-meeting .hg-bg { fill: #f7e2e3; }  .hg-meeting .hg-bar { fill: #a32b31; }
.hg-meeting .hg-t  { fill: #7d2126; }

/* The one slot left open, then filled. */
.hg-slot {
  fill: none; stroke: var(--brand-soft); stroke-width: 1.5; stroke-dasharray: 4 4;
  opacity: 0; animation: hg-slot-hint 2.2s ease-out 1.5s both;
}
.hg-card {
  animation: hg-drop 1s cubic-bezier(.34,1.3,.5,1) 2.55s both;
  transform-origin: center;
}
.hg-card .hg-bg { fill: #f7e2e3; }
.hg-card .hg-bar { fill: var(--accent); }
.hg-card .hg-t { fill: #7d2126; }

@keyframes hg-settle {
  0%   { transform: translate(var(--dx), var(--dy)) scale(.92); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes hg-slot-hint {
  0%, 12% { opacity: 0; }
  35%     { opacity: 1; }
  85%     { opacity: 1; }
  100%    { opacity: 0; }
}
@keyframes hg-drop {
  0%   { transform: translate(96px, 104px) rotate(-7deg) scale(1.18); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-b, .hg-card { animation: none; opacity: 1; transform: none; }
  .hg-slot { display: none; }
}

/* ---- lecturer portal animation ------------------------------------------ */
/* Loops slowly: cursor travels to the one free stretch, clicks, and the
   booking form opens already filled in. Stopped entirely for reduced motion. */

.book-anim { width: 100%; height: auto; overflow: visible; }
.book-anim .hg-b { animation: none; }
.book-anim .hg-bg { opacity: .55; }

.bk-free {
  fill: rgba(45,92,133,.05); stroke: var(--brand-soft);
  stroke-width: 1.5; stroke-dasharray: 4 4;
  animation: bk-free 6s ease-in-out infinite;
}
.bk-plus text {
  font: 700 17px var(--sans); fill: var(--brand); text-anchor: middle;
  opacity: 0; animation: bk-plus 6s ease-in-out infinite;
}
.bk-ring circle {
  fill: none; stroke: var(--accent); stroke-width: 2;
  opacity: 0; animation: bk-ring 6s ease-out infinite;
}
.bk-cursor {
  fill: var(--ink); stroke: #fff; stroke-width: 1.2;
  animation: bk-cursor 6s cubic-bezier(.4,0,.2,1) infinite;
}
.bk-form { opacity: 0; transform-origin: center; animation: bk-form 6s ease-out infinite; }
.bk-card { fill: #fff; stroke: var(--line); filter: drop-shadow(0 8px 22px rgba(15,34,49,.16)); }
.bk-h { font: 700 12px var(--sans); fill: var(--ink); }
.bk-k { font: 500 10.5px var(--sans); fill: var(--muted); }
.bk-v { font: 600 10.5px var(--sans); fill: var(--ink); }
.bk-btn { fill: var(--accent); }
.bk-btn-t { font: 600 10px var(--sans); fill: #fff; text-anchor: middle; }

@keyframes bk-cursor {
  0%, 8%   { transform: translate(0, 0); opacity: 0; }
  14%      { opacity: 1; }
  38%      { transform: translate(var(--tx), var(--ty)); opacity: 1; }
  42%      { transform: translate(var(--tx), calc(var(--ty) + 3px)); }
  46%, 82% { transform: translate(var(--tx), var(--ty)); opacity: 1; }
  92%,100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}
@keyframes bk-free {
  0%, 30%  { opacity: 1; }
  46%, 88% { opacity: 0; }
  96%,100% { opacity: 1; }
}
@keyframes bk-plus {
  0%, 24%  { opacity: 0; }
  32%, 42% { opacity: 1; }
  48%,100% { opacity: 0; }
}
@keyframes bk-ring {
  0%, 40%  { opacity: 0; r: 6px; }
  44%      { opacity: .9; }
  56%,100% { opacity: 0; r: 26px; }
}
@keyframes bk-form {
  0%, 44%  { opacity: 0; transform: translateY(8px) scale(.96); }
  54%      { opacity: 1; transform: none; }
  86%      { opacity: 1; transform: none; }
  94%,100% { opacity: 0; transform: translateY(4px) scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .bk-cursor, .bk-form, .bk-free, .bk-plus text, .bk-ring circle { animation: none; }
  .bk-form { opacity: 1; }
  .bk-cursor, .bk-ring circle, .bk-plus text { opacity: 0; }
}

/* ---- trust strip -------------------------------------------------------- */

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-list {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  list-style: none; margin: 0; padding: 18px 0;
}
.trust-list li { display: flex; }
.trust-list li, .trust-list a {
  display: flex; align-items: center; gap: 9px;
  font-size: .92rem; font-weight: 600; color: var(--text); text-decoration: none;
}
.trust-list a:hover { color: var(--accent); text-decoration: underline; }
.trust-list .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 640px) {
  .trust-list { gap: 12px 22px; justify-content: flex-start; font-size: .88rem; }
}

/* ---- mega menu ---------------------------------------------------------- */

.sub.mega {
  display: grid; grid-template-columns: repeat(3, minmax(196px, 1fr));
  gap: 4px 22px; padding: 20px 22px 16px; min-width: 700px;
  left: 50%; transform: translate(-50%, -6px);
}
.has-sub:hover .sub.mega, .has-sub:focus-within .sub.mega { transform: translate(-50%, 0); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-h {
  margin: 0 0 6px; padding: 0 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
}
.mega-col + .mega-col .mega-h { margin-top: 0; }
.mega-all {
  grid-column: 1 / -1; margin-top: 6px; padding: 11px 10px 3px;
  border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; text-decoration: none;
}

/* ---- bands & prose ------------------------------------------------------ */

.band { padding: clamp(44px, 5.5vw, 76px) 0; }
.band.alt { background: var(--bg-alt); }
.band + .band:not(.alt) { padding-top: 0; }
.band.alt + .band.alt { padding-top: 0; }
.band-head { max-width: 860px; margin-bottom: 34px; }
.band-head > .lead { max-width: 74ch; }
.band-head h2 { margin-bottom: .35em; }
.lead { font-size: 1.09rem; color: var(--muted); }
.prose { max-width: 860px; }
/* Body copy keeps a comfortable measure; headings may use the full width. */
.prose > p, .prose > ul, .prose > ol, .prose > .lead, .prose > .ticks { max-width: 74ch; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose > .lead:first-child { margin-top: 0; }

.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { display: flex; gap: 11px; margin-bottom: .62em; align-items: flex-start; }
.ticks .ic { width: 19px; height: 19px; margin-top: 4px; color: var(--accent); stroke-width: 2.6; }

/* ---- cards -------------------------------------------------------------- */

.cards { display: grid; gap: 20px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--sh);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); border-color: var(--brand-soft); }
.card h3 { margin-bottom: .45em; font-size: 1.09rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; font-size: .96rem; color: var(--muted); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 15px;
  background: var(--brand-wash); color: var(--brand); border-radius: 9px;
}

/* ---- steps -------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 46px; } }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-n {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem;
}
.step h3 { margin-bottom: .35em; }
.step p { margin-bottom: .4em; color: var(--muted); font-size: .98rem; }
.step-link { margin: 0; font-size: .93rem; font-weight: 600; }
.step-link a { text-decoration: none; }
.step-link a:hover { text-decoration: underline; }

/* ---- stats -------------------------------------------------------------- */

.stats-band { background: var(--bg-deep); color: #cfdbe6; padding: clamp(38px, 4vw, 58px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; } }
.stat-n { display: block; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.stat-l { display: block; margin-top: 7px; font-size: .92rem; color: #9db2c6; }

/* ---- quote -------------------------------------------------------------- */

.quote { margin: 0; max-width: 82ch; position: relative; padding-left: 4px; }
.q-mark { width: 34px; height: 34px; color: var(--brand-soft); margin-bottom: 14px; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: clamp(1.08rem, 1rem + .55vw, 1.4rem); line-height: 1.55;
  color: var(--ink); font-weight: 500;
}
.quote figcaption { margin-top: 18px; font-size: .93rem; font-weight: 700; color: var(--ink); }
.q-role { display: block; font-weight: 400; color: var(--muted); }

/* ---- FAQ ---------------------------------------------------------------- */

.faq-wrap { max-width: 900px; }
.faq-wrap .qa-body { max-width: 74ch; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  padding: 20px 2px; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.06rem; }
.qa summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 5px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.qa summary:hover h3 { color: var(--brand); }
.qa-body { padding: 0 2px 22px; color: var(--muted); max-width: 72ch; }
.qa-body p:last-child, .qa-body ul:last-child { margin-bottom: 0; }

/* ---- tables ------------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 15px 18px 0; font-size: .88rem; color: var(--muted); }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); color: var(--ink); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody th { color: var(--ink); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---- link list ---------------------------------------------------------- */

.linklist { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
.linklist a {
  display: block; height: 100%; padding: 20px 22px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.linklist a:hover { border-color: var(--brand-soft); box-shadow: var(--sh); transform: translateY(-2px); }
.ll-t { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.linklist a:hover .ll-t { color: var(--accent); }
.ll-d { display: block; font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* ---- screenshots -------------------------------------------------------- */

.shots { display: grid; gap: 30px; justify-items: center; }
.shots-2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (max-width: 780px) { .shots-2 { grid-template-columns: 1fr; } }
.shot { margin: 0; width: 100%; }
/* max-width is set per image to its own natural size, so nothing is upscaled */
.shot img {
  width: 100%; height: auto; margin-inline: auto;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; box-shadow: var(--sh);
}
.shot figcaption {
  margin-top: 12px; font-size: .9rem; color: var(--muted); line-height: 1.55;
  max-width: 62ch; margin-inline: auto;
}
.shots-1 .shot { display: flex; flex-direction: column; align-items: center; }
.shots-1 .shot figcaption { text-align: center; }

/* ---- CTA ---------------------------------------------------------------- */

.cta { background: var(--bg-deep); color: #cfdbe6; }
.cta-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 26px; padding: clamp(38px, 4.5vw, 60px) 24px;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; color: #9db2c6; max-width: 62ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- forms -------------------------------------------------------------- */

.form-wrap { max-width: 640px; }
.form-wrap h2 { margin-bottom: .3em; }
.form { margin-top: 26px; }
.field { margin: 0 0 17px; }
.field label { display: block; margin-bottom: 6px; font-size: .91rem; font-weight: 600; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .97rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { margin-top: 16px; font-size: .89rem; color: var(--muted); }

/* ---- footer ------------------------------------------------------------- */

.site-foot { background: var(--bg-deep); color: #9db2c6; font-size: .93rem; }
.site-foot a { color: #c8d6e3; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-in {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.1fr; gap: 46px;
  padding-top: 56px; padding-bottom: 40px;
}
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr; gap: 34px; } }
.fbrand img { width: 200px; margin-bottom: 18px; }
.fbrand p { max-width: 44ch; line-height: 1.6; }
.fcontact { list-style: none; margin: 20px 0 0; padding: 0; }
.fcontact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; line-height: 1.5; }
.fcontact .ic { width: 17px; height: 17px; margin-top: 4px; color: var(--brand-soft); }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) { .fcols { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; } }
@media (max-width: 460px) { .fcols { grid-template-columns: 1fr; } }
.fcol h2 { font-size: .81rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin-bottom: 9px; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  align-items: center; padding-top: 22px; padding-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,.10); font-size: .87rem;
}
.foot-base p { margin: 0; }
.fmeta { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---- print -------------------------------------------------------------- */

@media print {
  .site-head, .site-foot, .cta, .crumbs, .skip { display: none; }
  body { font-size: 11pt; color: #000; }
  .band { padding: 12pt 0; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
