/* ============================================================
 * Hikari — plain CSS. No Tailwind, no framework runtime.
 * Tokens mirror the original design system.
 * ============================================================ */

:root {
  /* Light mode — soft warm paper with mint accent. */
  --radius: 0.75rem;

  --background: oklch(0.985 0.003 95);
  --surface: oklch(0.97 0.004 95);
  --surface-elevated: oklch(1 0 0);

  --foreground: oklch(0.18 0 0);
  --text-secondary: oklch(0.42 0.005 285);
  --text-tertiary: oklch(0.62 0.005 285);

  --border: oklch(0.9 0.004 95);
  --border-strong: oklch(0.82 0.005 95);

  --accent: oklch(0.78 0.16 150);
  --accent-foreground: oklch(0.18 0 0);
  --accent-deep: oklch(0.62 0.17 150);

  --destructive: oklch(0.62 0.22 22);
}

:root.dark {
  --background: oklch(0.145 0 0);
  --surface: oklch(0.21 0 0);
  --surface-elevated: oklch(0.18 0 0);

  --foreground: oklch(1 0 0);
  --text-secondary: oklch(0.78 0.005 285);
  --text-tertiary: oklch(0.62 0.004 285);

  --border: oklch(0.3 0 0);
  --border-strong: oklch(0.4 0 0);

  --accent: oklch(0.88 0.13 145);
  --accent-foreground: oklch(0 0 0);
  --accent-deep: oklch(0.79 0.14 145);

  --destructive: oklch(0.62 0.22 22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border: 0 solid var(--border); }
html, body { height: 100%; }
html { color-scheme: dark; scroll-behavior: smooth; }
html:not(.dark) { color-scheme: light; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  text-transform: lowercase;
}
::selection {
  background: color-mix(in oklab, var(--accent) 35%, transparent);
  color: var(--foreground);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
input { font: inherit; color: inherit; }
ul { list-style: none; }

.font-jp { font-family: "Noto Serif JP", "Inter", serif; }
.text-balance { text-wrap: balance; }
.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;
}

/* ---------- Layout: fixed left + scrollable right ---------- */

.app { min-height: 100vh; overflow-x: hidden; }

/* Mobile: full left-panel content shown as a full-screen hero */
.left-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3.5rem 1.5rem 2rem;
  min-height: 100svh;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 60% at 50% 35%,
      color-mix(in oklab, var(--accent) 12%, transparent) 0%,
      transparent 70%),
    var(--background);
  overflow: hidden;
}

/* mobile-bar no longer needed — left-panel covers brand + theme toggle */
.mobile-bar { display: none; }

main.story { padding: 0; }

@media (min-width: 1024px) {
  .left-panel {
    position: fixed; inset: 0 auto 0 0; z-index: 30;
    width: 38vw; max-width: 560px; min-width: 360px;
    flex-direction: column; justify-content: space-between;
    border-right: 1px solid var(--border);
    border-bottom: 0;
    background: var(--background);
    padding: 3rem;
    gap: 0;
    overflow: visible;
  }

  main.story {
    margin-left: 38vw;
    max-width: calc(100vw - 38vw);
  }
}
@media (min-width: 1280px) {
  main.story {
    margin-left: min(38vw, 560px);
    max-width: calc(100vw - min(38vw, 560px));
  }
}

/* ---------- Left panel internals ---------- */

/* Mobile: theme toggle floats top-right; wordmark dominates */
.lp-top {
  display: block;
  margin-top: 0.5rem;
}
.lp-top > .theme-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}
.lp-wordmark {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.375rem;
  line-height: 0.85;
  flex-wrap: wrap;
}
.lp-wordmark .word {
  font-size: clamp(6.5rem, 32vw, 11rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-left: -0.07em;
  color: var(--foreground);
  text-shadow: 0 0 80px color-mix(in oklab, var(--accent) 22%, transparent);
}
.lp-wordmark .kanji {
  font-size: clamp(2.5rem, 12vw, 3.75rem);
  font-weight: 300;
  letter-spacing: 0;
  color: var(--accent);
}
@media (min-width: 1024px) {
  .lp-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0;
  }
  .lp-top > .theme-toggle {
    position: static;
  }
  .lp-wordmark {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
    line-height: normal;
  }
  .lp-wordmark .word {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-left: 0;
  }
  .lp-wordmark .kanji {
    font-size: 1.875rem;
    letter-spacing: normal;
    margin: 0;
    text-shadow: none;
  }
}
.lp-pron {
  margin-top: 0.25rem;
  font-size: 0.75rem; text-transform: lowercase; letter-spacing: 0.28em;
  color: var(--text-tertiary);
}

