/* ==========================================================================
   CyberKaze site: shared styles
   Dark parchment editorial system per WEB-DESIGN-DIRECTION.md and
   brand/README.md. Semantic temperature rainbow, gold CTA only.
   ========================================================================== */

:root {
  /* Dark parchment palette (canonical hex, brand/README.md) */
  --ink: #14110d;
  --parchment-dark: #1c1813;
  --parchment: #272119;
  --parchment-light: #3a3124;
  --line: #4a3f2b;
  --ink-text: #f0e7d6;
  --ink-muted: #b3a78f;

  /* CTA accent, never an alarm */
  --gold: #e9c46a;

  /* Temperature rainbow heat states */
  --cool: #4e93c6;
  --climbing: #47a08a;
  --false-heat: #e19a3c;
  --hot: #d4483c;
  --stale: #8a8172;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  --font-body: "Manrope", -apple-system, "BlinkMacSystemFont", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", Georgia, serif;
  --font-jp-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Hiragino Mincho ProN", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Monaco, "Cascadia Code", monospace;

  --max-width: 1080px;
  --max-width-narrow: 780px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cool);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink-text);
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: 5px;
  padding: 0.1em 0.4em;
  color: var(--ink-text);
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ------------------------------------------------------------------------
   Layout shells
   ------------------------------------------------------------------------ */

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.container--narrow {
  width: min(var(--max-width-narrow), 92%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.section--dark {
  background: var(--parchment-dark);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.section-label .dot {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--cool);
  vertical-align: 0.05em;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  color: var(--ink-muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.page-title {
  padding: 3.4rem 0 1.2rem;
}

.page-title h1 {
  margin-bottom: 0.6rem;
}

.page-title p {
  max-width: 64ch;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 17, 13, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--cool);
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-jp {
  font-family: var(--font-jp);
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.main-nav a {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink-text);
}

.main-nav .nav-attest {
  margin-left: 0.15rem;
  padding-left: 1.15rem;
  border-left: 1px solid var(--line);
}

.main-nav .nav-attest a {
  color: var(--gold);
  font-weight: 600;
}

.main-nav .nav-attest a:hover {
  color: var(--ink-text);
}

.main-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.26rem 0.75rem;
  font-size: 0.85rem;
}

.lang-toggle a {
  color: var(--ink-muted);
}

.lang-toggle .current {
  color: var(--ink-text);
  font-weight: 600;
  pointer-events: none;
}

.lang-toggle .sep {
  color: var(--line);
}

/* ------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------ */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin: 1.6rem 0 0.4rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: #f0d288;
  transform: translateY(-1px);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-text);
  border-color: var(--parchment-light);
}

.btn--ghost:hover {
  border-color: var(--ink-muted);
  color: var(--ink-text);
}

.btn--cool {
  background: var(--cool);
  color: var(--ink);
}

.btn--cool:hover {
  background: #63a7d6;
  transform: translateY(-1px);
  color: var(--ink);
}

.btn--sm {
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
}

.btn--buy {
  padding: 0;
  background: transparent;
  border: none;
  line-height: 0;
}

.btn--buy:hover {
  background: transparent;
  transform: translateY(-1px);
}

.btn-buy-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  border-radius: 999px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--parchment);
  color: var(--ink-muted);
  border-color: var(--parchment-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
  width: 100%;
}

/* ------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------ */

.hero {
  padding: 4rem 0 3.2rem;
  overflow: hidden;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 1.6rem;
}

.status-chip .pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--climbing);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.hero .lead {
  max-width: 56ch;
}

.positioning {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

.positioning strong {
  color: var(--ink-text);
  font-weight: 600;
}

/* Lie-versus-truth panel */
.truth-panel {
  background: var(--parchment-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 0.6rem;
}

.truth-panel svg {
  width: 100%;
  height: auto;
}

/* Temperature rainbow strip */
.rainbow-wrap {
  margin: 1.4rem 0 0;
}

.rainbow-strip {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--cool) 0%, var(--climbing) 33%, var(--false-heat) 66%, var(--hot) 100%);
  background-size: 200% 100%;
  animation: rainbow-breathe 14s linear infinite;
}

.rainbow-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@keyframes rainbow-breathe {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ------------------------------------------------------------------------
   Honesty strip
   ------------------------------------------------------------------------ */

.honesty {
  background: var(--parchment-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}

.honesty blockquote {
  margin: 0;
  padding: 0;
  max-width: 72ch;
}

.honesty p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink-text);
}

