/* brandsmith.dev. Direction C: sakuga impact-frame bold. Paper and ink, a violet line, one pink accent.
   Shared by index.html, privacy.html, terms.html and contact.html. Hand-written CSS, no build step.
   Radius rule: controls 12 px, cards 16 px, video frames 16 px, pills fully round. */

/* Fonts are self-hosted (latin subset) and preloaded by index.html. Licences: fonts/OFL-*.txt. */
@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anton-latin.woff2) format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --paper: #f6f5fb;
  --card: #ffffff;
  --ink: #16132e;
  --mute: #56527a;
  --hair: rgba(22, 19, 46, 0.16);
  --line: #5a4fd8;
  --pink: #ff4f9a;
  --pink-ink: #c21767;
  --soft: #c9c3ff;
  --yell: #ffe14d;
  --ok: #13a36a;
  --fixed-ink: #16132e;
  --disp: Anton, Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sk-soft: var(--soft);
  --sk-acc: var(--pink);
  --sk-pri: #8f8df7;
  color-scheme: light;
}
/* Dark: follow the system unless the visitor chose light; or forced by the toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #13112a; --card: #1d1a3a; --ink: #f3f1ff; --mute: #b3afd6; --hair: rgba(243, 241, 255, 0.16);
    --soft: #3d3778; --line: #a99fff; --pink-ink: #ff7db5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #13112a; --card: #1d1a3a; --ink: #f3f1ff; --mute: #b3afd6; --hair: rgba(243, 241, 255, 0.16);
  --soft: #3d3778; --line: #a99fff; --pink-ink: #ff7db5; color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Halftone dots at the top of the page only. Fixed and click-through, so it never repaints on scroll. */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5;
  background: radial-gradient(var(--hair) 1px, transparent 1.3px) 0 0 / 14px 14px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 45%); mask: linear-gradient(180deg, #000, transparent 45%);
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.disp { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border: 2.5px solid var(--ink); border-radius: 12px;
  background: var(--card); color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap;
  text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.1s, box-shadow 0.1s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--pink); }
.btn-ink:hover { box-shadow: 5px 5px 0 var(--pink); }

/* The hero CTA. sakuga-button draws its own button in a shadow root, and ::part(button) styles it.
   Before the script defines the element, the same box is drawn here, so nothing shifts when it upgrades. */
sakuga-button.cta { display: inline-block; --sk-card: var(--ink); --sk-ink: var(--paper); --sk-btn-line: var(--ink); --sk-r: 12px; --sk-bw: 3px; --sk-btn-sh: 6px 6px 0 var(--pink); }
sakuga-button.cta::part(button) { height: 60px; padding: 0 30px; font: 400 26px/1 var(--disp); font-style: normal; text-transform: uppercase; letter-spacing: 0.03em; }
sakuga-button.cta:not(:defined) {
  display: inline-flex; align-items: center; height: 60px; padding: 0 30px; border: 3px solid var(--ink); border-radius: 12px;
  background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--pink);
  font: 400 26px/1 var(--disp); text-transform: uppercase; letter-spacing: 0.03em;
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-row .btn { height: 60px; padding: 0 24px; font-size: 17px; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 400 26px/1 var(--disp); letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.logo .mark { height: 32px; width: auto; flex: none; color: var(--ink); }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.top .btn { height: 40px; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); font-size: 18px; line-height: 1;
}
.theme-toggle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.theme-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: center;
  padding: 24px 0 72px; isolation: isolate; min-height: min(calc(100dvh - 72px), 800px);
}
/* Speed lines radiating from behind the headline: the impact-frame look. */
.speed {
  position: absolute; top: -80px; bottom: -20px; left: calc(50% - 50vw); width: 100vw; max-width: 100vw; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 30% 46%, var(--ink) 0 0.7deg, transparent 0.7deg 4.5deg);
  -webkit-mask: radial-gradient(closest-side at 30% 46%, transparent 34%, rgba(0, 0, 0, 0.2) 52%, transparent 96%);
  mask: radial-gradient(closest-side at 30% 46%, transparent 34%, rgba(0, 0, 0, 0.2) 52%, transparent 96%);
}
.hero h1 { font-size: clamp(44px, 7vw, 104px); line-height: 0.95; }
.h-line { display: block; }
.slab {
  display: inline-block; background: var(--pink); color: #fff; padding: 0.05em 0.14em 0.02em; white-space: nowrap;
  border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); transform: rotate(-2deg); line-height: 1; margin: 0.1em 0 0;
}
.lead { font-size: 19px; color: var(--mute); margin-top: 28px; max-width: 42ch; line-height: 1.5; }
.hero .cta-row { margin-top: 32px; }
.hero-media { position: relative; justify-self: center; width: min(280px, 100%); }

