/* tubeblock.app — single stylesheet. Look: big uppercase display type, pill buttons, colour bands,
   no shadows (depth comes from colour). Tokens below; everything else derives from them. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #2a0e5c;
  --brand-hover: #3d1b7a;
  --lilac: #ddd2ff;
  --lilac-hover: #cbbbff;
  --ink: #0e0f0c;
  --muted: #454745;
  --bg: #ffffff;
  --tint: rgba(42, 14, 92, 0.08);
  --tint-soft: rgba(42, 14, 92, 0.04);
  --border: rgba(42, 14, 92, 0.12);
  --input-border: #776d8f;
  --ring: #6b3fd9;
  --on-dark: rgba(255, 255, 255, 0.86);
  --radius-card: 28px;
  --radius-media: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --content: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 639px) { body { font-size: 1rem; line-height: 1.5rem; } }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.band-dark :focus-visible { outline-color: var(--lilac); }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--tint);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 9999px; font-weight: 600;
}
.skip:focus { top: 8px; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- layout */
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.tight { padding-top: 0; }
.band-lilac { background: var(--lilac); }
.band-tint { background: var(--tint); }
.band-dark { background: var(--brand); color: #fff; }
.center { text-align: center; }

/* ---------- type */
.display {
  margin: 0 auto 1.25rem;
  max-width: 15ch;
  color: var(--brand);
  font-size: clamp(2.25rem, 0.9rem + 6.6vw, 5.375rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: manual;
}
.display-sm { font-size: clamp(2.125rem, 0.9rem + 5.2vw, 4.5rem); max-width: 18ch; }
.h2, .prose h2 {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: clamp(1.75rem, 1.05rem + 2.6vw, 2.625rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.h2-caps {
  color: var(--brand);
  font-size: clamp(2rem, 1rem + 4vw, 3.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 auto 2rem;
  max-width: 16ch;
}
h3, .h3 { margin: 0 0 0.5rem; color: var(--ink); font-size: 1.375rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lead {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-align: center;
}
@media (max-width: 639px) { .lead { font-size: 1.125rem; line-height: 1.625rem; } }
.muted { color: var(--muted); }
.kicker { display: inline-block; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }
.updated { color: var(--muted); font-size: 0.9375rem; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 11px 24px;
  border: 0; border-radius: 9999px;
  font: inherit; font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 1.125rem; height: 1.125rem; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-hover); }
.btn-lilac { background: var(--lilac); color: var(--brand); }
.btn-lilac:hover { background: var(--lilac-hover); }
.btn-outline { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px var(--input-border); }
.btn-outline:hover { background: var(--tint); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--tint); }
.btn-link { background: none; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; padding-left: 12px; padding-right: 12px; }
.btn-lg { padding: 12px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.actions.left { justify-content: flex-start; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--lilac); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--brand); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 9999px;
  color: var(--brand); font-size: 1rem; font-weight: 600; text-decoration: none;
}
.site-nav ul a:hover { background: rgba(42, 14, 92, 0.1); }
.site-nav ul a[aria-current="page"] { background: rgba(42, 14, 92, 0.12); }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto;
  border: 0; border-radius: 9999px; background: rgba(42, 14, 92, 0.1); color: var(--brand); cursor: pointer;
}
.menu-btn .icon { width: 1.5rem; height: 1.5rem; }
.menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline-flex; }
@media (max-width: 879px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 8px var(--gutter) 24px; background: var(--lilac); border-bottom: 1px solid var(--border);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { display: flex; min-height: 48px; font-size: 1.125rem; }
  html:not(.js) .header-in { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .site-nav { flex-wrap: wrap; margin-left: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.hero-media { background: linear-gradient(var(--lilac) 0, var(--lilac) 120px, var(--bg) 120px); padding-bottom: clamp(32px, 6vw, 64px); }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 0.9375rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 4px; font-weight: 600; }
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 600; color: var(--brand); }
.trust-line li { display: inline-flex; align-items: center; gap: 6px; }
.trust-line .icon { width: 1.125rem; height: 1.125rem; }

/* ---------- demo */
.demo { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: clamp(16px, 3vw, 28px); }
.demo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.demo-title { margin: 0; color: var(--brand); font-size: 1.125rem; line-height: 1.5rem; font-weight: 700; }
.demo-note { display: inline-flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.demo-note .icon { width: 1rem; height: 1rem; margin-top: 2px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; margin: 0 0 12px; padding: 16px; background: var(--tint-soft); border-radius: var(--radius-media); }
.demo-kw { flex: 1 1 320px; min-width: 0; }
.demo-label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.kw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.kw-input { position: relative; flex: 1 1 220px; min-width: 0; }
.kw-input .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.kw-input input {
  width: 100%; min-height: 48px; padding: 10px 16px 10px 46px;
  border: 1px solid var(--input-border); border-radius: 9999px; background: #fff;
  color: var(--ink); font: inherit; font-size: 1rem;
}
.kw-input input:focus-visible { outline-offset: 1px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-right: 4px; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chips-label { font-size: 0.875rem; color: var(--muted); }
.chip {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 9999px;
  background: #fff; color: var(--brand); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer;
}
.chip:hover { background: var(--tint); }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px 0 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; border-radius: 9999px; }
.switch-track { position: relative; width: 52px; height: 30px; border-radius: 9999px; background: #8c82a3; transition: background-color 0.15s ease; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.switch[aria-checked="true"] .switch-track { background: var(--brand); }
.switch[aria-checked="true"] .switch-thumb { transform: translateX(22px); }
.demo-status { margin: 0 0 16px; color: var(--muted); font-size: 0.9375rem; line-height: 1.375rem; min-height: 1.375rem; }
.demo-status strong { color: var(--ink); }
.demo-empty { margin: 8px 0 0; padding: 24px; border: 1px dashed var(--input-border); border-radius: var(--radius-media); text-align: center; color: var(--muted); font-size: 0.9375rem; }
.demo-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 16px; }
.vcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--tint); }
.thumb svg, .sthumb svg { width: 100%; height: 100%; }
.dur { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 6px; background: rgba(14, 15, 12, 0.82); color: #fff; font-size: 0.75rem; line-height: 1.125rem; font-weight: 600; }
.vbody { display: flex; gap: 10px; min-width: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-size: 0.75rem; font-weight: 700; }
.vtext { min-width: 0; }
.vtitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 2px; color: var(--ink); font-size: 0.9375rem; line-height: 1.3rem; font-weight: 600; }
.vchan, .vstats { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.125rem; }
.vblock { align-self: flex-start; margin-top: auto; }
.vblock .icon { width: 1rem; height: 1rem; }
.shelf { grid-column: 1 / -1; padding: 16px; border-radius: var(--radius-media); background: var(--tint-soft); }
.shelf-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--ink); font-weight: 700; font-size: 1rem; }
.shelf-title .icon { width: 1.125rem; height: 1.125rem; color: var(--brand); fill: currentColor; }
.shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 150px); justify-content: start; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.scard { min-width: 0; }
.sthumb { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; margin-bottom: 8px; background: var(--tint); }
.demo-toast {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 20px; border-radius: 9999px; background: var(--ink); color: #fff;
  font-size: 0.9375rem; line-height: 1.375rem; font-weight: 500;
}
.demo-toast .btn { flex-shrink: 0; }
@media (max-width: 559px) {
  .feed { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vcard { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; }
  .vcard .thumb { grid-row: span 2; }
  .vcard .avatar { display: none; }
  .vcard .vblock { grid-column: 2; margin-top: 0; justify-self: start; }
  .hide-xs { display: none; }
  .demo-toast { border-radius: 20px; }
}

/* ---------- rows, steps, trust */
.row { display: grid; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px) 0; }
.row-text { min-width: 0; }
.row-text p { color: var(--muted); max-width: 34rem; }
.row-media { min-width: 0; padding: clamp(20px, 4vw, 40px); border-radius: var(--radius-card); background: var(--tint); }
@media (min-width: 860px) {
  .row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .row.flip .row-media { order: -1; }
}
.mock { background: #fff; border-radius: var(--radius-media); padding: 20px; border: 1px solid var(--border); }
.mock-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--brand); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.9375rem; }
.mock-row:first-of-type { border-top: 0; }
.mock-row .grow { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 9999px; background: var(--lilac); color: var(--brand); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.mock-pill.dark { background: var(--brand); color: #fff; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-toggle { width: 44px; height: 26px; border-radius: 9999px; background: var(--brand); position: relative; flex-shrink: 0; }
.mock-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.mock-toggle.off { background: #8c82a3; }
.mock-toggle.off::after { right: auto; left: 3px; }
.steps { display: grid; gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px; border-radius: var(--radius-card); background: #fff; text-align: left; }
.step-num { display: block; margin-bottom: 16px; color: var(--brand); font-size: 2.5rem; line-height: 1; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }
.step h3 { font-size: 1.25rem; }
.trust { display: grid; gap: 32px; margin: 40px 0 0; padding: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); list-style: none; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.band-dark h2 { color: var(--lilac); }
.band-dark p { color: var(--on-dark); }
.band-dark a { color: #fff; }
.trust h3 { display: flex; align-items: center; gap: 10px; color: var(--lilac); font-size: 1.25rem; }
.trust .icon { width: 1.5rem; height: 1.5rem; }
.trust-intro { max-width: 36rem; font-size: 1.25rem; line-height: 1.75rem; }
.band-dark .h2-caps { margin-left: 0; text-align: left; color: var(--lilac); }

/* ---------- prose blocks */
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 3.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.note { display: flex; gap: 14px; margin: 1.5rem 0; padding: 20px; border-radius: var(--radius-media); background: var(--tint); }
.note .icon { width: 1.5rem; height: 1.5rem; color: var(--brand); margin-top: 1px; }
.note p { margin: 0; }
.note p + p { margin-top: 0.75rem; }
.note.warn { background: #fff4d6; }
.note.warn .icon { color: #7a4b00; }
.howto { display: grid; gap: 40px; margin: 2rem 0 0; padding: 0; list-style: none; }
.howto > li { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .howto > li { grid-template-columns: 5fr 6fr; gap: 48px; } }
.howto-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--lilac); color: var(--brand); font-weight: 800; font-size: 1.125rem; }
.howto p { color: var(--muted); }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: var(--radius-media); border: 1px solid var(--border); background: var(--tint-soft); }
.shot figcaption { margin-top: 8px; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.shot-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 16 / 10; border: 1px dashed var(--input-border); border-radius: var(--radius-media); background: var(--tint-soft); color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.shot-box .icon { width: 2rem; height: 2rem; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius-media); }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; line-height: 1.5rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: 0; }
thead th { background: var(--tint); color: var(--brand); font-size: 0.9375rem; font-weight: 700; }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:nth-child(even) { background: var(--tint-soft); }
@media (max-width: 639px) {
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  tbody tr:last-child { border-bottom: 0; }
  tbody th, tbody td { display: block; padding: 0; border: 0; }
  tbody th { margin-bottom: 6px; }
  tbody td + td { margin-top: 8px; }
  tbody td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.125rem; font-weight: 600; }
}
.yes, .no, .part { display: inline-flex; align-items: flex-start; gap: 6px; }
.yes .icon { color: #1d6b3a; }
.no .icon { color: #a1262b; }
.part .icon { color: #7a4b00; }
.yes .icon, .no .icon, .part .icon { width: 1.125rem; height: 1.125rem; margin-top: 3px; }

.faq { margin: 1.5rem 0 0; }
.qa { padding: 24px 0; border-top: 1px solid var(--border); }
.qa:last-child { border-bottom: 1px solid var(--border); }
.qa h3 { color: var(--brand); font-size: 1.25rem; }
.qa p { margin: 0; color: var(--ink); }
.qa p + p { margin-top: 0.75rem; }

.cta-card { padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 64px); border-radius: var(--radius-card); background: var(--lilac); text-align: center; }
.cta-card h2 { margin: 0 auto 1rem; max-width: 16ch; color: var(--brand); font-size: clamp(2rem, 1rem + 4vw, 3.5rem); line-height: 0.92; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.cta-card p { max-width: 34rem; margin: 0 auto 1.5rem; }

.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.link-card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 44px; padding: 24px 56px 24px 24px; border: 1px solid var(--border); border-radius: var(--radius-media); text-decoration: none; color: var(--ink); }
.link-card:hover { background: var(--tint); }
.link-card-title { color: var(--brand); font-weight: 700; font-size: 1.125rem; }
.link-card-text { color: var(--muted); font-size: 0.9375rem; line-height: 1.375rem; }
.link-card .icon { position: absolute; right: 20px; top: 26px; color: var(--brand); }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 9999px; background: var(--lilac); color: var(--brand); font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--lilac-hover); }
.dl { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dl-meta { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.dl-ph { flex-direction: row; align-items: flex-start; gap: 14px; max-width: 32rem; margin: 0 auto; padding: 20px; border-radius: var(--radius-media); background: #fff; text-align: left; }
.dl-ph .icon { width: 1.5rem; height: 1.5rem; color: var(--brand); }
.dl-ph-title { margin: 0 0 2px; font-weight: 700; color: var(--brand); }
.browser { padding-top: 1rem; }
.email-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 1rem 0 1.5rem; }
.email-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.email-link:hover { text-decoration: underline; }
.email-link .icon { width: 1.75rem; height: 1.75rem; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { padding: 24px; border-radius: var(--radius-card); background: var(--tint); }
.card h3 { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.card p:last-child { margin-bottom: 0; }
.legal h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.5rem; }
.legal p, .legal li { color: var(--ink); overflow-wrap: anywhere; }

/* ---------- footer */
.site-footer { padding: 64px 0 40px; background: var(--tint); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.foot-h { margin: 0 0 8px; color: var(--ink); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-size: 1rem; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; line-height: 1.375rem; }
.foot-legal .logo { margin-bottom: 12px; }
.foot-legal p { margin: 0 0 8px; max-width: 48rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.hero-tail { padding: 0 0 clamp(40px, 6vw, 72px); margin-top: calc(-1 * clamp(16px, 3vw, 40px)); }
.shot-portrait { max-width: 360px; margin: 0 auto; }
