:root {
  --bg: #0c0908;
  --bg-soft: #141010;
  --bg-deep: #1a1614;
  --surface: rgba(34, 28, 24, 0.82);
  --surface-strong: rgba(34, 28, 24, 0.94);
  --surface-soft: rgba(255, 240, 228, 0.04);
  --border: rgba(255, 240, 228, 0.09);
  --border-strong: rgba(255, 240, 228, 0.16);
  --text-high: #e8ddd0;
  --text-mid: #9a8e84;
  --text-low: #5a5048;
  --text-dim: #3a3028;
  --gold: #b8a870;
  --amber: #c07c5a;
  --shizuka: #7a9faa;
  --aware: #9b8dc0;
  --atataka: #c07c5a;
  --tsukare: #7a8f80;
  --kara: #7a8899;
  --success: #c5d0ba;
  --danger: #cf8d7b;
  --shadow-heavy: 0 48px 140px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-high);
  background:
    radial-gradient(circle at top left, rgba(184, 168, 112, 0.08), transparent 34%),
    radial-gradient(circle at 85% 14%, rgba(122, 159, 170, 0.12), transparent 24%),
    radial-gradient(circle at 24% 90%, rgba(155, 141, 192, 0.08), transparent 30%),
    linear-gradient(180deg, #080605 0%, var(--bg) 18%, #120d0b 100%);
  line-height: 1.8;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 240, 228, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 228, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(184, 168, 112, 0.45);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(12, 9, 8, 0.72);
  border-bottom: 1px solid rgba(255, 240, 228, 0.05);
}

.site-header.has-scrolled {
  background: rgba(12, 9, 8, 0.88);
  border-bottom-color: rgba(255, 240, 228, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-high);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 240, 228, 0.14);
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 168, 112, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(255, 240, 228, 0.08), rgba(255, 240, 228, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 240, 228, 0.08);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 221, 208, 0.18);
}

.brand-mark::after {
  inset: 16px 9px 9px 16px;
  border-color: rgba(122, 159, 170, 0.4);
}

.brand-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--text-low);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-links a {
  padding: 10px 14px;
  color: var(--text-mid);
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-links a:hover,
.header-links a:focus-visible {
  color: var(--text-high);
  background: rgba(255, 240, 228, 0.05);
  transform: translateY(-1px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(184, 168, 112, 0.25);
  background: linear-gradient(135deg, rgba(184, 168, 112, 0.15), rgba(184, 168, 112, 0.05));
  color: var(--text-high);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 240, 228, 0.03);
  color: var(--text-high);
}

.hero {
  position: relative;
  padding: 52px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 228, 0.08);
  color: var(--text-low);
  background: rgba(255, 240, 228, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(184, 168, 112, 0.9), rgba(122, 159, 170, 0.8));
  box-shadow: 0 0 18px rgba(184, 168, 112, 0.34);
}

.hero h1,
.page-hero h1,
.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin: 22px 0 16px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1.16;
}

.hero-lead,
.section-intro,
.page-lead {
  color: var(--text-mid);
  font-size: 17px;
  max-width: 660px;
}

.hero-badges,
.principle-strip,
.micro-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges {
  margin: 26px 0 28px;
}

.badge,
.micro-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text-mid);
  border: 1px solid var(--border);
  background: rgba(255, 240, 228, 0.03);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.badge strong,
.micro-pill strong {
  color: var(--text-high);
  font-weight: 400;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button-primary,
.button-secondary,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button-primary {
  padding: 0 22px;
  background: linear-gradient(135deg, rgba(184, 168, 112, 0.22), rgba(184, 168, 112, 0.08));
  border: 1px solid rgba(184, 168, 112, 0.3);
  color: var(--text-high);
  box-shadow: 0 16px 48px rgba(66, 48, 12, 0.18);
}

.button-secondary {
  padding: 0 22px;
  border: 1px solid var(--border);
  background: rgba(255, 240, 228, 0.03);
  color: var(--text-mid);
}

.text-link {
  min-height: 42px;
  color: var(--text-low);
  padding: 0 4px;
}

.hero-note,
.section-note,
.muted {
  color: var(--text-low);
  font-size: 13px;
}

.hero-note {
  margin-top: 16px;
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: auto 10% 8% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(122, 159, 170, 0.16), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.device {
  position: relative;
  margin: 0 auto;
  width: min(100%, 460px);
  padding: 18px;
  border-radius: 44px;
  border: 1px solid rgba(255, 240, 228, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 240, 228, 0.06), rgba(255, 240, 228, 0.02)),
    linear-gradient(180deg, rgba(10, 8, 7, 0.96), rgba(16, 12, 10, 0.94));
  box-shadow: var(--shadow-heavy);
}

.device-inner {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 7, 6, 0.98), rgba(18, 14, 12, 0.98));
  padding: 70px 18px 20px;
  min-height: 660px;
}

