@font-face {
  font-family: "Bricolage Grotesque";
  src: url(fonts/bricolage.woff2) format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(fonts/plex.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(fonts/plex-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* Same tokens as the app (web/src/index.css). */
:root {
  --ink: #1b1f3b;
  --ink-2: #4a4f72;
  --ink-3: #8287a6;
  --canvas: #eef0f6;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --line: #dde0eb;
  --cobalt: #3346d3;
  --cobalt-soft: #e5e8fb;
  --saffron: #f2a900;
  --saffron-soft: #fff4d6;
  --moss: #2e8b57;
  --night: #1b1f3b;
  --night-ink: #e8eaf6;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "IBM Plex Sans", ui-sans-serif, -apple-system, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8eaf6;
    --ink-2: #b3b7d4;
    --ink-3: #7a7fa3;
    --canvas: #12142a;
    --surface: #1a1d38;
    --surface-2: #212547;
    --line: #2d3158;
    --cobalt: #7b8bff;
    --cobalt-soft: #262c5c;
    --saffron: #ffbf2e;
    --saffron-soft: #3a3016;
    --moss: #4cc387;
    --night: #0c0e1f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e8eaf6;
  --ink-2: #b3b7d4;
  --ink-3: #7a7fa3;
  --canvas: #12142a;
  --surface: #1a1d38;
  --surface-2: #212547;
  --line: #2d3158;
  --cobalt: #7b8bff;
  --cobalt-soft: #262c5c;
  --saffron: #ffbf2e;
  --saffron-soft: #3a3016;
  --moss: #4cc387;
  --night: #0c0e1f;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; max-width: 18ch; }
h3 { font-size: 21px; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 14px; }
.sub { color: var(--ink-2); max-width: 60ch; margin-top: 16px; }
.muted { color: var(--ink-3); font-size: 15px; }
section { padding-block: clamp(64px, 10vw, 120px); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  color: #e8eaf6;
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); color: inherit; text-decoration: none; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; }
.nav a { color: #b3b7d4; text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgb(255 255 255 / 0.08); }
@media (max-width: 640px) {
  .nav a:not([href="#mac"]):not([href="#functies"]) { display: none; }
  .nav a { padding: 8px 10px; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgb(51 70 211 / 0.55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgb(242 169 0 / 0.14), transparent 60%),
    var(--night);
  color: #e8eaf6;
  padding-block: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
}
.hero-in { display: grid; gap: clamp(40px, 6vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #b3b7d4; margin-bottom: 22px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #4cc387; box-shadow: 0 0 0 0 rgb(76 195 135 / 0.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(76 195 135 / 0); } 100% { box-shadow: 0 0 0 0 rgb(76 195 135 / 0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.hero h1 { font-size: clamp(44px, 8.4vw, 96px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.02; max-width: 11ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #cdd0e6; max-width: 56ch; margin-top: 24px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.platforms li { border: 1px solid rgb(255 255 255 / 0.18); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #e8eaf6; }
.platforms li:first-child { background: var(--saffron); border-color: var(--saffron); color: #1b1f3b; font-weight: 600; }
.hero-shot { position: relative; margin: 0; padding-bottom: clamp(32px, 6vw, 72px); }
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgb(255 255 255 / 0.12); box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.55); }
.hero .frame { border-radius: 14px 14px 14px 14px; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e9ebf3; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cddd; }
.frame-bar i:first-child { background: #ff6b5f; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.phone {
  position: absolute; right: clamp(-8px, 1vw, 24px); bottom: 0;
  width: clamp(120px, 22%, 240px);
  border-radius: 28px; overflow: hidden;
  border: 6px solid #0b0d1c; background: #0b0d1c;
  box-shadow: 0 30px 60px -10px rgb(0 0 0 / 0.6);
}
.phone img { border-radius: 22px; }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-shot { margin-inline: 4%; }
}

/* ---------- intro ---------- */
.three { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.three article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.three h3 { margin: 18px 0 10px; }
.three p { color: var(--ink-2); font-size: 16px; }
.badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; font-size: 25px; }
.b-cobalt { background: #3346d3; } .b-moss { background: #2e8b57; } .b-saffron { background: #f2a900; }

/* ---------- how / tabs ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.tabs { margin-top: 40px; }
.tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button {
  flex: none; font: 500 15px/1 var(--sans); color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer;
}
.tablist button[aria-selected="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tablist button[aria-selected="true"] { color: #12142a; } }
.panel { margin-top: 22px; }
.panel > p { color: var(--ink-2); max-width: 62ch; margin-bottom: 20px; min-height: 3.2em; }
.panel .frame { border-color: var(--line); box-shadow: 0 24px 60px -30px rgb(27 31 59 / 0.35); }

/* ---------- control / permission slip ---------- */
.control { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .control { grid-template-columns: 1.1fr 1fr; } }
.control-copy > p { color: var(--ink-2); margin-top: 18px; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--saffron); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect width='18' height='18' rx='6'/%3E%3C/svg%3E"); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid #1b1f3b; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--ink); font-weight: 600; }

.slip {
  position: relative;
  background: var(--saffron-soft);
  border: 1.5px solid color-mix(in srgb, var(--saffron) 70%, transparent);
  border-radius: 22px;
  padding: 26px 26px 0;
  max-width: 520px; width: 100%; justify-self: center;
  box-shadow: 0 30px 60px -30px rgb(242 169 0 / 0.5);
  transform: rotate(-1.2deg);
}
.slip-k { font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--saffron) 55%, var(--ink)); }
.slip-t { font: 650 clamp(19px, 2.4vw, 23px)/1.3 var(--display); margin-top: 8px; letter-spacing: -0.01em; }
.slip-l { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; margin-top: 10px; }
.slip-stub { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding: 18px 0 20px; border-top: 2px dashed color-mix(in srgb, var(--saffron) 70%, transparent); }
.slip-stub::before, .slip-stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--canvas); border: 1.5px solid color-mix(in srgb, var(--saffron) 70%, transparent); }
.slip-stub::before { left: -38px; clip-path: inset(0 0 0 50%); }
.slip-stub::after { right: -38px; clip-path: inset(0 50% 0 0); }
.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.btn-sig { background: var(--saffron); color: #1b1f3b; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-quiet { color: var(--ink-2); margin-left: auto; }

/* ---------- features ---------- */
.features { background: var(--night); color: #e8eaf6; }
.features .eyebrow { color: var(--saffron); }
.fgrid { display: grid; gap: 16px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.fcard { background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 20px; padding: 26px; }
.fcard h3 { color: #fff; }
.fcard ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.fcard li { position: relative; padding-left: 18px; color: #b3b7d4; font-size: 15.5px; line-height: 1.5; }
.fcard li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: #7b8bff; }

/* ---------- mac ---------- */
.mac-in { display: grid; gap: 56px; align-items: start; }
@media (min-width: 980px) { .mac-in { grid-template-columns: 1.05fr 1fr; } .mac-visual { position: sticky; top: 96px; } }
.mac-copy > p { color: var(--ink-2); margin-top: 18px; max-width: 56ch; }
.mac-list { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mac-list div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mac-list dt { font: 650 18px/1.3 var(--display); }
.mac-list dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.mac-h3 { margin-top: 40px; }
.steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); min-height: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); font: 700 15px/1 var(--display); }
.steps b { color: var(--ink); font-weight: 600; }

.mac-visual { position: relative; }
.menubar {
  display: flex; align-items: center; gap: 18px; height: 34px; padding: 0 14px;
  background: color-mix(in srgb, var(--surface) 80%, var(--cobalt-soft)); border: 1px solid var(--line); border-radius: 12px 12px 0 0;
  font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden;
}
.mb-apple { width: 12px; height: 14px; border-radius: 50% 50% 45% 45%; background: var(--ink); flex: none; }
.mb-right { margin-left: auto; display: grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; background: var(--cobalt-soft); }
.menu {
  width: min(330px, 100%); margin-left: auto; margin-top: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 8px; box-shadow: 0 24px 50px -24px rgb(27 31 59 / 0.4); font-size: 14.5px;
}
.menu p { padding: 6px 10px; border-radius: 7px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu p:hover { background: var(--cobalt); color: #fff; }
.menu-head { font-weight: 600; }
.menu-head span, .menu-note { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-toggle i { flex: none; width: 34px; height: 20px; border-radius: 10px; background: var(--line); position: relative; }
.menu-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); }
.menu-toggle.on i { background: var(--moss); }
.menu-toggle.on i::after { left: 16px; }
kbd { font: 500 12.5px/1 var(--sans); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); }
.keys { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.keys-t { font: 650 16px/1 var(--display); }
.keys ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); font-size: 14.5px; color: var(--ink-2); }
.keys kbd { margin-right: 6px; }

/* ---------- iphone ---------- */
.iphone { display: grid; gap: 48px; align-items: center; padding-top: 0; }
@media (min-width: 900px) { .iphone { grid-template-columns: 1fr 1fr; } }
.iphone-copy > p { color: var(--ink-2); margin-top: 18px; max-width: 52ch; }
.iphone-copy > p.muted { color: var(--ink-3); }
.phones { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.phones img { width: min(46%, 250px); border-radius: 30px; border: 7px solid #0b0d1c; background: #0b0d1c; box-shadow: 0 30px 60px -30px rgb(27 31 59 / 0.6); }
.phones img:last-child { transform: translateY(36px); }

/* ---------- faq ---------- */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 650 19px/1.35 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px/1 var(--sans); color: var(--cobalt); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding-bottom: 22px; max-width: 64ch; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #b3b7d4; padding-block: 40px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.foot .brand { color: #e8eaf6; font-size: 19px; }
picture { display: block; }