.honesty .section-label {
  margin-bottom: 0.6rem;
}

.honesty .section-label .dot {
  background: var(--gold);
}

/* ------------------------------------------------------------------------
   Real status proof block (the terminal)
   ------------------------------------------------------------------------ */

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.8rem;
}

.proof-copy .lead {
  max-width: 52ch;
}

.terminal-block {
  background: var(--ink);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-muted);
  white-space: pre;
}

.terminal-block .t-title {
  color: var(--gold);
  font-weight: 700;
}

.terminal-block .t-key {
  color: var(--cool);
}

.terminal-block .t-val {
  color: var(--ink-text);
}

.terminal-block .t-hot {
  color: var(--hot);
}

.terminal-block .t-amber {
  color: var(--false-heat);
}

.terminal-caption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.7rem;
}

/* ------------------------------------------------------------------------
   Verdict cards + truth-teller
   ------------------------------------------------------------------------ */

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.6rem 0 2.4rem;
}

.verdict-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-top-width: 4px;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}

.verdict-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.verdict-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.verdict-card--cool {
  border-top-color: var(--cool);
}

.verdict-card--cool h3 {
  color: var(--cool);
}

.verdict-card--hot {
  border-top-color: var(--hot);
}

.verdict-card--hot h3 {
  color: var(--hot);
}

.verdict-card--false {
  border-top-color: var(--false-heat);
}

.verdict-card--false h3 {
  color: var(--false-heat);
}

.callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.callout {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.2rem;
}

.callout .callout-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.callout p {
  margin: 0;
  color: var(--ink-muted);
}

.callout--amber {
  border-left: 4px solid var(--false-heat);
}

.callout--blue {
  border-left: 4px solid var(--cool);
}

.callout--gold {
  border-left: 4px solid var(--gold);
}

.callout--amber .callout-title {
  color: var(--false-heat);
}

.callout--blue .callout-title {
  color: var(--cool);
}

.callout--gold .callout-title {
  color: var(--gold);
}

/* ------------------------------------------------------------------------
   Feature cards and steps
   ------------------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 1.6rem 0;
}

.feature-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.feature-card--wide {
  grid-column: 1 / -1;
}

.steps {
  counter-reset: step;
  margin: 1.6rem 0 0;
}

.step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: none;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cool);
  line-height: 1.2;
}

.step h3 {
  margin-bottom: 0.3rem;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------------
   Tiers and pricing
   ------------------------------------------------------------------------ */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.tier {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
}

.tier--live {
  border-color: var(--gold);
}

.tier .tier-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.2rem;
}

.tier .tier-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0 0 1.1rem;
}

.tier ul {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.tier ul li {
  padding: 0.35rem 0 0.35rem 1.3rem;
  position: relative;
  color: var(--ink-muted);
  font-size: 0.97rem;
}

.tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--cool);
}

.tier--live ul li::before {
  background: var(--gold);
}

.tier .btn {
  margin-top: auto;
}

.pricing-note {
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 64ch;
}

/* Package table */
.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
}

table.packs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--parchment-dark);
}

table.packs th,
table.packs td {
  text-align: left;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.packs thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-text);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: var(--parchment-light);
}

table.packs tbody tr:last-child th,
table.packs tbody tr:last-child td {
  border-bottom: none;
}

table.packs td {
  color: var(--ink-muted);
}

table.packs td.num,
table.packs th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

table.packs tr.pack-highlight td {
  background: rgba(233, 196, 106, 0.06);
}

table.packs .pack-name {
  color: var(--ink-text);
  font-weight: 600;
}

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

.faq-list {
  max-width: 760px;
}

.faq-group {
  margin: 2rem 0;
}

.faq-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  background: var(--parchment-dark);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  position: relative;
  padding-right: 2.8rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  margin: 0;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------------
   Support cards and contact blocks
   ------------------------------------------------------------------------ */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 1.6rem 0;
}