.lp-mid { display: flex; flex-direction: column; gap: 1.75rem; flex: 1; min-height: 0; }
.waitlist-block { margin-top: auto; margin-bottom: auto; }
@media (min-width: 1024px) {
  .lp-mid { gap: 2rem; flex: 0 1 auto; }
  .waitlist-block { margin-top: 0; margin-bottom: 0; }
}
.lp-tagline {
  max-width: 22ch;
  font-size: clamp(1.625rem, 6.5vw, 2.25rem);
  line-height: 1.2; font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--foreground); text-wrap: balance;
}
.lp-tagline .accent { color: var(--accent); }
@media (min-width: 1024px) {
  .lp-tagline {
    max-width: 28ch;
    font-size: 1.5rem; line-height: 1.35;
    letter-spacing: normal;
  }
}

.lp-section-label {
  font-size: 0.625rem; text-transform: lowercase; letter-spacing: 0.28em;
  color: var(--text-tertiary);
}
.lp-block { display: flex; flex-direction: column; gap: 0.875rem; }

/* Top socials/footer hidden on mobile — duplicated in the mobile footer block */
.lp-bottom { display: none; }
@media (min-width: 1024px) {
  .lp-bottom { display: flex; }
}

.store-row { display: flex; gap: 0.5rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); background: var(--surface-elevated);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-secondary); font-size: 0.75rem;
  opacity: 0.7; cursor: not-allowed;
}
.store-badge .stack { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .soon {
  font-size: 0.5625rem; text-transform: lowercase; letter-spacing: 0.18em;
  color: var(--text-tertiary);
}

.lp-bottom { flex-direction: column; gap: 1rem; }

.socials { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  transition: color 200ms;
}
.icon-btn:hover { color: var(--accent); }
.icon-btn svg { width: 0.875rem; height: 0.875rem; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border: 1px solid var(--border); border-radius: 9999px;
  color: var(--text-secondary);
  transition: color 200ms, border-color 200ms;
}
.theme-toggle:hover { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 50%, transparent); }
.theme-toggle svg { width: 0.875rem; height: 0.875rem; }

.fk-footer {
  display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 0.75rem; row-gap: 0.25rem;
  font-size: 0.6875rem; color: var(--text-tertiary);
}
.fk-footer .accent { color: var(--accent); }
.fk-footer .heart { color: #ff0000; }
.fk-footer .sep { opacity: 0.5; }
.fk-footer a { color: inherit; transition: color 200ms; }
.fk-footer a:hover { color: var(--accent); }

.copyright { font-size: 0.625rem; color: var(--text-tertiary); }

/* ---------- Sections ---------- */

section.section {
  position: relative;
  scroll-margin-top: 5rem;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 88vh;
  padding: 5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
section.section.last { border-bottom: 0; }
@media (min-width: 640px) { section.section { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 1024px) {
  section.section { padding: 8rem 5rem; }
}


.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.625rem; text-transform: lowercase; letter-spacing: 0.3em;
  color: var(--text-tertiary);
}
.eyebrow .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.eyebrow .rule { display: block; height: 1px; width: 2.5rem; background: var(--border-strong); }

.h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead {
  margin-top: 1.5rem; max-width: 32rem;
  font-size: 1rem; line-height: 1.7; color: var(--text-secondary);
}
@media (min-width: 640px) { .lead { font-size: 1.125rem; } }

.accent { color: var(--accent); }
.foreground { color: var(--foreground); }

.feature-list {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 0.875rem; color: var(--text-secondary);
}
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature-list .dash {
  flex: none; margin-top: 0.625rem;
  height: 1px; width: 1.5rem; background: var(--accent);
}

/* Hero */
.accent-glow {
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    color-mix(in oklab, var(--accent) 14%, transparent) 0%,
    transparent 60%
  );
}

.hero-mic-row {
  margin-top: 3rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2rem;
}
@media (min-width: 640px) {
  .hero-mic-row { flex-direction: row; align-items: center; gap: 2.5rem; }
}
.hero-mic-text {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.hero-mic-text .small {
  font-size: 0.625rem; text-transform: lowercase; letter-spacing: 0.28em;
  color: var(--text-tertiary);
}
.hero-mic-text .desc {
  font-size: 0.875rem; color: var(--text-secondary); max-width: 28ch;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 4rem;
  font-size: 0.75rem; text-transform: lowercase; letter-spacing: 0.28em;
  color: var(--text-secondary);
  transition: color 200ms;
}
.hero-cta:hover { color: var(--accent); }
.hero-cta svg { width: 0.875rem; height: 0.875rem; }

/* Mic visual */
.mic-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 112px; height: 112px;
}
.mic-visual .ring1 {
  position: absolute; inset: 0; border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  animation: hk-ping 2.6s cubic-bezier(0,0,0.2,1) infinite;
}
.mic-visual .ring2 {
  position: absolute; inset: 0.5rem; border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--accent) 60%, transparent);
}
.mic-visual .core {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 9999px;
  background: var(--foreground); color: var(--background);
  box-shadow: 0 0 60px -10px color-mix(in oklab, var(--accent) 55%, transparent);
}
.mic-visual .core svg { width: 1.5rem; height: 1.5rem; }
@keyframes hk-ping {
  75%, 100% { transform: scale(1.5); opacity: 0; }
}

