/* ============================================================
   Darkfolio — Website Design System
   ============================================================ */

/* --- Fonts loaded via <link> in HTML head for parallel loading --- */

/* --- Custom Properties --- */
:root {
  /* Canvas */
  --bg-deep:        #0A0A0C;
  --bg-surface:     #161618;
  --bg-hover:       #1E1E20;
  --bg-elevated:    #222225;

  /* Text */
  --text-primary:   #E0E0E4;
  --text-secondary: #8E8E93;
  --text-muted:     #585860;

  /* Brand */
  --violet:         #6C71C4;
  --violet-light:   #8B8FD8;
  --violet-glow:    rgba(108, 113, 196, 0.15);
  --violet-glow-strong: rgba(108, 113, 196, 0.3);

  /* Semantic */
  --teal:           #2AA198;
  --coral:          #DC7B6B;
  --bitcoin:        #F5A067;
  --amber:          #CB9B47;

  /* Typography */
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 160px);
  --content-max:    1120px;
  --content-narrow: 720px;

  /* Borders (dark mode defaults) */
  --border-subtle:  rgba(255, 255, 255, 0.04);
  --border-light:   rgba(255, 255, 255, 0.06);
  --border-medium:  rgba(255, 255, 255, 0.08);

  /* Dream / Playground */
  --dream-amber:    #FFBF00;
  --dream-green:    #34D399;
  --dream-border:   rgba(255, 191, 0, 0.12);
  --dream-border-hover: rgba(255, 191, 0, 0.25);
  --dream-glow:     rgba(255, 191, 0, 0.06);
  --dream-glow-bg:  rgba(255, 191, 0, 0.06);
  --dream-slider-bg: rgba(255, 191, 0, 0.12);
  --dream-slider-shadow: rgba(255, 191, 0, 0.35);
  --dream-preset-border: rgba(255, 255, 255, 0.06);
  --dream-preset-hover-bg: rgba(255, 191, 0, 0.06);
  --dream-preset-hover-border: rgba(255, 191, 0, 0.3);
}

/* --- Light Mode --- */
[data-theme="light"] {
  /* Canvas */
  --bg-deep:        #F5F2EE;
  --bg-surface:     #FFFFFF;
  --bg-hover:       #F0EDE9;
  --bg-elevated:    #FAF8F6;

  /* Text */
  --text-primary:   #1C1917;
  --text-secondary: #57534E;
  --text-muted:     #A8A29E;

  /* Brand */
  --violet:         #6C71C4;
  --violet-light:   #5B5FA8;
  --violet-glow:    rgba(108, 113, 196, 0.1);
  --violet-glow-strong: rgba(108, 113, 196, 0.2);

  /* Semantic */
  --teal:           #0D9488;
  --coral:          #DC2626;
  --bitcoin:        #D97706;
  --amber:          #B45309;

  /* Borders */
  --border-subtle:  rgba(0, 0, 0, 0.04);
  --border-light:   rgba(0, 0, 0, 0.06);
  --border-medium:  rgba(0, 0, 0, 0.08);

  /* Dream / Playground */
  --dream-amber:    #D4A017;
  --dream-green:    #059669;
  --dream-border:   rgba(180, 130, 0, 0.15);
  --dream-border-hover: rgba(180, 130, 0, 0.3);
  --dream-glow:     rgba(180, 130, 0, 0.06);
  --dream-glow-bg:  rgba(180, 130, 0, 0.04);
  --dream-slider-bg: rgba(180, 130, 0, 0.15);
  --dream-slider-shadow: rgba(180, 130, 0, 0.4);
  --dream-preset-border: rgba(0, 0, 0, 0.08);
  --dream-preset-hover-bg: rgba(180, 130, 0, 0.06);
  --dream-preset-hover-border: rgba(180, 130, 0, 0.3);
}

/* --- Light Mode: Wordmark --- */
[data-theme="light"] .wordmark .dark {
  color: #B8B3AE;
}

