/* Nova Diary page — dedicated stylesheet (dark theme, matching kartoonify.css) */

:root {
  --bg: #05070f;
  --bg-2: #0b1020;
  --bg-soft: #0e1426;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1fa;
  --muted: #9aa3bf;
  --text-faint: #6b7492;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --lime: #a3e635;
  --grad: linear-gradient(120deg, #a78bfa 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(167,139,250,0.22), rgba(34,211,238,0.18));
  --radius: 20px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px -24px rgba(139, 92, 246, 0.5);
  --shadow-sm: 0 10px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 30px 60px -28px rgba(139, 92, 246, 0.45);
  --glow-cyan: 0 0 40px -6px rgba(34, 211, 238, 0.55);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* Ambient mesh + grid */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: -40%;
  background:
    radial-gradient(42% 40% at 18% 22%, rgba(139, 92, 246, 0.28), transparent 62%),
    radial-gradient(38% 38% at 82% 18%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(46% 44% at 55% 88%, rgba(139, 92, 246, 0.16), transparent 64%);
  filter: blur(40px) saturate(1.2);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.12) rotate(4deg); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.05) rotate(-3deg); }
}
.ambient-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 18%, transparent 76%);
}
.spotlight {
  position: fixed; top: 0; left: 0; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07) 42%, transparent 68%);
  transform: translate(-50%, -50%); transition: opacity 0.4s var(--ease);
  opacity: 0; mix-blend-mode: screen;
}
.spotlight.on { opacity: 1; }

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.container.narrow { max-width: 760px; }

h1, h2, h3, h4, .brand-name {
  font-family: var(--font-display);
  line-height: 1.08; letter-spacing: -0.028em; font-weight: 700;
  text-wrap: balance;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  font-weight: 600; font-size: 0.95rem; padding: 0.85em 1.5em; border-radius: 12px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--grad); color: #04060d; font-weight: 700;
  box-shadow: 0 12px 34px -10px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--violet-2); background: var(--surface); }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  background: rgba(5, 7, 15, 0.62);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.12rem; white-space: nowrap; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { display: grid; place-items: center; }
.main-nav { display: flex; gap: 1.25rem; align-items: center; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.92rem; transition: color 0.2s; white-space: nowrap; }
.main-nav a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(5.5rem, 13vw, 9.5rem) 0 4rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 44% at 82% 10%, rgba(168, 85, 247, 0.32), transparent 62%),
    radial-gradient(45% 50% at 12% 88%, rgba(236, 72, 153, 0.28), transparent 62%),
    radial-gradient(40% 40% at 50% 40%, rgba(34, 211, 238, 0.12), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; font-weight: 600;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  padding: 0.45em 1em; border-radius: 999px; margin-bottom: 1.4rem;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.18); }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 1.3rem; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 47ch; margin-bottom: 2rem; }