/* The stack: five demo cards fanned like the Review queue. demos.js sets data-pos (0 is the top card)
   and moves cards with Approve, Skip, a swipe or the arrow keys. Without JavaScript nth-child gives the same fan. */
.stack { position: relative; aspect-ratio: 9 / 16; touch-action: pan-y; }
.stack:focus-visible { outline: 3px solid var(--pink); outline-offset: 10px; border-radius: 18px; }
.stack .slot-stack { position: absolute; inset: 0; transform-origin: 50% 85%; transition: transform 0.45s var(--ease), opacity 0.35s var(--ease); }
.slot-stack .slot-media { border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
/* Without JavaScript: the first three cards fan out, the rest wait underneath. */
.slot-stack:nth-child(1) { z-index: 5; transform: none; }
.slot-stack:nth-child(2) { z-index: 4; transform: translate(28px, 8px) rotate(6deg) scale(0.95); }
.slot-stack:nth-child(3) { z-index: 3; transform: translate(-28px, 10px) rotate(-6deg) scale(0.93); }
.slot-stack:nth-child(n+4) { z-index: 1; transform: scale(0.88); opacity: 0; pointer-events: none; }
/* With JavaScript: data-pos is the place in the queue (0 is the top card). These win over nth-child. */
.stack .slot-stack[data-pos] { z-index: 1; transform: scale(0.88); opacity: 0; pointer-events: none; }
.stack .slot-stack[data-pos="0"] { z-index: 5; transform: none; opacity: 1; pointer-events: auto; }
.stack .slot-stack[data-pos="1"] { z-index: 4; transform: translate(28px, 8px) rotate(6deg) scale(0.95); opacity: 1; }
.stack .slot-stack[data-pos="2"] { z-index: 3; transform: translate(-28px, 10px) rotate(-6deg) scale(0.93); opacity: 1; }
.stack .slot-stack[data-pos="0"] .slot-media { box-shadow: 10px 11px 0 var(--soft); }
.stack .slot-stack[data-pos]:not([data-pos="0"]) .slot-media::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--paper) 22%, transparent); }
.stack .slot-stack.is-out-right { z-index: 6; transform: translate(130%, -6%) rotate(18deg); opacity: 0; }
.stack .slot-stack.is-out-left { z-index: 6; transform: translate(-130%, -6%) rotate(-18deg); opacity: 0; }
.stack .slot-stack.is-dragging { transition: none; }
.stack-bar { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px 14px; margin-top: 46px; }
.chip-skip { justify-self: end; }
.chip-approve { justify-self: start; }
.stack-bar[hidden] { display: none; }
.chip {
  height: 44px; padding: 0 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink);
  font-weight: 700; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); transition: transform 0.1s, box-shadow 0.1s;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.chip-approve { background: var(--pink); color: #16132e; }
.stack-now { grid-column: 1 / -1; grid-row: 2; text-align: center; font-size: 13px; font-weight: 600; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- demo slots ----------
   A slot is a <figure data-demo-slot>. Its .slot-media box has a fixed aspect ratio, so a video
   that loads later never shifts the page. Until then the box shows a generated gradient and a label. */
.slot { margin: 0; position: relative; }
.slot-media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 3px solid var(--ink); border-radius: 16px;
  background: var(--fixed-ink); box-shadow: 6px 6px 0 var(--soft); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.slot-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 16px; text-align: center;
  background:
    radial-gradient(rgba(22, 19, 46, 0.22) 1.2px, transparent 1.5px) 0 0 / 9px 9px,
    radial-gradient(120% 70% at 20% 0%, hsl(var(--h1, 330) 90% 72% / 0.9), transparent 60%),
    linear-gradient(165deg, hsl(var(--h1, 330) 70% 60%), hsl(var(--h2, 260) 55% 26%) 78%);
}
.ph-type {
  font: 400 clamp(20px, 2vw, 28px)/1.05 var(--disp); text-transform: uppercase; color: #fff;
  -webkit-text-stroke: 1.5px #16132e; paint-order: stroke fill; text-shadow: 3px 3px 0 #16132e; max-width: 12ch;
}
.ph-play {
  width: 54px; height: 54px; border-radius: 50%; border: 3px solid #16132e; background: #fff; box-shadow: 3px 3px 0 #16132e;
  display: grid; place-items: center;
}
.ph-play::after { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #16132e; }
/* An image-only slot shows its <img> (demos.js fades it in). A video slot's <video> stays hidden until
   demos.js gives it its poster near the screen. Without JavaScript the <noscript> poster <img> shows. */
.slot-video, .slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.slot-video, .slot-img.is-fading { opacity: 0; }
.slot.is-loaded .slot-video { opacity: 1; }
/* The speaker button on a demo video (demos.js). 40 px: big enough to tap. */
.slot-sound {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; border: 2px solid var(--ink); border-radius: 999px;
  background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink); cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink); transition: transform 0.1s, box-shadow 0.1s;
}
.slot-sound svg { width: 20px; height: 20px; }
.slot-sound:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.slot-sound[aria-pressed="true"] { background: var(--pink); color: #16132e; border-color: var(--ink); }
.slot-sound:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.slot-stack .slot-sound { right: 14px; bottom: 14px; }
.slot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.slot .tag { border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 700; background: var(--card); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .niche { color: var(--mute); font-weight: 600; white-space: nowrap; }
.slot[data-has-video] { cursor: pointer; }
.slot:focus-visible { outline: none; }
.slot:focus-visible .slot-media { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- shared section heading ---------- */
.sec { padding: 112px 0 0; }
.sec h2 { font-size: clamp(40px, 5.2vw, 72px); }
.sec .sub { font-size: 18px; color: var(--mute); margin-top: 16px; max-width: 56ch; }

/* ---------- examples: two drifting rows ----------
   Without JavaScript, and under reduced motion, each row is a wrapped grid. demos.js adds .is-moving and
   copies each row's cards so the loop is seamless; --shift is one set's width. Only transform animates. */
.examples { position: relative; }
.marquee-toggle {
  position: absolute; right: 0; top: 136px; height: 36px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--card); color: var(--ink); font-weight: 700; font-size: 13.5px; box-shadow: 2px 2px 0 var(--ink);
}
.marquee-toggle[hidden] { display: none; }
.marquee { display: grid; gap: 32px; margin-top: 44px; }
.marquee-track { display: flex; flex-wrap: wrap; gap: 28px 24px; }
.slot-card { width: 200px; flex: none; }
.marquee.is-moving { margin-inline: calc(50% - 50vw); }
.marquee.is-moving .marquee-row { overflow: hidden; padding: 6px 0 10px; }
.marquee.is-moving .marquee-track { flex-wrap: nowrap; gap: 0; width: max-content; animation: drift var(--dur, 50s) linear infinite; }
.marquee.is-moving .slot-card { margin-right: 24px; }
.marquee.is-moving [data-dir="right"] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(calc(-1 * var(--shift, 0px))); } }
@media (hover: hover) {
  .slot-card:hover .slot-media, .slot-card:focus-visible .slot-media { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pink); }
}

