/* =========================================================
   Pixel Grug — Anthropic Light Theme
   ========================================================= */

:root {
  /* Warm ivory palette */
  --bg: #f0eee6;
  --bg-alt: #e9e6dc;
  --surface: #faf9f5;
  --surface-2: #f5f3ec;

  /* Ink */
  --ink: #1a1915;
  --ink-2: #37352f;
  --muted: #6b675d;
  --muted-2: #8a857a;

  /* Anthropic clay / coral accent */
  --clay: #cc785c;
  --clay-dark: #b45f43;
  --clay-soft: #e6c3b3;
  --sky: #8aa9b8;
  --sage: #97a487;

  /* Lines & shadows */
  --border: #e0dccf;
  --border-strong: #d2cdbd;
  --shadow-sm: 0 1px 2px rgba(26, 25, 21, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(26, 25, 21, 0.16);
  --shadow-lg: 0 30px 60px -24px rgba(26, 25, 21, 0.28);

  /* Inverted panels (concept / vision / share card) — dark in both themes */
  --panel-bg: #1a1915;
  --panel-text: #f4f1e9;
  --panel-muted: #b9b3a5;
  --panel-border: rgba(244, 241, 233, 0.22);

  /* Pixel art frame background */
  --frame-bg: linear-gradient(135deg, #f7f2ea, #efe9dd);

  /* Nav & CTA */
  --nav-bg: rgba(240, 238, 230, 0.72);
  --nav-bg-scrolled: rgba(240, 238, 230, 0.9);
  --cta-bg: #1a1915;
  --cta-text: #ffffff;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-pixel: "Press Start 2P", monospace;

  --maxw: 1160px;
}

/* =========================================================
   Anthropic Dark Theme
   ========================================================= */
[data-theme="dark"] {
  --bg: #1f1e1c;
  --bg-alt: #191817;
  --surface: #262523;
  --surface-2: #2f2d2a;

  --ink: #f2f0e9;
  --ink-2: #d8d4c8;
  --muted: #a39e91;
  --muted-2: #837e72;

  --clay: #d68a6f;
  --clay-dark: #e0a48d;
  --clay-soft: #e6c3b3;
  --sky: #8aa9b8;
  --sage: #97a487;

  --border: #38352f;
  --border-strong: #4a463e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);

  --panel-bg: #100f0d;
  --panel-text: #f4f1e9;
  --panel-muted: #b9b3a5;
  --panel-border: rgba(244, 241, 233, 0.16);

  --frame-bg: linear-gradient(135deg, #2c2a27, #232120);

  --nav-bg: rgba(31, 30, 28, 0.72);
  --nav-bg-scrolled: rgba(25, 24, 22, 0.92);
  --cta-bg: #d68a6f;
  --cta-text: #1a1915;
}

/* Smooth theme transition */
body,
.nav,
.feature,
.gallery__card,
.audience__card,
.compare__col,
.tech__col,
.step,
.daily-card,
.lang-toggle,
.theme-toggle {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--clay-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn--primary {
  background: var(--clay);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-2); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.nav__logo { margin-right: auto; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.nav__logo-mark {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--clay);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
}
.nav__logo-text { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.95rem; color: var(--ink-2); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--clay); }
.nav__cta {
  background: var(--cta-bg);
  color: var(--cta-text) !important;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--clay) !important; color: #fff !important; }

/* Nav controls: language + theme toggles */
.nav__controls { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-toggle button {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.is-active { background: var(--clay); color: #fff; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--clay); transform: translateY(-1px); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section__sub { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }

/* ===== Hero ===== */
.hero {
  padding: 150px 0 90px;
  position: relative;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(204, 120, 92, 0.08), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(138, 169, 184, 0.1), transparent 70%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 24px;
}
.hero__lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--clay);
}
.hero__stats span { font-size: 0.9rem; color: var(--muted); }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
}
.hero__blob--1 { width: 280px; height: 280px; background: rgba(204, 120, 92, 0.18); top: -30px; right: 10px; }
.hero__blob--2 { width: 240px; height: 240px; background: rgba(151, 164, 135, 0.22); bottom: -20px; left: 0; }

/* Daily Card */
.daily-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.daily-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.daily-card__frame {
  border-radius: var(--radius);
  background: var(--frame-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.daily-card__frame img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  image-rendering: pixelated;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.daily-card__body { padding: 20px 6px 8px; text-align: center; }
.daily-card__label {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--clay);
}
.daily-card__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  margin: 12px 0 10px;
  min-height: 2.6em;
}
.daily-card__name { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.daily-card__shuffle {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.daily-card__shuffle:hover { background: var(--clay); color: #fff; border-color: var(--clay); }

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.about__quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}
.about__quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink-2);
  padding: 8px 0;
}
.about__steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--clay);
  font-weight: 600;
}
.step p { font-size: 1.08rem; color: var(--ink-2); }

/* ===== Concept ===== */
.section--concept {
  background: var(--panel-bg);
  color: var(--panel-text);
  border-radius: 32px;
  margin: 0 16px;
}
.concept { max-width: 820px; margin: 0 auto; text-align: center; }
.section--concept h2, .section--concept p { color: var(--panel-text); }
.concept__title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.concept__desc { color: var(--panel-muted); font-size: 1.1rem; margin-bottom: 30px; }
.concept__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}
.concept__tags li {
  padding: 9px 20px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--panel-text);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.concept__tags li:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.concept__note { color: var(--panel-muted); font-size: 1rem; }