.lede strong { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-points { display: flex; gap: 2rem; flex-wrap: wrap; list-style: none; }
.hero-points li { display: flex; flex-direction: column; }
.hero-points b { font-family: var(--font-display); font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-points span { color: var(--muted); font-size: 0.85rem; }

/* ---------- App screenshots ---------- */
.hero-visual { display: grid; place-items: center; }
.shot-scene { position: relative; width: min(290px, 88%); margin: 0; }
.shot-frame {
  border-radius: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f7f2ff;
  box-shadow: var(--shadow);
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  margin: 0 auto;
}
.shot { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; }
.shot .shot-frame { border-radius: 24px; }
.shot figcaption { text-align: center; color: var(--muted); font-size: 0.92rem; font-weight: 500; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 600px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin-inline: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
  background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 0.4em 0.85em; border-radius: 999px; margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.session { padding: clamp(5rem, 12vw, 9rem) 0; }

/* ---------- Demo video ---------- */
.session.video { padding-top: 0; }
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2rem 3rem -1rem rgba(0, 0, 0, 0.55);
  background: #000;
  aspect-ratio: 528 / 1152;
}
.video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Feature grid (what Nova Diary can do) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
  max-width: 920px; margin: 0 auto; align-items: stretch;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.9rem 2.1rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(168,85,247,0.5); box-shadow: var(--shadow); }
.feature-emoji { font-size: 2.4rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* Wide feature card — the parent check-in panel, spanning the grid */
.feature-card.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.3rem; padding: 1.7rem 1.9rem; }
.feature-card.wide .feature-emoji { font-size: 2.6rem; margin-bottom: 0; flex-shrink: 0; }
.feature-card.wide h3 { margin-bottom: 0.35rem; }
.feature-card.wide p { max-width: 60ch; }
@media (max-width: 620px) {
  .feature-card.wide { flex-direction: column; align-items: flex-start; gap: 0; }
  .feature-card.wide .feature-emoji { margin-bottom: 1rem; }
}

/* ---------- How it works ---------- */
.dark { background: linear-gradient(180deg, rgba(168,85,247,0.08), transparent); }
.steps { list-style: none; display: grid; gap: 1.8rem; max-width: 760px; margin: 0 auto; align-items: stretch; }
.step { display: flex; gap: 1.4rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 2rem; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.step:hover { transform: translateX(6px); border-color: rgba(168,85,247,0.5); box-shadow: var(--shadow); }
.step-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.6ch; }
.step h3 { font-size: 1.14rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Nova companion ---------- */
.companion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.companion-copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.companion-copy .kicker { margin-bottom: 1rem; }
.companion-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; }
.companion-list li { display: flex; gap: 0.8rem; color: var(--muted); font-size: 0.98rem; }
.companion-list li .tick { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--grad); color: #1a0f2e; font-size: 0.85rem; font-weight: 800; }
.companion-list li b { color: var(--text); }

/* ---------- Companion personalities ---------- */
.persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem;
  max-width: 1160px; margin: 0 auto;
}
.persona-card {
  --pc: #8A6FE8;
  --pc-bubble: #EFE9FD;
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.persona-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(120deg, var(--pc), transparent 90%);
}
.persona-card:hover {
  transform: translateY(-6px);
  border-color: var(--pc);
  box-shadow: var(--shadow), 0 0 44px -18px var(--pc);
}
.persona-top { display: flex; align-items: center; gap: 0.8rem; }
.persona-avatar {
  width: 50px; height: 50px; flex: 0 0 auto; border-radius: 15px;
  display: grid; place-items: center; font-size: 1.55rem;
  background: var(--pc-bubble);
  border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent);
  box-shadow: 0 6px 20px -8px var(--pc);
}
.persona-id { min-width: 0; flex: 1 1 auto; }
.persona-id h3 { font-size: 1.32rem; line-height: 1.15; }
.persona-tag { display: block; margin-top: 0.2rem; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-faint); }
.persona-badge {
  flex: 0 0 auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.34em 0.7em; border-radius: 999px; white-space: nowrap;
}
.persona-badge.free { color: var(--lime); background: rgba(163, 230, 53, 0.1); border: 1px solid rgba(163, 230, 53, 0.35); }
.persona-badge.premium { color: var(--cyan-2); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35); }
.persona-vibe {
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  color: var(--text);
}
@supports (color: color-mix(in srgb, red, blue)) {
  .persona-vibe { color: color-mix(in srgb, var(--pc) 68%, #ffffff); }
}
.persona-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.persona-sample {
  background: var(--pc-bubble);
  color: #241a38;
  border-radius: 14px;
  padding: 0.85rem 0.95rem 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  font-size: 0.9rem; line-height: 1.55; font-weight: 500;
}
.persona-sample-label {
  display: block; font-family: var(--font-mono); font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #5b4a7a; opacity: 0.8; margin-bottom: 0.35rem;
}
.persona-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.35rem; }
.persona-voice {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--text-faint); border: 1px solid var(--line); border-radius: 7px; padding: 0.32em 0.6em;
  white-space: nowrap;
}
.persona-hint { font-size: 0.72rem; font-style: italic; color: var(--text-faint); text-align: right; }

.persona-rules {
  margin: 3.2rem auto 0; max-width: 1160px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative; overflow: hidden;
}
.persona-rules::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(120deg, var(--violet), var(--cyan), transparent);
}
.persona-rules-head { text-align: center; margin-bottom: 1.6rem; }
.persona-rules-head h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-top: 0.4rem; }
.persona-rules-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.6rem; }
.persona-rules-grid li { border-left: 2px solid color-mix(in srgb, var(--cyan) 55%, transparent); padding-left: 0.9rem; }
.persona-rules-grid b { display: block; font-size: 0.92rem; margin-bottom: 0.3rem; }
.persona-rules-grid span { color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

/* ---------- Privacy ---------- */
.privacy { background: var(--surface-2); border-block: 1px solid var(--line); }
.privacy-inner { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.privacy-ico { flex: 0 0 auto; font-size: 5rem; }
.privacy-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.privacy-inner p { color: var(--muted); font-size: 1.02rem; }
.privacy-inner a { color: var(--violet-2); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0.2rem 1.4rem; transition: border-color 0.2s; }
.faq-item[open] { border-color: rgba(168,85,247,0.5); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; padding: 1.1rem 0; position: relative; padding-right: 2rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--violet-2); transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.96rem; padding: 0 0 1.2rem; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.cta-inner > p { color: var(--muted); margin-bottom: 2.5rem; max-width: 52ch; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-inner > p a { color: var(--violet-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 3rem; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 40ch; }
.footer-nav { display: flex; gap: 3rem; }
.footer-nav h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.8rem; }
.footer-nav a { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--violet-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .companion-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-inner { grid-template-columns: 1fr; }
  .privacy-ico { font-size: 3.4rem; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-rules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .persona-grid { grid-template-columns: 1fr; }
  .persona-rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 959px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 1.2rem 5%; gap: 1.1rem;
  }
}
