/* Eightish — marketing site. Brand: deep green / antique gold, Fraunces + Inter. */
:root {
  --green-950: #0F1611;
  --green-900: #131A14;
  --green-850: #18201A;
  --green-800: #1C2620;
  --line: rgba(208, 169, 78, 0.14);
  --line-strong: rgba(208, 169, 78, 0.32);
  --gold: #D0A94E;
  --gold-bright: #E2C079;
  --cream: #EFEDE4;
  --muted: #A8AFA3;
  --faint: #79816F;
  --risk: #C98B8B;
  --ok: #8FBF9A;
  --max: 1240px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--green-950);
  color: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow .tick { color: var(--faint); font-variant-numeric: tabular-nums; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 42em; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--green-950) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { height: 26px; }
.brand-word {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.4rem;
  color: var(--gold); letter-spacing: -0.015em; line-height: 1;
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--cream); font-size: 0.95rem; }
.nav a:hover { color: var(--gold-bright); }
.nav a.active { color: var(--gold); }
.btn {
  display: inline-block; background: var(--gold); color: #241C08; font-weight: 600;
  padding: 0.72rem 1.4rem; border-radius: 10px; font-size: 0.98rem; border: 0; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold-bright); color: #241C08; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn.small { padding: 0.5rem 1rem; font-size: 0.9rem; }
.nav-toggle { display: none; }

/* Page scaffolding */
.page-hero { padding: 92px 0 48px; border-bottom: 1px solid var(--line); }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Cards & grids */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--green-850), var(--green-900));
  border: 1px solid var(--line); border-radius: 16px; padding: 26px;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 0.9rem; font-size: 0.92rem; }

/* Screenshot frames */
.shot {
  border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4);
  background: var(--green-900);
}
/* height:auto is load-bearing — the markup carries width/height attributes to
   reserve space and stop layout shift, and without this the height attribute
   wins and the screenshot is stretched vertically. */
.shot img { width: 100%; height: auto; display: block; }
/* full-width screenshots on feature pages get to breathe past the text measure */
.section > .wrap > .shot { max-width: none; }
.shot picture { display: block; }
.shot-caption { font-size: 0.85rem; color: var(--faint); margin-top: 0.8rem; }

/* Feature page split */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 52px; align-items: center; }
.split.flip { grid-template-columns: 8fr 4fr; }

/* Tables */
table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
table.compare td:first-child { color: var(--cream); font-weight: 500; }
table.compare td { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, var(--green-850), var(--green-900));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--gold); box-shadow: 0 0 60px rgba(208,169,78,0.10); }
.plan .name { font-family: "Fraunces", serif; font-size: 1.4rem; }
.plan .band { color: var(--faint); font-size: 0.85rem; margin-top: 2px; }
.plan .price { font-family: "Fraunces", serif; font-size: 2.5rem; margin: 18px 0 2px; }
.plan .price span { font-family: "Inter", sans-serif; font-size: 0.9rem; color: var(--muted); }
.plan ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 0.93rem; border-bottom: 1px solid rgba(208,169,78,0.07); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); }
.plan li.no::before { content: "—"; color: var(--faint); }
.plan .btn { text-align: center; }
.tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-top: 10px; max-width: 46em; }

/* CTA band */
.cta-band { text-align: center; padding: 88px 24px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(208,169,78,0.10), transparent 60%); }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.6rem; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 22px; color: var(--faint); font-size: 0.82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--green-900); border-bottom: 1px solid var(--line); flex-direction: column; padding: 18px 24px; align-items: flex-start; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; background: none; border: 1px solid var(--line-strong); color: var(--cream); border-radius: 8px; padding: 6px 12px; font-size: 0.9rem; cursor: pointer; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Breadcrumbs — orientation on two-level pages */
.crumbs { padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; padding: 0; font-size: 0.8rem; letter-spacing: 0.06em; }
.crumbs li { display: flex; align-items: baseline; gap: 8px; color: var(--faint); }
.crumbs li + li::before { content: "/"; color: var(--faint); opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--gold-bright); border-bottom-color: currentColor; }
.crumbs [aria-current="page"] { color: var(--cream); }
.crumbs + .page-hero { padding-top: 34px; }

/* Screenshots keep their own 1484x812 ratio; never force a box on them. */
.shot img, .shot picture { display: block; width: 100%; height: auto; }
.shot picture img { aspect-ratio: 1484 / 812; object-fit: contain; }