.concept__note strong { color: var(--clay-soft); }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature__index {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--clay-soft);
}
.feature h3 { font-size: 1.4rem; margin: 14px 0 12px; }
.feature p { color: var(--muted); font-size: 1rem; }
.feature__quote {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--clay-dark) !important;
  font-size: 1.05rem;
}
.feature__emojis { margin-top: 18px; font-size: 1.5rem; letter-spacing: 6px; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature__tags span {
  font-size: 0.82rem;
  padding: 5px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
}
.feature__collection {
  display: flex;
  align-items: center;
  gap: -12px;
  margin-top: 20px;
}
.feature__collection img {
  width: 52px; height: 52px;
  border-radius: 12px;
  border: 2px solid var(--surface);
  background: var(--surface-2);
  object-fit: contain;
  image-rendering: pixelated;
  margin-right: -12px;
  box-shadow: var(--shadow-sm);
}
.feature__collection-more {
  margin-left: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clay);
}
.feature__widget {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature__widget img {
  width: 54px; height: 54px;
  object-fit: contain;
  image-rendering: pixelated;
}
.feature__widget span { font-size: 0.8rem; color: var(--muted); display: block; }
.feature__widget strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); }

/* Share Card */
.share-card {
  margin-top: 20px;
  background: var(--panel-bg);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: var(--panel-text);
}
.share-card__dots {
  height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--panel-text) 0 8px, transparent 8px 16px);
  opacity: 0.4;
  margin: 4px 0;
}
.share-card__emoji { display: block; font-size: 2.6rem; margin: 14px 0 8px; }
.share-card__today { display: block; font-size: 0.85rem; color: var(--panel-muted); letter-spacing: 0.1em; }
.share-card__msg { display: block; font-family: var(--font-serif); font-size: 1.4rem; margin: 6px 0 14px; }

/* ===== Gallery ===== */
.section--gallery { background: var(--bg-alt); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--frame-bg);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.gallery__img img {
  width: 82%; height: 82%;
  object-fit: contain;
  image-rendering: pixelated;
  transition: transform 0.4s ease;
}
.gallery__card:hover .gallery__img img { transform: scale(1.08) rotate(-2deg); }
.gallery__card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gallery__card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ===== Philosophy ===== */
.section--philosophy {
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(204, 120, 92, 0.1), transparent 60%),
    var(--bg);
  text-align: center;
}
.philosophy { max-width: 780px; margin: 0 auto; }
.philosophy__title { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 26px; }
.philosophy__desc { font-size: 1.2rem; color: var(--muted); margin-bottom: 40px; }
.philosophy__big {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--clay);
  font-weight: 600;
}

