/* Fonts: Cormorant Garamond (headings) and Inter (text), both SIL Open Font Licence, served from this site (fonts/) so no visitor data goes to Google */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url(fonts/cormorant-600-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #1e1915;
  --bg-deep: #0a0807;
  --panel: #2a231d;
  --line: #3d3329;
  --text: #e9e2d8;
  --muted: #a99c8c;
  --gold: #d9a552;
  --gold-light: #e4b465;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%) fixed;
  color: var(--text);
  font: 17px/1.6 Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--gold-light); }
h1, h2, h3, .brand span { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-style: italic; line-height: 1.15; margin: 0 0 .5em; color: var(--gold-light); }
h2 { font-size: 2.3rem; color: var(--gold); margin: 0 0 1em; }
h3 { font-size: 1.4rem; margin: 0 0 .4em; color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem max(16px, 4vw);
  background: rgba(10, 8, 7, .92);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--gold); font-size: 1.55rem; }
.brand em { font-style: normal; color: var(--gold-light); }
nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--gold-light); }

main > section { padding: 4.5rem max(16px, 6vw); max-width: 1300px; margin: 0 auto; }

.hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.hero h1 { margin-top: 0; }
.lead { font-size: 1.1rem; color: var(--text); }
.small { color: var(--muted); font-size: .9rem; }
.actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; max-width: 100%; gap: .8rem; margin: 1.6rem 0 .8rem; }
.actions .btn { text-align: center; white-space: nowrap; }
@media (max-width: 420px) { .actions { grid-auto-flow: row; width: auto; } }
.btn {
  display: inline-block; padding: .7rem 1.3rem; border-radius: 6px;
  border: 1px solid var(--gold); color: var(--gold-light); text-decoration: none; font-weight: 600;
}
.btn.primary { background: var(--gold); color: var(--bg-deep); }
.btn:hover { background: var(--gold-light); color: var(--bg-deep); }

figure { margin: 0; }
figure img { border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
figcaption { color: var(--muted); font-size: .85rem; margin-top: .6rem; }

.editions article {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem;
}

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 2rem; }
.shots img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; width: 100%; }

.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; max-width: 760px; }
.badge { display: inline-block; margin: .4rem 0 0; padding: .2rem .7rem; border-radius: 99px; border: 1px solid var(--gold); color: var(--gold-light); font-size: .85rem; }

.contact p { font-size: 1.1rem; }

footer { border-top: 1px solid var(--line); padding: 2rem max(16px, 6vw); color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 1.2rem; }
  /* Phone order: headline, slideshow, then the intro text and buttons */
  .hero-text { display: contents; }
  .hero h1 { order: 1; margin-bottom: 0; }
  .slideshow { order: 2; margin-bottom: 2.6rem; }
  .hero .lead, .hero .actions, .hero .small { order: 3; }
  .hero .lead { margin: 0; }
  .hero .actions { margin: .4rem 0 0; }
}
@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; }
  nav { display: none; }
  main > section { padding: 3rem 16px; }
}

.credit { color: var(--muted); font-size: .9rem; margin-top: 2rem; }