[data-theme="light"] .wordmark .folio {
  color: #6C71C4;
  -webkit-text-fill-color: #6C71C4;
}

/* --- Light Mode: Card shadows --- */
[data-theme="light"] .kanon-server,
[data-theme="light"] .kanon-phone,
[data-theme="light"] .pin-demo__phone,
[data-theme="light"] .quiet-demo__card,
[data-theme="light"] .playground-card,
[data-theme="light"] .content-page__body .highlight {
  box-shadow: 0 1px 3px rgba(139, 115, 85, 0.06), 0 4px 16px rgba(139, 115, 85, 0.04);
}

[data-theme="light"] .privacy-label {
  box-shadow: 0 1px 3px rgba(139, 115, 85, 0.06), 0 4px 16px rgba(42, 161, 152, 0.06);
}

[data-theme="light"] .promise-section__proof-icon {
  box-shadow: 0 1px 3px rgba(139, 115, 85, 0.06), 0 4px 16px rgba(108, 113, 196, 0.08);
}

[data-theme="light"] .promise-section__proof-icon:hover {
  box-shadow: 0 1px 3px rgba(139, 115, 85, 0.08), 0 4px 20px rgba(108, 113, 196, 0.12);
}

/* --- Light Mode: Ghost SVG adjustments --- */
[data-theme="light"] .ghost-section__icon svg {
  filter: brightness(1.2) contrast(0.9);
}

/* --- Light Mode: FAQ question hover --- */
[data-theme="light"] .faq-item__question:hover {
  color: var(--text-primary);
}

/* --- Light Mode: Compare select dropdown arrow (dark chevron) --- */
[data-theme="light"] .compare-select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2357534E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

