/* SchoolTutor squeeze home page. Founder-approved desktop design reference (2026-12-04):
   centred logo; left column = eyebrow, headline, lead, AI note and the 16:9 film; right column = the
   Early Access card; below = "What we're building for your child" as five icon cards; a quiet footer.
   Phone first (360 px up): logo, hero, film, form, highlights, footer (film before form).
   Palette: white and soft lavender backgrounds, deep purple type, blue accents, golden highlights.
   The system font stack (no external fonts or assets). Logical properties only, so dir="rtl" needs
   no new rules except the poster's fade direction. No inline styles (CSP style-src 'self').
   Every icon is drawn with CSS shapes (no image, symbol font or emoji).
   WCAG AA contrast (relative-luminance ratios):
     ink #2a1660 on white 15.2:1, on lavender #f6f3ff 13.8:1, on gold #ffc83d 9.8:1;
     ink-2 #4a3f73 on white 9.3:1; brand #4b2bb3 on white 9.2:1, on lavender-2 #ece6ff 7.6:1;
     blue #1f5fd6 on white 5.7:1; mark gradient #5a2fd6 to #2f5fd8 on white at least 5.6:1;
     gold text #8a5a00 on white 5.9:1, on #fff4d6 5.4:1; field border #7d72ad on #fbfaff 4.1:1;
     placeholder #6b6492 on #fbfaff 5.2:1. Gold #ffc83d is used only as a fill or decoration. */