.support-card {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.support-card h3 {
  margin-bottom: 0.5rem;
}

.support-card p,
.support-card li {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.support-card ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.address-line {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--ink-text);
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  display: inline-block;
}

.support-form-section {
  padding: 0 0 2.4rem;
}

.support-form-card {
  background: linear-gradient(180deg, rgba(39, 33, 25, 0.95) 0%, rgba(28, 24, 19, 0.98) 100%);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: inset 0 1px 0 rgba(240, 231, 214, 0.04);
}

.support-form-card h2 {
  margin-bottom: 0.4rem;
}

.support-form-lead {
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.support-form {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.support-field {
  display: grid;
  gap: 0.35rem;
}

.support-field span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.support-field input,
.support-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink-text);
  background: var(--parchment-dark);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}

.support-field input:focus,
.support-field textarea:focus {
  outline: 2px solid rgba(233, 196, 106, 0.45);
  outline-offset: 1px;
}

.support-field input[readonly] {
  color: var(--gold);
  font-family: var(--font-mono);
}

.support-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.2rem;
}

.support-form-status {
  min-height: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0.2rem 0 0;
}

.support-form-status--ok {
  color: var(--climbing);
}

.support-form-status--error {
  color: var(--hot);
}

.support-form-status--pending {
  color: var(--gold);
}

/* ------------------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------------------ */

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
}

.legal-body blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: var(--parchment-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-muted);
}

.legal-body blockquote p {
  margin: 0;
}

.legal-body ul,
.legal-body ol {
  color: var(--ink-muted);
}

.legal-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

/* ------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--parchment-dark);
  padding: 3rem 0 2.6rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.site-footer .footer-brand {
  font-family: var(--font-display);
  color: var(--ink-text);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.site-footer .footer-jp {
  font-family: var(--font-jp);
  color: var(--ink-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 1.4rem 0 1.6rem;
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-text);
  margin: 0 0 0.6rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin: 0.3rem 0;
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--ink-text);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------------
   Motion and reduced-motion
   ------------------------------------------------------------------------ */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .status-chip,
.hero h1,
.hero .lead,
.hero .cta-row,
.hero .positioning {
  animation: rise-in 0.7s ease both;
}

.hero h1 {
  animation-delay: 0.05s;
}

.hero .lead {
  animation-delay: 0.12s;
}

.hero .cta-row {
  animation-delay: 0.2s;
}

.hero .positioning {
  animation-delay: 0.28s;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */

@media (max-width: 900px) {
  .hero-grid,
  .proof-grid,
  .feature-grid,
  .support-grid,
  .tier-grid,
  .callout-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .verdict-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .main-nav {
    display: none;
  }

  .hero-grid {
    gap: 2.2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.2rem 0;
  }

  .brand-jp {
    display: none;
  }
}

/* ------------------------------------------------------------------------
   Pages: shared building blocks
   ------------------------------------------------------------------------ */

.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;
}

.page-head {
  padding: 3.6rem 0 1.4rem;
}

.page-head h1 {
  margin-bottom: 0.8rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--ink-muted);
  max-width: 62ch;
  margin: 0;
}

.honest-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--line);
  padding-left: 1rem;
  max-width: 66ch;
}

.honest-note a {
  color: var(--ink-muted);
  text-decoration: underline;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.6rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.55em;
  height: 0.32em;
  border-left: 2px solid var(--cool);
  border-bottom: 2px solid var(--cool);
  transform: rotate(-45deg);
}

.checklist--x li::before {
  border: none;
  width: 0.55em;
  height: 0.55em;
  background: none;
  border-radius: 0;
  background-image: linear-gradient(var(--hot), var(--hot)), linear-gradient(var(--hot), var(--hot));
  background-position: center;
  background-size: 100% 2px, 2px 100%;
  background-repeat: no-repeat;
  transform: rotate(45deg);
  top: 0.7em;
  left: 0.1rem;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.step-list > li {
  counter-increment: step;
  position: relative;
  padding: 0.95rem 0 0.95rem 3.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  max-width: 68ch;
}

.step-list > li:first-child {
  border-top: none;
}

.step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cool);
  width: 2rem;
}

.step-list strong {
  color: var(--ink-text);
}

.card {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}

.card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(233, 196, 106, 0.07), transparent 55%), var(--parchment);
}

.card h2,
.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-muted);
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink-text);
  margin: 0.4rem 0 0.8rem;
}

.price-note {
  font-size: 1rem;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.card-note {
  font-size: 0.88rem;
  margin: 1rem 0 0;
}

.card-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------------
   Home: hero strip, proof block, truth teller, outcome, tiers, final CTA
   ------------------------------------------------------------------------ */

.status-chip .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--climbing);
  flex: none;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0.9rem 0 0;
}