[data-theme="light"] .compare-select--target {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23D4A017' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- Light Mode: Proof icon checkmark visibility --- */
[data-theme="light"] .promise-section__proof-icon svg path[stroke="#0A0A0C"],
[data-theme="light"] .promise-section__proof-icon svg line[stroke="#0A0A0C"] {
  stroke: #FFFFFF;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.theme-toggle__icon--sun {
  display: none;
}

.theme-toggle__icon--moon {
  display: block;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: block;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="light"] .theme-toggle {
  box-shadow: 0 1px 4px rgba(139, 115, 85, 0.08);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  color: var(--violet-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--violet);
}

::selection {
  background: var(--violet);
  color: #fff;
}

/* --- Site Nav --- */
.site-nav {
  position: relative;
  z-index: 100;
  padding: 20px 0;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__wordmark {
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav__links a:hover {
  color: var(--text-primary);
}

.site-nav__cta {
  font-size: 13px !important;
  font-weight: 500;
  color: #fff !important;
  background: var(--violet);
  padding: 8px 18px;
  border-radius: 8px;
  transition: opacity 0.2s ease, color 0.2s ease !important;
}

.site-nav__cta:hover {
  opacity: 0.85;
  color: #fff !important;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 500;
}

p {
  color: var(--text-secondary);
  max-width: 640px;
}

.mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--text-muted);
  font-size: 14px;
}

.text-violet {
  color: var(--violet);
}

.text-teal {
  color: var(--teal);
}

/* --- Wordmark --- */
.wordmark {
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.wordmark--hero {
  font-size: 44px;
  letter-spacing: 0.15em;
}

.wordmark--small {
  font-size: 22px;
  letter-spacing: 0.1em;
}

.wordmark .dark {
  color: #939398;
}

.wordmark .folio {
  color: #8B8FD8;
  -webkit-text-fill-color: #8B8FD8;
}

/* ============================================================
   Section 1: Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
  animation: hero-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -55%) scale(1); }
  50%      { opacity: 0.7; transform: translate(-50%, -55%) scale(1.08); }
}

.hero__dots {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet-glow-strong);
  opacity: 0;
  animation: dot-fade-in 0.6s ease forwards;
}

.hero__dot:nth-child(1) { animation-delay: 0.2s; }
.hero__dot:nth-child(2) { animation-delay: 0.4s; }
.hero__dot:nth-child(3) { animation-delay: 0.6s; }
.hero__dot:nth-child(4) { animation-delay: 0.8s; }

@keyframes dot-fade-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.hero__wordmark {
  opacity: 0;
  animation: fade-in 1s ease forwards;
  animation-delay: 1.2s;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero__headline {
  opacity: 0;
  animation: fade-in-up 1s ease forwards;
  animation-delay: 1.6s;
  max-width: 700px;
  position: relative;
  z-index: 1;
  font-weight: 300;
  color: var(--text-primary);
}

.hero__clarifier {
  opacity: 0;
  animation: fade-in 1s ease forwards;
  animation-delay: 2.2s;
  position: relative;
  z-index: 1;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  text-align: center;
  margin: 24px auto 0;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero__cta {
  opacity: 0;
  animation: fade-in 1s ease forwards;
  animation-delay: 3s;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* App Store badge */
.app-store-badge {
  height: 48px;
  margin: 0 auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-badge:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* Mid-page CTA */
.mid-cta {
  padding: 48px 0;
  text-align: center;
}

.mid-cta__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 auto 20px;
  font-weight: 400;
  max-width: none;
}

/* ============================================================
   Section 5: Privacy / k-anonymity
   ============================================================ */
.privacy-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.privacy-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.privacy-section__copy h2 {
  margin-bottom: 24px;
}

.privacy-section__copy p {
  margin-bottom: 16px;
}

.privacy-section__copy em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

.privacy-section__detail {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

.privacy-section__tor {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 12px;
}

/* k-anonymity diagram */
.kanon-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Server card — dense blob of identical data */
.kanon-server {
  background: var(--bg-surface);
  border: 1px solid rgba(108, 113, 196, 0.15);
  border-radius: 16px;
  padding: 32px 36px;
  text-align: center;
  width: 100%;
  max-width: 480px;
}

.kanon-server__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kanon-server__sublabel {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.kanon-server__blob {
  display: grid;
  grid-template-columns: repeat(16, 8px);
  gap: 6px;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.kanon-server__blob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.5;
}

/* Identical arrows — the key insight */
.kanon-arrows {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 16px 0;
}

.kanon-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kanon-arrow__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet-light);
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 6px;
}

.kanon-arrow__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(108, 113, 196, 0.5), rgba(108, 113, 196, 0.15));
}

.kanon-arrow__tip {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(108, 113, 196, 0.15);
}

/* User phones — each extracts different prices from identical data */
.kanon-phones {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.kanon-phone {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  width: 148px;
}

.kanon-phone__label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.kanon-phone__dots {
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 6px;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.kanon-phone__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.15;
  transition: all 0.6s ease;
}

.kanon-phone__dot--active {
  background: var(--teal);
  opacity: 1;
  box-shadow: 0 0 10px rgba(42, 161, 152, 0.6);
}

/* Stagger per phone for organic feel */
.kanon-phone[data-phone="2"] .kanon-phone__dot { transition-delay: 60ms; }
.kanon-phone[data-phone="3"] .kanon-phone__dot { transition-delay: 120ms; }

/* Caption */
.kanon-caption {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.02em;
  max-width: 480px;
}

/* ============================================================
   Section: Tor
   ============================================================ */
.tor-section {
  padding: var(--section-padding) 0;
}

.tor-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tor-section__copy h2 {
  margin-bottom: 24px;
}

.tor-section__copy p {
  margin-bottom: 16px;
}

.tor-section__copy em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

.tor-section__detail {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Tor routing diagram */
.tor-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tor-diagram__row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 520px;
}

.tor-diagram__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 96px;
}

.tor-diagram__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tor-diagram__icon svg {
  width: 28px;
  height: 28px;
}

.tor-diagram__icon--phone {
  background: var(--bg-surface);
  border: 1px solid rgba(108, 113, 196, 0.25);
}