.rights-grid strong { display: block; color: var(--gold-light); margin-bottom: .2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Footer links and legal pages */
.legal-links { margin-top: .6rem; }
footer a { color: var(--gold); }
.legal { max-width: 820px; margin: 0 auto; padding: 3rem 16px 4rem; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.3rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li, .legal dd { color: #d6cdc1; }
.legal li { margin-bottom: .4rem; }
.legal dt { color: var(--gold-light); font-weight: 600; margin-top: .8rem; }
.legal dd { margin: .2rem 0 0 1.2rem; }
.legal section { scroll-margin-top: 80px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.4rem; margin: 1.6rem 0; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc a { text-decoration: none; }
nav a[aria-current] { color: var(--gold-light); }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.legal-page nav { display: flex !important; }
main.legal > section { padding: 0; max-width: none; }
.legal li ul { margin-top: .4rem; }

/* Hero slideshow: slides cross-fade; the frame keeps the first slide's 16:9 shape */
.slideshow { position: relative; aspect-ratio: 16 / 9; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; pointer-events: none; }
.slide-frame { position: absolute; inset: 0; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.slide.active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: contain; background: #0a0807; border: 0; border-radius: 0; box-shadow: none; }
.slide figcaption { position: absolute; left: 0; right: 0; top: 100%; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
  background: rgba(10,8,7,.7); color: var(--gold-light); font-size: 1.6rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .3s, background .2s;
}
.slideshow:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: var(--gold); color: var(--bg-deep); }
.prev { left: 12px; } .next { right: 12px; }
.dots { position: absolute; right: 0; top: calc(100% + .55rem); display: flex; gap: .5rem; align-items: center; }
.dots .pause { width: 22px; height: 22px; margin-left: .5rem; border-radius: 50%; border: 0; background: transparent; color: var(--gold-light); font-size: .6rem; line-height: 1; display: grid; place-items: center; }
.dots .pause:hover { background: var(--gold); color: var(--bg-deep); }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; }
.dots button.on { background: var(--gold); }
.slide figcaption { padding-right: 8rem; }
@media (hover: none) { .slide-nav { opacity: 1; } }
.wip { margin: 2.4rem 0 0; padding: .8rem 1.1rem; border-left: 3px solid var(--gold); background: var(--panel); border-radius: 0 6px 6px 0; color: #d6cdc1; font-size: .95rem; }
.wip strong { color: var(--gold-light); }
.wip + .credit { margin-top: 1rem; }
/* Tighter gap between the hero and the first section */
main > section.hero { padding-bottom: 2.5rem; }
main > section.features { padding-top: 2.5rem; }
@media (min-width: 1101px) {
  main > section.hero { max-width: 1500px; grid-template-columns: 1fr 1.7fr; }
  .hero-text { grid-row: 1 / span 2; }
}

/* Logo on the page itself */
.demo-row { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; }
.emblem { width: 100%; border: 0; box-shadow: none; -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
.footer-logo { width: 56px; height: 56px; margin: 0 auto 1rem; opacity: .9; }
@media (max-width: 700px) { .demo-row { grid-template-columns: 1fr; } .emblem { width: 200px; margin: 0 auto; } }
/* Headline a touch smaller on mid-size screens so the text column isn't much taller than the slideshow */
h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); }

/* Tester call-out: a slim strip the width of the slideshow, under its caption */
.tester { grid-column: 2; align-self: start; display: flex; align-items: baseline; gap: 1rem; margin-top: .4rem; text-decoration: none; padding: .7rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(217,165,82,.06); transition: background .2s, border-color .2s; }
.tester:hover { background: rgba(217,165,82,.14); border-color: var(--gold); }
.tester strong { flex: none; color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; }
.tester strong::after { content: " →"; }
.tester span { color: #d6cdc1; font-size: .9rem; }

/* Stacked hero (phones and half-width windows): tester box after the buttons */
@media (max-width: 1100px) {
  main > section.hero { max-width: 760px; }
  .tester { order: 4; grid-column: auto; display: block; margin-top: .4rem; }
  .tester strong { display: block; }
}

/* Lightbox title */
.lightbox figure { display: grid; justify-items: center; gap: .8rem; }
.lightbox figcaption { color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; }
.lightbox img { max-height: 86vh; max-width: 94vw; width: auto; height: auto; }
.lightbox figure { margin: 0; }

/* Tester places open or full (set in site.js) */
.testers-open .when-full, .testers-full .when-open { display: none !important; }

/* Tester page */
.apply-box { background: var(--panel); border: 1px solid var(--gold); border-radius: 8px; padding: 1.4rem; margin-top: 1rem; }
.apply-box label { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); cursor: pointer; margin-bottom: 1.2rem; }
.apply-box input { margin-top: .35rem; width: 18px; height: 18px; accent-color: var(--gold); }
.btn.disabled { opacity: .45; cursor: not-allowed; transform: none; }
.full-notice { border-left: 3px solid var(--gold); background: var(--panel); padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; }

/* About */
.about-text { max-width: 760px; }
.about-text p { color: #d6cdc1; font-size: 1.05rem; }
.signoff { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; color: var(--gold-light) !important; font-size: 1.6rem !important; margin-top: 1.4rem; }
.badge.muted { border-color: var(--line); color: var(--muted); }

/* Embedded tester form */
.form-frame { background: #f4efe8; border: 1px solid var(--gold); border-radius: 8px; overflow: hidden; margin: 1rem 0; }
.form-frame iframe { display: block; width: 100%; height: 1900px; border: 0; }
@media (max-width: 600px) { .form-frame iframe { height: 2300px; } }

/* Feature workflow: five steps acting as tabs, one stage panel shown at a time */
.features .intro { color: var(--muted); max-width: 640px; margin: -.4rem 0 1.8rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; position: relative; margin-bottom: 1.6rem; }
.steps::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--line)); }
.step { all: unset; cursor: pointer; text-align: center; position: relative; }
.step:focus-visible .num { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.num { width: 44px; height: 44px; margin: 0 auto .6rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; font: 600 1.3rem "Cormorant Garamond", Georgia, serif; transition: background .25s, color .25s, box-shadow .25s; }
.step-name { display: block; font: 600 1.25rem "Cormorant Garamond", Georgia, serif; color: var(--muted); transition: color .2s; }
.step:hover .step-name, .step[aria-selected=true] .step-name { color: var(--text); }
.step[aria-selected=true] .num { background: var(--gold); color: var(--bg-deep); box-shadow: 0 0 18px rgba(217,165,82,.5); }
.stage { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.stage.active { opacity: 1; visibility: visible; }
.stages { display: grid; }
.stage-shot { min-height: 380px; background-size: cover; background-position: center; cursor: zoom-in; }
.stage-body { padding: 1.5rem; }
.stage-body h3 { margin: 0 0 .3rem; color: var(--gold-light); }
.stage-body .lead-in { color: var(--muted); margin: 0 0 1rem; }
.stage-body dl { margin: 0; }
.stage-body dt { font-weight: 700; margin-top: .9rem; }
.stage-body dd { margin: .25rem 0 0; color: #d6cdc1; font-size: .95rem; }
@keyframes stage-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .steps { gap: 2px; }
  .step-name { font-size: .78rem; }
  .stage { grid-template-columns: 1fr; }
  .stage-shot { min-height: 220px; }
}


/* Full feature list: collapsible groups; rows slide in when a group opens */
.fl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.fl-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--gold); font: 600 .85rem Inter, sans-serif; padding: .4rem 1rem; cursor: pointer; transition: border-color .2s, color .2s; }
.fl-toggle:hover { border-color: var(--gold); color: var(--gold-light); }
.fl-buttons { display: flex; gap: .5rem; }
.fgroup { border-bottom: 1px solid rgba(169,156,140,.15); }
.fsum { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: .8rem; padding: 1.1rem 0; cursor: pointer; }
.fsum:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.fg-name { font: 600 1.6rem "Cormorant Garamond", Georgia, serif; color: var(--text); transition: color .2s; }
.fsum:hover .fg-name, .fgroup.open .fg-name { color: var(--gold-light); }
.fg-count { font-size: .75rem; font-weight: 600; color: var(--bg-deep); background: var(--gold); border-radius: 999px; padding: .1rem .55rem; }
.fsum::after { content: ""; margin-left: auto; margin-right: .3rem; width: .6em; height: .6em; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .4s; }
.fgroup.open .fsum::after { transform: rotate(-135deg); }
.fbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.3,.7,.3,1); }
.fgroup.open .fbody { grid-template-rows: 1fr; }
.finner { min-height: 0; overflow: hidden; }
.fgroup dl { margin: 0; padding-bottom: 1.2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .2rem 2rem; }
.frow { padding: .7rem .8rem; border-left: 2px solid transparent; border-radius: 4px; transition: background .2s, border-color .2s; }
.frow:hover { background: rgba(217,165,82,.06); border-left-color: var(--gold); }
.frow dt { font-weight: 600; color: var(--text); }
.frow dd { margin: .2rem 0 0; color: #d6cdc1; font-size: .95rem; }
.fgroup.open .frow { animation: frow-in .45s ease both; }
.fgroup.open .frow:nth-child(2) { animation-delay: .05s; } .fgroup.open .frow:nth-child(3) { animation-delay: .1s; }
.fgroup.open .frow:nth-child(4) { animation-delay: .15s; } .fgroup.open .frow:nth-child(5) { animation-delay: .2s; }
.fgroup.open .frow:nth-child(6) { animation-delay: .25s; } .fgroup.open .frow:nth-child(7) { animation-delay: .3s; }
.fgroup.open .frow:nth-child(n+8) { animation-delay: .35s; }
@keyframes frow-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* Performance table: quiet dividers, workflow rows grouped with a total */
.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
.perf-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.perf-table th, .perf-table td { text-align: left; padding: .6rem 1rem .6rem 0; border-bottom: 1px solid rgba(169,156,140,.12); white-space: nowrap; }
.perf-table th[scope=row] { font-weight: 600; color: var(--text); white-space: normal; }
.perf-table td { color: #d6cdc1; }
.perf-table thead th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.perf-table .workflow th[scope=row], .perf-table .workflow td { background: rgba(217,165,82,.05); }
.perf-table .workflow th[scope=row] { padding-left: 1rem; border-left: 2px solid var(--gold); }
.perf-table .wf-head th { font: 600 1.3rem "Cormorant Garamond", Georgia, serif; color: var(--gold-light); padding-top: 1.2rem; }
.perf-table .total th, .perf-table .total td { color: var(--gold-light); font-weight: 700; border-bottom: 1px solid rgba(217,165,82,.4); }
.performance .intro { color: var(--muted); max-width: 760px; }
@media (prefers-reduced-motion: reduce) { .fgroup.open .frow { animation: none; } .fbody, .stage { transition: none; } }

/* Performance: Typical / Worst case switch for the workflow rows */
.wf-mode { font: 500 .95rem Inter, sans-serif; color: var(--muted); }
.wf-switch { display: inline-flex; margin-left: .8rem; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; vertical-align: middle; }
.wf-switch button { background: none; border: 0; color: var(--muted); font: 600 .8rem Inter, sans-serif; padding: .3rem .8rem; cursor: pointer; transition: background .2s, color .2s; }
.wf-switch button[aria-pressed=true] { background: var(--gold); color: var(--bg-deep); }
.perf-table .workflow td { transition: color .3s; }
.perf-table .workflow td.flash { color: var(--gold-light); }

/* Auto-cycle pause buttons */
.cycle-bar { display: flex; justify-content: flex-end; margin: -.8rem 0 .6rem; }
.cycle-pause { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--gold-light); font-size: .65rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.cycle-pause:hover { background: var(--gold); color: var(--bg-deep); }
/* The ring fills clockwise as the next change approaches */
.ring { position: relative; }
.ring::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--gold-light) calc(var(--p, 0) * 360deg), rgba(169,156,140,.3) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }

/* Limitations section and the dry/wet hover tips */
.limits .intro { color: var(--muted); max-width: 760px; }
.limits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.limits-grid article { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 1.3rem 1.4rem; }
.limits-grid p, .limits-grid li { color: #d6cdc1; font-size: .97rem; }
.limits-grid p:last-child { margin-bottom: 0; }
.limits-grid ul { margin: 0; padding-left: 1.1rem; }
.term { all: unset; position: relative; cursor: help; color: var(--gold-light); border-bottom: 1px dotted var(--gold); }
.term:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.tip { position: absolute; left: 50%; bottom: calc(100% + 10px); width: 260px; transform: translate(-50%, 6px); background: var(--bg-deep); border: 1px solid var(--gold); border-radius: 8px; padding: .8rem .9rem; color: var(--text); font-size: .88rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; pointer-events: none; }
.tip strong { color: var(--gold-light); }
.term:hover .tip, .term:focus .tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 600px) { .tip { width: 220px; left: 0; transform: translate(0, 6px); } .term:hover .tip, .term:focus .tip { transform: none; } }

/* Feature list: All / In the Demo switch. Full-only rows hide in the Demo view; partial rows show their Demo note */
.ed-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.ed-switch button { background: none; border: 0; color: var(--muted); font: 600 .8rem Inter, sans-serif; padding: .4rem .9rem; cursor: pointer; transition: background .2s, color .2s; }
.ed-switch button[aria-pressed=true] { background: var(--gold); color: var(--bg-deep); }
.fl-buttons { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.frow .demo-note { display: none; color: var(--gold-light); font-size: .88rem; margin-top: .35rem; }
.demo-view .frow[data-ed=full] { display: none; }
.demo-view .frow .demo-note { display: block; }

/* Before-and-after audio cards (placeholders until recordings are in) */
.listen .intro { color: var(--muted); max-width: 760px; }
.listen-grid, .quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.listen-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem 1.4rem; }
.listen-grid p { color: #d6cdc1; font-size: .95rem; }
.ab { display: flex; gap: .5rem; margin: .8rem 0; }
.ab button { flex: 1; padding: .55rem; border-radius: 6px; border: 1px solid var(--gold); background: transparent; color: var(--gold-light); font: 600 .9rem Inter, sans-serif; cursor: pointer; }
.ab button:disabled { border-color: var(--line); color: var(--muted); cursor: default; }

/* Tester quotes */
.quote-grid blockquote { margin: 0; background: var(--panel); border-left: 3px solid var(--gold); border-radius: 8px; padding: 1.3rem 1.4rem; }
.quote-grid blockquote p { font: italic 600 1.3rem/1.4 "Cormorant Garamond", Georgia, serif; color: var(--text); margin: 0 0 .8rem; }
.quote-grid blockquote footer { color: var(--muted); font-size: .9rem; }

/* System requirements */
.req-list { margin: 0; max-width: 820px; }
.req-list div { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(169,156,140,.12); }
.req-list dt { font-weight: 600; }
.req-list dd { margin: 0; color: #d6cdc1; }
@media (max-width: 600px) { .req-list div { grid-template-columns: 1fr; gap: .2rem; } }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(169,156,140,.15); max-width: 860px; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative; font-weight: 600; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--gold-light); }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.25rem; width: .5em; height: .5em; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 1rem; color: #d6cdc1; }

