/* ============================================================
   Lookshelf — marketing site
   Palette + type system shared by index / terms / privacy
   ============================================================ */

:root {
  --bg: #131210;
  --surface: #1d1b18;
  --surface-2: #232019;
  --border: #2f2c26;
  --text: #f5f2e9;
  --secondary: #b8b1a0;
  --muted: #847d6e;
  --accent: #c98a5e;
  --accent-deep: #8a4b2a;
  --accent-bright: #f0d9a8;
  --grad: linear-gradient(97deg, #8a4b2a 0%, #c98a5e 52%, #f0d9a8 100%);
  --pro-bg: #4a3f1e;
  --pro-fg: #eadfb9;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --font-serif: "Newsreader", Georgia, serif;
  --radius: 18px;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip horizontal overflow (hero glow) WITHOUT turning body into a nested
     vertical scroll container — `hidden` on one axis forces the other to auto. */
  overflow-x: clip;
}

::selection {
  background: var(--accent);
  color: #1c120a;
}

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

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(29, 27, 24, 0.6);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(201, 138, 94, 0.8);
  flex: none;
}

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

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }

.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-head .eyebrow { margin-bottom: 22px; }

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
}

.section-head h2 .dim { color: var(--muted); }

.section-head p {
  margin-top: 18px;
  color: var(--secondary);
  font-size: 18px;
  max-width: 560px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #1c120a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -8px rgba(201, 138, 94, 0.5);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 14px 32px -8px rgba(201, 138, 94, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: rgba(245, 242, 233, 0.04);
  transform: translateY(-2px);
}