.tor-diagram__icon--tor {
  background: rgba(108, 113, 196, 0.15);
  border: 1px solid rgba(108, 113, 196, 0.35);
}

.tor-diagram__icon--server {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
}

.tor-diagram__node-label {
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-align: center;
  font-weight: 500;
}

.tor-diagram__path {
  flex: 1;
  height: 2px;
  border-radius: 1px;
  position: relative;
}

.tor-diagram__path--encrypted {
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
}

.tor-diagram__path--plain {
  background: var(--border-medium);
}

.tor-diagram__path-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--violet-light);
  white-space: nowrap;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.tor-diagram__comparison {
  width: 100%;
  max-width: 520px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.tor-diagram__comparison-label {
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.tor-diagram__what-sees {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tor-diagram__sees-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
}

.tor-diagram__sees-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
  color: var(--coral);
}

.tor-diagram__sees-text {
  color: var(--text-secondary);
}

.tor-diagram__sees-text--struck {
  color: var(--text-secondary);
  opacity: 0.7;
  text-decoration: line-through;
}

.tor-diagram__sees-row:last-child .tor-diagram__sees-icon {
  color: var(--teal);
}

.tor-diagram__sees-row:last-child .tor-diagram__sees-text {
  color: var(--text-primary);
}

.tor-diagram__sees-text em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 600;
}

/* ============================================================
   Section 4: Ghost Mode
   ============================================================ */
.ghost-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Header: centered headline + pitch above the two-column layout */
.ghost-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.ghost-section__headline {
  margin-bottom: 24px;
}

.ghost-section__pitch {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 560px;
  font-weight: 300;
}

/* Two-column layout: ghost icon (1/3) + content (2/3) */
.ghost-section__columns {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Left column: ghost icon + subtext */
.ghost-section__icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.ghost-section__icon {
  animation: ghost-float 6s ease-in-out infinite;
}

.ghost-section__icon svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

@keyframes ghost-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.ghost-section__subtext {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 240px;
  line-height: 1.6;
}

/* Right column: PIN demo + forensic note */
.ghost-section__content-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PIN demo */
.pin-demo {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pin-demo__phone {
  width: 200px;
  background: var(--bg-surface);
  border-radius: 24px;
  padding: 24px 20px;
  border: 1px solid rgba(108, 113, 196, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pin-demo__phone--real:hover {
  border-color: rgba(42, 161, 152, 0.3);
  box-shadow: 0 0 30px rgba(42, 161, 152, 0.1);
}

.pin-demo__phone--decoy:hover {
  border-color: rgba(108, 113, 196, 0.3);
  box-shadow: 0 0 30px var(--violet-glow);
}

.pin-demo__pin {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.pin-demo__digit {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
}

.pin-demo__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-align: center;
}

.pin-demo__holding {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
}

.pin-demo__holding-symbol {
  color: var(--text-primary);
  font-weight: 500;
}

.pin-demo__holding-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.ghost-section__forensic {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* Violet glow behind ghost section */
.ghost-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ghost-section > .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Section 5: Quiet Mode
   ============================================================ */
.quiet-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.quiet-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quiet-section__copy h2 {
  margin-bottom: 24px;
}

.quiet-section__copy p {
  margin-bottom: 16px;
  font-size: clamp(16px, 2vw, 19px);
}

/* Quiet mode demo */
.quiet-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.quiet-demo__card {
  width: 100%;
  max-width: 340px;
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(108, 113, 196, 0.12);
  transition: all 0.5s ease;
}

.quiet-demo__label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.quiet-demo__value {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  color: var(--text-primary);
  transition: text-shadow 0.5s ease, letter-spacing 0.5s ease;
}

.quiet-demo__value--masked {
  color: var(--violet);
  text-shadow: 0 0 24px rgba(108, 113, 196, 0.35);
  letter-spacing: 0.05em;
}

.quiet-demo__card:has(.quiet-demo__value--masked) {
  border-color: rgba(108, 113, 196, 0.3);
  box-shadow: 0 0 48px rgba(108, 113, 196, 0.08);
}

.quiet-demo__divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0 16px;
}

.quiet-demo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.quiet-demo__identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quiet-demo__symbol {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.quiet-demo__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.quiet-demo__dot--crypto { background: #9D7CD8; }
.quiet-demo__dot--stock { background: #268BD2; }

.quiet-demo__context {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
}

.quiet-demo__amount {
  white-space: nowrap;
  overflow: hidden;
  max-width: 120px;
  opacity: 1;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}

.quiet-demo__amount--hidden {
  max-width: 0;
  opacity: 0;
}

.quiet-demo__unit-price {
  white-space: nowrap;
}

.quiet-demo__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  transition: color 0.5s ease;
}

.quiet-demo__price--masked {
  color: var(--violet);
  text-shadow: 0 0 16px rgba(108, 113, 196, 0.3);
}

.quiet-demo__hint {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================================
   Section 6: Playground (What-If + Compare)
   ============================================================ */
.playground-section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.playground-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--dream-glow-bg) 0%, transparent 70%);
  pointer-events: none;
}

.playground-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.playground-section h2 {
  margin-bottom: 16px;
}

.playground-section__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  margin: 0 auto 56px;
  max-width: 520px;
  font-weight: 300;
}

.playground-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.playground-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--dream-border);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.playground-card:hover {
  border-color: var(--dream-border-hover);
  box-shadow: 0 0 48px var(--dream-glow);
}

.playground-card__glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--dream-glow-bg) 0%, transparent 70%);
  pointer-events: none;
}