/* Social links */
.social { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold-light); }
.social a[hidden] { display: none; }
.social svg { width: 20px; height: 20px; }
.social.small-icons { justify-content: center; margin: .6rem 0; }
.social.small-icons a { padding: .45rem; border-radius: 50%; }
.social.small-icons span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* News page */
.news-entry { border-bottom: 1px solid rgba(169,156,140,.15); padding: 1.2rem 0; }
.news-entry time { color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .05em; }
.news-entry h2 { margin: .2rem 0 .5rem; font-size: 1.6rem; }
.news-entry h2::after { display: none; }

/* Not-found page */
.notfound { text-align: center; padding: 6rem 16px; }
.notfound img { width: 120px; height: 120px; }

/* Release news sign-up (MailerLite form, restyled) */
.signup { max-width: 560px; margin: 2rem 0 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; padding: 1.4rem 1.5rem; }
.signup h3 { margin: 0 0 .3rem; color: var(--gold-light); font-size: 1.5rem; }
.signup p { color: #d6cdc1; margin: 0 0 1rem; }
.signup p.small { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }
.signup form { display: flex; gap: .6rem; flex-wrap: wrap; margin: 0; }
.signup .ml-form-fieldRow { flex: 1 1 240px; }
.signup input[type=email] { width: 100%; box-sizing: border-box; padding: .7rem .9rem; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 1rem Inter, sans-serif; }
.signup input[type=email]:focus { outline: none; border-color: var(--gold); }
.signup .ml-form-embedSubmit button { padding: .7rem 1.4rem; border-radius: 6px; border: 0; background: var(--gold); color: var(--bg-deep); font: 600 1rem Inter, sans-serif; cursor: pointer; transition: background .2s; }
.signup .ml-form-embedSubmit button:hover { background: var(--gold-light); }
.signup .ml-error input { border-color: #d9534f; }
.legal .signup { margin: 1.5rem 0 2rem; }

/* Top bar: menu sits right, then the gold Demo button */
.top nav { margin-left: auto; }
.top-cta { padding: .45rem 1rem; font-size: .9rem; white-space: nowrap; }
@media (max-width: 480px) { .top-cta { padding: .4rem .7rem; font-size: .8rem; } }

/* Alternating section shades. Every other section gets a full-width band that fades in and
   out at top and bottom, so the shades blend rather than meet at a hard edge. */
:root { --band: #211b16; }
main > section { position: relative; }
main > section.band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--band) 22%, var(--band) 78%, transparent);
  pointer-events: none;
}
main { position: relative; z-index: 0; }

