/* Pivotium Ltd — site styles. Plain CSS, no build step.
   Colour tokens live on :root; dark mode redefines them in two places (system preference,
   and an explicit choice from the toggle), so both must be kept in step. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --navy: #1E2A6C;            /* the logo navy — the brand accent */
  --black: #050506;

  --bg: #FFFFFF;
  --bg-soft: #F4F5F9;
  --card: #FFFFFF;
  --ink: #0B0C10;
  --ink-2: #4A4F5C;
  --ink-3: #6A6F7C;
  --line: #E3E5EC;
  --accent: #1E2A6C;          /* button and band surfaces */
  --accent-hover: #283891;
  --accent-ink: #1E2A6C;      /* accent used as text */
  --accent-soft: #E8EBF7;
  --focus: #3346B8;
  --shadow: 0 1px 2px rgba(11, 12, 16, .04), 0 12px 32px -12px rgba(11, 12, 16, .12);
  --ill-frame: #FFFFFF;
  --ill-bar: #E7E9F0;
  --ill-bar-2: #D5D9E5;
  --ill-side: #F1F2F7;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C10;
    --bg-soft: #101218;
    --card: #14161D;
    --ink: #F2F3F7;
    --ink-2: #ADB2BF;
    --ink-3: #8A8F9C;
    --line: #252833;
    --accent: #2C3C9C;
    --accent-hover: #3647B0;
    --accent-ink: #AEBBFF;
    --accent-soft: #1A2040;
    --focus: #AEBBFF;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --ill-frame: #171A22;
    --ill-bar: #262A36;
    --ill-bar-2: #323747;
    --ill-side: #1C1F29;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B0C10;
  --bg-soft: #101218;
  --card: #14161D;
  --ink: #F2F3F7;
  --ink-2: #ADB2BF;
  --ink-3: #8A8F9C;
  --line: #252833;
  --accent: #2C3C9C;
  --accent-hover: #3647B0;
  --accent-ink: #AEBBFF;
  --accent-soft: #1A2040;
  --focus: #AEBBFF;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --ill-frame: #171A22;
  --ill-bar: #262A36;
  --ill-bar-2: #323747;
  --ill-side: #1C1F29;
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

/* line icons: drawn in currentColor so they follow the theme */
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
img, video { height: auto; }