/* ---------- see it in a minute ---------- */
.slot-promo { margin-top: 36px; }
.slot-promo .slot-media { aspect-ratio: 16 / 9; border-radius: 18px; box-shadow: 10px 10px 0 var(--soft); }
.slot-promo .ph-type { font-size: clamp(28px, 3.2vw, 44px); max-width: none; }
.slot-promo figcaption { justify-content: flex-start; }
.transcript { margin-top: 18px; max-width: 72ch; }
.transcript summary { cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.transcript p { margin-top: 10px; color: var(--mute); }

/* ---------- how it works: five steps, each with a real app screen ---------- */
.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li {
  counter-increment: step; grid-column: span 3; display: grid; gap: 20px; align-content: start; padding: 26px;
  border: 3px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 6px 6px 0 var(--ink);
}
.steps li:nth-child(3) { grid-column: span 2; }
.steps li:nth-child(4) { grid-column: span 4; }
.steps li:nth-child(5) { grid-column: span 6; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.step-copy { display: grid; gap: 10px; justify-items: start; }
.steps h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(36px, 3.6vw, 52px); }
.steps h3::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 3px solid var(--ink); border-radius: 50%;
  background: var(--pink); color: #16132e; font: 400 24px/1 var(--disp);
}
.steps p { color: var(--mute); max-width: 46ch; }
.stat { display: inline-block; border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; background: var(--yell); color: #16132e; font-size: 14px; font-weight: 700; }
.shot { display: block; width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 12px; background: #f6f5fb; box-shadow: 4px 4px 0 var(--soft); }

/* ---------- features bento: seven cells ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.cell { grid-column: span 2; border: 3px solid var(--ink); border-radius: 16px; padding: 26px; background: var(--card); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cell h3 { font: 400 32px/1.02 var(--disp); text-transform: uppercase; }
.cell p { font-size: 15.5px; color: var(--mute); max-width: 46ch; }
.f-explain { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 10px 32px; align-items: center; }
.f-explain h3, .f-explain p { grid-column: 1; }
.f-explain .styles { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-top: 0; }
.f-infl { grid-column: span 4; }
.c-ink { grid-column: span 6; }
.c-dots { background: radial-gradient(var(--soft) 1.6px, transparent 2px) 0 0 / 12px 12px, var(--card); }
.c-dots p { color: var(--ink); }
.c-pink { background: var(--pink); color: #16132e; border-color: #16132e; box-shadow: 6px 6px 0 var(--ink); }
.c-pink p { color: #16132e; }
.c-soft { background: var(--soft); }
.c-soft p { color: var(--ink); }
.c-ink { background: var(--ink); color: var(--paper); }
.c-ink p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.chips { list-style: none; padding: 8px 0 0; margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid currentColor; border-radius: 999px; padding: 4px 12px; font-size: 13.5px; font-weight: 700; background: var(--paper); color: var(--ink); }
.c-pink .chips li { background: #fff; color: #16132e; border-color: #16132e; }
.styles { list-style: none; padding: 0; margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.style-loop { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; }
.style-loop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.style-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid var(--ink); border-radius: 10px; background: var(--fixed-ink); }
.style-media img, .style-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.style-media video { opacity: 0; transition: opacity 0.3s; }
.style-media video.is-playing { opacity: 1; }
.faces { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.slot-face .slot-media { aspect-ratio: 4 / 5; border-width: 2.5px; border-radius: 12px; box-shadow: 3px 3px 0 var(--soft); }
.slot-face .ph-type { font-size: 20px; }
.slot-face figcaption { margin-top: 6px; gap: 6px; justify-content: flex-start; font-size: 12.5px; }
.slot-face figcaption b { font: 400 17px/1 var(--disp); text-transform: uppercase; }

/* ---------- comparison ---------- */
.table-wrap { position: relative; margin-top: 36px; overflow-x: auto; border: 3px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 8px 8px 0 var(--ink); }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; }
.compare thead th { font: 400 22px/1.05 var(--disp); text-transform: uppercase; border-bottom: 3px solid var(--ink); }
.compare tbody tr + tr > * { border-top: 1.5px solid var(--hair); }
.compare th[scope="row"] { font-weight: 700; width: 18%; }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.compare .us { background: color-mix(in srgb, var(--pink) 12%, var(--card)); font-weight: 600; }
.compare thead .us { background: var(--pink); color: #16132e; }
.compare td { color: var(--mute); }
.compare td.us { color: var(--ink); }
.mark {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; vertical-align: -5px;
  border: 2px solid var(--ink); border-radius: 50%; font: 800 12px/1 var(--body);
}
.mark-yes { background: var(--ok); color: #fff; }
.mark-no { background: var(--card); color: var(--ink); }
.mark-part { background: var(--yell); color: #16132e; }

/* ---------- pricing ---------- */
.price-sec {
  margin-top: 120px; border: 3px solid var(--fixed-ink); border-radius: 16px; padding: 48px; background: var(--yell); color: #16132e;
  box-shadow: 10px 10px 0 var(--ink); scroll-margin-top: 16px;
}
.price-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; }
.price-head h2 { font-size: clamp(40px, 4.6vw, 64px); }
.price-head p { grid-column: 1; font-size: 17px; max-width: 44ch; }
.period { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; padding: 4px; border: 2.5px solid #16132e; border-radius: 999px; background: #fff; }
.period[hidden] { display: none; }
.period button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #16132e; font-weight: 700; font-size: 15px; }
.period button[aria-pressed="true"] { background: #16132e; color: #fff; }
.period button:focus-visible { outline-color: #16132e; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 3px solid #16132e; border-radius: 16px; background: #fff; color: #16132e; }
.plan h3 { font-size: 30px; }
.plan-price b { font: 400 56px/1 var(--disp); }
.plan-price span { font-weight: 600; }
.plan-credits { font-weight: 700; }
.plan-feats { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 15px; margin-bottom: 8px; }
.plan-feats li { display: flex; gap: 8px; }
.plan-feats li::before { content: "\2713"; font-weight: 800; color: #0e7a4f; }
.plan .btn { margin-top: auto; background: #fff; color: #16132e; border-color: #16132e; box-shadow: 3px 3px 0 #16132e; }
.plan-hi { background: #16132e; color: #f6f5fb; box-shadow: 6px 6px 0 var(--pink); }
.plan-hi .plan-feats li::before { color: var(--pink); }
.plan-hi .btn { background: var(--pink); color: #16132e; border-color: #f6f5fb; box-shadow: 3px 3px 0 #f6f5fb; }
.plan :focus-visible, .price-sec :focus-visible { outline-color: #16132e; }
.plan-hi :focus-visible { outline-color: var(--pink); }
.price-list { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; }
.price-list li { display: flex; gap: 10px; align-items: baseline; }
.price-list li::before { content: ""; flex: none; width: 12px; height: 12px; border: 2.5px solid #16132e; border-radius: 3px; background: var(--pink); transform: translateY(1px) rotate(45deg); }
.fine { margin-top: 14px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.faq-list details { border-top: 2.5px solid var(--ink); padding: 18px 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 28px/0.8 var(--disp); }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { margin-top: 10px; color: var(--mute); max-width: 60ch; }
.faq-list details p b { color: var(--ink); }

/* ---------- final call to action ---------- */
.final {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 120px; padding: 72px 48px; text-align: center;
  border: 3px solid var(--fixed-ink); border-radius: 16px; background: var(--pink); color: #16132e; box-shadow: 10px 10px 0 var(--ink);
  display: grid; justify-items: center; gap: 18px;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(22, 19, 46, 0.12) 0 1deg, transparent 1deg 6deg);
}
.final h2 { font-size: clamp(40px, 6vw, 88px); }
.final p { font-size: 18px; font-weight: 600; max-width: 44ch; }
.final .cta-row { justify-content: center; margin-top: 10px; }
.btn-pink { background: #16132e; color: #f6f5fb; border-color: #16132e; box-shadow: 5px 5px 0 #fff; }
.btn-pink:hover { box-shadow: 6px 6px 0 #fff; }
.btn-ghost { background: transparent; color: #16132e; border-color: #16132e; box-shadow: 4px 4px 0 #16132e; }
.btn-ghost:hover { box-shadow: 5px 5px 0 #16132e; }
.final :focus-visible { outline-color: #16132e; }

/* ---------- footer ---------- */
.foot { margin-top: 96px; border-top: 3px solid var(--ink); padding: 28px 0 48px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.foot .logo { font-size: 22px; }
.foot .logo .mark { height: 26px; }
.foot nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot nav a, .foot nav button { font-weight: 600; background: none; border: 0; padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }


/* ---------- motion ---------- */
/* The hero rises in once on load, the rows drift, cards lift on hover. All of it stops under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .cta-row { animation: rise 0.6s var(--ease) both; }
  .hero .lead { animation-delay: 0.08s; }
  .hero .cta-row { animation-delay: 0.16s; }
  .slab { animation: slam 0.5s 0.2s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
  .hero-media { animation: rise 0.7s 0.1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slam { from { transform: rotate(-9deg) scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .btn:active, .theme-toggle:hover, .theme-toggle:active, .chip:hover, .chip:active { transform: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; font-size: 14px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .f-infl, .c-pink { grid-column: span 1; }
  .f-explain, .c-ink, .f-infl { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(n) { grid-column: auto; }
  .steps li:nth-child(5) { grid-template-columns: 1fr; }
  .plans { gap: 14px; }
  .plan { padding: 20px; }
  .plan-price b { font-size: 46px; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .top .theme-toggle { margin-left: auto; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .top { gap: 12px; height: 64px; }
  .top .btn { padding: 0 12px; font-size: 14px; }
  .logo { font-size: 22px; }
  .logo .mark { height: 28px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 16px 0 40px; gap: 48px; overflow-x: clip; overflow-clip-margin: 16px; }
  .hero h1 { font-size: clamp(36px, 11.4vw, 72px); }
  .lead { font-size: 17px; }
  .cta-row { gap: 14px; }
  .cta-row .btn { height: 52px; }
  sakuga-button.cta::part(button), sakuga-button.cta:not(:defined) { height: 52px; padding: 0 22px; font-size: 22px; }
  .hero-media { width: min(230px, 62%); }
  .stack-bar { width: min(340px, calc(100vw - 32px)); margin-inline: calc((100% - min(340px, calc(100vw - 32px))) / 2); }
  .sec { padding-top: 80px; }
  .sec .sub { font-size: 16.5px; }
  .marquee-toggle { position: static; margin-top: 18px; }
  .marquee { margin-top: 24px; gap: 24px; }
  .slot-card { width: calc((100% - 16px) / 2); }
  .marquee-track { gap: 24px 16px; }
  .marquee.is-moving .slot-card { width: 156px; margin-right: 16px; }
  .steps li { padding: 20px; gap: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .bento { grid-template-columns: 1fr; }
  .cell, .f-explain, .f-infl, .c-pink, .c-ink { grid-column: auto; }
  .f-explain { grid-template-columns: 1fr; }
  .f-explain .styles { grid-column: 1; grid-row: auto; }
  .faces { grid-template-columns: 1fr 1fr; }
  .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px; }
  .table-wrap { box-shadow: 5px 5px 0 var(--ink); }
  .price-sec { padding: 28px 18px; margin-top: 88px; box-shadow: 6px 6px 0 var(--ink); }
  .price-head { grid-template-columns: 1fr; }
  .period { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .plans { grid-template-columns: 1fr; }
  .price-list { flex-direction: column; }
  .faq-list { grid-template-columns: 1fr; }
  .final { margin-top: 88px; padding: 48px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .final p { font-size: 16.5px; }
  .foot { margin-top: 72px; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 380px) {
  .logo { font-size: 20px; }
  .top .btn { padding: 0 10px; }
}

/* ========== legal, contact and consent (shared with privacy.html, terms.html, contact.html) ========== */
/* ---------- legal pages ---------- */
.legal { max-width: 46rem; padding: 40px 0 0; }
.legal h1 { font-size: clamp(48px, 7vw, 88px); }
.legal .draft { display: inline-block; margin-top: 18px; padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--yell); color: #16132e; font-weight: 600; font-size: 14px; }
.legal h2 { font: 400 30px/1.05 var(--disp); text-transform: uppercase; margin-top: 44px; }
.legal p { margin-top: 12px; font-size: 17px; }

/* ---------- consent banner ---------- */
/* A small bar at the bottom left, so it never covers the hero clip on the right (UAT finding 18). */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 380px;
  border: 2.5px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink); padding: 12px 14px; box-shadow: 4px 4px 0 var(--ink);
  display: grid; gap: 10px; font-size: 13.5px;
}
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { height: 34px; font-size: 13.5px; }

/* Legal pages: lists and the vendor table. */
.legal ul { margin-top: 12px; padding-left: 22px; font-size: 17px; display: grid; gap: 6px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal a { text-underline-offset: 3px; }
.legal .tbl { margin-top: 14px; overflow-x: auto; border: 2.5px solid var(--ink); border-radius: 12px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; }
.legal th { background: var(--ink); color: var(--paper); font-weight: 700; }
.legal tbody tr + tr td { border-top: 1.5px solid var(--hair); }
.legal .toc { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.legal .toc a { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- contact page ---------- */
.legal .contact-mail { margin-top: 24px; font: 400 clamp(30px, 5vw, 48px)/1.05 var(--disp); }
.legal .contact-mail a { color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 4px; text-underline-offset: 6px; overflow-wrap: anywhere; }