/* Closing call to action above the footer */
.closing { text-align: center; }
.closing-line { font: italic 600 clamp(1.8rem, 4vw, 2.8rem)/1.2 "Cormorant Garamond", Georgia, serif; color: var(--gold-light); margin: 0 0 1.4rem; }
.closing-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Footer: brand on the left, quiet link columns on the right, thin strip below */
footer.site-footer { text-align: left; padding: 3rem max(16px, 6vw) 1.5rem; background: var(--bg-deep); font-size: .9rem; }
.footer-main { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 2rem; }
.footer-brand .brand { font-size: 1.4rem; }
.footer-brand p { color: var(--muted); margin: .7rem 0 0; max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; }
.footer-cols h2 { font: 600 .8rem Inter, sans-serif; color: var(--text); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .8rem; padding: 0; }
.footer-cols h2::after { display: none; }
.footer-cols a { display: block; color: var(--muted); text-decoration: none; padding: .2rem 0; transition: color .2s; }
.footer-cols a:hover { color: var(--gold-light); }
.footer-cols a[hidden] { display: none; }
.footer-bottom { max-width: 1300px; margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { max-width: 640px; text-align: right; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 800px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom p:last-child { text-align: left; }
}
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* Slideshow: feathered edge that clears when the visitor hovers over it */
.slide-frame { border: 0; }
.slide-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 18px 8px rgba(30, 25, 21, .55); transition: opacity .5s ease; }
.slideshow:hover .slide-frame::after, .slideshow:focus-within .slide-frame::after { opacity: 0; }