.rainbow {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2.4rem;
}

.rainbow span {
  flex: 1;
}

.rainbow .r1 { background: var(--cool); }
.rainbow .r2 { background: var(--climbing); }
.rainbow .r3 { background: var(--false-heat); }
.rainbow .r4 { background: var(--hot); }

.honesty-strip {
  background: var(--parchment-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
}

.honesty-strip h2 {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.honesty-strip p {
  margin: 0;
  max-width: 76ch;
  color: var(--ink-text);
}

.honesty-strip p + p {
  margin-top: 0.9rem;
}

.trust {
  padding: 2.6rem 0 2.4rem;
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
}

.trust .section-head {
  margin-bottom: 1.2rem;
}

.danger-ease {
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--line);
}

.danger-ease .section-head {
  margin-bottom: 0;
}

.danger-ease .section-head p {
  max-width: 68ch;
  color: var(--ink-text);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.6rem;
}

.trust-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  color: var(--ink-muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5em;
  height: 0.28em;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.trust-list strong {
  color: var(--ink-text);
  font-weight: 600;
}

.trust-firstness {
  margin: 1.2rem 0 0;
  padding: 0.7rem 0 0.7rem 1rem;
  border-left: 3px solid var(--cool);
  color: var(--ink-text);
  font-size: 0.95rem;
  max-width: 76ch;
}

.trust-wont {
  margin: 1.2rem 0 0;
  padding: 0.7rem 0 0.7rem 1rem;
  border-left: 3px solid var(--gold);
  color: var(--ink-text);
  font-size: 0.95rem;
  max-width: 76ch;
}

.trust-more {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
}

.trust-more a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.proof {
  padding: 4rem 0;
}

.terminal {
  margin: 0;
  padding: 1.3rem 1.4rem;
  background: var(--ink);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-muted);
  white-space: pre;
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 18px 40px -22px rgba(0, 0, 0, 0.8);
}

.terminal code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.tk {
  color: var(--gold);
  font-weight: 700;
}

.tm {
  color: var(--ink-muted);
}

.tg {
  color: var(--climbing);
  font-weight: 600;
}

.tr {
  color: var(--gold);
  font-weight: 600;
}

.th {
  color: var(--hot);
  font-weight: 600;
}

.proof-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-caption {
  margin: 0;
  color: var(--ink-muted);
}

.proof-side .btn {
  align-self: flex-start;
}

.founder-proof {
  margin: 2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 52ch;
}

.founder-proof blockquote {
  margin: 0;
  padding: 0;
}

.founder-proof blockquote p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-text);
}

.founder-proof figcaption {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ------------------------------------------------------------------------
   In-action: product screenshots beside real voices
   ------------------------------------------------------------------------ */

.in-action {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--parchment-dark);
}

.in-action .section-head {
  margin-bottom: 1.6rem;
}

.in-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.4rem;
  align-items: start;
}