:root {
  --ink: #2a1660;
  --ink-2: #4a3f73;
  --brand: #4b2bb3;
  --blue: #1f5fd6;
  --gold: #ffc83d;
  --gold-soft: #fff4d6;
  --gold-ink: #8a5a00;
  --lavender: #f6f3ff;
  --lavender-2: #ece6ff;
  --paper: #ffffff;
  --field: #fbfaff;
  --line: #e4ddfb;
  --field-line: #7d72ad;
  --alert: #9b1c1c;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.sq {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  /* Soft lavender and white with large, quiet shapes (gradients only). */
  background:
    radial-gradient(circle at -6% 62%, rgb(214 202 255 / 55%) 0 18rem, rgb(214 202 255 / 0%) 26rem),
    radial-gradient(circle at 104% 8%, rgb(222 212 255 / 60%) 0 14rem, rgb(222 212 255 / 0%) 24rem),
    radial-gradient(60rem 30rem at 50% 108%, rgb(236 230 255 / 70%), transparent 70%),
    linear-gradient(180deg, #f8f5ff 0, var(--paper) 40rem, #faf8ff 100%);
  background-attachment: scroll;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.sq-wrap, .sq-pitch { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 16px; }

.sq-skip {
  position: absolute; inset-inline-start: 8px; inset-block-start: -90px; z-index: 50;
  padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800;
}
.sq-skip:focus { inset-block-start: 8px; }

/* ---------- Header: the founder's horizontal logo, centred, nothing else ---------- */
.sq-top { background: transparent; }
.sq-top-row { display: flex; align-items: center; justify-content: center; padding-block: 6px 0; }
.sq-brand { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; border-radius: 8px; }
/* Height-driven, so the real logo keeps its own aspect ratio (the width/height attributes only
   reserve space). If the file is missing the alt text shows in the brand colours.
   Founder refinement 2026-12-04: the artwork file has a white background; multiply lets the page's
   near-white lavender show through it (white x page = page) without touching the file, and changes
   the purple and blue artwork by at most about 4% (page colour #f8f5ff at the top). The header, its
   row and the link stay transparent and create no stacking context, so the logo blends with the page. */
.sq-logo {
  mix-blend-mode: multiply;
  height: 72px; width: auto; max-width: 100%; object-fit: contain;
  color: var(--ink); font-weight: 800; font-size: 0.85rem; line-height: 1.2;
}

/* ---------- Hero: eyebrow, headline, lead, AI note ---------- */
.sq-main { flex: 1 0 auto; padding-block: 0 24px; }
.sq-pitch { text-align: center; padding-block: 8px 14px; }
.sq-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 14px; border-radius: 999px;
  background: #fff8e6; border: 1.5px solid #f2c14e;
  color: var(--gold-ink); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4;
}
.sq-eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgb(255 200 61 / 30%); }
.sq-pitch h1 {
  margin: 0 auto 10px; max-width: 46rem; color: var(--ink);
  font-size: 1.6rem; line-height: 1.14; font-weight: 850; letter-spacing: -0.02em;
  text-wrap: balance;
}
/* "patience.": brand purple into blue, with a gold hand-drawn swoosh under it (pure CSS). */
.sq-mark {
  position: relative; display: inline-block; white-space: nowrap; color: #5a2fd6;
  padding-block-end: 0.06em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sq-mark {
    background: linear-gradient(90deg, #5a2fd6 0%, #4a3fdc 55%, #2f5fd8 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.sq-mark::after {
  content: ""; position: absolute; inset-inline: 2% -1%; inset-block-end: -0.1em; height: 0.3em;
  border-block-end: 0.085em solid var(--gold); border-radius: 0 0 55% 45% / 0 0 100% 80%;
  transform: rotate(-1.2deg);
}
.sq-lead { margin: 0 auto; max-width: 40rem; color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; text-wrap: pretty; }
/* The AI disclosure: its own soft lavender pill with an info mark, part of the lead paragraph. */
.sq-ai {
  display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
  margin: 10px auto 0; padding-block: 6px; padding-inline: 10px 14px; border-radius: 999px;
  background: var(--lavender-2); box-shadow: inset 0 0 0 1px #d9cffb;
  color: var(--brand); font-size: 0.9rem; font-weight: 750; line-height: 1.3; text-align: start;
}
.sq-ai::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid currentColor;
  background:
    radial-gradient(circle, currentColor 0 1.4px, transparent 1.9px) 50% 22% / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 78% / 2px 7px no-repeat;
}

/* ---------- Film, form and highlights ----------
   founder 2026-12-03: film before form on phones (DOM order film then form, stacked with a modest
   gap). From 900 px the main area becomes one grid and this wrapper steps aside (display: contents),
   so the hero and film share the left column, the card sits on the right and the highlights run
   full width below (approved desktop design 2026-12-04). */
.sq-grid { display: grid; gap: 14px; align-items: start; grid-template-areas: "film" "form" "caps"; }
.sq-join { grid-area: form; }
.sq-film { grid-area: film; }
.sq-caps { grid-area: caps; min-width: 0; }

/* 16:9 film frame: the approved Nova portrait until the visitor presses "Watch the film". */
.sq-film { position: relative; margin: 0; min-width: 0; }
.sq-frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px;
  background:
    radial-gradient(22rem 14rem at 12% 20%, rgb(255 200 61 / 30%), transparent 70%),
    linear-gradient(135deg, #f3efff 0%, var(--lavender-2) 45%, #d8cdfb 100%);
  box-shadow: 0 22px 48px rgb(42 22 96 / 18%), 0 0 0 1px var(--line);
}
/* The approved portrait, shown whole and unaltered (no crop), at the end of the frame; only its
   first sliver (the bookshelf) fades into the frame. */
.sq-poster {
  position: absolute; inset-block: 0; inset-inline-end: 0; height: 100%; width: auto; max-width: none;
  aspect-ratio: 900 / 745; object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
  mask-image: linear-gradient(to right, transparent 0, #000 16%);
}
[dir="rtl"] .sq-poster {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16%);
  mask-image: linear-gradient(to left, transparent 0, #000 16%);
}
.sq-soon {
  position: absolute; inset-inline-start: 10px; inset-block-start: 10px; margin: 0; max-width: calc(100% - 20px);
  padding: 5px 12px; border-radius: 10px; border-inline-start: 4px solid var(--gold);
  background: rgb(255 255 255 / 94%); color: var(--ink); font-size: 0.8rem; font-weight: 800; line-height: 1.3;
  box-shadow: 0 6px 16px rgb(42 22 96 / 14%);
}
/* Founder decision 2026-12-04: with the approved film the whole frame is one "Watch the film"
   button (no video bytes until pressed). Approved design: a clean circle (white ring, brand purple
   disc, white start triangle drawn with clip-path) left of centre, clear of Nova's face; the label
   stays as the button's accessible name, visually hidden. */
.sq-watch {
  position: absolute; inset: 0; display: grid; place-items: center start; width: 100%; height: 100%;
  margin: 0; padding: 0; padding-inline-start: calc(28% - 28px); padding-block-end: 7%; border: 0; border-radius: inherit;
  background: rgb(42 22 96 / 0%); color: var(--ink); font: inherit; cursor: pointer;
  transition: background-color 0.2s ease;
}
.sq-watch:hover { background: rgb(42 22 96 / 6%); }
.sq-watch:focus-visible { outline: 3px solid var(--blue); outline-offset: -5px; border-radius: 20px; }
.sq-watch-pill {
  display: grid; place-items: center; min-height: 56px; padding: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 12px 30px rgb(42 22 96 / 30%), 0 0 0 1px rgb(255 255 255 / 60%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sq-watch:hover .sq-watch-pill, .sq-watch:focus-visible .sq-watch-pill {
  transform: scale(1.06); box-shadow: 0 16px 36px rgb(42 22 96 / 36%), 0 0 0 1px rgb(255 255 255 / 60%);
}
.sq-watch-icon {
  position: relative; display: block; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); background-image: linear-gradient(145deg, #6a45e6, var(--brand) 60%, #3b1f9e);
}
.sq-watch-icon::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 38%; height: 44%;
  background: #fff; clip-path: polygon(22% 0, 100% 50%, 22% 100%); transform: translateX(6%);
}
.sq-watch-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The film fills the 16:9 frame on the brand ink (never cropped); the browser's own controls. */
.sq-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.sq-video:focus-visible { outline-offset: -3px; border-radius: 20px; }
.sq-caption {
  position: absolute; inset-inline-start: 10px; inset-block-end: 10px; max-width: calc(100% - 20px);
  padding: 5px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1.3;
  box-shadow: 0 6px 16px rgb(42 22 96 / 25%);
}
.sq-film:has(.sq-video) .sq-caption { display: none; }

/* ---------- Early Access card ---------- */
.sq-join { min-width: 0; }
.sq-card {
  background: var(--paper); color: var(--ink); border-radius: 24px; padding: 16px 16px 10px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgb(75 43 179 / 13%), 0 2px 6px rgb(42 22 96 / 5%);
}
.sq-card:focus { outline: none; }
.sq-card h2 { margin: 0 0 2px; font-size: 1.3rem; line-height: 1.2; font-weight: 850; color: var(--ink); letter-spacing: -0.01em; }
/* Small gold accent strokes after the title (decorative). Founder refinement 2026-12-04: the end
   margin cancels their width (8 + 18 - 26 = 0), so they never need room on the line and always sit
   at the end of the title's last line instead of wrapping onto a line of their own. */
.sq-card h2::after {
  content: ""; display: inline-block; width: 18px; height: 18px; margin-inline: 8px -26px; vertical-align: 0.35em;
  background:
    linear-gradient(var(--gold), var(--gold)) 20% 0 / 3.5px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 80% / 11px 3.5px no-repeat;
  transform: rotate(-18deg); border-radius: 2px;
}
.sq-card.is-done h2::after { display: none; }
.sq-intro { margin: 0 0 12px; color: var(--ink-2); font-size: 0.92rem; line-height: 1.4; }
.sq-wait { margin: 0 0 10px; color: var(--ink-2); font-weight: 700; }

.sq-form { display: grid; gap: 10px; }
.sq-pair { display: grid; gap: 10px; }
.sq-field { display: grid; gap: 5px; margin: 0; min-width: 0; }
.sq-field label { font-size: 0.9rem; font-weight: 800; line-height: 1.3; }
.sq-optional { font-weight: 800; color: var(--ink); }
.sq-input {
  width: 100%; min-height: 46px; padding-inline: 14px; border-radius: 12px; border: 2px solid var(--field-line);
  background: var(--field); color: var(--ink); font: inherit; font-size: 1rem;
}
.sq-input::placeholder { color: #6b6492; }
.sq-input:hover { border-color: var(--brand); }
.sq-input:focus-visible { border-color: var(--blue); outline-offset: 1px; }
.sq-input[aria-invalid="true"] { border-color: var(--alert); border-style: dashed; background: #fff6f6; }

/* Founder final brief 2026-12-03: one group label ("Early access, launch & promotional offers via:") and the two
   channel boxes side by side (they wrap only if a translation is much longer). */
.sq-consents { margin: 0; padding: 0; border: 0; min-width: 0; }
.sq-consents legend { padding: 0; margin-block-end: 4px; font-size: 0.9rem; font-weight: 800; }
.sq-checks { display: flex; flex-wrap: wrap; gap: 0 32px; }
.sq-checkrow { display: grid; grid-template-columns: 26px auto; column-gap: 10px; align-items: center; min-height: 44px; }
.sq-checkrow label { font-size: 1rem; font-weight: 750; line-height: 1.4; color: var(--ink); cursor: pointer; }
.sq-check { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.sq-check:disabled { cursor: not-allowed; }
.sq-check:disabled + label { color: var(--ink-2); cursor: not-allowed; }
/* Founder refinement 2026-12-04: the WhatsApp box before a number is typed is unavailable
   (aria-disabled) but keeps the normal box and label colour; only the cursor and the hint say so. */
.sq-check[aria-disabled="true"], .sq-check[aria-disabled="true"] + label { cursor: not-allowed; }
.sq-hint { grid-column: 2; font-size: 0.875rem; font-weight: 700; color: var(--blue); line-height: 1.3; }
.sq-hint[hidden] { display: none; }
/* Visually hidden, still read out (the WhatsApp box's description while it is unavailable). */
.sq-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sq-note { margin: 0; font-size: 0.875rem; color: var(--ink-2); line-height: 1.45; }
.sq-note a { color: var(--blue); font-weight: 700; }
/* Approved design 2026-12-04: the 18+ confirmation box; the whole row (box and its two-line label)
   is at least 44 px tall and tappable. */
.sq-adult { grid-template-columns: 26px minmax(0, 1fr); align-items: start; padding-block: 4px; }
.sq-adult .sq-check { margin-block-start: 1px; }
.sq-adult label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); line-height: 1.45; padding-block: 2px; }
.sq-check[aria-invalid="true"] { outline: 2px dashed var(--alert); outline-offset: 2px; }
/* Country code beside the number. Founder refinement 2026-12-04: the select is sized in its own bold
   font (ch) plus the native arrow, so "+91 India" (and "+971 UAE") shows in full at every width; the
   number takes the rest (at least 148 px on a 360 px phone, enough for "Mobile number"). */
.sq-phone-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.sq-phone-row .sq-input { padding-inline: 12px; }
.sq-phone-row .sq-cc { inline-size: calc(9ch + 36px); max-inline-size: 100%; padding-inline: 8px 4px; font-weight: 700; }
.sq-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 8px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 850; line-height: 1.2; cursor: pointer; text-align: center;
}
.sq-btn--go {
  width: 100%; min-height: 54px; font-size: 1.08rem; color: var(--ink);
  background: linear-gradient(180deg, #ffd96e 0%, var(--gold) 55%, #ffb81f 100%); border-color: #eeb21f;
  box-shadow: 0 12px 26px rgb(233 173 28 / 34%), inset 0 -3px 0 rgb(0 0 0 / 7%), inset 0 2px 0 rgb(255 255 255 / 45%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sq-btn--go::after { content: "\2192"; content: "\2192" / ""; font-size: 1.15em; }
[dir="rtl"] .sq-btn--go::after { content: "\2190"; content: "\2190" / ""; }
.sq-btn--go:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgb(233 173 28 / 42%), inset 0 -3px 0 rgb(0 0 0 / 7%), inset 0 2px 0 rgb(255 255 255 / 45%); }
.sq-btn--go[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.sq-btn--quiet { background: transparent; color: var(--brand); border-color: var(--brand); }
.sq-btn--quiet:hover { background: var(--lavender); }

.sq-status { margin: 0; font-size: 0.92rem; font-weight: 800; color: var(--alert); }
.sq-status:empty { display: none; }
.sq-free { margin: 0 0 4px; text-align: center; font-size: 0.95rem; font-weight: 800; color: var(--blue); }

.sq-more { font-size: 0.84rem; color: var(--ink-2); }
.sq-more > summary {
  list-style: none; cursor: pointer; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2px 10px; text-align: center; border-radius: 10px;
}
.sq-more > summary::-webkit-details-marker { display: none; }
.sq-more p { margin: 2px 0 8px; line-height: 1.45; }
.sq-more a { color: var(--blue); font-weight: 800; }

/* The confirmation that replaces the form (no navigation). */
.sq-card.is-done { text-align: center; padding-block: 26px 22px; }
.sq-card.is-done h2 { font-size: 1.5rem; }
.sq-done p { margin: 0 0 8px; }
.sq-done-lead { font-size: 1.1rem; font-weight: 800; color: var(--brand); }
.sq-done .sq-done-tag { margin-block-start: 12px; color: var(--gold-ink); font-weight: 800; letter-spacing: 0.04em; }
.sq-done-mark {
  position: relative; display: block; width: 68px; height: 68px; margin: 4px auto 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe7a3, var(--gold)); box-shadow: 0 10px 26px rgb(233 173 28 / 40%);
  animation: sq-pop 0.45s ease-out both;
}
.sq-done-mark::after {
  content: ""; position: absolute; inset-inline-start: 24px; inset-block-start: 15px; width: 18px; height: 32px;
  border: solid var(--ink); border-width: 0 6px 6px 0; transform: rotate(45deg); border-radius: 2px;
}
@keyframes sq-pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- What we're building for your child: five icon cards ---------- */
.sq-caps { padding-block: 16px 4px; }
.sq-caps h2 {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 12px; text-align: center; font-size: 1.25rem; line-height: 1.25; font-weight: 850; color: var(--ink);
}
.sq-caps h2::before, .sq-caps h2::after {
  content: ""; flex: 0 1 180px; min-width: 16px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgb(91 76 219 / 0%), rgb(91 76 219 / 55%));
}
.sq-caps h2::after { background: linear-gradient(90deg, rgb(91 76 219 / 55%), rgb(91 76 219 / 0%)); }
.sq-cap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sq-cap {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 22px rgb(42 22 96 / 6%);
}
.sq-cap strong { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.3; }

/* The icons: a tinted disc with a small drawing made only of CSS shapes. */
.sq-ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.sq-ico::before, .sq-ico::after { content: ""; position: absolute; inset: 0; margin: auto; }
/* Every class, subject and board: a graduate's cap. */
.sq-ico--levels { background: #efe8ff; }
.sq-ico--levels::before { width: 22px; height: 22px; background: #5a2fd6; transform: translateY(-4px) scaleY(0.5) rotate(45deg); border-radius: 3px; }
.sq-ico--levels::after { width: 16px; height: 9px; background: #7a55e8; border-radius: 0 0 8px 8px; transform: translateY(5px); }
/* Interactive AI tutoring: sparkles. */
.sq-ico--spark { background: #ebe8ff; }
.sq-ico--spark::before {
  width: 24px; height: 24px; background: linear-gradient(135deg, #7b4fe8, #3d63e0);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transform: translate(-3px, 3px);
}
.sq-ico--spark::after {
  width: 12px; height: 12px; background: #8a63f0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transform: translate(9px, -9px);
}
/* Personalised learning: a target. */
.sq-ico--target { background: #fff0e4; }
.sq-ico--target::before {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, #e8590c 0 17%, #fff 18% 36%, #e8590c 37% 56%, #fff 57% 72%, #e8590c 73% 100%);
}
.sq-ico--target::after { width: 14px; height: 3px; background: #b54708; border-radius: 2px; transform: translate(6px, -6px) rotate(-45deg); }
/* Fresh practice, whenever needed: a bolt. */
.sq-ico--bolt { background: #fff5d4; }
.sq-ico--bolt::before {
  width: 18px; height: 26px; background: linear-gradient(180deg, #ffc83d, #f59f00);
  clip-path: polygon(62% 0, 8% 58%, 44% 58%, 34% 100%, 92% 38%, 54% 38%);
}
/* Parent progress tracking: rising bars. */
.sq-ico--chart { background: #e6f6ea; }
.sq-ico--chart::before {
  width: 24px; height: 22px;
  background:
    linear-gradient(#5fbf4a, #5fbf4a) 0 100% / 6px 40% no-repeat,
    linear-gradient(#3fa34d, #3fa34d) 50% 100% / 6px 68% no-repeat,
    linear-gradient(#2b8a3e, #2b8a3e) 100% 100% / 6px 100% no-repeat;
}

/* ---------- Footer ---------- */
.sq-foot { border-block-start: 1px solid var(--line); background: rgb(255 255 255 / 70%); padding-block: 2px 8px; }
.sq-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 24px; }
.sq-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 700;
}
.sq-links a:hover { color: var(--blue); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .sq-btn--go, .sq-btn--go:hover { transition: none; transform: none; }
  .sq-done-mark { animation: none; }
  .sq-watch, .sq-watch-pill { transition: none; }
  .sq-watch:hover .sq-watch-pill, .sq-watch:focus-visible .sq-watch-pill { transform: none; }
}

/* ---------- Larger phones and small tablets ---------- */
@media (min-width: 480px) {
  .sq-pair { grid-template-columns: 1fr 1fr; }
  .sq-card { padding: 20px 20px 12px; }
  .sq-logo { height: 100px; }
  .sq-cap-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .sq-wrap, .sq-pitch { padding-inline: 24px; }
  .sq-grid { max-width: 40rem; }
  .sq-pitch { padding-block: 16px 22px; }
  .sq-pitch h1 { font-size: 2.5rem; }
  .sq-lead { font-size: 1.06rem; }
  .sq-caps h2 { font-size: 1.4rem; }
  .sq-watch { padding-inline-start: calc(28% - 40px); }
  .sq-watch-icon { width: 68px; height: 68px; }
}

/* ---------- Desktop: the approved two-column composition ----------
   One grid on the main area: hero and film on the left, the card on the right (vertically centred
   against them, never stretched), the five highlight cards across the full width below. */
@media (min-width: 900px) {
  .sq-wrap, .sq-pitch { padding-inline: 32px; }
  .sq-logo { height: 112px; }
  .sq-main {
    display: grid; width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 32px; padding-block: 0 20px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas: "pitch form" "film form" "caps caps";
    column-gap: 40px; align-items: center;
  }
  .sq-grid { display: contents; }
  .sq-pitch { grid-area: pitch; align-self: end; max-width: none; padding-inline: 0; padding-block: 4px 18px; }
  .sq-film { align-self: start; }
  .sq-eyebrow { font-size: 0.95rem; padding: 5px 18px; margin-block-end: 6px; }
  .sq-pitch h1 { max-width: none; margin-inline: -24px; margin-block-end: 12px; font-size: clamp(2.2rem, 2.9vw, 2.65rem); line-height: 1.12; }
  .sq-lead { max-width: 44rem; font-size: 1.1rem; }
  .sq-ai { font-size: 0.95rem; margin-block-start: 12px; }
  .sq-frame { border-radius: 24px; }
  .sq-watch { padding-inline-start: calc(30% - 46px); padding-block-end: 8%; }
  .sq-watch-pill { padding: 7px; }
  .sq-watch-icon { width: 78px; height: 78px; }
  .sq-caption { inset-inline-start: 18px; inset-block-end: 16px; padding: 7px 16px; font-size: 0.95rem; }
  .sq-soon { font-size: 0.9rem; }

  .sq-card { padding: 26px 28px 18px; }
  .sq-card h2 { font-size: 1.6rem; margin-block-end: 6px; }
  .sq-intro { font-size: 1rem; line-height: 1.45; margin-block-end: 18px; }
  .sq-form { gap: 14px; }
  .sq-pair { gap: 16px; }
  .sq-field { gap: 6px; }
  .sq-field label { font-size: 0.95rem; }
  .sq-consents legend { font-size: 0.95rem; }
  .sq-input { min-height: 50px; }
  .sq-btn--go { min-height: 58px; font-size: 1.2rem; }
  .sq-free { font-size: 1rem; }

  .sq-caps { padding-block: 26px 0; }
  .sq-caps h2 { gap: 28px; font-size: 1.6rem; margin-block-end: 18px; }
  .sq-caps h2::before, .sq-caps h2::after { flex-basis: 190px; }
  .sq-cap-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .sq-cap { flex-direction: column; justify-content: center; text-align: center; gap: 10px; min-height: 0; padding: 14px 12px; border-radius: 20px; box-shadow: 0 10px 26px rgb(42 22 96 / 7%); }
  .sq-cap strong { font-size: 0.95rem; }
  .sq-ico { width: 52px; height: 52px; }

  .sq-links { gap: 0 48px; }
  .sq-links a { font-size: 1rem; }
}
/* Wide screens: icon beside its two-line label, as in the approved design. */
@media (min-width: 1180px) {
  .sq-cap { flex-direction: row; justify-content: flex-start; text-align: start; gap: 14px; padding: 14px 16px; }
  .sq-cap strong { font-size: 1.02rem; }
}
/* Short desktop screens (1280x720 and similar): a smaller logo and a tighter hero, so the whole
   card, its button included, stays above the fold. */
@media (min-width: 900px) and (max-height: 780px) {
  .sq-logo { height: 92px; }
  .sq-pitch { padding-block: 0 12px; }
  .sq-pitch h1 { font-size: clamp(2rem, 2.7vw, 2.4rem); margin-block-end: 8px; }
  .sq-ai { margin-block-start: 8px; }
}