.playground-card__label {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--dream-amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.playground-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.75;
}

.playground-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- What-If Card --- */
.playground-card--whatif {
  padding-bottom: 20px;
}

.whatif-total {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.whatif-baseline {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.whatif-baseline__label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.whatif-baseline__value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.whatif-total__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  color: var(--dream-green);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.whatif-total__gain {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--dream-amber);
  opacity: 0.8;
  margin-top: 6px;
}

.whatif-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.whatif-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whatif-row__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatif-row__identity {
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatif-row__symbol {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.whatif-row__symbol--btc {
  color: var(--bitcoin);
}

.whatif-row__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.whatif-row__dot--crypto {
  background: #9D7CD8;
}

.whatif-row__dot--stock {
  background: #268BD2;
}

.whatif-row__mult {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--dream-amber);
  margin-left: auto;
  white-space: nowrap;
  min-width: 48px;
  text-align: right;
}

.whatif-row__value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--dream-green);
  white-space: nowrap;
}

.whatif-row__slider-wrap {
  padding: 0 2px;
}

/* Range slider — log-scale, amber dream aesthetic */
.whatif-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--dream-slider-bg);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0;
}

.whatif-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dream-amber);
  box-shadow: 0 0 10px var(--dream-slider-shadow), 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.whatif-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 16px var(--dream-slider-shadow), 0 1px 4px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

.whatif-slider::-webkit-slider-thumb:active {
  transform: scale(1.15);
}

.whatif-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dream-amber);
  border: none;
  box-shadow: 0 0 10px var(--dream-slider-shadow), 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.whatif-slider::-moz-range-track {
  height: 3px;
  background: var(--dream-slider-bg);
  border-radius: 2px;
  border: none;
}

/* Presets row */
.whatif-presets {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.whatif-preset {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--dream-preset-border);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.whatif-preset:hover {
  color: var(--dream-amber);
  border-color: var(--dream-preset-hover-border);
  background: var(--dream-preset-hover-bg);
}

/* --- Compare Card --- */
.compare-sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin-bottom: 20px;
  line-height: 2;
}

.compare-caps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.compare-cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.compare-cap__value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: opacity 0.3s ease;
}

.compare-cap__value--target {
  color: var(--dream-amber);
}

