:root {
  color-scheme: dark;
  --bg: #151614;
  --panel: #20211f;
  --line: #393b35;
  --ink: #f5f3eb;
  --muted: #c5c6bb;
  --accent: #def379;
  --radius: 18px;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: default; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 3; background: var(--bg); padding: .6rem; }
.skip:focus { top: 1rem; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.top, footer { border-block-end: 1px solid var(--line); }
.nav, .footer, nav, .actions { display: flex; align-items: center; gap: 1rem; }
.nav { justify-content: space-between; min-height: 74px; }
nav a { text-decoration: none; }
.brand { display: inline-flex; gap: .65rem; align-items: center; font-weight: 800; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; background: var(--accent); color: var(--bg); border-radius: 7px; width: 1.9rem; height: 1.9rem; font-size: 1.25rem; line-height: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .55rem 1rem; border: 1px solid transparent; border-radius: 9px; font-weight: 750; text-decoration: none; }
.primary { color: #1a2110; background: var(--accent); }
.primary:hover:enabled, a.primary:hover { background: #efffa8; }
.outline { color: var(--ink); background: transparent; border-color: #626558; }
.outline:hover { background: #30332a; }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; padding-block: clamp(1.65rem, 4vw, 3.4rem); }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; }
.eyebrow > span { display: inline-block; width: .5rem; height: .5rem; margin-right: .35rem; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 5.8vw, 5rem); margin-bottom: .85rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.intro { max-width: 38ch; font-size: clamp(1.05rem, 1.8vw, 1.23rem); margin-bottom: 1rem; }
p, .unit { color: var(--muted); }
.subtle { font-size: .86rem; margin: .75rem 0 0; }
.hero-art { position: relative; height: clamp(200px, 28vw, 325px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(125deg, #3a3d32, #20221c); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.example { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; gap: .75rem; align-items: center; background: #191b17; border: 1px solid #515445; border-radius: 12px; padding: .9rem; }
.example-icon { color: var(--accent); background: #343b26; border-radius: 7px; font-size: 1.5rem; padding: .15rem .55rem; }
.example p { margin: 0; color: var(--ink); font-weight: 750; }
.example .eyebrow, .example span { font-size: .75rem; color: var(--muted); }
.plans { padding-block: clamp(1.7rem, 4vw, 3.25rem); background: #1a1b18; border-block: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: clamp(1.05rem, 2.3vw, 1.65rem); }
.premium { border-color: #677451; background: #252b20; }
.plan p { margin-bottom: .6rem; }
.price { font-size: 2.35rem; line-height: 1.1; letter-spacing: -.06em; color: var(--ink); margin-bottom: .4rem; font-weight: 800; }
.price .unit { font-size: .95rem; letter-spacing: normal; font-weight: 450; }
.plan ul { padding: 0; list-style: none; margin: .75rem 0 1rem; }
.plan li { position: relative; padding: .19rem 0 .19rem 1.6rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 5vw, 4rem); padding-block: clamp(2.5rem, 7vw, 5rem); }
.premium-access { border-top: 1px solid var(--line); }
form > label { display: block; font-weight: 700; margin-bottom: .4rem; }
input:not([type=checkbox]) { width: 100%; min-height: 48px; background: #242622; border: 1px solid #676a5d; color: var(--ink); border-radius: 9px; padding: .6rem .8rem; }
form .check { display: flex; gap: .55rem; align-items: start; color: var(--muted); font-size: .9rem; font-weight: 450; margin-block: .9rem; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--accent); }
.feedback { color: var(--accent); margin: .6rem 0 0; }
.feedback:empty { margin: 0; }
.signup-trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.privacy { padding-block: 0 2rem; }
details { border-top: 1px solid var(--line); padding-top: .85rem; }
summary { cursor: pointer; font-weight: 750; padding-block: .3rem; }
details p, details form { max-width: 70ch; }
details .actions { margin-top: .7rem; }
footer { border-block-start: 1px solid var(--line); }
.footer { padding-block: 1.45rem; justify-content: space-between; font-size: .88rem; }
.footer p { margin: 0; }
dialog { color: var(--ink); background: var(--panel); border: 1px solid #626558; border-radius: var(--radius); padding: clamp(1rem, 4vw, 2rem); max-width: min(490px, calc(100% - 2rem)); }
dialog h2 { font-size: 2rem; }
dialog::backdrop { background: #090b08ba; }
.actions { flex-wrap: wrap; }
.dashboard { padding-block: 3rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
thead { background: var(--panel); }
tfoot { font-weight: 800; color: var(--accent); }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero, .access { grid-template-columns: 1fr; }
  .hero-art { height: clamp(155px, 41vw, 218px); }
  .example { bottom: .55rem; left: .55rem; right: .55rem; padding: .55rem .7rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 415px) {
  nav > a:first-child { display: none; }
  .nav .button { font-size: .8rem; padding: .4rem .55rem; }
  .brand { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