.btn svg { flex: none; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 18, 16, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(19, 18, 16, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-right: 8px;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--secondary);
  padding: 8px 13px;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(245, 242, 233, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-gh {
  display: inline-flex;
  padding: 8px;
  border-radius: 9px;
  color: var(--secondary);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-gh:hover { color: var(--text); background: rgba(245, 242, 233, 0.05); }

.nav .btn { padding: 10px 18px; font-size: 14px; }

.nav .btn .short { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 40px;
  text-align: center;
  background-image: radial-gradient(rgba(245, 242, 233, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 780px;
  background: radial-gradient(closest-side, rgba(201, 138, 94, 0.11), transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero .eyebrow { margin-bottom: 30px; }

.hero h1 {
  font-size: clamp(44px, 7.4vw, 88px);
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin: 0 auto;
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 620px;
  color: var(--secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   The app mock — centerpiece
   ============================================================ */

.mock-stage {
  position: relative;
  margin: 84px auto 0;
  max-width: 960px;
  perspective: 1700px;
}

.mock-glow {
  position: absolute;
  inset: -8% -6% -20%;
  background: radial-gradient(55% 60% at 50% 42%, rgba(201, 138, 94, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.mock {
  position: relative;
  z-index: 1;
  background: #efede8;
  border-radius: 14px;
  overflow: hidden;
  transform: rotateX(9deg);
  transform-origin: 50% 0%;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 60px -16px rgba(0, 0, 0, 0.55),
    0 90px 140px -40px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.mock-stage:hover .mock { transform: rotateX(3.5deg); }

@media (prefers-reduced-motion: reduce) {
  .mock, .mock-stage:hover .mock { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* titlebar */

.mock-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  background: #dfdbd1;
  border-bottom: 1px solid #d2cdc0;
}

.mock-lights { display: flex; gap: 6px; }

.mock-lights span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-lights .r { background: #ec6a5e; }
.mock-lights .y { background: #f4bf4f; }
.mock-lights .g { background: #61c554; }

.mock-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  color: #6d675b;
  letter-spacing: 0.02em;
}

.mock-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 7px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 7px;
  color: #8a8474;
}

/* body */

.mock-body {
  display: flex;
  height: 424px;
  text-align: left;
}

/* sidebar */

.mock-sidebar {
  width: 23%;
  min-width: 158px;
  background: #e9e6df;
  border-right: 1px solid #dfdbd1;
  padding: 12px 9px;
  overflow: hidden;
}

.mock-label {
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #9a927f;
  padding: 0 7px;
  margin: 10px 0 5px;
}

.mock-label:first-child { margin-top: 0; }

.mock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4.5px 7px;
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 500;
  color: #57524a;
  white-space: nowrap;
  overflow: hidden;
}

.mock-row.active {
  background: rgba(138, 75, 42, 0.13);
  color: #3a2c1e;
}

.mock-badge {
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  border-radius: 4px;
  color: #3f3a30;
  flex: none;
}

.mock-badge.md   { background: #ead9ae; }
.mock-badge.html { background: #bcdcea; }
.mock-badge.jsx  { background: #dcc6ec; }
.mock-badge.pdf  { background: #f0cabb; }
.mock-badge.img  { background: #cfe3c8; }

.mock-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 7px; }

.mock-tag {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: #7a7364;
  border: 1px solid #d6d1c4;
  border-radius: 999px;
  padding: 2px 6px;
  background: #efede8;
}

/* content column */

.mock-content {
  flex: 1;
  padding: 22px 26px;
  overflow: hidden;
  background: #efede8;
}

.mock-doc-title {
  font-size: 14px;
  font-weight: 700;
  color: #28241c;
  letter-spacing: -0.01em;
}

.mock-doc-meta {
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: #9a927f;
  margin: 6px 0 16px;
}

.mline {
  height: 5px;
  border-radius: 3px;
  background: #d8d2c4;
  margin-bottom: 7px;
}

.mline.dark { background: #c9c2b1; }
.mline.gap { background: transparent; height: 6px; }

.mock-quote {
  border-left: 2px solid #c98a5e;
  padding: 2px 0 2px 10px;
  margin: 10px 0 12px;
}

.mock-quote .mline { background: #e0dacb; }

.mock-code {
  background: #26231d;
  border-radius: 7px;
  padding: 10px 12px;
  margin: 12px 0;
  width: 78%;
}

.mock-code i {
  display: block;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 5px;
}

.mock-code i:last-child { margin-bottom: 0; }

.mock-code .c1 { width: 62%; background: #a9e8bb; opacity: 0.85; }
.mock-code .c2 { width: 78%; background: #bcdcea; opacity: 0.8; }
.mock-code .c3 { width: 46%; background: #e8d5ae; opacity: 0.8; }
.mock-code .c4 { width: 68%; background: #dcc6ec; opacity: 0.75; }

/* info panel */

.mock-info {
  width: 20.5%;
  min-width: 148px;
  background: #e9e6df;
  border-left: 1px solid #dfdbd1;
  padding: 14px 12px;
  overflow: hidden;
}

.mock-thumb {
  background: #faf7f1;
  border: 1px solid #e0dbce;
  border-radius: 7px;
  aspect-ratio: 4 / 3;
  padding: 12px 10px;
  margin-bottom: 12px;
}

.mock-thumb i {
  display: block;
  height: 3.5px;
  border-radius: 2px;
  background: #ddd6c6;
  margin-bottom: 5px;
}

.mock-thumb i.t { width: 55%; height: 5px; background: #cfc7b3; margin-bottom: 7px; }
.mock-thumb i:nth-child(3) { width: 92%; }
.mock-thumb i:nth-child(4) { width: 84%; }
.mock-thumb i:nth-child(5) { width: 88%; }
.mock-thumb i:nth-child(6) { width: 60%; }

.mock-kv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-kv b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: #9a927f;
}

.mock-kv i {
  display: block;
  height: 4.5px;
  border-radius: 2px;
  background: #d6d0c1;
}

.mock-kv i.w1 { width: 44px; }
.mock-kv i.w2 { width: 30px; }
.mock-kv i.w3 { width: 52px; }

.mock-info .mock-tags { padding: 4px 0 0; }
.mock-info .mock-label { padding: 0; margin: 12px 0 6px; }

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 60% at 50% -20%, rgba(245, 242, 233, 0.055), transparent 70%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #3d3930;
}

.card.span-2 { grid-column: span 2; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(201, 138, 94, 0.1);
  border: 1px solid rgba(201, 138, 94, 0.22);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}

.card p {
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* sandbox mini-visual */

.sandbox-visual {
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  align-items: center;
  gap: 0;
  margin-top: 22px;
}

.sandbox-code {
  background: #16140f;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.sandbox-code i {
  display: block;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.sandbox-code i:last-child { margin-bottom: 0; }
.sandbox-code .a { width: 58%; background: #c98a5e; opacity: 0.9; }
.sandbox-code .b { width: 82%; background: #847d6e; }
.sandbox-code .c { width: 66%; background: #847d6e; opacity: 0.7; }
.sandbox-code .d { width: 40%; background: #f0d9a8; opacity: 0.8; }

.sandbox-arrow {
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.sandbox-preview {
  background: #f5f2e9;
  border-radius: 10px;
  padding: 12px;
}

.sandbox-preview .bar { height: 7px; border-radius: 4px; background: #c98a5e; width: 55%; margin-bottom: 7px; }
.sandbox-preview .dot-row { display: flex; gap: 5px; }
.sandbox-preview .dot-row i { width: 16px; height: 16px; border-radius: 5px; background: #dfd8c8; display: block; }
.sandbox-preview .dot-row i:first-child { background: #8a4b2a; }

/* theme swatches */

.theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  padding: 6px 10px 6px 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(245, 242, 233, 0.12);
}

.theme-chip .aa {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

/* ---------- pull quote ---------- */

.quote-section {
  padding: 40px 0 110px;
  text-align: center;
}

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 21ch;
  margin: 0 auto;
  color: var(--text);
}

.pull-quote em {
  font-style: italic;
  color: var(--accent-bright);
}

.quote-attr {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- security ---------- */

.security-card {
  background: linear-gradient(180deg, #191713, #15130f);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.security-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(201, 138, 94, 0.09), transparent);
  pointer-events: none;
}

.security-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.security-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 0.08em;
}

.security-title .hollow { color: var(--accent); }

.security-sub {
  color: var(--secondary);
  max-width: 420px;
  font-size: 15.5px;
}

.sec-rows { border-top: 1px solid var(--border); }

.sec-row {
  display: grid;
  grid-template-columns: 84px 260px 1fr;
  gap: 20px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.sec-num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 2px;
}

.sec-row h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sec-row p {
  color: var(--secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

.durability {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.dur-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pro-fg);
  background: rgba(74, 63, 30, 0.35);
  border: 1px solid rgba(234, 223, 185, 0.18);
  border-radius: 999px;
  padding: 9px 16px;
}

.dur-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.security-also {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.security-also b { color: var(--secondary); font-weight: 500; }

/* ---------- open source ---------- */

.os-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.os-copy h2 { font-size: clamp(30px, 4vw, 44px); margin: 22px 0 18px; }

.os-copy p {
  color: var(--secondary);
  font-size: 17px;
  margin-bottom: 16px;
  max-width: 460px;
}

.os-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* terminal */

.terminal {
  background: #0e0d0b;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #17150f;
  border-bottom: 1px solid var(--border);
}

.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar .dot.r { background: #ec6a5e; }
.terminal-bar .dot.y { background: #f4bf4f; }
.terminal-bar .dot.g { background: #61c554; }

.terminal-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
}

.terminal-copy {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.terminal-copy:hover { color: var(--text); border-color: var(--muted); }

.terminal-body {
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
}

.terminal-body .prompt { color: var(--accent); user-select: none; }
.terminal-body .cmd { color: var(--text); }
.terminal-body .amp { color: var(--muted); }
.terminal-body .cmt { color: var(--muted); }
.terminal-body .indent { padding-left: 2ch; display: block; }

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent-bright);
  vertical-align: -2px;
  margin-left: 4px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(80% 50% at 50% -10%, rgba(245, 242, 233, 0.05), transparent 70%);
  pointer-events: none;
}

.price-card.featured {
  border-color: rgba(201, 138, 94, 0.45);
  background: linear-gradient(180deg, #211d16, #1b1813);
}

.price-card.featured::before {
  background: radial-gradient(80% 50% at 50% -10%, rgba(201, 138, 94, 0.14), transparent 70%);
}

.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.plan-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

.pro-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pro-fg);
  background: var(--pro-bg);
  border-radius: 999px;
  padding: 4px 10px;
}

.plan-tagline { color: var(--muted); font-size: 14.5px; }

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 8px;
}

.price {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-per {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-list {
  list-style: none;
  margin: 22px 0 30px;
  display: grid;
  gap: 12px;
}

.plan-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--secondary);
  font-size: 15.5px;
}

.plan-list li::before {
  content: "✓";
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  flex: none;
}

.price-card .btn { margin-top: auto; width: 100%; }

.free-tier-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.pricing-footnote {
  margin-top: 34px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover { color: var(--accent-bright); }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-body {
  padding: 0 4px 26px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
}

.faq-body a { color: var(--accent-bright); border-bottom: 1px solid rgba(240, 217, 168, 0.3); }

/* ---------- final cta ---------- */

.final-cta {
  text-align: center;
  padding: 40px 0 120px;
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 16ch;
  margin: 0 auto 34px;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand img { width: 24px; height: 24px; border-radius: 6px; opacity: 0.9; }

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--secondary);
}

.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

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

@media (max-width: 1020px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .card.span-2 { grid-column: span 2; }
  .sec-row { grid-template-columns: 64px 1fr; }
  .sec-row p { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .os-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .section { padding: 84px 0; }
  .mock-info { display: none; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: span 1; }
  .mock-body { height: 360px; }
  .mock-sidebar { min-width: 132px; }
  .hero { padding-top: 72px; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .sec-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .sec-row p { grid-column: auto; }
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 440px) {
  .container { padding: 0 20px; }
  .mock-sidebar { min-width: 112px; }
  .mock-row { font-size: 7.5px; gap: 4px; }
  .mock-content { padding: 16px 16px; }
  .terminal-body { font-size: 11.5px; }
  .eyebrow { font-size: 9.5px; padding: 6px 11px; }
}