.in-action-voices {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.in-action-voices .founder-proof {
  margin: 0;
  padding: 0;
  border-top: none;
  max-width: none;
}

.in-action-voices .founder-proof blockquote p {
  font-size: 1.05rem;
}

.in-action-voices .honest-note {
  margin: 0;
}

.in-action-shots {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.shot {
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(240, 231, 214, 0.04), 0 18px 40px -22px rgba(0, 0, 0, 0.8);
}

.shot figcaption {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.shot figcaption .v {
  margin-right: 0.5rem;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .in-action-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.truth-teller {
  padding: 4rem 0;
  background: var(--parchment-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rule-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  max-width: 74ch;
}

.rule-list li:first-child {
  border-top: none;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.42em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--gold);
}

.rule-list strong {
  color: var(--ink-text);
}

.outcome {
  padding: 4rem 0;
}

.verdict-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.verdict-strip > div {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
}

.verdict-strip p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.v {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.v--cool { color: var(--cool); }
.v--climb { color: var(--climbing); }
.v--lie { color: var(--false-heat); }
.v--hot { color: var(--hot); }

.how {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.tiers {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.final-cta {
  padding: 4.4rem 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(233, 196, 106, 0.05));
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 0.7rem;
}

.final-cta p {
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto 1.4rem;
}

/* ------------------------------------------------------------------------
   Features page
   ------------------------------------------------------------------------ */

.feature {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  border-top: none;
  padding-top: 2.6rem;
}

.feature-sub {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.feature p:not(.feature-sub) {
  color: var(--ink-muted);
  max-width: 68ch;
}

.feature .honest-note {
  margin-top: 1.1rem;
}

.uniqueness {
  padding: 3rem 0;
  background: var(--parchment-dark);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.uniqueness p {
  color: var(--ink-muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------------------
   Download page
   ------------------------------------------------------------------------ */

.downloads {
  padding: 2rem 0 1rem;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.download-grid .card h2 {
  font-size: 1.45rem;
}

.artifact-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0.6rem 0 1.2rem;
}

.download-grid .btn {
  margin-bottom: 0.8rem;
}

.hash {
  font-size: 0.78rem;
  color: var(--ink-muted);
  word-break: break-all;
  margin: 0;
}

.hash code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
}

.notary,
.trial,
.requirements,
.install,
.updates,
.fleet,
.refund,
.checkout,
.transfer,
.local,
.telemetry {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.notary p,
.trial p,
.updates p,
.fleet p,
.refund p,
.checkout p,
.transfer p,
.local p,
.telemetry p {
  color: var(--ink-muted);
  max-width: 68ch;
}

.requirements .checklist,
.telemetry .checklist {
  max-width: 60ch;
}

.requirements .two-col h2 {
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}

.requirements p {
  color: var(--ink-muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------------------
   Pricing page
   ------------------------------------------------------------------------ */

.anchor {
  padding: 2rem 0 1rem;
}

.anchor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.packages {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.package-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  margin: 1.4rem 0 1.2rem;
  background: var(--parchment-dark);
}

.package-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.package-table th,
.package-table td {
  text-align: left;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.package-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-text);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: var(--parchment-light);
}

.package-table tbody tr:last-child td {
  border-bottom: none;
}

.package-table td {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.package-table td:first-child {
  color: var(--ink-text);
  font-weight: 600;
}

.pay-col {
  white-space: nowrap;
  vertical-align: middle;
}

/* The yen 税込 a Japan card is charged, printed above the Square Buy button so
   the two currencies on the checkout table are never read as one figure. */
.pay-col .card-charge {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  white-space: normal;
  margin-bottom: 0.35rem;
}

.pay-col--na {
  color: var(--ink-muted);
  text-align: center;
}

.btn--soon {
  cursor: not-allowed;
  opacity: 0.65;
}

.refund .legal {
  margin: 1.2rem 0 0;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: var(--parchment-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.refund .legal p {
  margin: 0;
  color: var(--ink-muted);
}

.crypto-phone {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: var(--parchment-dark);
}

.crypto-phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.4rem;
}

.crypto-qr {
  background: var(--ink-text);
  border: 1px solid var(--parchment-light);
  border-radius: var(--radius);
  padding: 0.75rem;
  width: fit-content;
}

.crypto-qr img,
.crypto-qr canvas {
  display: block;
}

.crypto-phone-copy p {
  color: var(--ink-muted);
  max-width: 42ch;
  margin: 0 0 0.8rem;
}

.crypto-phone-copy .honest-note {
  margin: 0;
}

@media (max-width: 640px) {
  .crypto-phone-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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

.faq {
  padding: 1.5rem 0 3rem;
}

.faq-container {
  max-width: var(--max-width-narrow);
}

.faq-group {
  margin: 2.2rem 0;
}

.faq-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.faq-item summary {
  font-family: var(--font-body);
  font-weight: 600;
}

/* ------------------------------------------------------------------------
   Support page
   ------------------------------------------------------------------------ */

.email {
  padding: 2rem 0 1rem;
}

.email-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.mail-addr {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--gold);
}

.reply-promise {
  background: var(--parchment);
  border: 1px solid var(--parchment-light);
  border-left: 4px solid var(--cool);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
}

.reply-promise h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.report-flow {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.report-flow p {
  color: var(--ink-muted);
  max-width: 68ch;
}

.board {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--parchment-dark);
}

.board p {
  color: var(--ink-muted);
  max-width: 68ch;
}

/* ------------------------------------------------------------------------
   Terms page
   ------------------------------------------------------------------------ */

.tos {
  padding: 0.5rem 0 3rem;
}

.tos-container {
  max-width: var(--max-width-narrow);
}

.tos-warning {
  background: var(--parchment-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0 2.4rem;
}

.tos-warning p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2.6rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
}

.legal-body p {
  color: var(--ink-muted);
}

.legal-body blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.3rem;
  border-left: 3px solid var(--gold);
  background: var(--parchment-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-muted);
}

.legal-body blockquote p {
  margin: 0;
  color: var(--ink-muted);
}

.legal-body ul,
.legal-body ol {
  color: var(--ink-muted);
}

.legal-body li {
  margin: 0.35rem 0;
}

.legal-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.legal-body strong {
  color: var(--ink-text);
}

.legal-body code {
  font-size: 0.88em;
}

/* ------------------------------------------------------------------------
   Privacy page
   ------------------------------------------------------------------------ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin: 1.4rem 0;
}

.two-col h3 {
  font-size: 1.05rem;
}

/* ------------------------------------------------------------------------
   Ask the Dojo page
   ------------------------------------------------------------------------ */

.dojo-host {
  padding: 1rem 0 0;
}

.dojo-scope {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.dojo-scope p {
  color: var(--ink-muted);
  max-width: 68ch;
}

.dojo-sources {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.dojo-sources p {
  color: var(--ink-muted);
  max-width: 68ch;
}

.dojo-sources .checklist {
  max-width: 60ch;
  margin-top: 1rem;
}

/* ------------------------------------------------------------------------
   Responsive for page components
   ------------------------------------------------------------------------ */

@media (max-width: 900px) {
  .verdict-strip,
  .download-grid,
  .anchor-row,
  .two-col,
  .email-row,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .final-cta {
    text-align: left;
  }

  .final-cta p {
    margin: 0 0 1.2rem;
  }
}

@media (max-width: 600px) {
  .download-grid .card,
  .anchor-row .card {
    padding: 1.4rem 1.2rem;
  }
}

/* ==========================================================================
   Overload scroll-scrub (Dojo sticky pattern; CyberKaze teal story)
   ========================================================================== */

.scrub-track {
  position: relative;
  height: 320svh;
  --scrub-progress: 0;
  margin: 0;
}

.scrub-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.scrub-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink);
}

.scrub-media {
  position: absolute;
  inset: 0;
}

.scrub-video,
.scrub-stills img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scrub-video {
  z-index: 1;
}

.scrub-stills {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.scrub-video:not([src]):not(:has(source[src])),
.scrub-video[data-scrub-status="slot"],
.scrub-video[data-scrub-status="reduced"] {
  opacity: 0;
  pointer-events: none;
}

.scrub-stills[hidden] {
  display: none;
}

.scrub-stills img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 900ms ease;
  background: var(--parchment-dark);
}

.scrub-stills img.is-active {
  opacity: 1;
  transform: scale(1);
}

.scrub-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 4.5rem 4vw 3rem;
  background: linear-gradient(180deg, transparent, rgba(20, 17, 13, 0.94) 48%);
}

.scrub-kicker {
  margin: 0 0 0.7rem;
  color: var(--climbing);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.scrub-stages {
  position: relative;
  min-height: 2.6em;
}

.scrub-stages p {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--ink-text);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.scrub-stages p.is-active {
  opacity: 1;
  transform: translateY(0);
}

.scrub-support {
  margin: 3.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 38ch;
  line-height: 1.6;
}

.scrub-progress {
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 1.25rem;
  z-index: 4;
  height: 2px;
  background: rgba(240, 231, 214, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.scrub-progress-bar {
  display: block;
  height: 100%;
  width: calc(var(--scrub-progress, 0) * 100%);
  background: linear-gradient(90deg, var(--cool), var(--climbing), var(--hot), var(--climbing), var(--gold));
}

.how--detail {
  padding-top: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .scrub-track {
    height: auto;
  }

  .scrub-pin {
    position: relative;
    height: auto;
    min-height: 70svh;
  }

  .scrub-media {
    position: relative;
  }

  .scrub-stills {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: auto;
  }

  .scrub-stills img,
  .scrub-stills img.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    height: auto;
    max-height: 42vh;
    object-fit: cover;
  }

  .scrub-overlay {
    position: relative;
    background: var(--parchment-dark);
    padding: 1.5rem 4vw 2rem;
  }

  .scrub-stages p {
    position: relative;
    opacity: 1;
    transform: none;
    margin: 0.35rem 0;
  }

  .scrub-progress {
    display: none;
  }
}
