/* ===========================================================================
   Square For Freelancers — 2026

   DESIGN SYSTEM NOTE
   Square's own brand (verified off squareup.com, 2026-07-26): Square blue
   #006AFF, fully-rounded pill buttons (border-radius 10000px), light-weight
   display type (their h1 is weight 400), white/black base, generous space.

   This site deliberately does NOT copy that wholesale. It splits:

     DARK  — the film, the finale, the footer. Cinematic, condensed, hi-vis.
             This is the part Square doesn't have and is why we outshine.
     LIGHT — everything between. Square-aligned: white, airy, pill buttons,
             Square blue, sentence-case light headings.

   The dark→light switch lands on "How Square fixes it", so the page literally
   brightens at the moment of relief. That's the whole idea — borrow Square's
   composure for the product story, keep our own voice for the story itself.
   =========================================================================== */

:root {
  /* dark side — ours */
  --asphalt:   #1C1F23;
  --asphalt-2: #24282D;
  --asphalt-3: #2E333A;
  --bone:      #F4F1EA;
  --bone-soft: #A8A69F;
  --hivis:     #FFD400;

  /* light side — Square-aligned */
  --sq-blue:    #006AFF;
  --sq-blue-dk: #0055CC;
  --paper:      #FFFFFF;
  --paper-2:    #F6F7F9;
  --paper-3:    #ECEEF1;
  --ink:        #11151A;
  --ink-2:      #454C55;
  --ink-3:      #6B737D;
  --line:       rgba(17,21,26,.13);
  --line-soft:  rgba(17,21,26,.07);

  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --pill: 999px;
}

/* scroll-world engine theming.
   The engine writes its own tokens directly onto .sw-root, and a value set on
   an element beats one inherited from :root — so theming via :root alone does
   nothing. It has to target .sw-root itself. --sw-bg also drives the copy
   scrim and title shadow, so a dark value is what makes the headline legible. */
.sw-root {
  --sw-bg: var(--asphalt);
  --sw-ink: var(--bone);
  --sw-ink-soft: var(--bone-soft);
  --sw-accent: var(--hivis);
  --sw-font-display: var(--font-display);
  --sw-font-body: var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* --- sections ------------------------------------------------------------ */

.section { padding: clamp(76px, 11vw, 152px) 0; position: relative; }
.section--tight { padding: clamp(58px, 8vw, 108px) 0; }

/* light is the default; these opt back into the dark voice */
.section--dark { background: var(--asphalt); color: var(--bone); }
.section--alt  { background: var(--paper-2); }

/* --- type ---------------------------------------------------------------- */

/* Square-aligned: sentence case, light weight, tight tracking, big.
   Deliberately NOT the condensed uppercase of the film. */
.h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0;
}
.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.section--dark .h2, .section--dark .h3 { color: var(--bone); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sq-blue);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; flex: none; }
.section--dark .eyebrow { color: var(--hivis); }

