/* QuickNotes Obscura — Landing Page Styles
   Bair Development palette (green + brass); placeholder chips keep the icon's prism blue.
   Dark only, to match the rest of bair.dev.
   System fonts only: no third-party requests from this site. */

:root {
  --bg:         #2E3E31;
  --bg-glow:    #3b5244;
  --surface:    #364b3c;
  --ink:        #F7EBDF;
  --muted:      #D5CBB3;
  --accent:     #D5A873;
  --accent-ink: #2B200F;
  --ring:       rgba(213,168,115,.5);
  --border:     rgba(255,255,255,.09);
  --card-a:     rgba(255,255,255,.05);
  --card-b:     rgba(255,255,255,.015);
  --inset:      rgba(0,0,0,.28);
  --shadow:     0 10px 30px rgba(0,0,0,.35);
  --radius:     16px;
  --ph-bg:      rgba(169,183,255,.18);
  --ph-ink:     #C9D2FF;
  --ok:         #7FE0B0;
}


*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 20% -10%, var(--bg-glow) 0%, var(--bg) 55%), var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 24px 20px; }

/* Header */
header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); flex-shrink: 0; display: block;
}
.logo img { width: 100%; height: 100%; display: block; }
.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand .kicker {
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.topnav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.topnav a {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--inset); color: var(--muted); font-size: 14px;
  transition: color .15s, border-color .15s;
}
.topnav a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .06s ease, box-shadow .15s ease, opacity .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); opacity: 1; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost   { border-color: var(--border); color: var(--ink); background: var(--inset); }
.btn.subtle  { border-color: var(--ring); color: var(--accent); background: transparent; font-size: 14px; }
.btn.subtle[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--ring); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center; margin-bottom: 28px;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px;
  border: 1px solid var(--ring); border-radius: 999px; font-size: 12px;
  color: var(--muted); margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase;
}
.hero-copy h1 { font-size: 38px; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.3px; }
.hero-copy .lede { font-size: 17px; color: var(--muted); margin: 0 0 22px; line-height: 1.55; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.note a { color: var(--muted); text-decoration: underline; }

/* Demo card */
.demo-card { display: flex; flex-direction: column; gap: 16px; }
.demo-card:hover { transform: none; }
.demo-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.demo-text {
  padding: 20px; background: var(--inset); border-radius: 12px;
  border: 1px solid var(--border); font-size: 15px; line-height: 1.8;
  min-height: 190px;
}
.ph {
  display: inline-block; padding: 0 7px; border-radius: 6px;
  background: var(--ph-bg); color: var(--ph-ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px;
}
.demo-text .restored { color: var(--ok); font-weight: 600; }
.demo-caption { font-size: 13px; color: var(--muted); text-align: center; margin: 0; min-height: 40px; }
.demo-stats { display: flex; gap: 12px; }
.stat {
  flex: 1; text-align: center; padding: 12px 8px; background: var(--inset);
  border-radius: 10px; border: 1px solid var(--border);
}
.stat-val { font-size: 20px; font-weight: 700; color: var(--accent); display: block; line-height: 1; }
.stat-label {
  font-size: 11px; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-top: 6px; display: block;
}

/* Promise bar */
.promise-bar {
  border-left: 4px solid var(--accent); padding: 16px 20px;
  background: var(--ph-bg); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px;
}
.promise-bar p { margin: 0; font-size: 15px; color: var(--muted); }
.promise-bar strong { color: var(--accent); }

/* Sections */
.section { margin-bottom: 28px; }
.section-title { font-size: 22px; margin: 0 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { display: flex; flex-direction: column; gap: 8px; }
.feature-icon { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.feature-card h3 { margin: 0; font-size: 16px; }
.feature-card p  { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Steps */
.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 52px; }
.step-card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 18px; left: 22px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}

/* Formats */
.formats-card { text-align: center; }
.formats-card:hover { transform: none; }
.formats-card h3 { margin: 0 0 14px; font-size: 18px; }
.format-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--inset); font-size: 13px; font-weight: 600; letter-spacing: .04em;
}

/* Footer */
footer {
  margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* Privacy page */
.prose h1 { font-size: 30px; margin: 0 0 6px; }
.prose .updated { color: var(--muted); font-style: italic; margin: 0 0 24px; font-size: 14px; }
.prose .card:hover { transform: none; border-color: var(--border); }
.prose h2 { font-size: 18px; margin: 24px 0 8px; color: var(--accent); }
.prose h2:first-child { margin-top: 0; }
.prose p  { margin: 0 0 12px; color: var(--muted); line-height: 1.65; }
.prose ul { margin: 0 0 12px; padding-left: 22px; color: var(--muted); }
.prose li { margin-bottom: 6px; line-height: 1.55; }
.prose strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 820px) {
  .hero   { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-copy h1    { font-size: 30px; }
  header           { flex-direction: column; align-items: flex-start; }
}