/* ===== Audience ===== */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audience__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.audience__card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.audience__card p { color: var(--muted); }
.audience__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.audience__tags span {
  font-size: 0.82rem;
  padding: 5px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--clay-dark);
  font-weight: 500;
}

/* ===== Differentiation ===== */
.section--diff { background: var(--bg-alt); }
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.compare__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.compare__col h3 { font-size: 1.3rem; margin-bottom: 20px; }
.compare__col ul { display: flex; flex-direction: column; gap: 14px; }
.compare__col li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 1rem;
}
.compare__col li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}
.compare__col--old { opacity: 0.85; }
.compare__col--old li::before { content: "×"; color: var(--muted-2); }
.compare__col--new {
  border-color: var(--clay-soft);
  box-shadow: var(--shadow-md);
}
.compare__col--new h3 { color: var(--clay); }
.compare__col--new li::before { content: "✦"; color: var(--clay); }
.compare__vs {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 10px;
}

/* ===== Tech ===== */
.tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.tech__col h3 {
  font-size: 1.25rem;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  color: var(--clay);
}
.tech__col li {
  padding: 9px 0;
  color: var(--ink-2);
  font-size: 1rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tech__col li::before { content: "▪"; color: var(--clay-soft); }
.tech__col em { color: var(--muted); font-style: normal; font-size: 0.88rem; }

/* ===== Vision ===== */
.section--vision {
  background: var(--panel-bg);
  border-radius: 32px;
  margin: 0 16px 40px;
}
.vision { max-width: 820px; margin: 0 auto; text-align: center; }
.section--vision .eyebrow { color: var(--clay-soft); }
.vision__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  color: var(--panel-text);
  margin-bottom: 30px;
}
.vision__desc { color: var(--panel-muted); font-size: 1.12rem; margin-bottom: 40px; }
.vision__desc strong { color: var(--clay-soft); }
.vision__actions { display: flex; justify-content: center; }

/* ===== Footer ===== */
.footer { padding: 60px 0 40px; background: var(--bg); border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
}
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand strong { font-family: var(--font-serif); font-size: 1.25rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--clay); }
.footer__bottom { padding-top: 26px; border-top: 1px solid var(--border); }
.footer__bottom p { color: var(--muted-2); font-size: 0.88rem; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__content { order: 2; }
  .hero__visual { order: 1; }
  .features, .gallery, .tech { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { width: 100%; padding: 12px 0; font-size: 1.05rem; }
  .nav__cta { text-align: center; margin-top: 8px; }
  .nav__toggle { display: flex; }

  .nav__inner { gap: 10px; }
  .nav__controls { gap: 6px; }
  .lang-toggle button { padding: 5px 8px; font-size: 0.72rem; }
  .theme-toggle { width: 34px; height: 34px; }

  .section { padding: 80px 0; }
  .hero { padding: 120px 0 70px; }
  .hero__stats { gap: 26px; flex-wrap: wrap; }
  .features, .gallery, .tech, .audience { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare__vs { padding: 4px; }
  .section--concept, .section--vision { margin: 0 8px; border-radius: 24px; }

  .hero__visual { min-width: 0; width: 100%; }
  .daily-card { max-width: 100%; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .about__quote { padding: 28px 24px; }
  .about__quote p { font-size: 1.12rem; padding: 6px 0; }
  .step { padding: 18px 20px; }
  .feature, .gallery__card, .audience__card, .compare__col, .tech__col { padding: 26px 22px; }
  .section__head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