.device-inner::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 30px;
  border-radius: 999px;
  background: #050403;
  box-shadow: inset 0 1px 0 rgba(255, 240, 228, 0.05);
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-low);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.device-title {
  margin-top: 14px;
  color: var(--text-low);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.device-copy h2 {
  margin: 10px 0 4px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
}

.device-copy p {
  margin: 0;
  color: var(--text-low);
  font-size: 12px;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.emotion-tile {
  min-height: 92px;
  border-radius: 24px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 240, 228, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  color: rgba(255, 242, 232, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 242, 232, 0.05);
}

.emotion-tile small {
  color: rgba(255, 242, 232, 0.44);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile-shizuka {
  background: linear-gradient(145deg, rgba(122, 159, 170, 0.3), rgba(45, 88, 108, 0.45));
}

.tile-ureshi {
  background: linear-gradient(145deg, rgba(184, 168, 112, 0.3), rgba(108, 94, 42, 0.45));
}

.tile-aware {
  background: linear-gradient(145deg, rgba(155, 141, 192, 0.3), rgba(78, 58, 128, 0.45));
}

.tile-atataka {
  background: linear-gradient(145deg, rgba(192, 124, 90, 0.3), rgba(128, 62, 32, 0.45));
}

.tile-tsukare {
  background: linear-gradient(145deg, rgba(122, 143, 128, 0.3), rgba(52, 78, 58, 0.45));
}

.tile-kara {
  background: linear-gradient(145deg, rgba(122, 136, 153, 0.3), rgba(52, 66, 83, 0.45));
}

.entry-card,
.paper-card,
.floating-fragment,
.panel-card,
.feature-card,
.voice-card,
.legal-link,
.faq-item,
.info-card,
.content-card,
.contact-card,
.danger-card,
.status-card,
.retention-card,
.note-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.panel-card {
  padding: 28px;
}

.panel-card h3 {
  margin: 16px 0 0;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.42;
}

.panel-card p {
  color: var(--text-mid);
}

.entry-card {
  margin-top: 16px;
  padding: 14px 16px;
}

.entry-card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 14px;
}

.entry-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-high);
  font-weight: 400;
}

.principle-strip {
  margin-top: 16px;
}

.principle-chip {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-low);
  background: rgba(255, 240, 228, 0.03);
  border: 1px solid rgba(255, 240, 228, 0.06);
}

.floating-letter,
.floating-fragment {
  position: absolute;
  right: -12px;
  padding: 18px 20px;
  max-width: 220px;
}

.floating-letter {
  top: 66px;
  background: linear-gradient(180deg, rgba(36, 29, 25, 0.96), rgba(22, 17, 15, 0.92));
}

.floating-fragment {
  bottom: 40px;
  left: -24px;
  right: auto;
}

.floating-label,
.card-label,
.section-label,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-low);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.floating-label::before,
.card-label::before,
.section-label::before,
.mini-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(184, 168, 112, 0.8);
  box-shadow: 0 0 14px rgba(184, 168, 112, 0.28);
}

.floating-letter p,
.floating-fragment p,
.voice-card p,
.content-card p,
.feature-card p,
.status-card p,
.info-card p,
.note-card p {
  margin: 12px 0 0;
  color: var(--text-high);
}

.floating-meta,
.voice-meta,
.card-meta,
.table-note {
  margin-top: 10px;
  color: var(--text-low);
  font-size: 12px;
}

.section {
  padding: 78px 0;
}

.section-tight {
  padding-top: 44px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-label {
  margin-bottom: 12px;
}

.section-heading {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.22;
}

.grid-2,
.grid-3,
.grid-4,
.stats-grid,
.feature-grid,
.voice-grid,
.legal-grid,
.content-grid,
.card-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.feature-grid,
.voice-grid,
.legal-grid,
.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid,
.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.voice-card,
.legal-link,
.info-card,
.content-card,
.contact-card,
.danger-card,
.status-card,
.retention-card,
.note-card {
  padding: 26px;
}

.feature-card h3,
.voice-card h3,
.legal-link h3,
.info-card h3,
.content-card h3,
.contact-card h3,
.danger-card h3,
.status-card h3,
.retention-card h3,
.faq-item h3 {
  margin: 14px 0 0;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.45;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--text-high);
  background: rgba(255, 240, 228, 0.04);
  border: 1px solid rgba(255, 240, 228, 0.08);
  font-size: 22px;
}