.lede {
  font-size: clamp(17px, 1.85vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 24px 0 0;
}
.section--dark .lede { color: var(--bone-soft); }

/* --- buttons — Square's pill, our colour on dark ------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sq-blue); outline-offset: 3px; }

.btn--primary { background: var(--sq-blue); color: #fff; }
.btn--primary:hover { background: var(--sq-blue-dk); box-shadow: 0 8px 22px rgba(0,106,255,.28); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(17,21,26,.04); }

.btn--lg { padding: 18px 34px; font-size: 17px; }

/* on dark, hi-vis carries the hero's energy through */
.section--dark .btn--primary, .foot .btn--primary { background: var(--hivis); color: #1A1A1A; }
.section--dark .btn--primary:hover { background: #FFE24D; box-shadow: 0 8px 22px rgba(255,212,0,.25); }
.section--dark .btn--ghost { border-color: rgba(244,241,234,.32); color: var(--bone); }
.section--dark .btn--ghost:hover { border-color: var(--bone); background: rgba(244,241,234,.07); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.callnote { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); }
.section--dark .callnote { color: var(--bone-soft); }
.callnote a { color: inherit; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.callnote a:hover { color: var(--sq-blue); }
.section--dark .callnote a:hover { color: var(--hivis); }

#world { background: var(--asphalt); }

/* --- pain (stays dark — this is the problem) ---------------------------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1px;
  margin-top: 56px;
  background: rgba(244,241,234,.12);
  border: 1px solid rgba(244,241,234,.12);
  border-radius: 12px;
  overflow: hidden;
}
.pain { background: var(--asphalt); padding: 34px 30px 38px; transition: background .2s ease; }
.pain:hover { background: var(--asphalt-2); }
.pain__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(244,241,234,.34); margin-bottom: 16px; }
.pain__t { font-weight: 600; font-size: 19px; letter-spacing: -.015em; margin-bottom: 10px; color: var(--bone); }
.pain__b { font-size: 15px; color: var(--bone-soft); margin: 0; line-height: 1.55; }

/* --- feature grid -------------------------------------------------------- */

.fix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 38px 44px;
  margin-top: 60px;
}
.fix { padding-top: 24px; border-top: 2px solid var(--sq-blue); }
.fix__t { font-weight: 600; font-size: 19px; letter-spacing: -.015em; margin-bottom: 9px; }
.fix__b { font-size: 15.5px; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* --- calculator ---------------------------------------------------------- */

.calc {
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(17,21,26,.04), 0 18px 44px rgba(17,21,26,.06);
}
.calc__top { padding: clamp(28px, 4vw, 46px); }
.calc__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.calc__val {
  font-weight: 600;
  font-size: clamp(42px, 7vw, 68px);
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--sq-blue);
  margin-bottom: 26px;
  font-variant-numeric: tabular-nums;
}

input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: var(--paper-3); outline: none; margin: 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sq-blue); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,106,255,.4); cursor: grab;
}
input[type=range]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--sq-blue); border: 3px solid #fff; cursor: grab;
}
input[type=range]:focus-visible { outline: 3px solid var(--sq-blue); outline-offset: 6px; }

.calc__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-top: 13px; font-variant-numeric: tabular-nums; }

