/* ALi Tech: software and IT for UK colleges
   Concept: a calm light page, with the real Wicer product as the loudest thing on it.
   Colour: ink navy for depth, Wicer violet for action, a single sun-yellow highlight.
   Type: Bricolage Grotesque for headings, Hanken Grotesk for reading. */

:root {
  --ink: #0d1330;
  --ink-2: #151c42;
  --ink-3: #232b5e;
  --bg: #ffffff;
  --mist: #f4f6fc;
  --mist-2: #e9edfa;
  --line: #dde3f3;
  --text: #1a2140;
  --muted: #566083;
  --on-dark: #e8ebff;
  --on-dark-muted: #aab2d8;

  --accent: #0074da;
  --accent-hover: #005bb5;
  --accent-soft: #e6f1ff;
  --sun: #ffcc00;
  --ok: #00a862;
  --rose: #e5224f;
  --sky: #0083ed;
  --amber: #f59f00;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow-1: 0 1px 2px rgba(13, 19, 48, .06), 0 10px 30px rgba(13, 19, 48, .08);
  --shadow-2: 0 2px 4px rgba(13, 19, 48, .06), 0 30px 70px rgba(30, 20, 120, .22);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.on-mist { background: var(--mist); }
.on-ink { background: var(--ink); color: var(--on-dark); }
.on-ink h2, .on-ink h3 { color: #fff; }
.on-ink a:not(.btn) { color: #a8d0ff; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.on-ink .lede { color: var(--on-dark-muted); }
.small { font-size: 14px; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font-body);
  padding: 16px 24px; border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffd91f; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 15px; min-height: 42px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding-block: 6px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 74px; width: auto; display: block; }
.site-footer .brand-logo { height: auto; width: 190px; }
.hero-dash { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 46px rgba(40, 26, 140, .28)) drop-shadow(0 4px 8px rgba(13, 19, 48, .10)); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.brand-name small { font: 600 12px/1 var(--font-body); letter-spacing: 0; color: var(--muted); display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 16px; padding: 10px 14px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--ink); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--accent-hover); color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(0, 131, 237, .14), transparent 70%),
    radial-gradient(700px 480px at -5% 30%, rgba(47, 140, 255, .10), transparent 70%),
    var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.status-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; margin-bottom: 24px; box-shadow: var(--shadow-1); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(0, 168, 98, .18); }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-weight: 600; font-size: 15px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--ok); width: 18px; height: 18px; }

.shot { border-radius: 16px; border: 1px solid rgba(13, 19, 48, .12); background: #fff; overflow: hidden; box-shadow: var(--shadow-2); }
.shot-bar { height: 36px; background: var(--mist); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding-inline: 14px; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin-left: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.shot img { width: 100%; height: auto; }
.hero-visual { position: relative; padding: 0 0 28px 0; margin-right: calc(-1 * min(72px, 5vw)); }
.float { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-2); border: 1px solid var(--line); max-width: 320px; }
.float b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); line-height: 1.2; }
.float span { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.float-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-ic .icon { width: 22px; height: 22px; }
.float-a { top: -22px; right: -14px; }
.float-b { bottom: -2px; left: -20px; }
.float-a .float-ic { background: #ffe9ee; color: var(--rose); }
.float-b .float-ic { background: #e0f7ec; color: var(--ok); }

/* ---------- problem strip ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-strike { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.chip-strike .icon { color: var(--ok); width: 18px; height: 18px; flex: none; }
.chip-strike span { text-decoration: none; display: inline-flex; }

/* ---------- product tabs ---------- */
.showcase { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 6px; }
.tab { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid transparent; color: var(--on-dark-muted); transition: background .15s, color .15s; }
.tab strong { display: block; font-family: var(--font-display); font-size: 19px; color: #e6e9ff; letter-spacing: -0.01em; }
.tab span { display: block; font-size: 15px; line-height: 1.45; margin-top: 3px; }
.tab:hover { background: rgba(255,255,255,.05); }
.tab[aria-selected="true"] { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); color: #fff; }
.tab[aria-selected="true"] strong { color: #fff; }
.tab:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(24px, 3vw, 32px); color: #fff; margin-bottom: 10px; }
.panel > p { color: var(--on-dark-muted); max-width: 60ch; }
.ticks { display: grid; gap: 10px; margin: 18px 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--ok); margin-top: 3px; width: 20px; height: 20px; }
.on-ink .ticks .icon { color: #53e0a0; }

/* ---------- video ---------- */
.video-card { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; }
.video-card img, .video-card video, .video-card iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(13,19,48,.15), rgba(13,19,48,.55)); border: 0; cursor: pointer; width: 100%; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; background: var(--sun); color: var(--ink); font: 800 18px/1 var(--font-body); padding: 18px 28px; border-radius: 999px; box-shadow: 0 12px 34px rgba(0,0,0,.35); transition: transform .15s; }
.play:hover .play-btn { transform: scale(1.04); }
.play-btn .icon { width: 24px; height: 24px; }
.video-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 15px; color: var(--muted); }

/* ---------- ruled lists ---------- */
.ruled > li { padding-block: 22px; border-top: 1px solid var(--line); }
.ruled > li:last-child { border-bottom: 1px solid var(--line); }
.on-ink .ruled > li { border-color: rgba(255,255,255,.14); }
.feature-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 72px); }
.feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
.feature-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 3px solid var(--ink); }
.step::before { counter-increment: s; content: counter(s); display: block; font: 800 56px/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

.service-rows > li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; }
.service-rows h3 { font-size: 21px; }
.service-rows p { margin: 0; color: var(--muted); }
.on-ink .service-rows p { color: var(--on-dark-muted); }
.service-rows .more { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }

.module-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mchip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 15px; }
.mchip[data-c="1"] { border-color: #f9c2cf; } .mchip[data-c="2"] { border-color: #fcd9a0; } .mchip[data-c="3"] { border-color: #b4ebd0; }
.mchip[data-c="4"] { border-color: #ffe27a; } .mchip[data-c="5"] { border-color: #b9d6ff; } .mchip[data-c="6"] { border-color: #d8c6f4; }

.cta-band { background: linear-gradient(135deg, #0041b9 0%, #0083ed 62%, #05bdf9 130%); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e8ff; margin: 14px 0 0; max-width: 54ch; }

.ruled-grid .ruled-item { padding-block: 24px; border-top: 1px solid var(--line); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-detail > li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: start; scroll-margin-top: 96px; }
.svc-detail .ticks { margin: 0; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 18px; }
.gallery .shot { box-shadow: var(--shadow-1); }

.module-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 72px); }
.module-list li { padding-block: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 16px; }
.module-list .swatch { width: 14px; height: 14px; border-radius: 4px; margin-top: 7px; }
.module-list h3 { font-size: 19px; margin-bottom: 4px; }
.module-list p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 4px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- forms and contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 50px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 600; display: none; }
.form-status a { color: inherit; text-decoration: underline; }
.form-status.show { display: block; }
.form-status.ok { background: #e0f7ec; color: #064d2e; }
.form-status.err { background: #ffe9ee; color: #7a0f27; }
.contact-card { background: var(--mist); border-radius: var(--r-l); padding: 28px; }
.contact-card h3 { margin-bottom: 14px; }
.contact-list { display: grid; gap: 18px; }
.contact-list dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.contact-list dd { margin: 2px 0 0; color: var(--muted); }
.contact-list a { font-weight: 600; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--on-dark-muted); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .problem, .showcase, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps-4 { grid-template-columns: 1fr; }
  .svc-detail > li { grid-template-columns: 1fr; gap: 12px; }
  .service-rows > li { grid-template-columns: 1fr; gap: 8px; }
  .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; gap: 8px; scroll-snap-type: x proximity; }
  .tab { flex: 0 0 auto; width: auto; min-width: 220px; scroll-snap-align: start; border-color: rgba(255,255,255,.12); }
  .tab span { display: none; }
  .hero-visual { margin-right: 0; }
  .float-a { right: 8px; top: -26px; } .float-b { left: 8px; }
}
@media (max-width: 760px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px; flex-direction: column; align-items: stretch; gap: 4px; display: none; box-shadow: var(--shadow-1); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .nav .btn { margin: 10px 0 0; }
  .nav-toggle { display: inline-flex; }
  .feature-rows, .module-list, .gallery, .field-row { grid-template-columns: 1fr; }
  .float { position: static; margin-top: 14px; max-width: none; }
  .hero-visual { padding-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* contact form feedback */
.req { color: var(--rose); font-weight: 700; }
.field-help { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #b0123a; }
.field-error::before { content: "! "; font-weight: 800; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rose); background: #fff8fa; }
.form-summary { border: 2px solid var(--rose); background: #fff1f4; color: #7a0f27; border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.form-summary ul { margin: 8px 0 0; padding-left: 20px; }
.form-summary a { color: #7a0f27; font-weight: 700; text-decoration: underline; }
.form-summary:focus { outline: 3px solid var(--rose); outline-offset: 3px; }
.btn-send { justify-self: start; gap: 10px; min-width: 190px; justify-content: center; }
.btn-send[disabled] { opacity: .8; cursor: progress; }
.btn-send .spin { display: none; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-send.is-loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { border: 2px solid var(--line); border-radius: var(--r-l); background: var(--mist); padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; justify-items: start; animation: rise .35s ease-out both; }
.form-done[hidden], .form[hidden], .form-summary[hidden], .field-error[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done h2 { font-size: clamp(26px, 3vw, 34px); }
.form-done p { margin: 0; color: var(--muted); max-width: 52ch; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: #e0f7ec; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.done-ic .icon { width: 28px; height: 28px; stroke-width: 2.6; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .btn-send .spin { animation-duration: 2.4s; } .form-done { animation: none; } }
.field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--mist-2); color: var(--ink); cursor: pointer; }
.field input[type="file"][aria-invalid="true"] { border-color: var(--rose); background: #fff8fa; }