.stats-grid .info-card {
  min-height: 190px;
}

.big-number {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}

.big-number small {
  font-size: 18px;
  color: var(--text-low);
}

.comparison {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.comparison .panel-card {
  padding: 28px;
}

.comparison-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.comparison-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 240, 228, 0.03);
}

.comparison-item strong {
  display: block;
  color: var(--text-high);
  font-weight: 400;
  margin-bottom: 4px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(184, 168, 112, 0.4), rgba(255, 240, 228, 0.04));
}

.timeline-step {
  position: relative;
  padding-left: 54px;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(184, 168, 112, 0.16);
  border: 1px solid rgba(184, 168, 112, 0.24);
  color: var(--text-high);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.timeline-step h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 300;
}

.voice-card {
  min-height: 230px;
}

.voice-card p {
  font-size: 19px;
  line-height: 1.85;
}

.voice-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.voice-meta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(122, 159, 170, 0.7);
}

.memory-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
}

.fragment-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fragment-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(26, 20, 18, 0.92), rgba(18, 14, 12, 0.94));
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.fragment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--shizuka);
}

.fragment-card[data-tone="gold"]::before {
  background: var(--gold);
}

.fragment-card[data-tone="aware"]::before {
  background: var(--aware);
}

.fragment-card[data-tone="tsukare"]::before {
  background: var(--tsukare);
}

.fragment-card p {
  margin: 18px 0 0;
  color: var(--text-high);
}

.fragment-card footer {
  margin-top: 18px;
  color: var(--text-low);
  font-size: 12px;
}

.legal-link {
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.legal-link::after {
  content: "↗";
  position: absolute;
  right: 22px;
  top: 22px;
  color: var(--text-low);
  font-size: 18px;
}

.legal-link:hover,
.legal-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 240, 228, 0.16);
  background: rgba(34, 28, 24, 0.96);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-high);
  text-align: left;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faq-button span {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}

.faq-button strong {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 240, 228, 0.04);
  border: 1px solid rgba(255, 240, 228, 0.08);
  color: var(--text-mid);
  font-size: 18px;
  transition: transform 160ms ease;
}

.faq-item.is-open .faq-button strong {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--text-mid);
}

.page-hero {
  padding: 68px 0 34px;
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.18;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: start;
}

.aside-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.list-inline,
.content-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.content-list li,
.list-inline li {
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
}

.content-list li::before,
.list-inline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(184, 168, 112, 0.7);
}

.retention-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
}

.retention-table th,
.retention-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 240, 228, 0.06);
}

.retention-table th {
  color: var(--text-low);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 240, 228, 0.03);
}

.retention-table td {
  color: var(--text-mid);
  font-size: 14px;
}

.retention-table tr:last-child td {
  border-bottom: 0;
}

.contact-card a,
.content-card a,
.note-card a {
  color: var(--text-high);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.danger-card {
  border-color: rgba(207, 141, 123, 0.18);
  background: linear-gradient(180deg, rgba(42, 24, 20, 0.72), rgba(22, 16, 14, 0.9));
}

.danger-card h3 {
  color: var(--text-high);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(255, 240, 228, 0.05);
  background: rgba(8, 6, 5, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.footer-copy p,
.footer-copy small {
  color: var(--text-low);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
}

.footer-links a {
  color: var(--text-mid);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .comparison,
  .memory-stage,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .aside-stack {
    position: static;
  }

  .floating-letter,
  .floating-fragment {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .grid-3,
  .feature-grid,
  .voice-grid,
  .legal-grid,
  .card-grid,
  .grid-4,
  .stats-grid,
  .info-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .device-inner {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(20, 16, 16, 0.95);
    box-shadow: var(--shadow-card);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-open .header-nav {
    display: flex;
  }

  .header-links {
    flex-direction: column;
    align-items: stretch;
  }

  .header-links a,
  .header-cta {
    justify-content: center;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  .feature-card,
  .voice-card,
  .legal-link,
  .info-card,
  .content-card,
  .contact-card,
  .danger-card,
  .status-card,
  .retention-card,
  .note-card,
  .faq-button {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .device {
    padding: 12px;
    border-radius: 30px;
  }

  .device-inner {
    padding: 62px 14px 16px;
    border-radius: 24px;
  }

  .emotion-grid,
  .fragment-board {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .retention-table th,
  .retention-table td {
    padding: 13px 14px;
  }
}
