/* NexusAIDocs — design system
   Single stylesheet, no build step. */

:root {
  /* Dark slate + blue/cyan/gold — matched to new logo */
  --ink: #f8fafc;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --paper: #0f172a;
  --paper-2: #1e293b;
  --line: #334155;
  --line-2: #475569;
  --accent: #22d3ee;          /* cyan glow from logo */
  --accent-ink: #0891b2;      /* deeper blue-cyan */
  --accent-soft: rgba(34,211,238,.1);
  --gold: #fbbf24;            /* circuit gold */
  --good: #6ee7b7;
  --danger: #fda4af;
  --bg-deep: #020617;         /* near-black for hero strips */

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20, 18, 15, .06), 0 1px 1px rgba(20, 18, 15, .04);
  --shadow: 0 2px 4px rgba(20, 18, 15, .05), 0 8px 24px -8px rgba(20, 18, 15, .14);
  --shadow-lg: 0 4px 8px rgba(20, 18, 15, .06), 0 24px 56px -16px rgba(20, 18, 15, .22);

  --wrap: 1180px;
  --gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

small { font-size: .86rem; }
strong { font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

code, kbd { font-family: var(--mono); font-size: .87em; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 .85rem;
}
.muted { color: var(--ink-3); }
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.center { text-align: center; }
.balance { text-wrap: balance; }

.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

/* ---------- layout ---------- */
section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); }
section.tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: .85rem 1.4rem; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s ease-out, box-shadow .15s;
  white-space: nowrap; min-height: 44px;
}
.btn:enabled:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: #082f3b; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #67e8f9; color: #082f3b; }
.btn-primary .muted, .btn-primary:hover .muted { color: #164e63; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--paper-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); padding-inline: .7rem; }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn-lg { font-size: 1.02rem; padding: 1.05rem 1.9rem; border-radius: var(--r); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px;
}
.brand {
  font-family: var(--serif); font-size: 1.22rem; font-weight: 650;
  letter-spacing: -.02em; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
}
.brand-text { display: none; }
.brand:hover { color: var(--ink); }

/* Enlarge logo size */
.site-head .brand img {
  height: 64px; /* Enlarged further to be noticeable */
  width: auto;
  border-radius: 6px;
}

@media (max-width: 780px) {
  .site-head .brand img {
    height: 38px; /* Adjusted for mobile */
  }
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 7px; flex: none;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 650; font-size: .95rem;
}
.site-nav { display: flex; gap: .35rem; margin-left: 20px; align-items: center; }
.site-nav a {
  padding: .5rem .7rem; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 620; }
.nav-cta { margin-left: .35rem; }