.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid var(--line); }
.calc__cell { padding: 30px clamp(24px, 3.4vw, 44px) 34px; border-right: 1px solid var(--line); }
.calc__cell:last-child { border-right: 0; }
.calc__cell--win { background: rgba(0,106,255,.05); }
.calc__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.calc__v { font-weight: 600; font-size: clamp(29px, 4vw, 42px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__v--bad { color: #D2402C; }
.calc__v--good { color: var(--sq-blue); }
.calc__note { font-size: 13.5px; color: var(--ink-3); margin: 9px 0 0; }

/* --- split layouts ------------------------------------------------------- */

.split, .kit {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.kit { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 900px) { .split, .kit { grid-template-columns: 1fr; } }

.installments { display: grid; gap: 11px; margin-top: 8px; }
.inst {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
}
.inst--paid { border-color: var(--sq-blue); background: rgba(0,106,255,.05); }
.inst__when { font-size: 14.5px; color: var(--ink-2); }
.inst__amt { font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.inst--paid .inst__amt { color: var(--sq-blue); }

/* --- testimonials -------------------------------------------------------- */

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 24px; margin-top: 56px; }
.quote {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 30px;
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.quote:hover { box-shadow: 0 10px 30px rgba(17,21,26,.08); transform: translateY(-2px); }
.quote__mark { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--sq-blue); margin-bottom: 10px; }
.quote__b { font-size: 16px; margin: 0 0 24px; flex: 1; color: var(--ink); line-height: 1.6; }
.quote__who { font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.quote__who strong { color: var(--ink); display: block; font-size: 15px; margin-bottom: 2px; font-weight: 600; }

/* --- pricing ------------------------------------------------------------- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; margin-top: 56px; align-items: stretch; }
.tier {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 28px 32px;
  background: var(--paper);
  position: relative;
  display: flex; flex-direction: column;
}
.tier--feature {
  border-color: var(--sq-blue);
  border-width: 2px;
  box-shadow: 0 12px 36px rgba(0,106,255,.14);
}
.tier__flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--sq-blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: var(--pill);
}
.tier__name { font-weight: 600; font-size: 24px; letter-spacing: -.025em; margin-bottom: 5px; }
.tier__sub { font-size: 13.5px; color: var(--ink-3); margin: 0 0 22px; }
.tier__rates { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 20px 0; margin-bottom: 22px; }
.tier__rate-lead { font-weight: 600; font-size: 42px; line-height: 1; letter-spacing: -.04em; color: var(--sq-blue); margin-bottom: 5px; }
.tier__rate-sub { font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.rate { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding: 5px 0; }
.rate span:first-child { color: var(--ink-3); }
.rate span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
.tier__list li { font-size: 14.5px; padding-left: 25px; position: relative; color: var(--ink-2); }
.tier__list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--sq-blue); border-bottom: 2px solid var(--sq-blue);
  transform: rotate(-45deg);
}
.tier .btn { width: 100%; }
.tier__foot { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin: 14px 0 0; text-align: center; }

/* --- hardware ------------------------------------------------------------ */

.shot {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 34px);
  display: grid; place-items: center;
  overflow: hidden; margin: 0;
}
.shot img { width: 100%; height: auto; display: block; }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.shot--sm { padding: clamp(14px, 2vw, 24px); }
.shot__cap { font-size: 12.5px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }

.kit__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.kit__list li { padding-left: 30px; position: relative; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.kit__list li strong { color: var(--ink); font-weight: 600; }
.kit__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--sq-blue); border-bottom: 2px solid var(--sq-blue);
  transform: rotate(-45deg);
}

/* --- invoicing ----------------------------------------------------------- */

.inv-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.inv { background: var(--paper); padding: 32px 28px 34px; }
.inv__t { font-weight: 600; font-size: 18px; letter-spacing: -.015em; margin-bottom: 9px; }
.inv__b { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* invoice mock — original artwork, not a Square screenshot */
.invoice {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 16px;
  padding: 30px 28px 26px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(17,21,26,.04), 0 20px 50px rgba(17,21,26,.09);
}
.invoice__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.invoice__who { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.invoice__meta { font-size: 12px; color: var(--ink-3); text-align: right; line-height: 1.5; }
.invoice__pill {
  display: inline-block; background: #E6F0FF; color: var(--sq-blue-dk);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--pill); margin-top: 8px;
}
.invoice__rows { margin: 16px 0 0; }
.invoice__row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
.invoice__row span:first-child { color: var(--ink-2); }
.invoice__row--total { border-bottom: 0; padding-top: 16px; font-weight: 700; font-size: 17px; }
.invoice__cta { margin-top: 18px; background: var(--sq-blue); color: #fff; text-align: center; padding: 14px; border-radius: var(--pill); font-weight: 600; }
.invoice__note { margin: 12px 0 0; font-size: 11.5px; color: var(--ink-3); text-align: center; }

/* --- finale (dark bookend) ---------------------------------------------- */

.finale {
  text-align: center;
  background: var(--asphalt);
  color: var(--bone);
  background-image: radial-gradient(120% 100% at 50% 0%, rgba(255,212,0,.10), transparent 68%);
}
.finale .lede { margin-left: auto; margin-right: auto; color: var(--bone-soft); }
.finale .btn-row { justify-content: center; }
.finale .eyebrow { justify-content: center; color: var(--hivis); }
.trustline { margin-top: 32px; font-size: 13.5px; color: var(--bone-soft); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }

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

.foot { background: var(--asphalt); color: var(--bone-soft); padding: 56px 0 66px; font-size: 13.5px; }
.foot__top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.foot__logo { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--bone); letter-spacing: .02em; text-decoration: none; }
.foot__disc { max-width: 78ch; line-height: 1.65; margin: 0; }
.foot__links { margin: 24px 0 0; font-size: 13.5px; }
.foot__links a { color: var(--bone-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.foot__links a:hover { color: var(--hivis); border-color: var(--hivis); }
.sq-lockup { display: flex; align-items: center; gap: 14px; }
.sq-lockup__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-soft); }
/* brand guidelines: never alter or recolour the mark; >=40px clear space */
.sq-lockup img { height: 26px; width: auto; padding: 0 40px; }

/* --- releasing the film -------------------------------------------------
   The scrub engine assumes the world IS the whole page: every layer is
   position:fixed at z-index 20 and it never hides them, because in its own
   design nothing sits underneath. Here the film is a hero with a full page
   below, so those layers sat on top of every following section (verified:
   opacity 1 at 14,000px, the film's CTA painted over the footer).
   site.js flags #world.is-past once scroll clears the film.
   ------------------------------------------------------------------------ */

#world .sw-stage, #world .sw-copylayer, #world .sw-route,
#world .sw-hint, #world .sw-sky, #world .sw-scrollbar, #world .sw-topbar {
  transition: opacity .35s ease, visibility .35s ease;
}
#world.is-past .sw-stage, #world.is-past .sw-copylayer, #world.is-past .sw-route,
#world.is-past .sw-hint, #world.is-past .sw-sky, #world.is-past .sw-scrollbar,
#world.is-past .sw-topbar {
  opacity: 0; visibility: hidden; pointer-events: none;
}
main, .foot { position: relative; z-index: 30; }

/* The engine's primary CTA resolves to bone-on-bone — invisible. Restate it. */
#world .sw-btn--primary { background: var(--hivis); color: #1A1A1A; border-color: var(--hivis); }
#world .sw-btn--ghost { color: var(--bone); border-color: rgba(244,241,234,.45); }
#world .sw-btn--ghost:hover { border-color: var(--bone); }

/* --- legal pages --------------------------------------------------------- */

.legal-body { background: var(--paper); }
.legal-top { border-bottom: 1px solid var(--line); padding: 20px 0; background: var(--asphalt); }
.legal-top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-top .btn--ghost { border-color: rgba(244,241,234,.32); color: var(--bone); }
.legal-top .btn--ghost:hover { border-color: var(--bone); background: rgba(244,241,234,.07); }

.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(60px, 8vw, 100px); }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 10px; }
.legal .h3 { margin: 46px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.72; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal code { background: #FFF3C4; color: #6B5200; padding: 2px 7px; border-radius: 5px; font-size: 13px; }
.legal__meta { font-size: 13.5px !important; color: var(--ink-3) !important; }
.legal__note {
  border-left: 3px solid var(--sq-blue);
  background: rgba(0,106,255,.05);
  padding: 20px 24px; margin: 30px 0 8px;
  font-size: 15.5px; color: var(--ink-2); line-height: 1.65;
  border-radius: 0 12px 12px 0;
}
.legal__foot { margin-top: 48px !important; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px !important; color: var(--ink-3) !important; }

/* --- positioning band (h1) ---------------------------------------------- */

.intro { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.intro__h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin: 0;
  color: var(--bone);
  max-width: 16ch;
}
.intro__chips {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.intro__chips li {
  font-size: 14px;
  font-weight: 500;
  color: var(--bone);
  border: 1px solid rgba(244,241,234,.26);
  border-radius: var(--pill);
  padding: 9px 18px 9px 34px;
  position: relative;
}
.intro__chips li::before {
  content: '';
  position: absolute; left: 15px; top: 15px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--hivis);
  border-bottom: 2px solid var(--hivis);
  transform: rotate(-45deg);
}

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

.faq {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 26px 52px 26px 0;
  position: relative;
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 20px);
  letter-spacing: -0.018em;
  color: var(--ink);
  transition: color .16s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--sq-blue); }
.faq__q:focus-visible { outline: 3px solid var(--sq-blue); outline-offset: 4px; border-radius: 4px; }

/* the +/− indicator, drawn in CSS so there's no icon dependency */
.faq__q::before,
.faq__q::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  background: var(--sq-blue);
  transition: transform .22s ease, opacity .22s ease;
}
.faq__q::before { width: 15px; height: 2px; margin-top: -1px; }
.faq__q::after  { width: 2px; height: 15px; margin-top: -7.5px; margin-right: 6.5px; }
.faq__item[open] .faq__q::after { transform: rotate(90deg); opacity: 0; }

.faq__a { padding: 0 60px 28px 0; }
.faq__a p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }

/* --- polish -------------------------------------------------------------- */

/* anchor targets clear the top of the viewport instead of butting against it */
[id] { scroll-margin-top: 24px; }

::selection { background: var(--sq-blue); color: #fff; }
.section--dark ::selection { background: var(--hivis); color: #1A1A1A; }

/* consistent, visible focus everywhere — not just on buttons */
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sq-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark a:focus-visible { outline-color: var(--hivis); }

/* stop long numbers and rates breaking awkwardly mid-word */
.rate span, .calc__v, .inst__amt, .tier__rate-lead { font-feature-settings: 'tnum' 1; }

img { max-width: 100%; }

/* --- reveal -------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- skip link ----------------------------------------------------------- */

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--sq-blue); color: #fff;
  padding: 12px 22px; border-radius: var(--pill);
  font-weight: 600; z-index: 999;
}
.skip:focus { left: 12px; }