/* Screenshots: first six shown, the rest behind "Show all" */
.shots figure[hidden] { display: none; }
.shots figure.more-shot:not([hidden]) { animation: frow-in .45s ease both; }
.shots-more { display: block; margin: 1.8rem auto 0; background: none; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-light); font: 600 .95rem Inter, sans-serif; padding: .6rem 1.4rem; cursor: pointer; transition: background .2s, color .2s; }
.shots-more:hover { background: var(--gold); color: var(--bg-deep); }

/* Before/after player: the thumb glides from Before to After during the crossfade */
.ab-player { max-width: 760px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; }
.ab-label { margin: 0 0 .6rem; color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ab-row { display: flex; align-items: center; gap: 1.1rem; }
.ab-play:disabled { opacity: .6; cursor: wait; }
.ab-play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--gold); color: var(--bg-deep); font-size: 1.1rem; cursor: pointer; transition: background .2s, transform .2s; }
.ab-play:hover { background: var(--gold-light); transform: scale(1.05); }
.ab-track { flex: 1; }
.ab-ends { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.ab-ends button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; transition: color .3s; }
.ab-ends button:hover { color: var(--text); }
.ab-ends button.on { color: var(--gold-light); }
.ab-rail { position: relative; height: 6px; border-radius: 3px; background: var(--line); cursor: grab; touch-action: none; }
.ab-rail::before { content: ""; position: absolute; inset: -12px 0; }
.ab-rail:active { cursor: grabbing; }
.ab-rail:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 6px; }
.ab-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--muted), var(--gold)); }
.ab-thumb { position: absolute; top: 50%; left: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px rgba(217,165,82,.6); }
.ab-progress { position: relative; height: 4px; margin-top: 1rem; border-radius: 2px; background: rgba(169,156,140,.2); cursor: pointer; touch-action: none; }
.ab-progress::before { content: ""; position: absolute; inset: -8px 0; }
.ab-progress:hover, .ab-progress:focus-visible { height: 6px; outline: none; }
.ab-times { display: flex; justify-content: space-between; margin-top: .35rem; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.ab-restart { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--gold-light); font-size: 1.1rem; cursor: pointer; transition: border-color .2s; }
.ab-restart:hover { border-color: var(--gold); }
.ab-progress div { height: 100%; width: 0; border-radius: 2px; background: var(--gold); }
.ab-credit { max-width: 760px; color: var(--muted); }

/* Links that jump to the before/after player */
.hear-link { margin: .9rem 0 0; }
.hear-link a { color: var(--gold-light); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(217,165,82,.4); transition: border-color .2s; }
.hear-link a:hover { border-bottom-color: var(--gold-light); }