a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.95rem, 1.15rem + 2.5vw, 3.1rem); }
.section-head p { margin-top: 18px; font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem); color: var(--ink-2); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--light { background: #fff; color: #0B0C10; }
.btn--light:hover { background: #E9EBF3; }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--ghost-dark:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .05); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 6, .95);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand svg { width: auto; height: 32px; }
.brand-word { font-weight: 800; font-size: 1.12rem; letter-spacing: .2em; text-transform: uppercase; }

.logo-mark path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.brand .logo-mark path { stroke-width: 52; }

.nav-main { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; font-weight: 600;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
  background: transparent; color: #fff; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.menu-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .js .nav-main { display: none; }
  .js .menu-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .nav-links { flex-wrap: wrap; }
  .header-inner { flex-wrap: wrap; }
  .js .header-inner { flex-wrap: nowrap; }
  .header-actions { margin-left: auto; }
  .mobile-nav { display: block; border-top: 1px solid rgba(255, 255, 255, .08); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
  .mobile-nav .container { padding-bottom: 20px; }
  .mobile-nav a:not(.btn) {
    display: block; padding: 12px 4px; color: #fff; text-decoration: none;
    font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .mobile-nav .btn { margin-top: 14px; width: 100%; }
}

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

.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: #fff;
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px);
  isolation: isolate;
}
.hero::before {
  /* the logo's triangle lattice, as a faint field behind the hero */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='124.7' viewBox='0 0 72 124.7'%3E%3Cpath d='M0 0L72 0M0 62.35L72 62.35M0 124.7L72 124.7M0 0L36 62.35L72 0M0 124.7L36 62.35L72 124.7' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 72px 124.7px;
  opacity: .055;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(44, 60, 156, .55), rgba(30, 42, 108, .18) 55%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid; column-gap: clamp(40px, 6vw, 72px); row-gap: 44px;
  grid-template-areas: "intro" "show" "proof";
}
.hero-intro { grid-area: intro; min-width: 0; }
.showcase { grid-area: show; }
.hero-proof { grid-area: proof; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; grid-template-areas: "intro show" "proof show"; align-items: center; }
  .hero-intro { align-self: end; }
  .hero-proof { align-self: start; }
}

.hero .kicker { color: #AEBBFF; }
.hero h1 {
  font-size: clamp(2.45rem, 1.1rem + 5vw, 4.55rem);
  line-height: 1.01; letter-spacing: -0.04em;
  max-width: 13ch;
}
.hero h1 em { font-style: normal; color: #AEBBFF; }
.hero-lead {
  margin-top: 24px; max-width: 34em;
  font-size: clamp(1.06rem, .98rem + .4vw, 1.24rem); color: #B9BDC8; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: #8F95A6; }

.hero-proof {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; gap: 10px; font-size: .95rem; color: #9DA2B1;
}
.hero-proof strong { color: #fff; font-weight: 700; }
.hero-proof ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hero-proof li { display: flex; gap: 10px; align-items: baseline; }
.hero-proof li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6E7FE0; transform: translateY(-2px); }

/* player + delivery tray */
.showcase { position: relative; min-width: 0; }
.player {
  position: relative; border-radius: 18px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 120px -50px rgba(44, 60, 156, .95), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.player video, .player img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.player-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}
.player-bar .icon-btn { width: 34px; height: 34px; border-color: rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); }
.player-bar .icon-btn svg { width: 14px; height: 14px; }
.player .icon-play { display: none; }
.player.is-paused .icon-play { display: block; }
.player.is-paused .icon-pause { display: none; }
.player-track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.player-track span { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.player-label { font-size: .78rem; color: rgba(255, 255, 255, .7); font-family: var(--mono); }

/* Hero "real work" card: a real Clock In Master tutorial in place of an illustrated file list (owner, 17 Oct 2026). */
.realwork {
  margin-top: 16px; display: grid; grid-template-columns: 172px 1fr; gap: 16px; align-items: center;
  padding: 14px; border-radius: 16px; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .2s ease, background .2s ease;
}
.realwork:hover, .realwork:focus-visible { border-color: rgba(174, 187, 255, .45); background: rgba(255, 255, 255, .06); }
.realwork-shot { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.realwork-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.realwork-play {
  position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); display: grid; place-items: center; backdrop-filter: blur(2px);
}
.realwork-play svg { width: 18px; height: 18px; fill: #fff; }
.realwork-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.realwork-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #AEBBFF; }
.realwork-title { font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3; }
.realwork-meta { font-size: .8rem; color: #8F95A6; }
.realwork-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.realwork-chips span {
  font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(110, 127, 224, .18); color: #C7D0FF;
}
.realwork-note { font-size: .78rem; color: #A9AEBE; margin-top: 2px; }
@media (max-width: 480px) { .realwork { grid-template-columns: 1fr; } }

.tray {
  margin-top: 16px; padding: 16px 16px 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.tray-head { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: #fff; padding-bottom: 10px; }
.tray-head svg { width: 18px; height: 18px; color: #AEBBFF; flex: none; }
.tray-head .pill {
  margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(110, 127, 224, .18); color: #C7D0FF;
}
.tray ul { list-style: none; margin: 0; padding: 0; }
.tray li {
  display: flex; align-items: center; gap: 12px; padding: 10px 2px;
  border-top: 1px solid rgba(255, 255, 255, .07); min-width: 0;
}
.file-badge {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-size: .62rem; font-weight: 800; letter-spacing: .04em; color: #fff;
}
.file-badge--mp4 { background: #2C3C9C; }
.file-badge--jpg { background: #3B4A5E; }
.file-badge--srt { background: #2F5D57; }
.file-badge--md { background: #5A4A2E; }
.file-name { font-family: var(--mono); font-size: .84rem; color: #E6E8EF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-what { margin-left: auto; padding-left: 8px; font-size: .84rem; color: #8F95A6; white-space: nowrap; }
@media (max-width: 420px) { .file-what { display: none; } }

/* ---------- what you get ---------- */

.files-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 18px; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
}
.card-icon svg { width: 22px; height: 22px; }
.ext { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); font-weight: 500; margin-left: 6px; letter-spacing: 0; }

.promise-row {
  margin-top: 28px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.promise {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px;
  border-radius: 14px; border: 1px dashed var(--line); color: var(--ink); font-weight: 600; font-size: .98rem;
}
.promise svg { flex: none; width: 20px; height: 20px; color: var(--accent-ink); }

/* phones: icon beside the title, to keep the stack short */
@media (max-width: 639px) {
  .files-grid .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .files-grid .card h3 { margin-top: 0; }
  .files-grid .card p { grid-column: 1 / -1; }
}

/* ---------- who ---------- */

.who-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .who-grid { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.who-grid .section-head { margin-bottom: 0; }
.use-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.use-list li {
  font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.who-tiles { display: grid; gap: 14px; }
.who-tile { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.who-tile .card-icon { margin-top: 2px; }
.who-tile h3 { margin-top: 0; }
.who-tile p { margin-top: 6px; }

/* ---------- how ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative; counter-increment: step;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 26px 24px; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 800; font-size: .9rem; letter-spacing: .02em;
}
.step h3 { font-size: 1.14rem; margin-top: 18px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }
.step--last::before { background: var(--accent); color: #fff; }
@media (max-width: 719px) {
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; }
  .step h3 { margin-top: 0; }
  .step p { grid-column: 1 / -1; margin-top: 12px; }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step--last { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 47px; left: 76px; right: -14px; height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
  }
}

/* ---------- work ---------- */

.work-list { display: grid; gap: 20px; }
.work-card { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(22px, 3.4vw, 44px); }
@media (min-width: 960px) { .work-card { grid-template-columns: .92fr 1.08fr; } }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
}
.tag--plain { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.work-card h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); margin-top: 18px; letter-spacing: -0.03em; }
.work-card .card-body > p { margin-top: 14px; color: var(--ink-2); font-size: 1.04rem; }
.work-card .fine { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
.stat { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.stat b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--ink-2); font-size: .98rem; }
.work-card .btn { margin-top: 24px; }

/* abstract portal illustration (no client footage) */
.illustration { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--ill-side); }
.illustration svg { width: 100%; height: auto; }
.ill-frame { fill: var(--ill-frame); }
.ill-side { fill: var(--ill-side); }
.ill-bar { fill: var(--ill-bar); }
.ill-bar-2 { fill: var(--ill-bar-2); }
.ill-ink { fill: var(--ink); }
.ill-accent { fill: var(--accent); }
.ill-ring { fill: none; stroke: #6E7FE0; stroke-width: 3; }
.ill-glow { fill: #6E7FE0; opacity: .14; }
.ill-caption { fill: rgba(5, 5, 6, .86); }
.ill-caption-text { fill: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; }
.ill-btn-text { fill: #fff; font-family: var(--font); font-size: 13px; font-weight: 700; }
.ill-cursor { fill: #fff; stroke: #0B0C10; stroke-width: 1.5; }

.videos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.yt { margin: 0; min-width: 0; }
.yt-frame { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: #000; color: #fff; display: block;
}
.yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.yt-play:focus-visible { outline-offset: -4px; outline-color: #fff; }
.yt-play:hover img { transform: scale(1.03); opacity: .9; }
.yt-play .play-dot {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 999px; background: rgba(5, 5, 6, .78); display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .2s ease, background-color .2s ease;
}
.yt-play:hover .play-dot { transform: scale(1.06); background: var(--navy); }
.yt-play .play-dot svg { width: 22px; height: 22px; margin-left: 3px; }
.yt figcaption { margin-top: 12px; }
.yt-title { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.yt-meta { margin-top: 4px; font-size: .88rem; color: var(--ink-3); }
.yt-meta a { color: inherit; }
.yt-note { margin-top: 14px; font-size: .82rem; color: var(--ink-3); }

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

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  padding-block: clamp(64px, 8vw, 104px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='124.7' viewBox='0 0 72 124.7'%3E%3Cpath d='M0 0L72 0M0 62.35L72 62.35M0 124.7L72 124.7M0 0L36 62.35L72 0M0 124.7L36 62.35L72 124.7' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 72px 124.7px; opacity: .08;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { font-size: clamp(1.95rem, 1.15rem + 2.5vw, 3rem); max-width: 18ch; }
.cta-band p { margin-top: 16px; color: #D3D8F2; font-size: 1.08rem; max-width: 40em; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
@media (min-width: 900px) { .cta-actions { justify-items: end; } }
.cta-actions small { color: #C3C9EA; font-size: .9rem; }
.cta-actions small a { color: #fff; }

/* ---------- products ---------- */

.products { display: grid; gap: 20px; }
@media (min-width: 760px) { .products { grid-template-columns: 1fr 1fr; } }
.product { display: flex; flex-direction: column; }
.product--feature { grid-column: 1 / -1; }
.product-head { display: flex; align-items: center; gap: 16px; }
.product-logo { width: 64px; height: 64px; border-radius: 16px; flex: none; object-fit: cover; }
.product-head h3 { margin-top: 0; font-size: 1.45rem; }
.product-head p { margin-top: 2px; font-size: .98rem; color: var(--ink-2); }
.product > p.desc { margin-top: 18px; color: var(--ink-2); }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.feature-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.chips li { font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.product-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.product--feature .feature-wrap { display: grid; gap: 28px; margin-top: 4px; }
@media (min-width: 900px) {
  .product--feature .feature-wrap { grid-template-columns: 1fr 1fr; gap: 48px; }
  .product--feature .feature-list { grid-template-columns: 1fr; }
}
.store-group { display: grid; gap: 10px; }
.store-group h4 { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- what else ---------- */

.more-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.more-grid .card { box-shadow: none; }
.more-grid .card h3 { margin-top: 0; font-size: 1.08rem; }
.more-grid .card p { font-size: .96rem; }
.more-num { display: block; font-family: var(--mono); font-size: .8rem; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- company ---------- */

.company { display: grid; gap: 20px; }
@media (min-width: 900px) { .company { grid-template-columns: 1.2fr 1fr; } }
.company dl { margin: 0; display: grid; gap: 18px; }
.company dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.company dd { margin: 4px 0 0; font-size: 1.04rem; }
.company .card h3 { margin-top: 0; font-size: 1.3rem; }
.contact-card { display: flex; flex-direction: column; gap: 14px; }
.contact-card .btn { align-self: flex-start; margin-top: 8px; }
.email-big { font-size: clamp(1.05rem, .9rem + .7vw, 1.35rem); font-weight: 700; word-break: break-word; }

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

.site-footer { background: var(--black); color: #A7ABB6; padding-block: 56px 40px; font-size: .94rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand svg { height: 36px; }
.footer-tag { margin-top: 16px; max-width: 30em; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #D7DAE2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; color: #8F95A6;
}
.footer-theme { display: inline-flex; align-items: center; gap: 10px; }
.footer-theme .icon-btn { width: 34px; height: 34px; }

/* ---------- prose pages (privacy, 404) ---------- */

.page-hero { background: var(--black); color: #fff; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); }
.page-hero .kicker { color: #AEBBFF; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -0.04em; }
.page-hero p { margin-top: 16px; color: #A7ABB6; }
.prose { max-width: 720px; padding-block: clamp(48px, 7vw, 88px); }
.prose h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; margin: 12px 0 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }

/* ---------- motion ---------- */

.motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.motion .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta-band, .theme-toggle, .menu-toggle { display: none !important; }
  .hero, .site-footer, .page-hero { background: #fff; color: #000; }
}

/* Client results (TipTaxRefund card): real, counted figures only (17 Oct 2026). */
.stat-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 4px; }
.stat-row .stat { margin: 0; }
.stat-row .stat b { font-size: 1.9rem; }
.stat-row .stat span { font-size: .9rem; }

/* One product beside the featured one (Doof removed, 17 Oct 2026): let it use the full row. */
.products > .product:nth-child(2):last-child { grid-column: 1 / -1; }