.burger {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: .5rem .6rem; cursor: pointer; color: var(--ink);
}
@media (max-width: 780px) {
  .burger { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem 20px 1rem; box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .7rem .5rem; }
  .nav-cta { margin: .4rem 0 0; }
  .site-nav .btn { width: 100%; }
}

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: .86rem; text-align: center; padding: .55rem 20px;
}
.announce a { color: #f0c98a; }

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(3rem, 1.5rem + 6vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 88% 0%, rgba(180, 71, 31, .09), transparent 70%),
    radial-gradient(50% 45% at 5% 100%, rgba(168, 128, 29, .10), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .4em; }
.hero .lede { max-width: 46ch; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.9rem; }

.hero-proof {
  display: flex; gap: 2.2rem; flex-wrap: wrap;
  margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero-proof div { min-width: 90px; }
.hero-proof dt {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 650;
  letter-spacing: -.02em; line-height: 1;
}
.hero-proof dd {
  margin: .3rem 0 0; font-size: .82rem; color: var(--ink-3);
  line-height: 1.35; max-width: 15ch;
}

/* hero preview card */
.preview {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.preview-bar span { margin-left: .4rem; font-size: .78rem; color: var(--ink-3); font-family: var(--mono); }
.preview-body { padding: 1.1rem; display: grid; gap: .7rem; }
.preview-row { display: flex; align-items: center; gap: .8rem; }
.preview-ico {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid #f2ddd1;
}
.preview-row strong { display: block; font-size: .92rem; line-height: 1.25; }
.preview-row em { font-style: normal; font-size: .78rem; color: var(--ink-3); font-family: var(--mono); }

/* ---------- trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 1.15rem;
}
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; justify-content: center;
  font-size: .88rem; color: var(--ink-2); font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--good); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21zm-1 15.2-4.3-4.3 1.7-1.7 2.6 2.6 5.9-5.9 1.7 1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21zm-1 15.2-4.3-4.3 1.7-1.7 2.6 2.6 5.9-5.9 1.7 1.7z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- cards ---------- */
.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.4rem;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card-hover:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .28rem .55rem; border-radius: 100px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
  align-self: flex-start;
}
.badge-accent { background: var(--accent-soft); color: var(--accent-ink); border-color: #f2ddd1; }
.badge-good { background: #eaf3ec; color: var(--good); border-color: #cfe3d4; }
.badge-gold { background: #f8f0da; color: var(--gold); border-color: #ebdfba; }

/* ---------- product card ---------- */
.products {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pcard {
  background: #0f172a; border: 1px solid rgba(255,255,255,.10); border-radius: 1.25rem;
  overflow: hidden; display: flex; flex-direction: column; align-items: stretch;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
}
.pcard:hover { border-color: rgba(34,211,238,.45); box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(34,211,238,.15); transform: translateY(-4px); }
.pcard-cover {
  aspect-ratio: 8 / 5; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08);
}
.pcard-cover iframe { width:100%; height:100%; border:0; display:block; }
.pcard-cover .fmt { position: relative; z-index: 2; align-self: flex-start; margin-bottom: .35rem; }
.pcard-cover .fmt {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .6rem; border-radius: 100px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(20,18,15,.14);
}
.pcard-cover .cover-title {
  position: relative; z-index: 2; font-family: var(--serif); font-weight: 650; font-size: 1.15rem;
  line-height: 1.15; color: #fff; text-wrap: balance; text-shadow: 0 2px 14px rgba(20,18,15,.35);
}
.pcard-cover .cover-sub {
  position: relative; z-index: 2; font-size: .82rem; color: rgba(255,255,255,.9); line-height: 1.35; max-width: 92%;
  margin-top: .15rem; text-shadow: 0 1px 6px rgba(20,18,15,.3);
}
.pcard-cover .cover-tag {
  position: relative; z-index: 2; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-top: .35rem; background: rgba(255,255,255,.12); padding: .2rem .45rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(2px);
}
.pcard-cover iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  pointer-events: none; transform: scale(.6); transform-origin: top left;
}
.pcard-cover .cover-sheet::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 6px;
  border-radius: 2px; background: var(--ink); opacity: .14;
  box-shadow: 0 13px 0 rgba(20, 18, 15, .10), 0 26px 0 rgba(20, 18, 15, .08),
              0 39px 0 rgba(20, 18, 15, .06);
}
.pcard-cover .cover-icon {
  position: absolute; right: 8px; bottom: 6px; width: 34px; height: 34px;
  color: var(--ink); opacity: .48;
}
.pcard-cover .cover-icon svg { width: 100%; height: 100%; }
.pcard-body {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.25rem 1.25rem 1.1rem; flex: 1; justify-content: space-between;
}
.pcard-body h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-desc { font-family: var(--sans); font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .75rem; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.pcard-meta .badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); padding: .22rem .55rem; border-radius: 100px; font-size: .7rem; font-weight: 600; }
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem 1.25rem; gap: .75rem;
}
.price { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: #f4d03f; letter-spacing: -.02em; }
.price-was { color: rgba(255,255,255,.35); text-decoration: line-through; font-size: .8rem; margin-right: .25rem; font-family: var(--sans); }

/* cover thumbnails — real file previews instead of gradient stickers */
.pcard-cover { background-size: cover; background-position: center; }
.pcard-cover.cv-1 { background-image: url("../img/preview-onboarding.html"); }
.pcard-cover.cv-2 { background-image: url("../img/preview-cashflow.html"); }
.pcard-cover.cv-3 { background-image: url("../img/preview-proposal.html"); }
.pcard-cover.cv-4 { background-image: url("../img/preview-sop.html"); }

/* ---------- value props ---------- */
.prop { padding: 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.prop-ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); margin-bottom: 1rem; font-size: 1.05rem;
}
.prop h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.prop p { font-size: .92rem; color: var(--ink-3); margin: 0; line-height: 1.55; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--gap); }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: .8rem; font-weight: 700;
  color: var(--accent); letter-spacing: .06em;
}
.step::after {
  content: ""; position: absolute; top: .55rem; left: 2.1rem; right: -.6rem;
  height: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--ink-3); margin: 0; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.crumbs span { margin: 0 .45rem; opacity: .5; }

.pdp h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.85rem); margin-bottom: .5rem; }
.pdp-price-row { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0; }

.buybox {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky; top: 92px;
}
@media (max-width: 900px) { .buybox { position: static; } }
.buybox .price { font-size: 2rem; }
.buybox .btn { margin-top: 1.1rem; }
.buybox ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; font-size: .89rem; }
.buybox ul li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; color: var(--ink-2); }
.buybox ul svg { margin-top: 3px; color: var(--good); }
.buybox-note { font-size: .8rem; color: var(--ink-3); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.file-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.file-list li {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.file-list li:last-child { border-bottom: 0; }
.file-ext {
  font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .06em;
  padding: .25rem .45rem; border-radius: 4px; flex: none;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
  min-width: 58px; text-align: center;
}
.file-size { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); flex: none; }

.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec tbody tr:first-child th, .spec tbody tr:first-child td { text-align: left; padding: .85rem .6rem; border-bottom: 2px solid var(--line); font-weight: 600; color: var(--ink-2); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); }
.spec tbody th, .spec tbody td { padding: .8rem .6rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec tbody th { font-weight: 500; width: 32%; color: var(--ink-2); white-space: nowrap; }
.spec tbody td { color: var(--ink); }
.spec tbody tr:hover { background: rgba(34,211,238,.04); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: .75rem; align-items: start; color: var(--ink-2); }
.checklist svg { margin-top: 4px; color: var(--good); flex: none; }
.checklist strong { color: var(--ink); }

/* accordion */
details.acc {
  border-bottom: 1px solid var(--line);
}
details.acc:first-of-type { border-top: 1px solid var(--line); }
details.acc summary {
  cursor: pointer; padding: 1.05rem 0; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.3rem; font-weight: 400;
  color: var(--ink-3); transition: transform .15s; flex: none;
}
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding-bottom: 1.2rem; color: var(--ink-2); font-size: .95rem; }
details.acc .acc-body > :first-child { margin-top: 0; }