.compare-cap__label {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.compare-cap__arrow {
  font-size: 16px;
  color: var(--text-muted);
  opacity: 0.4;
}

.compare-word {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
}

.compare-select {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-hover);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238E8E93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.compare-select:hover {
  border-color: var(--violet);
  background-color: var(--bg-elevated);
}

.compare-select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 2px var(--violet-glow);
}

.compare-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.compare-select--target {
  color: var(--dream-amber);
  border-color: var(--dream-border);
  background-color: var(--dream-glow-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23FFBF00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.compare-select--target:hover {
  border-color: var(--dream-border-hover);
  background-color: var(--dream-preset-hover-bg);
}

.compare-select--target:focus {
  border-color: var(--dream-amber);
  box-shadow: 0 0 0 2px var(--dream-glow-bg);
}

.compare-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.compare-swap:hover {
  background: var(--bg-elevated);
  border-color: var(--dream-preset-hover-border);
  color: var(--dream-amber);
  transform: scale(1.1);
}

.compare-swap:active {
  transform: scale(0.95) rotate(180deg);
}

.compare-result {
  text-align: center;
  margin-bottom: 24px;
}

.compare-price {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  color: var(--dream-green);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.compare-price--loss {
  color: var(--coral);
}

.compare-change {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--dream-green);
  opacity: 0.75;
  margin-top: 4px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.compare-change--loss {
  color: var(--coral);
}

.compare-formula {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.compare-formula__text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.compare-presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
}

.compare-preset {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--dream-preset-border);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.compare-preset:hover {
  color: var(--dream-amber);
  border-color: var(--dream-preset-hover-border);
  background: var(--dream-preset-hover-bg);
}


.playground-section__footnote {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ============================================================
   Section 7: Calm / Features
   ============================================================ */
.calm-section {
  padding: var(--section-padding) 0;
}

.calm-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.calm-section h2 {
  margin-bottom: 24px;
}

.calm-section__philosophy {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 640px;
}

.calm-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.calm-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calm-feature__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.calm-feature__icon svg {
  width: 28px;
  height: 28px;
}

.calm-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.calm-feature__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   Section 7: Promise
   ============================================================ */
.promise-section {
  padding: var(--section-padding) 0;
  text-align: center;
}

.promise-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.promise-section h2 {
  margin-bottom: 32px;
}

.promise-section__quote {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 auto 56px;
  max-width: 640px;
}

.promise-section__proofs {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.promise-section__proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.promise-section__proof-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid rgba(108, 113, 196, 0.2);
  box-shadow: 0 0 24px rgba(108, 113, 196, 0.1), 0 0 48px rgba(108, 113, 196, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promise-section__proof-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(108, 113, 196, 0.18), 0 0 56px rgba(108, 113, 196, 0.08);
}

.promise-section__proof-icon svg {
  width: 26px;
  height: 26px;
}

.promise-section__proof-label {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.promise-section__cta {
  margin-bottom: 28px;
}

.promise-section__pricing {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 auto;
}

/* Apple privacy label */
.privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid rgba(42, 161, 152, 0.15);
  border-radius: 14px;
  padding: 18px 28px;
  margin-bottom: 44px;
  box-shadow: 0 0 24px rgba(42, 161, 152, 0.08), 0 0 48px rgba(42, 161, 152, 0.04);
}

.privacy-label__icon {
  font-size: 24px;
}

.privacy-label__icon svg {
  width: 28px;
  height: 28px;
}

.privacy-label__text {
  text-align: left;
}

.privacy-label__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.privacy-label__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   Section 9: FAQ
   ============================================================ */
.faq-section {
  padding: var(--section-padding) 0;
}

.faq-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section h2 {
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

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

.faq-item__question::marker {
  content: '';
}

.faq-item__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 24px;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item[open] > .faq-item__question::after {
  content: '\2212';
  color: var(--violet-light);
}

.faq-item__question:hover {
  color: #fff;
}

.faq-item__question:hover::after {
  color: var(--violet-light);
}

.faq-item__answer {
  padding: 0 0 24px;
  overflow: hidden;
}

.faq-item__answer p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

.faq-item__answer p + p {
  margin-top: 1.2em;
}

.faq-item__answer em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 500;
}

/* ============================================================
   Section 8: Footer
   ============================================================ */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--text-secondary);
}

.site-footer__email {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  margin-inline: auto;
  text-align: center;
}

.site-footer__email a {
  color: var(--text-muted);
}

.site-footer__email a:hover {
  color: var(--violet-light);
}

.site-footer__quote {
  margin: 24px auto 0;
  text-align: center;
  max-width: 480px;
  font-style: italic;
}

.site-footer__quote p {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.7;
  line-height: 1.6;
  margin: 0 0 6px;
}

.site-footer__quote cite {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.5;
  font-style: normal;
}

/* ============================================================
   About Page
   ============================================================ */
.about-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
}

.about-photo__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.about-photo__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-intro h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.about-role {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.about-vibes {
  text-align: center;
  padding: 32px 0 8px;
}

.about-vibes__logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 16px;
  opacity: 0.85;
}

.about-vibes p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   Blog — Index Page
   ============================================================ */
.blog-search {
  margin-bottom: 40px;
}

.blog-search__input {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.blog-search__input::placeholder {
  color: var(--text-muted);
}

.blog-search__input:focus {
  border-color: rgba(108, 113, 196, 0.4);
  box-shadow: 0 0 0 3px rgba(108, 113, 196, 0.1);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-card {
  display: block;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(108, 113, 196, 0.3);
  transform: translateY(-1px);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-card__meta time {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.blog-card__tags {
  display: flex;
  gap: 6px;
}

.blog-card__tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--violet);
  background: rgba(108, 113, 196, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.blog-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  padding: 48px 0;
}

/* ============================================================
   Blog — Post Page
   ============================================================ */
.blog-post__header {
  margin-bottom: 40px;
}

.blog-post__header h1 {
  margin-bottom: 12px;
}

.blog-post__date {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.blog-post__tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.blog-post__tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--violet);
  background: rgba(108, 113, 196, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post__content {
  line-height: 1.8;
}

.blog-post__content h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-post__content h3 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.blog-post__content p {
  margin-bottom: 20px;
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.blog-post__content li {
  margin-bottom: 8px;
}

.blog-post__content blockquote {
  border-left: 3px solid var(--violet);
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  color: var(--text-secondary);
  font-style: italic;
}

.blog-post__content code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-surface);
  padding: 2px 6px;
  border-radius: 4px;
}

.blog-post__content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.blog-post__content pre code {
  background: none;
  padding: 0;
}

.blog-post__content hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 40px 0;
}

.blog-post__content img {
  max-width: 100%;
  border-radius: 8px;
}

.blog-post__content strong {
  color: var(--text-primary);
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ============================================================
   Content Pages (Privacy, Support, Terms)
   ============================================================ */
.content-page {
  padding: 0 0 80px;
  min-height: 100vh;
}

.content-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.content-page__back {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.content-page__back:hover {
  color: var(--violet-light);
}

.content-page__body h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 8px;
}

.content-page__body h2 {
  font-size: 24px;
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-page__body h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.content-page__body p {
  margin-bottom: 16px;
  max-width: none;
}

.content-page__body ul,
.content-page__body ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.content-page__body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-page__body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.content-page__body .updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.content-page__body .highlight {
  background: var(--bg-surface);
  border: 1px solid rgba(108, 113, 196, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.content-page__body .highlight p:last-child {
  margin-bottom: 0;
}

.content-page__body hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 48px 0;
}

.content-page__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.content-page__body th,
.content-page__body td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.content-page__body th {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-page__body td {
  color: var(--text-secondary);
}

.content-page__body blockquote {
  border-left: 3px solid var(--violet);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Mobile: < 640px */
@media (max-width: 639px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .site-nav__links {
    gap: 20px;
  }

  .site-nav__cta {
    padding: 6px 14px;
  }

  .hero__dots {
    gap: 14px;
  }

  .hero__dot {
    width: 14px;
    height: 14px;
  }

  .wordmark--hero {
    font-size: 32px;
  }

  .hero__clarifier {
    font-size: 16px;
    max-width: 320px;
  }

  .hero__cta {
    margin-top: 36px;
  }

  .mid-cta {
    padding: 32px 0;
  }

  .privacy-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .kanon-server {
    max-width: 340px;
    padding: 24px 28px;
  }

  .kanon-server__label {
    font-size: 13px;
  }

  .kanon-server__sublabel {
    font-size: 12px;
  }

  .kanon-server__blob {
    grid-template-columns: repeat(16, 7px);
    gap: 5px;
  }

  .kanon-server__blob-dot {
    width: 7px;
    height: 7px;
  }

  .kanon-arrows {
    gap: 48px;
  }

  .kanon-phones {
    gap: 10px;
  }

  .kanon-phone {
    width: 108px;
    padding: 14px 12px;
  }

  .kanon-phone__label {
    font-size: 12px;
  }

  .kanon-phone__dots {
    grid-template-columns: repeat(6, 7px);
    gap: 5px;
  }

  .kanon-phone__dot {
    width: 7px;
    height: 7px;
  }

  .tor-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tor-diagram__row {
    gap: 14px;
  }

  .tor-diagram__node {
    min-width: 76px;
  }

  .tor-diagram__icon {
    width: 52px;
    height: 52px;
  }

  .tor-diagram__node-label {
    font-size: 13px;
  }

  .tor-diagram__sees-row {
    font-size: 15px;
  }

  .ghost-section__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ghost-section__icon-col {
    flex-direction: row;
    gap: 20px;
    text-align: left;
  }

  .ghost-section__icon svg {
    max-width: 120px;
    flex-shrink: 0;
  }

  .ghost-section__subtext {
    font-size: 14px;
    max-width: none;
  }

  .pin-demo {
    gap: 16px;
  }

  .pin-demo__phone {
    width: 150px;
    padding: 20px 16px;
  }

  .quiet-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .quiet-section__inner .quiet-demo {
    order: -1;
  }

  .playground-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .playground-card {
    padding: 24px 20px 20px;
  }

  .compare-sentence {
    gap: 4px 6px;
  }

  .calm-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .promise-section__proofs {
    gap: 32px;
  }

  .site-footer__links {
    gap: 20px;
  }

  .faq-item__question {
    font-size: 16px;
    padding: 18px 0;
  }

  .faq-item__answer p {
    font-size: 15px;
  }

  .about-hero {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-intro h2 {
    font-size: 20px;
  }

  .blog-card {
    padding: 20px;
  }

  .blog-card__title {
    font-size: 18px;
  }
}

/* Tablet: 640px - 1023px */
@media (min-width: 640px) and (max-width: 1023px) {
  .privacy-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tor-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ghost-section__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ghost-section__icon-col {
    flex-direction: row;
    gap: 24px;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
  }

  .ghost-section__icon svg {
    max-width: 140px;
    flex-shrink: 0;
  }

  .ghost-section__subtext {
    max-width: none;
  }

  .quiet-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .quiet-section__inner .quiet-demo {
    order: -1;
  }

  .playground-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .calm-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-glow {
    animation: none;
    opacity: 0.5;
  }

  .hero__dot {
    animation: none;
    opacity: 1;
  }

  .hero__wordmark,
  .hero__headline,
  .hero__clarifier,
  .hero__cta {
    animation: none;
    opacity: 1;
  }

  .ghost-section__icon {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kanon-phone__dot {
    transition: none;
  }

  .whatif-slider::-webkit-slider-thumb {
    transition: none;
  }

  .compare-price,
  .compare-change,
  .compare-select {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