/* Two-column layout inside sections */
.split {
  display: grid; gap: 4rem; align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}

/* Phone frame */
.phone-wrap {
  position: relative; margin: 0 auto; width: 100%; max-width: 280px;
}
.phone-wrap .glow {
  position: absolute; inset: -2.5rem; z-index: -1;
}
.phone {
  position: relative; overflow: hidden;
  border-radius: 2.5rem;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  aspect-ratio: 9 / 19.5;
  box-shadow: 0 30px 80px -30px color-mix(in oklab, var(--accent) 18%, transparent);
}
.phone .notch {
  position: absolute; left: 50%; top: 0.75rem; z-index: 10;
  width: 6rem; height: 1.25rem; transform: translateX(-50%);
  border-radius: 9999px; background: var(--background);
}
.phone .tick { position: absolute; width: 0.5rem; height: 0.5rem; }
.phone .tl { left: 0.75rem; top: 0.75rem; border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.phone .tr { right: 0.75rem; top: 0.75rem; border-right: 1px solid var(--accent); border-top: 1px solid var(--accent); }
.phone .bl { left: 0.75rem; bottom: 0.75rem; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.phone .br { right: 0.75rem; bottom: 0.75rem; border-right: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.phone .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--text-tertiary);
}
.phone .placeholder .label {
  font-size: 0.625rem; text-transform: lowercase; letter-spacing: 0.3em;
}

/* Insight cards grid (Tracking essentials) */
.cards {
  margin-top: 3rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  padding: 1.25rem;
}
.card .head {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--accent);
}
.card .head svg { width: 1rem; height: 1rem; }
.card .head .title {
  font-size: 0.75rem; text-transform: lowercase; letter-spacing: 0.18em;
}
.card p {
  margin-top: 0.75rem;
  font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary);
}

/* Coming soon pill */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem; text-transform: lowercase; letter-spacing: 0.22em;
  color: var(--accent);
}
.pill svg { width: 0.75rem; height: 0.75rem; }

/* ---------- Waitlist form ---------- */

.waitlist {
  width: 100%; max-width: 28rem;
  position: relative;
}
.waitlist .row {
  display: flex; flex-direction: column; gap: 0.625rem;
}
@media (min-width: 640px) {
  .waitlist .row { flex-direction: row; align-items: stretch; gap: 0.75rem; }
}
.waitlist input.email {
  flex: 1;
  border-radius: 0.625rem;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}
