/* alsroom.com. The editor's own rule (frontend/src/index.css): zero-chroma greys, so the only colour on the page is
 * the photograph. No web fonts, no third-party scripts, no trackers. */
:root {
  --bg: #0f0f0f;
  --bg-2: #161616;
  --panel: #1b1b1b;
  --line: #2c2c2c;
  --text: #ececec;
  --muted: #a3a3a3;
  --faint: #737373;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
       -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(15, 15, 15, .86); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); }
.top .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; letter-spacing: .01em;
         white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--text); }

/* buttons */
.button { display: inline-block; background: var(--text); color: #111; text-decoration: none; font-weight: 650;
          padding: 12px 20px; border-radius: 10px; border: 1px solid var(--text); line-height: 1.2; }
.button:hover { background: #fff; color: #000; }
.button.ghost { background: transparent; color: var(--text); border-color: #4a4a4a; }
.button.ghost:hover { border-color: #8a8a8a; }
.button.small { padding: 8px 14px; font-size: 15px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #d4d4d4; outline-offset: 3px; }

/* hero */
.hero { padding: 84px 0 40px; }
.eyebrow { color: var(--muted); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 22px; font-weight: 700;
     max-width: 15ch; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 30px; }
.lede q { color: var(--text); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ctas .note { color: var(--faint); font-size: 14px; }

/* before / after */
.demo { padding: 26px 0 70px; }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
           aspect-ratio: 1280 / 852; background: var(--bg-2); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 50%); }
.compare .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #f5f5f5;
                    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); pointer-events: none; }
.compare .divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px;
                           transform: translate(-50%, -50%); border-radius: 50%; background: #f5f5f5;
                           box-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.compare .tag { position: absolute; top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
                background: rgba(0, 0, 0, .6); padding: 5px 10px; border-radius: 6px; }
.compare .tag.left { left: 14px; }
.compare .tag.right { right: 14px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.caption { display: grid; grid-template-columns: 1fr auto; gap: 24px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.caption .instruction { color: var(--text); font-size: 17px; }
.caption .stats { text-align: right; white-space: nowrap; }
.caption .rationale { grid-column: 1 / -1; font-size: 15px; color: var(--muted); border-left: 2px solid var(--line);
                      padding-left: 14px; margin: 0; }
.credit-line { color: var(--faint); font-size: 13px; margin-top: 10px; }

/* sections */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 680; }
.section-lede { color: var(--muted); max-width: 44em; margin: 0 0 40px; font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px;
                height: 30px; border-radius: 50%; border: 1px solid #555; color: var(--muted); font-size: 14px;
                margin-bottom: 14px; }
.step h3, .feature h3 { margin: 0 0 8px; font-size: 19px; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.grey { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.swatches span { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); }
.swatches span:nth-child(1) { background: #0a0a0a; } .swatches span:nth-child(2) { background: #171717; }
.swatches span:nth-child(3) { background: #262626; } .swatches span:nth-child(4) { background: #404040; }
.swatches span:nth-child(5) { background: #737373; } .swatches span:nth-child(6) { background: #d4d4d4; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex;
        flex-direction: column; }
.plan.featured { border-color: #6b6b6b; }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.price { font-size: 46px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 2px; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { padding-left: 20px; color: var(--muted); margin: 18px 0 24px; }
.plan li { margin: 6px 0; }
.plan .button { margin-top: auto; align-self: flex-start; }
.topups { margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
          padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; color: var(--muted); }
.topups strong { color: var(--text); }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* closing + footer */
.closing { text-align: center; }
.closing h2 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.closing .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 26px; padding-bottom: 36px; }
footer nav a { color: var(--muted); }

/* legal pages */
.legal { padding: 60px 0 80px; }
.legal h1 { font-size: 40px; max-width: none; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #cfcfcf; }
.legal .updated { color: var(--faint); font-size: 14px; }

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  nav { gap: 14px; }
  .button.small { padding: 7px 11px; font-size: 14px; }
  .hero { padding-top: 52px; }
}
@media (max-width: 880px) {
  .steps, .features, .plans, .grey { grid-template-columns: 1fr; }
  nav .hide-small { display: none; }
  .caption { grid-template-columns: 1fr; }
  .caption .stats { text-align: left; }
}
