/* The engine's own look: ink and warm paper, one yellow accent, D-DIN Condensed for headings, Inter for text. */
@font-face { font-family: 'D-DIN Condensed'; src: url('fonts/d-dincondensed-bold-webfont.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --ink: #111111; --paper: #f6f5f1; --yellow: #faca22; --muted: #6f6c66; --line: #e2ddd2; --soft: #a6a39c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 17px/1.55 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'D-DIN Condensed', 'Inter', sans-serif; font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(46px, 6.4vw, 92px); text-transform: uppercase; }
h2 { font-size: clamp(34px, 4vw, 56px); text-transform: uppercase; max-width: 24ch; }
h3 { font-size: 28px; text-transform: uppercase; }
p { margin: 0 0 1em; }
.kick { font: 700 15px 'D-DIN Condensed', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.paper .kick { color: #8a6a00; }
.lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 62ch; }
.small { font-size: 14px; color: var(--muted); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band.paper { background: var(--paper); }
.band.ink { background: var(--ink); color: var(--paper); }
.band h2 { margin-bottom: 22px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: rgba(17,17,17,.86); backdrop-filter: blur(14px); color: var(--paper); }
.mark { font: 700 24px 'D-DIN Condensed', sans-serif; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.top nav a { text-decoration: none; color: #d8d5cd; } .top nav a:hover { color: #fff; }
.top .cta, .btn { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 23px; background: var(--yellow); color: var(--ink) !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.top .cta { height: 38px; padding: 0 18px; font-size: 14px; }
.btn.ghost { background: none; color: inherit !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; } .acts.centre { justify-content: center; margin-top: 44px; }

.hero { color: var(--paper); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; max-width: 1440px; margin: 0 auto; padding: clamp(40px, 6vw, 84px) 28px clamp(64px, 8vw, 110px); }
.hero .lead { color: #d8d5cd; margin-top: 22px; }
.hero .proof { margin-top: 26px; font-size: 14.5px; color: var(--soft); } .hero .proof a { color: var(--paper); }
.hero > * { min-width: 0; }
.devices { position: relative; padding-bottom: 34px; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 8px solid #060606; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #1b1b1b; }
.phone { position: absolute; right: -6px; bottom: 0; width: 25%; min-width: 190px; aspect-ratio: 9 / 18.6; border-radius: 30px; overflow: hidden; border: 7px solid #060606; box-shadow: 0 24px 60px rgba(0,0,0,.7); background: #1b1b1b; }
.phone iframe { position: absolute; left: 0; top: 0; width: 390px; height: 806px; transform-origin: 0 0; }
.screen iframe { position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; transform-origin: 0 0; }   /* out of the flow: scaled down to its frame, it must not widen the page */
iframe { border: 0; display: block; }
.live { position: absolute; left: 0; bottom: 0; margin: 0; font-size: 13.5px; color: var(--soft); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.two.top { align-items: start; }
.two.rev > :first-child { order: 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: rotate(-45deg); }
.paper .ticks li::before { border-color: #b98f00; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tiles figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #222; }
.tiles img { width: 100%; height: 100%; object-fit: cover; }
.tiles figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(17,17,17,.82); color: var(--paper); font: 700 13px 'D-DIN Condensed', sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 12px; }
.shot img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.28); width: 100%; }
.phone-shot { display: flex; gap: 20px; justify-content: center; } .phone-shot img { width: min(46%, 270px); border-radius: 26px; border: 6px solid #0b0b0b; }

.picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 36px 0 18px; }
.picker button { all: unset; cursor: pointer; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.picker button.on { box-shadow: inset 0 0 0 3px var(--ink); }
.picker img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.picker b { display: block; font: 700 19px 'D-DIN Condensed', sans-serif; text-transform: uppercase; padding: 10px 12px 0; }
.picker small { display: block; padding: 2px 12px 12px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.viewer { background: var(--ink); border-radius: 18px; padding: 14px; }
.vbar { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; color: #d8d5cd; font-size: 14px; }
.seg { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 19px; padding: 3px; }
.seg button { border: 0; background: none; color: #d8d5cd; font: 600 13.5px 'Inter', sans-serif; padding: 7px 16px; border-radius: 16px; cursor: pointer; }
.seg button.on { background: var(--yellow); color: var(--ink); }
.vstage { height: min(78vh, 800px); display: flex; justify-content: center; align-items: center; border-radius: 10px; overflow: hidden; background: #1b1b1b; }
.vstage iframe { width: 100%; height: 100%; }
.vstage[data-m="phone"] { background: radial-gradient(circle at 50% 40%, #2b2a27, #151515); }
.vstage[data-m="phone"] iframe { width: 390px; height: min(96%, 780px); border-radius: 32px; border: 8px solid #050505; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.vnote { color: var(--soft); font-size: 13.5px; margin: 12px 4px 2px; min-height: 1.5em; }

.steps { list-style: none; counter-reset: n; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: n; border-top: 2px solid var(--yellow); padding-top: 18px; }
.steps li::before { content: counter(n); font: 700 54px 'D-DIN Condensed', sans-serif; color: var(--yellow); display: block; line-height: 1; margin-bottom: 10px; }
.steps b { display: block; font: 700 26px 'D-DIN Condensed', sans-serif; text-transform: uppercase; margin-bottom: 8px; }
.steps span { color: #d8d5cd; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.tier { background: #fff; border-radius: 16px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.tier.hi { background: var(--ink); color: var(--paper); box-shadow: none; }
.tier p { color: var(--muted); margin-top: 8px; } .tier.hi p { color: var(--soft); }
.tier ul { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.tier li { padding-left: 22px; position: relative; } .tier li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.foot { color: var(--soft); padding: 56px 0 72px; border-top: 1px solid #262626; font-size: 15px; }
.foot img { width: 74px; margin-bottom: 18px; } .foot a { color: var(--paper); }

@media (max-width: 980px) {
  .hero, .two, .steps, .tiers { grid-template-columns: 1fr; }
  .picker { grid-template-columns: repeat(3, 1fr); }
  .top nav a:not(.cta) { display: none; }
  .two.rev > :first-child { order: 2; }
  .vbar a { display: none; }
}
@media (max-width: 560px) {
  .picker { grid-template-columns: repeat(2, 1fr); }
  .seg button[data-m="screen"], .seg button[data-m="editor"] { display: none; }   /* a phone shows the phone */
  .vstage[data-m="phone"] iframe { width: 100%; height: 100%; border: 0; border-radius: 0; }
  .vstage { height: 76vh; }
  .phone { display: none; } .live { position: static; margin-top: 10px; }
}