.waitlist input.email::placeholder { color: var(--text-tertiary); }
.waitlist input.email:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}
.waitlist input.email:disabled { opacity: 0.6; }
.waitlist button.submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.625rem;
  background: var(--accent); color: var(--accent-foreground);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--accent) 60%, transparent) inset,
    0 8px 24px -12px color-mix(in oklab, var(--accent-deep) 70%, transparent);
  transition: background-color 200ms, opacity 200ms, transform 150ms, box-shadow 200ms;
}
.waitlist button.submit:hover {
  background: color-mix(in oklab, var(--accent) 90%, transparent);
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--accent) 60%, transparent) inset,
    0 12px 28px -10px color-mix(in oklab, var(--accent-deep) 80%, transparent);
}
.waitlist button.submit:active { transform: translateY(1px); }
@media (min-width: 1024px) {
  .waitlist input.email {
    border-color: var(--border);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .waitlist button.submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    box-shadow: none;
  }
  .waitlist button.submit:hover { box-shadow: none; }
}
.waitlist button.submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px color-mix(in oklab, var(--accent) 60%, transparent);
}
.waitlist button.submit:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist .msg {
  margin-top: 0.875rem; min-height: 1.25rem; font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.waitlist .msg.idle { color: var(--text-tertiary); }
.waitlist .msg.error { color: var(--destructive); }
.waitlist .msg.success { color: var(--accent-deep); }
.waitlist .honeypot {
  position: absolute; left: -9999px; height: 0; width: 0; opacity: 0;
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 400ms ease; }
  .mic-visual .ring1 { animation: none; }
}

/* Mobile-only footer block at the bottom of waitlist section */
.mobile-footer {
  margin-top: 6rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 1024px) { .mobile-footer { display: none; } }

/* Theme toggle icon swap — JS sets data-theme on root */
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }

/* ---------- Section 01 hero: kanji watermark, typing transcript, sample chip ---------- */

#hero { overflow: hidden; }

.hero-watermark {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(18rem, 55vw, 36rem);
  line-height: 0.9;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
:root.dark .hero-watermark { opacity: 0.08; }

#hero .eyebrow,
#hero .hero-wrap { position: relative; z-index: 1; }

.hero-mic-text .desc {
  display: flex; flex-direction: column; gap: 0.25rem;
}
.hero-mic-text .desc .quote-line,
.hero-mic-text .desc .quote-tail {
  display: block;
}
.hero-mic-text .desc .quote-tail {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.typed {
  display: inline;
  color: var(--foreground);
}
.typed::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: hk-caret 1s steps(2, end) infinite;
}
.typed.done::after { animation: hk-caret-fade 1.2s ease forwards; }
@keyframes hk-caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes hk-caret-fade { to { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .typed::after { animation: none; opacity: 0; }
}

/* ---------- Mobile apps-block: contextual placement under the waitlist ---------- */

@media (max-width: 1023px) {
  .apps-block .lp-section-label::before {
    content: '';
    display: inline-block;
    width: 0.875rem; height: 1px;
    background: var(--border-strong);
    margin-right: 0.5rem;
    vertical-align: middle;
  }
  .store-row { gap: 0.625rem; }
  .store-badge { padding: 0.625rem 0.75rem; }
}
html:not(.dark) .theme-toggle .sun { display: none; }
html:not(.dark) .theme-toggle .moon { display: block; }

/* ---------- Legal pages (privacy, terms) ---------- */

.legal-app {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
@media (min-width: 768px) {
  .legal-header { padding: 1.75rem 2.5rem; }
}

.legal-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--foreground);
}
.legal-brand .word {
  font-size: 1.5rem; font-weight: 300; letter-spacing: -0.02em;
}
.legal-brand .kanji {
  font-size: 1.125rem; font-weight: 300; color: var(--accent);
}

.legal-main {
  flex: 1;
  padding: 3rem 1.5rem 4rem;
}
@media (min-width: 768px) {
  .legal-main { padding: 5rem 2.5rem 6rem; }
}

.legal {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.6875rem; text-transform: lowercase; letter-spacing: 0.28em;
  color: var(--text-tertiary);
  transition: color 200ms;
}
.legal-back:hover { color: var(--accent); }

.legal h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.legal h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--foreground);
}

.legal h2::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  margin-bottom: 0.875rem;
  opacity: 0.7;
}

.legal p {
  margin-bottom: 1rem;
}

.legal p + p { margin-top: 0; }

.legal-updated {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}
.legal-updated strong { color: var(--text-secondary); font-weight: 500; }

.legal-intro {
  font-size: 1.0625rem;
  color: var(--foreground);
  margin-bottom: 2.5rem !important;
}

.legal a {
  color: var(--accent-deep);
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  transition: color 200ms, border-color 200ms;
}
:root.dark .legal a { color: var(--accent); }
.legal a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.legal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .legal-footer { padding: 2rem 2.5rem; }
}
.legal-footer .fk-footer { justify-content: flex-start; }
.legal-footer a {
  color: var(--text-tertiary);
  transition: color 200ms;
}
.legal-footer a:hover { color: var(--accent); }