@font-face { font-family: "Instrument Serif"; src: url("media/instrument.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("media/instrument-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0A0F12;
  --ink-2: #0E161A;
  --panel: #111B20;
  --panel-2: #16232A;
  --line: rgba(214, 240, 233, .11);
  --line-2: rgba(214, 240, 233, .2);
  --bone: #F5F0E7;
  --mint: #BFEADF;
  --muted: #93A7A9;
  --cyan: #19E3FF;
  --blue: #2F6BFF;
  --violet: #6A3BFF;
  --magenta: #E03BFF;
  --rec: #FF4D5E;
  --grad: linear-gradient(115deg, #19E3FF 0%, #2F6BFF 42%, #6A3BFF 72%, #E03BFF 100%);
  --serif: "Instrument Serif", "Georgia", serif;
  --sans: "Inter Tight", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "Consolas", ui-monospace, monospace;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 700px at 80% -10%, rgba(47,107,255,.14), transparent 60%),
                    radial-gradient(900px 600px at -10% 10%, rgba(25,227,255,.07), transparent 60%);
  background-repeat: no-repeat;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mint); letter-spacing: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 12px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(106,59,255,.7); }
.btn-grad:hover { box-shadow: 0 16px 40px -10px rgba(47,107,255,.9); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--mint); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(10,15,18,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; width: min(1200px, 100% - 40px); margin: auto; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .08em; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--bone); }
.tc { margin-left: auto; font: 500 .82rem var(--mono); color: var(--cyan); display: flex; align-items: center; gap: 8px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.scrub { height: 2px; background: var(--line); }
.scrub span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.slate { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.slate span { font: 500 .72rem var(--mono); letter-spacing: .12em; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); }
.slate span:first-child { color: var(--ink); background: var(--bone); border-color: var(--bone); }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.035em; }
h1 em { font-size: 1.06em; }
.lede { margin-top: 24px; max-width: 34em; color: #C9D3D2; font-size: 1.1rem; }
.lede strong { color: var(--bone); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-facts li { display: flex; flex-direction: column; gap: 4px; }
.hero-facts b { font: 400 2.6rem/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.hero-facts span { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* monitor */
.monitor { margin: 0; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: 22px; padding: 12px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.monitor:hover { transform: none; }
.monitor-head { display: flex; gap: 12px; align-items: center; padding: 2px 6px 10px; font: 500 .7rem var(--mono); color: var(--muted); letter-spacing: .08em; }
.monitor-head span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-head #mon-tc { color: var(--cyan); font-variant-numeric: tabular-nums; }
.pgm { color: #fff; background: var(--rec); padding: 2px 7px; border-radius: 4px; }
.monitor-screen { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.monitor-screen video { width: 100%; height: 100%; object-fit: cover; }
.safe { position: absolute; inset: 7% 5%; border: 1px dashed rgba(255,255,255,.18); border-radius: 4px; pointer-events: none; }
.safe::before, .safe::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.3); }
.safe::before { width: 18px; height: 1px; transform: translate(-50%, -50%); }
.safe::after { width: 1px; height: 18px; transform: translate(-50%, -50%); }
.sound-pill { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(10,15,18,.72); backdrop-filter: blur(8px); font-weight: 600; font-size: .88rem; border: 1px solid var(--line-2); transition: background .2s; }
.monitor-screen:hover .sound-pill { background: var(--bone); color: var(--ink); }
.play-tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tracks { position: relative; margin-top: 12px; display: grid; gap: 5px; padding: 8px 8px 8px 38px; background: var(--ink-2); border-radius: 10px; border: 1px solid var(--line); }
.track { position: relative; height: 16px; }
.track em { position: absolute; left: -30px; top: 0; font: 500 .62rem/16px var(--mono); color: var(--muted); }
.clip { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 4px; }
.c-vid { background: linear-gradient(90deg, rgba(47,107,255,.75), rgba(106,59,255,.75)); }
.c-gfx { background: rgba(224,59,255,.6); }
.c-aud { background: repeating-linear-gradient(90deg, rgba(25,227,255,.55) 0 2px, rgba(25,227,255,.18) 2px 4px); }
.playhead { position: absolute; top: 2px; bottom: 2px; left: 38px; width: 2px; background: var(--bone); box-shadow: 0 0 8px #fff; border-radius: 2px; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -4px; border: 5px solid transparent; border-top-color: var(--bone); }
.monitor figcaption { padding: 12px 6px 2px; font-size: .85rem; color: var(--muted); }

.ticker { margin-top: clamp(50px, 7vw, 80px); border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--ink-2); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { font: 400 1.5rem var(--serif); font-style: italic; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.marker { display: flex; align-items: center; gap: 10px; font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.marker span { color: var(--cyan); border: 1px solid rgba(25,227,255,.4); padding: 2px 8px; border-radius: 5px; }
.sec-sub { margin-top: 16px; color: #BAC6C5; font-size: 1.06rem; max-width: 40em; }
.kicker { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }

/* ---------- work ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .92rem; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--bone); border-color: var(--mint); }
.chip[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); font-weight: 600; }

.bin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, opacity .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card.is-hidden { display: none; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; }
.thumb { position: relative; display: block; padding: 0; border: 0; background: #000; aspect-ratio: 4 / 5; overflow: hidden; width: 100%; }
.card-wide .thumb { aspect-ratio: 16 / 9; }
.thumb img, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.thumb video { opacity: 0; }
.thumb.playing video { opacity: 1; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb::after { /* play badge */
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(10,15,18,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23F5F0E7'/%3E%3C/svg%3E") center / 26px no-repeat;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transition: transform .3s var(--ease), opacity .3s;
}
.thumb.playing::after { opacity: 0; transform: scale(.7); }
.dur, .ratio { position: absolute; top: 12px; font: 500 .72rem var(--mono); padding: 4px 8px; border-radius: 6px; background: rgba(10,15,18,.7); z-index: 1; }
.dur { right: 12px; }
.ratio { left: 12px; color: var(--cyan); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.card-wide .card-body { padding: 34px; justify-content: center; }
.card-wide h3 { font-size: 2rem; }
.card-body > p:not(.kicker) { color: #BAC6C5; font-size: .97rem; }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(191,234,223,.08); color: var(--mint); }

.versions { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(47,107,255,.09), rgba(224,59,255,.05)); }
.versions h3 { font-size: 2rem; margin-bottom: 12px; }
.versions p { color: #BAC6C5; }
.versions-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.ver { border: 1px solid var(--line-2); background: var(--panel); border-radius: 14px; padding: 14px 10px; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; transition: border-color .2s, transform .3s var(--ease); }
.ver:nth-child(1) { min-height: 110px; } .ver:nth-child(2) { min-height: 110px; } .ver:nth-child(3) { min-height: 150px; } .ver:nth-child(4) { min-height: 200px; }
.ver b { font: 400 1.9rem/1 var(--serif); }
.ver span { font-size: .8rem; color: var(--muted); }
.ver:hover { border-color: var(--cyan); transform: translateY(-4px); }

/* ---------- before / after ---------- */
.compare-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 48px; align-items: center; }
.compare-grid .sec-head { margin: 0; }
.ba-tabs, .ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ba-tabs button, .ptabs button { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); font-size: .92rem; color: var(--muted); transition: all .2s; }
.ba-tabs button[aria-selected="true"], .ptabs button[aria-selected="true"] { color: var(--bone); border-color: transparent; background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.ba-note { margin-top: 18px; color: var(--muted); font-size: .95rem; min-height: 3em; }
.ba-player { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.ba-player video { width: 100%; max-height: 72vh; background: #000; }
.ba-labels { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.ba-labels span { font: 600 .7rem var(--mono); letter-spacing: .14em; padding: 5px 10px; border-radius: 6px; background: rgba(10,15,18,.75); }
.ba-labels span:last-child { background: var(--grad); }

/* ---------- offers ---------- */
.builder { display: grid; grid-template-columns: .8fr 1.4fr; gap: 28px; align-items: start; }
.builder-controls { display: grid; gap: 26px; position: sticky; top: 96px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); font-size: .8rem; color: #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 13px 10px; border-radius: 11px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: all .25s var(--ease); }
.seg input:checked + span { background: var(--bone); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(245,240,231,.5); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.builder-hint { color: var(--muted); font-size: .95rem; border-left: 2px solid var(--violet); padding-left: 14px; }

.preset { position: relative; border-radius: 24px; padding: 32px; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 40px 90px -40px rgba(47,107,255,.5); }
.preset-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px dashed var(--line-2); }
.preset-top h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 8px; }
.price { text-align: right; line-height: 1; white-space: nowrap; }
.price .cur { font: 400 2rem var(--serif); vertical-align: top; color: var(--mint); }
.price #p-price { display: inline-block; font: 400 clamp(4rem, 8vw, 5.6rem)/.9 var(--serif); }
.price small { display: block; margin-top: 8px; font: 500 .74rem var(--mono); color: var(--muted); letter-spacing: .06em; }
.preset.flash #p-price { animation: pop .5s var(--ease); }
@keyframes pop { 0% { opacity: .2; transform: translateY(10px); display: inline-block; } 100% { opacity: 1; transform: none; } }
.preset-cols { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px 0; }
.preset-cols.two { grid-template-columns: 1fr 1fr; }
.preset h4 { margin: 0 0 12px; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: .96rem; color: #D5DEDC; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: rgba(191,234,223,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23BFEADF' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks-grad li::before { background: var(--grad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"), var(--grad); background-size: 11px, cover; background-position: center; background-repeat: no-repeat; }
.checks b { color: var(--bone); }
.preset-terms { list-style: none; padding: 16px 0 22px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px dashed var(--line-2); }
.preset-terms li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #C9D3D2; }

.glance { margin-top: 48px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.glance-row { display: grid; grid-template-columns: 2.2fr .6fr 1.2fr .8fr .8fr; gap: 12px; align-items: center; padding: 16px 22px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: transparent; font-size: .97rem; transition: background .2s; }
.glance-row:first-child { border-top: 0; }
button.glance-row:hover { background: rgba(255,255,255,.035); }
button.glance-row.on { background: rgba(47,107,255,.12); box-shadow: inset 3px 0 0 var(--cyan); }
.glance-head { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ink-2); }
.glance-row b { font: 400 1.5rem var(--serif); }
.custom { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 18px; border: 1px dashed var(--line-2); }
.custom p { color: var(--muted); margin-top: 6px; max-width: 46em; }

/* ---------- pack ---------- */
.pack-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
#pack-list { margin-top: 26px; }
.pack-art { margin: 0; position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: end; }
.pack-art img { width: 100%; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: opacity .35s, transform .5s var(--ease); background: var(--panel); }
.pack-art img:last-of-type { transform: translateY(-30px) rotate(2deg); }
.pack-art.swap img { opacity: 0; transform: translateY(10px); }
.pack-art figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.process::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.process::after { content: ""; position: absolute; top: 12px; left: 0; height: 2px; width: var(--p, 0%); background: var(--grad); box-shadow: 0 0 12px var(--cyan); transition: width 1.6s var(--ease); }
.process li { position: relative; padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.process li::before { content: ""; position: absolute; top: -34px; left: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--cyan); }
.step-tc { font: 500 .74rem var(--mono); color: var(--cyan); }
.process h3 { margin: 10px 0 8px; }
.process p { color: #BAC6C5; font-size: .95rem; }
.turnaround { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: #C9D3D2; padding: 16px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.turnaround .rec { flex: none; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--serif); color: var(--cyan); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #BAC6C5; max-width: 44em; }

/* ---------- contact ---------- */
.contact { background: radial-gradient(700px 400px at 80% 30%, rgba(106,59,255,.18), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mail { display: inline-block; margin-top: 28px; font: 400 clamp(1.4rem, 3vw, 2.1rem) var(--serif); font-style: italic; text-decoration: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; border-bottom: 1px solid var(--line-2); }
.brief { display: grid; gap: 8px; padding: 30px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); }
.brief label { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.brief input, .brief select, .brief textarea { width: 100%; font: inherit; color: var(--bone); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; }
.brief textarea { resize: vertical; }
.brief select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2393A7A9' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.brief input:focus, .brief select:focus, .brief textarea:focus { outline: none; border-color: var(--cyan); }
.brief .btn { margin-top: 16px; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { display: block; color: var(--bone); letter-spacing: .08em; }
.footer-brand i { font-family: var(--serif); color: var(--mint); font-size: 1.05rem; }

/* ---------- player dialog ---------- */
dialog#player { width: min(1000px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--ink-2); color: var(--bone); overflow: auto; }
dialog#player::backdrop { background: rgba(4,7,9,.82); backdrop-filter: blur(6px); }
.pl { padding: 20px; display: grid; gap: 14px; }
.pl-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pl-head h2 { font-size: 1.6rem; margin-top: 6px; }
.pl-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); font-size: 1.5rem; line-height: 1; }
.pl-screen { background: #000; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.pl-screen video { width: 100%; max-height: 68dvh; background: #000; }
.pl-cuts { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-cuts button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .88rem; color: var(--muted); }
.pl-cuts button[aria-pressed="true"] { background: var(--bone); color: var(--ink); border-color: var(--bone); font-weight: 600; }
.pl-foot { display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: var(--muted); }
#pl-error { color: #FFB3BB; font-size: .9rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-grid, .compare-grid, .pack-grid, .faq-grid, .contact-grid, .versions, .builder { grid-template-columns: 1fr; }
  .monitor { transform: none; }
  .bin { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-template-columns: 1fr; }
  .builder-controls { position: static; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before, .process::after, .process li::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-inner { gap: 12px; }
  .tc { font-size: .72rem; }
  .bin { grid-template-columns: 1fr; }
  .thumb { aspect-ratio: 9 / 12; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero-facts b { font-size: 2rem; }
  .preset { padding: 22px; }
  .preset-top { flex-direction: column; }
  .price { text-align: left; }
  .preset-cols.two { grid-template-columns: 1fr; }
  .glance-row { grid-template-columns: 1.8fr .9fr .9fr; padding: 14px 16px; }
  .glance-row > :nth-child(2), .glance-row > :nth-child(3) { display: none; }
  .versions { padding: 24px; }
  .versions-row { grid-template-columns: 1fr 1fr; }
  .ver { min-height: 90px !important; }
  .process { grid-template-columns: 1fr; }
  .custom { flex-direction: column; align-items: flex-start; }
  .pack-art img:last-of-type { transform: translateY(-14px) rotate(2deg); }
  .btn-sm { display: none; }
}
.hero-grid > *, .compare-grid > *, .pack-grid > *, .faq-grid > *, .contact-grid > *, .builder > *, .versions > * { min-width: 0; }
@media (max-width: 420px) {
  .wrap, .topbar-inner { width: calc(100% - 28px); }
  h1 { font-size: clamp(2.1rem, 11vw, 2.8rem); }
  h2 { font-size: clamp(1.9rem, 10vw, 2.3rem); }
  .hero-facts { grid-template-columns: 1fr; gap: 10px; }
  .hero-facts li { flex-direction: row; align-items: center; gap: 12px; }
  .cta-row .btn { flex: 1 1 100%; }
  .seg span { padding: 12px 6px; font-size: .86rem; }
  .price #p-price { font-size: 3.6rem; }
  .brief { padding: 20px; }
  .glance-row { gap: 8px; padding: 12px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
