/* Layout: full-width bands that alternate white and grey; content in a 1120px column; brick colours used as small solid blocks, never gradients. */
:root {
  --white: #ffffff;
  --grey: #f1f1ef;
  --line: #e2e2de;
  --ink: #111111;
  --ink-soft: #4a4a48;
  --yellow: #ffcf00;
  --blue: #006cb7;
  --green: #00a651;
  --red: #e3000b;
  --display: "Rubik", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 1120px;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.band { padding-block: clamp(56px, 9vw, 104px); padding-inline: 20px; }
.band.white { background: var(--white); }
.band.grey { background: var(--grey); }
.wrap { max-width: var(--col); margin: 0 auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--yellow)); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); max-width: 720px; }

/* Brick stripe: the four colours side by side */
.stripe { display: flex; height: 8px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--yellow); }
.stripe span:nth-child(2) { background: var(--blue); }
.stripe span:nth-child(3) { background: var(--green); }
.stripe span:nth-child(4) { background: var(--red); }

/* Nav */
nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-inline: 20px; }
nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
nav .links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
nav .links a { text-decoration: none; }
nav .links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn svg { width: 20px; height: 20px; }
.nav-cta { padding: 10px 16px; font-size: 14px; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: italic; background: linear-gradient(transparent 62%, var(--yellow) 62%); padding-inline: 4px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.shot { position: relative; border-radius: 28px; overflow: hidden; background: var(--grey); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); border: 10px solid var(--ink); }
.hero-art { position: relative; min-width: 0; }
.tag { position: absolute; font-family: var(--display); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 14px; border: 2px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--ink); white-space: nowrap; }
.tag.t1 { top: -18px; left: 18px; background: var(--yellow); transform: rotate(-4deg); }
.tag.t2 { bottom: -18px; right: 18px; background: var(--green); color: var(--white); transform: rotate(3deg); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: var(--cf, var(--white)); font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.roles b { font-family: var(--display); font-size: 13px; padding: 4px 10px; border-radius: 8px; background: var(--grey); }

/* Remotes */
.remotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.remote { border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); min-width: 0; }
.remote figure { margin: 0; aspect-ratio: 2 / 1; background: var(--grey); overflow: hidden; }
.remote figure img { width: 100%; height: 100%; object-fit: cover; }
.remote .txt { padding: 20px 22px 24px; display: grid; gap: 6px; }
.remote .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.remote p { color: var(--ink-soft); font-size: 16px; }
.badge { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 8px; }
.badge.free { background: var(--green); color: var(--white); }
.badge.pro { background: var(--yellow); color: var(--ink); }
.remote.wide { grid-column: span 2; flex-direction: row; }
.remote.wide .auto-art { flex: 0 0 38%; }
.remote.wide .txt { align-content: center; padding: 28px 32px; }
.auto-art { display: grid; place-items: center; height: 100%; min-height: 180px; background: var(--blue); }
.radar { width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, transparent 30%, rgba(255,255,255,.18) 31%, rgba(255,255,255,.18) 32%, transparent 33%, transparent 55%, rgba(255,255,255,.18) 56%, rgba(255,255,255,.18) 57%, transparent 58%); border: 2px solid rgba(255,255,255,.5); position: relative; }
.radar::after { content: ""; position: absolute; left: 50%; bottom: 18%; width: 22px; height: 36px; margin-left: -11px; border-radius: 7px; background: var(--yellow); border: 2px solid var(--ink); }
.radar::before { content: "10 cm"; position: absolute; top: 14%; left: 50%; transform: translateX(-50%); font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--white); }

/* Engines */
.engines { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.engine-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.engine-list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; background: var(--white); padding: 18px 22px; border-radius: 18px; }
.engine-list b { font-family: var(--display); font-size: 18px; }
.engine-list span { grid-column: 1; color: var(--ink-soft); font-size: 15px; }
.rev { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 3px; }
.rev i { width: 7px; height: 26px; border-radius: 2px; transform: skewX(-14deg); background: var(--line); }
.rev i.on { background: var(--c); }
.engine-copy { display: grid; gap: 18px; }
.out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.out div { background: var(--white); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.out b { font-family: var(--display); }
.out span { color: var(--ink-soft); font-size: 15px; }

/* Parents */
.safety { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 4px solid var(--c); }
.safety p { color: var(--ink-soft); font-size: 16px; }
.big { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 40px; line-height: 1; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; }
.plan { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; align-content: start; border: 2px solid transparent; }
.plan.pro { border-color: var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.price { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; color: var(--ink-soft); font-family: var(--body); margin-left: 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--green)); transform: translateY(-1px); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--grey); border-radius: 18px; padding: 4px 22px; }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--ink-soft); max-width: 65ch; }

/* Final CTA + footer */
.cta { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
footer { background: var(--grey); padding: 40px 20px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: grid; gap: 14px; }
footer .top { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .top a { font-weight: 600; text-decoration: none; color: var(--ink); }

@media (max-width: 920px) {
  .hero .wrap, .engines { grid-template-columns: 1fr; }
  .remotes { grid-template-columns: 1fr 1fr; }
  .steps, .safety { grid-template-columns: 1fr; }
  nav .links { display: none; }
  nav .nav-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  .remotes, .plans, .out { grid-template-columns: 1fr; }
  .remote.wide { grid-column: auto; flex-direction: column; }
  .shot { border-width: 6px; border-radius: 20px; }
  .tag { font-size: 13px; padding: 8px 12px; }
  .nav-cta span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Bricks Learning mark: four coloured squares */
.mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; width: 34px; height: 34px; flex: none; }
.mark i { border-radius: 4px; }
.mark i:nth-child(1) { background: var(--yellow); }
.mark i:nth-child(2) { background: var(--red); }
.mark i:nth-child(3) { background: var(--blue); }
.mark i:nth-child(4) { background: var(--green); }