/* ---------- testimonials ---------- */
.quote { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.06rem; line-height: 1.45; }
.quote figcaption { display: flex; align-items: center; gap: .75rem; font-size: .86rem; color: var(--ink-3); }
.quote .avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--ink); color: var(--paper);
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-lg); padding: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  text-align: center;
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #c9c1b2; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-primary:hover { background: var(--accent-ink); }
.cta-band .btn-secondary { background: transparent; color: var(--paper); border-color: #4a443a; }
.cta-band .btn-secondary:hover { background: #241f19; color: #fff; }

/* ---------- checkout / notices ---------- */
.checkout-note {
  display: grid; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3);
}
.checkout-note ol { margin: 0; padding-left: 1.2rem; }
.checkout-note li { margin-bottom: .35rem; }

.status-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 4px;
  background: #fbeee7; color: #8a3515; border: 1px solid #f2ddd1;
}
.status-pill.is-ready { background: #eaf3ec; color: var(--good); border-color: #cfe3d4; }

/* ---------- forms ---------- */
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: .7rem .85rem; width: 100%;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: .85rem; color: var(--ink-3); margin-top: .8rem; }
.form-msg { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r); font-size: .92rem; display: none; }
.form-msg[data-state="ok"] { display: block; background: #eaf3ec; border: 1px solid #cfe3d4; color: var(--good); }
.form-msg[data-state="err"] { display: block; background: #fbeee7; border: 1px solid #f2ddd1; color: var(--accent-ink); }

/* ---------- notice / callout ---------- */
.notice {
  border: 1px solid #ebdfba; background: #fdf8e8;
  border-radius: var(--r); padding: 1rem 1.15rem; font-size: .9rem;
  color: #6b5411;
  display: block;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
.notice > p,
.notice > div,
.notice > strong,
.notice > a { white-space: normal; word-break: normal; overflow-wrap: break-word; }
.notice svg { margin-top: 3px; }
.notice a { color: #6b5411; font-weight: 600; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 3rem 2rem;
  margin-top: 2rem;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot-about p { font-size: .92rem; color: var(--ink-3); max-width: 34ch; }
.foot-bottom {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--ink-3);
}

/* ---------- misc utilities ---------- */
.divider-note {
  text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.3rem; border-radius: 100px; font-size: .9rem;
  box-shadow: var(--shadow-lg); z-index: 300; transition: transform .28s cubic-bezier(.2,.9,.3,1.2);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast[data-show="true"] { transform: translate(-50%, 0); }

/* ---------- download page ---------- */
.download-panel {
  max-width: 720px;
  margin-inline: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}
.download-panel .file-ext { font-family: var(--mono); font-size: .66rem; font-weight: 700; padding: .25rem .45rem; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--line); min-width: 58px; text-align: center; flex: none; }
.download-panel .file-list li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.download-panel .file-list li:last-child { border-bottom: 0; }
.download-panel .file-size { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--accent-ink); text-decoration: none; flex: none; }
.download-panel .file-size:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 620px) {
  .file-list li { flex-wrap: wrap; gap: .55rem; }
  .file-list li > span:nth-child(2) { min-width: 0; flex: 1; overflow-wrap: anywhere; }
  .file-list .file-size { margin-left: auto; }
  .file-preview-link { margin-left: 0; }
  .hero-actions .btn { width: 100%; }
  .spec { display: block; overflow-x: auto; }
}

@media print {
  .site-head, .site-foot, .announce, .buybox, .hero::before { display: none; }
  body { background: var(--paper-2); }
}

/* Preview link + global right-click protection */
.file-preview-link { display: inline-block; margin-left: .4rem; font-size: .78rem; font-weight: 600; color: var(--accent); text-decoration: none; border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 6px; background: var(--accent-soft); transition: background .12s; }
.file-preview-link:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* Content remains selectable and accessible to assistive technology. */
.qv-badge { position:absolute; bottom:.7rem; left:.7rem; background:rgba(20,18,15,.85); color:#fff; font-family:var(--mono); font-size:.65rem; letter-spacing:.08em; text-transform:uppercase; padding:.3rem .7rem; border-radius:100px; border:1px solid rgba(255,255,255,.15); opacity:0; transition:opacity .2s; pointer-events:none; }
.pcard-cover:hover .qv-badge { opacity:1; }
