:root {
  --ink: #26251f;
  --paper: #f2f0eb;
  --paper-card: #fbfaf6;
  --muted: #6d6a63;
  --faint: #8a8781;
  --hairline: #dedcd6;
  --accent: oklch(0.5 0.08 235);
  --accent-light: oklch(0.72 0.07 235);
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
}
a { color: #3f6982; }
a:hover { color: #2c4f65; }
h1, h2, p { margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  background: var(--ink);
  color: var(--paper-card);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: #3a3936; color: var(--paper-card); }
.btn-small { font-size: 14px; padding: 9px 18px; border-radius: 9px; }
.btn-large { font-size: 16px; padding: 14px 28px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 6vw; max-width: 1200px; width: 100%; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(180deg, #54524d, #33312d);
  display: flex; align-items: center; justify-content: center;
}
.brand-sheet {
  width: 26px; height: 30px; border-radius: 4px; background: var(--paper-card);
  display: flex; flex-direction: column; gap: 2.5px; padding: 3.5px 3px;
}
.brand-heading {
  height: 6px; border-radius: 1.5px; background: var(--ink);
  display: flex; align-items: center; padding-left: 1.5px;
}
.brand-heading span { font-family: var(--mono); font-weight: 600; font-size: 5px; color: var(--paper-card); line-height: 1; }
.brand-line { height: 2px; border-radius: 1px; background: #d8d5cc; }
.brand-name { font-family: var(--mono); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { text-decoration: none; font-size: 15px; }

/* Type helpers */
.eyebrow {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; color: var(--accent);
}
.eyebrow-dark { color: var(--accent-light); }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 650; letter-spacing: -0.01em; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 520px; line-height: 1.5; text-wrap: pretty; }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* Hero */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px; padding: 72px 6vw 0;
}
.hero .eyebrow { font-size: 14px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 650; letter-spacing: -0.02em;
  line-height: 1.06; max-width: 820px; text-wrap: pretty;
}
.caret {
  display: inline-block; width: 0.08em; height: 0.92em; background: var(--accent);
  margin-left: 0.06em; vertical-align: -0.12em; border-radius: 2px;
  animation: nk-blink 1.1s step-end infinite;
}
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 560px; line-height: 1.5; text-wrap: pretty; }
.hero-note { font-size: 13px; color: var(--faint); }
.hero-caption { font-family: var(--mono); font-size: 13px; color: var(--faint); }

/* Toggle */
.toggle {
  display: flex; align-items: center; gap: 4px;
  background: #e4e1da; border: 1px solid #d3d0c8; border-radius: 999px;
  padding: 4px; margin-top: 22px;
}
.toggle-btn {
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.toggle-btn.active { background: var(--ink); color: var(--paper-card); }

/* Screenshots */
.shot {
  margin: 10px 0 0; width: min(980px, 92vw);
  border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: 0 24px 70px rgba(20, 18, 14, 0.3);
  position: relative;
}
.shot img { width: 102.4%; margin: -0.7% 0 0 -1.2%; display: block; }
.shot-overlay {
  position: absolute; top: -0.7%; left: -1.2%; margin: 0 !important;
  transition: opacity 0.45s ease; opacity: 0;
}

/* Features */
.features {
  background: linear-gradient(180deg, #54524d, #33312d);
  color: var(--paper-card);
  padding: 88px 6vw; margin-top: 88px;
}
.features-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.feature-list { max-width: 860px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; }
.feature-row {
  display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 16px 48px; padding: 34px 0; align-items: baseline;
  border-top: 1px solid rgba(251, 250, 246, 0.14);
}
.feature-row-last { border-bottom: 1px solid rgba(251, 250, 246, 0.14); }
.feature-label { display: flex; flex-direction: column; gap: 6px; }
.feature-num { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.14em; color: var(--accent-light); }
.feature-title { font-size: 18px; font-weight: 600; }
.feature-body { font-size: 16.5px; color: #c9c6be; line-height: 1.65; text-wrap: pretty; }
.features-close {
  padding: 64px 24px 8px; text-align: center;
  font-size: clamp(22px, 3vw, 30px); font-weight: 600; line-height: 1.35;
  max-width: 640px; margin: 0 auto; text-wrap: pretty;
}
@media (max-width: 560px) {
  .feature-row { grid-template-columns: 1fr; gap: 10px; }
}

/* Dark mode section */
.darkmode {
  padding: 88px 6vw 0; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 18px;
}
.darkmode .shot { margin-top: 22px; box-shadow: 0 24px 70px rgba(20, 18, 14, 0.35); }

/* Privacy */
.privacy {
  background: linear-gradient(180deg, oklch(0.62 0.07 235), oklch(0.5 0.08 235));
  padding: 72px 6vw; margin-top: 88px;
}
.privacy-inner { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.eyebrow-privacy { color: oklch(0.88 0.03 235); }
.privacy h2 { font-size: clamp(24px, 3vw, 34px); color: var(--paper-card); }
.privacy p { font-size: 17px; color: oklch(0.92 0.02 235); line-height: 1.6; text-wrap: pretty; }

/* Support */
.support { padding: 88px 6vw; }
.support-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
#support-form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
#support-form input, #support-form select, #support-form textarea {
  font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 11px;
  border: 1px solid #d3d0c8; background: var(--paper-card); color: var(--ink);
  outline: none; width: 100%;
}
#support-form textarea { resize: vertical; }
#support-form input:focus, #support-form select:focus, #support-form textarea:focus { border-color: var(--accent); }
.form-success {
  background: #e6efe6; border: 1px solid #b9d3b9; color: #2c4a2c;
  border-radius: 14px; padding: 22px 24px; text-align: center; font-size: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline); padding: 28px 6vw;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  max-width: 1200px; width: 100%; margin: 0 auto;
}
.footer-brand { font-family: var(--mono); font-size: 14px; color: var(--faint); }
.footer-copy { font-size: 13px; color: var(--faint); }

/* Animations */
@keyframes nk-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes nk-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.anim-1 { animation: nk-fade-up 0.7s ease both; }
.anim-2 { animation: nk-fade-up 0.7s ease 0.12s both; }
.anim-3 { animation: nk-fade-up 0.7s ease 0.25s both; }
.anim-4 { animation: nk-fade-up 0.7s ease 0.45s both; }
.anim-5 { animation: nk-fade-up 0.7s ease 0.55s both; }
.anim-6 { animation: nk-fade-up 0.7s ease 0.6s both; }
.anim-7 { animation: nk-fade-up 0.7s ease 0.65s both; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-1, .anim-2, .anim-3, .anim-4, .anim-5, .anim-6, .anim-7 { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
}

/* Legal page (privacy.html) */
.brand-link { text-decoration: none; color: inherit; }
.privacy-link { margin-top: 4px; }
.privacy-link a {
  color: var(--paper-card); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: oklch(0.88 0.03 235 / 0.5);
}
.privacy-link a:hover { color: #fff; text-decoration-color: #fff; }

.legal { padding: 56px 6vw 88px; }
.legal-inner { max-width: 660px; margin: 0 auto; }
.legal-title { font-size: clamp(30px, 4vw, 42px); font-weight: 650; letter-spacing: -0.01em; margin: 14px 0 0; }
.legal-updated { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-top: 14px; }
.legal h2 {
  font-size: 19px; font-weight: 650; letter-spacing: 0;
  margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--hairline);
}
.legal p { font-size: 17px; color: var(--muted); line-height: 1.65; margin-top: 12px; text-wrap: pretty; }
.legal p strong { color: var(--ink); }
.footer-links { font-size: 13px; color: var(--faint); }
.footer-links a { color: var(--faint); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
