/* SlapTheMac — neo-brutalist pop. Thick black outlines, hard shadows, saturated colors. */
:root {
  --ink: #0d0b14;
  --paper: #fff8ec;
  --pink: #ff2e88;
  --yellow: #ffe14a;
  --cyan: #17d9ff;
  --lime: #b8ff3c;
  --violet: #7b3cff;
  --orange: #ff6a1f;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --r: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --bg: var(--yellow);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 4px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.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; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ── Grain ─────────────────────────────────────────────────────────────── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  --c: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: var(--line);
  border-radius: 999px;
  background: var(--c);
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn.dark { --c: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--pink); }
.btn.white { --c: #fff; }
.btn.big { min-height: 66px; font-size: 22px; padding: 0 34px; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; font-weight: 700; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 12px auto 0;
  width: min(1180px, 100% - 24px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 6px 24px rgba(13, 11, 20, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.03em; }
.logo img { width: 44px; height: 44px; transition: transform 0.2s cubic-bezier(.3, 1.8, .5, 1); }
.logo:hover img { transform: rotate(-10deg) scale(1.08); }
.wm em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; color: var(--pink); letter-spacing: -0.01em; margin: 0 0.04em 0 0.06em; }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.nav .links a { text-decoration: none; }
.nav .links a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nav .btn { min-height: 44px; font-size: 17px; padding: 0 20px; border: 0; box-shadow: none; background: var(--ink); color: #fff; }
.nav .btn:hover { transform: none; box-shadow: none; background: #2b2738; }
.lang { border: var(--line); background: var(--yellow); border-radius: 999px; font-weight: 800; padding: 6px 12px; font-size: 14px; }
/* Language picker */
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(13, 11, 20, 0.1);
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 3px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.langs[open] summary { background: #fff; }
.langs > div {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  display: grid; min-width: 170px; padding: 6px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 18px 40px rgba(13, 11, 20, 0.16);
}
.langs a { padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px; }
.langs a:hover { background: rgba(13, 11, 20, 0.06); }
.langs a[aria-current] { background: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .nav { gap: 8px; padding: 6px 6px 6px 8px; top: 10px; margin-top: 10px; width: calc(100% - 20px); }
  .logo img { width: 40px; height: 40px; }
  .nav .links { gap: 14px; font-size: 15px; white-space: nowrap; }
  .nav .links { display: none; }
  .nav .btn { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 15px; }
  .logo span { display: none; }
  .langs summary { padding: 7px 10px; font-size: 13px; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -80px;
  padding: 110px 0 18px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}
.hero-grid { flex: 1; }
.hero .cta { margin-top: 34px; }
.hero-foot {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px;
  width: min(1180px, 100% - 32px); margin: 24px auto 0;
  font-size: 13px; font-weight: 600; opacity: 0.6;
}
.hero-foot a { text-decoration: none; }
.hero-foot a:hover { text-decoration: underline; }
.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  border: var(--line);
  pointer-events: none;
}
.hero .b1 { width: 420px; height: 420px; background: var(--pink); top: -140px; right: -120px; }
.hero .b2 { width: 260px; height: 260px; background: var(--cyan); bottom: -90px; left: -70px; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 32px;
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 800;
}
h1 .w { display: inline-block; }
h1 .s { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; font-size: 1.08em; }
.hero p.lead { font-size: clamp(19px, 2.2vw, 23px); max-width: 28ch; margin: 0 0 30px; font-weight: 500; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero .note { font-size: 15px; font-weight: 700; opacity: 0.8; }

/* The MacBook (pure CSS 3D, sized in container units so it scales with the column) */
.stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / 0.86;
  user-select: none;
  -webkit-user-select: none;
}
.glow {
  position: absolute; left: 50%; top: 42%;
  width: 90cqw; height: 70cqw;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 46, 136, 0.75), rgba(255, 46, 136, 0) 70%);
  opacity: 0;
  pointer-events: none;
}
.floor {
  position: absolute; left: 8cqw; right: 8cqw; top: 71cqw; height: 7cqw;
  background: radial-gradient(closest-side, rgba(13, 11, 20, 0.45), rgba(13, 11, 20, 0));
  filter: blur(4px);
}
.scene { position: absolute; inset: 0; perspective: 320cqw; perspective-origin: 50% -20%; }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.laptop {
  position: absolute; left: 11cqw; top: 10cqw;
  width: 78cqw; height: 50cqw;
  transform-style: preserve-3d;
  transform: rotateY(-10deg);
  cursor: pointer;
}
.lid {
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  transform: rotateX(7deg);
  border-radius: 2.6cqw 2.6cqw 1cqw 1cqw;
  background: linear-gradient(160deg, #eceef2, #a9acb4 45%, #d7d9de);
  padding: 0.35cqw;
}
.lid::before {
  content: ""; position: absolute; inset: 0.35cqw;
  border-radius: 2.3cqw 2.3cqw 0.8cqw 0.8cqw;
  background: #08080a;
}
.screen {
  position: absolute; inset: 1.6cqw 1.6cqw 2.4cqw;
  border-radius: 1.1cqw 1.1cqw 0.3cqw 0.3cqw;
  overflow: hidden;
  background: #1a0b33;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #fff;
}
.screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0 28%, rgba(255, 255, 255, 0) 28.4%);
}
.wall {
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 50% at 18% 70%, #ff2e88 0, rgba(255, 46, 136, 0) 100%),
    radial-gradient(45% 55% at 82% 25%, #7b3cff 0, rgba(123, 60, 255, 0) 100%),
    radial-gradient(35% 40% at 70% 95%, #ff9a3c 0, rgba(255, 154, 60, 0) 100%),
    radial-gradient(30% 35% at 35% 15%, #17d9ff 0, rgba(23, 217, 255, 0) 100%),
    #2a0f4a;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(3%, -2%) scale(1.08) rotate(2deg); } }
.menubar {
  position: absolute; left: 0; right: 0; top: 0; height: 2.5cqw;
  display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.6cqw;
  font-size: 1.25cqw; font-weight: 500;
  background: rgba(20, 10, 40, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.menubar .right { margin-left: auto; display: flex; align-items: center; gap: 1.4cqw; }
.menubar .mi { font-style: normal; display: inline-block; transition: transform 0.15s; }
.menubar .bat { width: 2.4cqw; height: 1.1cqw; border: 0.12cqw solid #fff; border-radius: 0.3cqw; background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: 0.12cqw; }
.notch {
  position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 10cqw; height: 2.5cqw;
  background: #08080a; border-radius: 0 0 1cqw 1cqw;
  display: grid; place-items: center;
}
.notch i { width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a6a, #0c0f18 60%); }
.viz {
  position: absolute; left: 12%; right: 12%; top: 22%; height: 38%;
  display: flex; align-items: center; justify-content: center; gap: 0.55cqw;
}
.viz span {
  flex: 1; max-width: 1.1cqw; height: 6%;
  border-radius: 1cqw;
  background: linear-gradient(#fff, #ffd1ea);
  box-shadow: 0 0 1.4cqw rgba(255, 255, 255, 0.55);
}
.say {
  position: absolute; left: 0; right: 0; top: 64%;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: calc(4.6cqw * var(--s, 1));
  line-height: 1;
  text-shadow: 0 0.3cqw 2cqw rgba(0, 0, 0, 0.35);
  opacity: 0;
}
.say.on { animation: say 1.5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes say {
  0% { opacity: 0; transform: translateY(1.5cqw) scale(0.7); }
  12% { opacity: 1; transform: none; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-0.8cqw); }
}
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: overlay; }

.base {
  position: absolute; left: 0; right: 0; top: 100%;
  height: 48cqw;
  transform-origin: 50% 0;
  transform: rotateX(80deg);
  transform-style: preserve-3d;
  border-radius: 0.8cqw 0.8cqw 3cqw 3cqw;
  background: linear-gradient(#cfd2d8, #e6e8ec 40%, #d2d5da);
  box-shadow: inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.6);
}
.kbd {
  position: absolute; left: 13%; right: 13%; top: 7%; height: 46%;
  display: flex; flex-direction: column; gap: 0.5cqw;
  padding: 0.6cqw; border-radius: 0.8cqw;
  background: #9fa3ab;
}
.kbd .row { display: flex; gap: 0.5cqw; flex: 1; }
.kbd .row.fn { flex: 0.55; }
.kbd i {
  flex: var(--w, 1);
  border-radius: 0.45cqw;
  background: #16171b;
  box-shadow: inset 0 -0.3cqw 0 rgba(255, 255, 255, 0.06);
  transition: background 0.5s, box-shadow 0.5s;
}
.kbd.lit i { background: #2a0e22; box-shadow: 0 0 1.2cqw #ff2e88, inset 0 0 0.6cqw #ff2e88; transition: none; }
.speaker {
  position: absolute; top: 7%; height: 46%; width: 9%;
  background: radial-gradient(circle, #6f737b 0.22cqw, transparent 0.32cqw) 0 0 / 1.1cqw 1.1cqw;
  opacity: 0.8;
}
.speaker.l { left: 2.5%; }
.speaker.r { right: 2.5%; }
.pad {
  position: absolute; left: 29%; right: 29%; top: 58%; height: 36%;
  border-radius: 1.6cqw;
  background: linear-gradient(#c6c9cf, #d7d9de);
  box-shadow: inset 0 0 0 0.2cqw rgba(0, 0, 0, 0.07);
}
.front {
  position: absolute; left: 1.4cqw; right: 1.4cqw; bottom: 0; height: 1.6cqw;
  transform-origin: 50% 100%;
  transform: rotateX(90deg);
  background: linear-gradient(90deg, #8d9098, #c5c8ce 30%, #c5c8ce 70%, #8d9098);
  border-radius: 0 0 1.2cqw 1.2cqw;
}
.fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.hand {
  position: absolute; left: 0; top: 0;
  font-size: 19cqw; line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 1.5cqw 1.5cqw rgba(13, 11, 20, 0.25));
  will-change: transform;
}
.ring {
  position: absolute;
  width: 6cqw; height: 6cqw;
  margin: -3cqw 0 0 -3cqw;
  border: 0.8cqw solid #fff;
  border-radius: 50%;
  animation: ring 0.55s ease-out forwards;
}
@keyframes ring { to { transform: scale(5); opacity: 0; border-width: 0.1cqw; } }
.arc {
  position: absolute;
  width: 9cqw; height: 18cqw;
  margin: -9cqw 0 0 -4.5cqw;
  border: 1.3cqw solid transparent;
  border-radius: 50%;
  animation: arc 0.95s ease-out forwards;
}
.arc.r { border-right-color: var(--ink); }
.arc.l { border-left-color: var(--ink); }
@keyframes arc {
  from { transform: translateX(0) scale(0.5); opacity: 1; }
  to { transform: translateX(var(--dx)) scale(1.5); opacity: 0; }
}
.pow {
  position: absolute;
  width: calc(34cqw * var(--k, 1));
  aspect-ratio: 208 / 140;
  display: grid; place-items: center;
  transform: translate(-50%, -50%) rotate(var(--rot));
  animation: pow 1s cubic-bezier(.2, 1.6, .4, 1) forwards;
}
.pow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pow b {
  position: relative;
  font-weight: 800;
  font-size: calc(5cqw * var(--k, 1));
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-text-stroke: 0.7cqw var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.45cqw 0.45cqw 0 var(--ink);
  transform: skewX(-8deg);
  white-space: nowrap;
}
@keyframes pow {
  0% { transform: translate(-50%, -50%) scale(0) rotate(calc(var(--rot) - 25deg)); opacity: 1; }
  22% { transform: translate(-50%, -50%) scale(1.15) rotate(var(--rot)); }
  34% { transform: translate(-50%, -50%) scale(0.96) rotate(var(--rot)); }
  44%, 78% { transform: translate(-50%, -50%) scale(1) rotate(var(--rot)); opacity: 1; }
  100% { transform: translate(-50%, -62%) scale(1.12) rotate(var(--rot)); opacity: 0; }
}
.spark { position: absolute; font-size: 5cqw; animation: spark 0.9s ease-out forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
@media (max-width: 900px) {
  .hero { padding-top: 92px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: stretch; gap: 8px; }
  .stage { order: -1; align-self: center; width: min(640px, 100% + 32px); margin: 0 auto; }
  .hero-copy { align-self: end; }
  .hero h1 { font-size: clamp(50px, 14.5vw, 96px); margin-bottom: 20px; }
  .hero .cta { margin-top: 0; }
  .hero .cta .btn { width: 100%; }
  .hero .b1 { width: 300px; height: 300px; top: -110px; right: -110px; }
  .hero .b2 { width: 200px; height: 200px; bottom: 90px; left: -110px; }
  .hero-foot { margin-top: 16px; gap: 4px 14px; font-size: 12px; }
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section { padding: 70px 0; }
.eyebrow { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; }
h2 { font-size: clamp(42px, 6.4vw, 86px); line-height: 0.92; letter-spacing: -0.05em; margin: 8px 0 34px; font-weight: 800; }
h3 { font-size: 28px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 8px; }


/* ── Footer ───────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--paper); padding: 40px 0; font-size: 15px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { text-decoration: none; opacity: 0.85; }
footer a:hover { opacity: 1; text-decoration: underline; }

/* ── Secondary pages (thanks, account, legal) ──────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; padding: 50px 0 80px; }
.card {
  padding: clamp(22px, 4vw, 40px);
  border: var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.center { max-width: 720px; margin-inline: auto; }
.keybox {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px;
  border: var(--line); border-radius: 16px;
  background: var(--yellow);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700; font-size: clamp(15px, 2.6vw, 22px);
  word-break: break-all;
}
.keybox code { flex: 1 1 260px; }
.keybox button { flex: none; border: var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-family: var(--display); font-size: 15px; }
ol.big { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
ol.big > li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px; border: var(--line); border-radius: 18px; background: var(--c, #fff); }
ol.big > li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: #fff; font-weight: 800; font-size: 22px; }
ol.big h3 { font-size: 22px; margin: 4px 0 6px; }
ol.big p { margin: 0 0 12px; }
.spinner { width: 70px; height: 70px; margin: 10px auto 20px; border: 6px solid var(--ink); border-top-color: var(--pink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.field { display: flex; gap: 10px; flex-wrap: wrap; }
.field input {
  flex: 1 1 280px; min-height: 56px; padding: 0 18px;
  border: var(--line); border-radius: 16px;
  font: 700 18px ui-monospace, "SF Mono", Menlo, monospace;
  background: #fff;
}
.devices { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: var(--line); border-radius: 14px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }
.legal h2 { font-size: 26px; margin: 34px 0 8px; letter-spacing: -0.02em; }
.legal p, .legal li { max-width: 72ch; }
.todo { background: #ffe0e8; padding: 0 4px; border-radius: 4px; }
.confetti { position: fixed; top: -20px; width: 12px; height: 18px; z-index: 90; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body:has(.home) { background: var(--yellow); }

/* ── Single-section pages (how, pricing): same look as the home hero ───── */
body.single { background: var(--yellow) !important; min-height: 100vh; min-height: 100svh; }
.blobs { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blobs i { position: absolute; border-radius: 50%; border: var(--line); }
.blobs .b1 { width: 420px; height: 420px; background: var(--pink); top: -140px; right: -120px; }
.blobs .b2 { width: 260px; height: 260px; background: var(--cyan); bottom: -90px; left: -70px; }
.single main, .single .hero-foot { position: relative; z-index: 1; }
.single .hero-foot { margin-bottom: 18px; }
.page main.solo { display: flex; align-items: center; padding: 28px 0 20px; }
.ptitle { font-size: clamp(48px, 6.6vw, 96px); line-height: 0.88; letter-spacing: -0.055em; margin: 0 0 30px; font-weight: 800; }
.ptitle .s { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; font-size: 1.06em; }
.solo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.solo-cta span { font-size: 15px; font-weight: 700; opacity: 0.7; }

/* Pricing */
.buy-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(30px, 6vw, 90px); align-items: center; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 19px; font-weight: 700; }
.perks li { display: flex; align-items: center; gap: 14px; }
.perks li span {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: var(--line); border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); font-size: 20px;
}
.buy-card {
  padding: 24px;
  border: var(--line); border-radius: 30px;
  background: #fff;
  box-shadow: 10px 10px 0 var(--ink);
}
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.plan {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 18px 18px 16px;
  text-align: left;
  border: var(--line); border-radius: 20px;
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.plan:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.plan[aria-checked="true"] { background: var(--yellow); box-shadow: 5px 5px 0 var(--pink); transform: translate(-2px, -2px); }
.plan[aria-checked="true"]::after {
  content: "✓"; position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-size: 15px; font-weight: 800;
}
.plan .name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.plan .price { font-weight: 800; font-size: clamp(46px, 5vw, 58px); letter-spacing: -0.06em; line-height: 1; margin: 8px 0 4px; }
.plan .sub { font-size: 14px; font-weight: 600; opacity: 0.65; }
.badge {
  position: absolute; top: -14px; right: 46px;
  padding: 3px 11px;
  background: var(--lime); border: var(--line); border-radius: 999px;
  font-weight: 800; font-size: 13px; white-space: nowrap;
  transform: rotate(4deg);
}
.buy-card .total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 17px; padding: 14px 2px; margin-bottom: 14px; border-top: 2px dashed rgba(13, 11, 20, 0.25); }
.buy-card .total b { font-size: 26px; letter-spacing: -0.04em; }
#wallet { min-height: 0; }
#wallet.ready { min-height: 55px; margin-bottom: 12px; }
.or { display: flex; align-items: center; gap: 12px; margin: 2px 0 12px; font-weight: 700; font-size: 14px; opacity: 0.6; }
.or::before, .or::after { content: ""; flex: 1; height: 2px; background: var(--ink); opacity: 0.2; }
.pay-card { width: 100%; }
.err { display: none; margin-top: 14px; padding: 12px 14px; border: var(--line); border-radius: 14px; background: #ffe0e8; font-weight: 700; font-size: 15px; }
.err.on { display: block; }
.skeleton { height: 55px; border-radius: 12px; background: linear-gradient(90deg, #eee, #f8f8f8, #eee); background-size: 200% 100%; animation: sk 1.2s infinite; margin-bottom: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.fine { font-size: 12.5px; opacity: 0.6; margin: 14px 0 0; line-height: 1.4; }
@media (max-width: 900px) {
  .buy-grid { grid-template-columns: 1fr; gap: 22px; }
  .buy-copy { display: contents; }
  .ptitle { margin: 0; font-size: clamp(46px, 13vw, 80px); }
  .buy .perks { order: 3; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
  .buy .perks li { gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.6); }
  .buy .perks li span { width: 28px; height: 28px; border-width: 2px; border-radius: 50%; box-shadow: none; font-size: 14px; }
  .acct-lead { font-size: 17px; }
  .page main.solo { align-items: flex-start; padding-top: 22px; }
  .buy-card { padding: 18px; border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); }
  .blobs .b1 { width: 260px; height: 260px; top: -100px; right: -110px; }
  .blobs .b2 { width: 180px; height: 180px; left: -100px; }
}
@media (max-width: 420px) { .plans { gap: 10px; } .plan { padding: 16px 12px 14px; } .badge { right: 36px; } }

/* Account */
.acct-lead { margin: 0; max-width: 30ch; font-size: 19px; font-weight: 600; }
.acct .lbl { display: block; font-weight: 800; font-size: 15px; margin: 0 0 10px; }
.acct #key {
  width: 100%; min-height: 60px; padding: 0 18px; margin-bottom: 16px;
  border: var(--line); border-radius: 16px; background: #fff8ec;
  font: 700 17px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink);
}
.acct #key:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--pink); }
.btn.wide { width: 100%; }
.keychip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff;
}
.keychip code { font: 700 14px ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.keychip .link { color: var(--yellow); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 16px 0 20px; }
.stats > div { padding: 12px 14px; border: var(--line); border-radius: 16px; background: #fff8ec; }
.stats > div.hidden { display: none; }
.stats small { display: block; font-size: 13px; font-weight: 700; opacity: 0.6; }
.stats b { font-size: 20px; letter-spacing: -0.02em; }
#status[data-status="active"]::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; background: #18b85a; vertical-align: 2px; }
.macs-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.acct .devices { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.acct .devices li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 2px solid rgba(13, 11, 20, 0.15); border-radius: 14px; }
.acct .devices li span { display: grid; }
.acct .devices li small { font-size: 13px; opacity: 0.6; }
.acct .devices li.empty { justify-content: center; font-weight: 600; opacity: 0.6; border-style: dashed; }
.acct .devices .link { font-size: 14px; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.acct-actions .btn { flex: 1 1 auto; min-height: 52px; font-size: 17px; }
.acct .err { margin: 14px 0 0; }

/* Download button */
.btn .apple-dl { width: 22px; height: 22px; flex: none; }
.nav .btn { gap: 8px; }
@media (max-width: 900px) { .hero .cta { flex-direction: column; align-items: stretch; gap: 10px; } .hero .note { text-align: center; } }

/* Home: exactly one screen, footer line always visible. The Mac shrinks with the window height. */
.page main.home { padding: 0; }
.home .hero { height: 100vh; height: 100svh; min-height: 560px; }
.home .hero-grid { min-height: 0; }
.home .stage { width: min(100%, calc((100svh - 190px) / 0.86)); justify-self: center; }
@media (max-width: 900px) {
  .home .hero { min-height: 540px; }
  .home .stage { width: min(100% + 32px, 640px, calc((100svh - 400px) / 0.86)); }
}

/* Mac ou Windows : la classe « win » est posée sur <html> par un petit script dans <head> (pages.mjs). */
html:not(.win) .only-win { display: none !important; }
.win .only-mac { display: none !important; }
.cta .also { font-weight: 700; font-size: 15px; color: var(--ink); opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.cta .also:hover { opacity: 1; }

/* Téléphone : pas de téléchargement, on s'envoie le lien (classe « mobile » posée par le script de <head>). */
html:not(.mobile) .only-mobile { display: none !important; }
.mobile .only-desktop { display: none !important; }
.cta.send { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.send-note { margin: 2px 0 0; font-size: 15px; font-weight: 600; opacity: .8; text-align: center; }
.send-alt { margin: 0; font-weight: 700; text-align: center; }
.send-alt a, .send-alt button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.get-choix { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-page .nav .only-mobile { display: none !important; }
.send-note { font-size: 13px; line-height: 1.3; }
.cta.send { margin-bottom: 14px; }
