/* Cat in the Hat Mac Port: landing page.
 * Built from the Claude Design handoff (screens 4b desktop, 7a mobile, 8a-8d),
 * with the corrections in docs/landing-page-design-prompt.md. */

:root {
  --paper: #FBF6EC;
  --card: #FFFDF8;
  --ink: #1C2440;
  --ink-2: #4A5068;
  --red: #D42B25;
  --red-dark: #BF2621;
  --teal: #1D7377;
  --teal-dark-bg: #7FD6D9;
  --yellow: #F5C542;
  --on-dark: #D5D8E4;
  --hair: rgba(28, 36, 64, .12);
  --hair-2: rgba(28, 36, 64, .18);
  --tint: rgba(28, 36, 64, .06);
  --display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --pad: 96px;
  --gap-section: clamp(128px, 13vw, 208px);
  --gap-head: 56px;
  --max: 1248px;
  --media-radius: 24px;
  --media-shadow: 0 30px 60px rgba(28, 36, 64, .22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* Desktop/mobile copy switches */
.m, .m-only, .m-p { display: none !important; }

/* Buttons: red is for Download only */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 24px/1 var(--display); text-decoration: none; border-radius: 999px;
  min-height: 44px; transition: background-color .15s, transform .15s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(212, 43, 37, .28); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-red:active { transform: translateY(1px); }
.btn-hero { padding: 16px 40px; }
.btn-big { padding: 18px 44px; font-size: 26px; }
.btn-foot { padding: 14px 30px; font-size: 20px; }
.btn-compact { padding: 9px 20px; font-size: 17px; box-shadow: none; }
/* The one non-red button: GitHub, on the dark band */
.btn-light { gap: 12px; padding: 14px 28px; font-size: 20px; background: var(--paper); color: var(--ink) !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.btn-light:hover { background: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; transition: background-color .2s, box-shadow .2s; }
.top-in { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.top.is-stuck { background: rgba(251, 246, 236, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--hair), 0 6px 20px rgba(28, 36, 64, .08); }
.top.is-stuck .top-in { padding-top: 14px; padding-bottom: 14px; }
.wordmark { font: 600 24px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.wordmark span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font: 700 16px/1 var(--body); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav a:not(.btn):hover { color: var(--teal); }
.gh-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn-compact { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.top.show-get .btn-compact { opacity: 1; visibility: visible; transform: none; }
.menu-btn { display: none; }
.menu { display: none; }

main { display: flex; flex-direction: column; }
section { padding: 0 var(--pad); }
section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Hero */
.hero { text-align: center; padding-top: 72px; order: 1; }
.badge {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font: 700 15px/1 var(--body); padding: 9px 16px; border-radius: 999px; margin-bottom: 40px;
}
.hero h1 { font-size: clamp(56px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.015em; max-width: 1040px; margin: 0 auto; text-wrap: balance; }
.hero .sub { font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 680px; margin: 32px auto 0; text-wrap: pretty; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 48px; }
.how-link { font-weight: 700; font-size: 18px; }
.req { font-size: 14px; color: var(--ink-2); margin-top: 22px; }
.early { display: inline-block; margin-top: 16px; font: 700 13px/1 var(--body); color: var(--teal); border: 1.5px solid currentColor; border-radius: 999px; padding: 5px 10px; }
.window { border-radius: var(--media-radius); overflow: hidden; box-shadow: var(--media-shadow); background: var(--ink); }
.hero-media { position: relative; max-width: 1120px; margin: 96px auto 0; aspect-ratio: 16 / 9; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-loop { position: absolute; inset: 0; }
.trailer-pill {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; cursor: pointer;
  font: 600 20px/1 var(--display); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.trailer-pill .play { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.trailer-pill:hover { background: #26304f; }

/* Steps */
.steps { order: 3; margin-top: var(--gap-section); }
.step-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px; position: relative; text-align: center; }
.step-list::before { /* the dashed path behind the numbers */
  content: ""; position: absolute; top: 32px; left: calc(100% / 6); right: calc(100% / 6);
  border-top: 3px dashed var(--yellow); z-index: 0;
}
.step-list li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  font: 600 28px/64px var(--display); box-shadow: 0 0 0 10px var(--paper); margin-bottom: 32px;
}
.step-list h3 { font-size: 28px; line-height: 1.1; max-width: 300px; min-height: 2.2em; display: flex; align-items: flex-start; justify-content: center; }
.step-sub { color: var(--ink-2); margin-top: 12px; min-height: 1.5em; font-size: 17px; }
.shot { margin-top: 36px; width: 100%; aspect-ratio: 16 / 10; }
.window-sm { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(28, 36, 64, .16); background: #1a2140; }
.window-sm img { width: 100%; height: 100%; object-fit: cover; }
.dmg { background: linear-gradient(#f4efe3, #eae3d3); display: grid; place-items: center; }
.dmg-in { display: flex; align-items: center; gap: 10px; }
.dmg-in img { width: 112px; height: 112px; filter: drop-shadow(0 8px 14px rgba(28, 36, 64, .25)); }
.dmg-arrow { flex: none; }
.folder { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 14px/1 var(--body); color: var(--ink-2); }
.after-steps { text-align: center; margin-top: 112px; }
.thats-it { font: 500 28px/1.3 var(--display); margin-bottom: 36px; }
.hd-note { color: var(--ink-2); margin-top: 14px; font-size: 16px; }

/* What you need */
.need { order: 6; margin-top: var(--gap-section); display: grid; grid-template-columns: 1fr 2fr; gap: 72px; max-width: calc(var(--max) + 2 * var(--pad)); margin-left: auto; margin-right: auto; width: 100%; }
.need > * { margin: 0; max-width: none; }
.need h2, .get h2, .faq h2, .compare h2, .how h2 { font-size: clamp(44px, 4vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 19px; }
.checks li::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='m8 14.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.not { margin-top: 40px; background: var(--tint); border-radius: 16px; padding: 20px 24px; color: var(--ink-2); }
.not strong { color: var(--ink); }

/* Before / after */
.compare { order: 2; margin-top: var(--gap-section); }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: var(--gap-head); }
.compare h2 .t-then, .compare h2 .t-now { display: none; }
.scene-pills { display: none; }
.scene-label { color: var(--ink-2); font-weight: 700; }
.slider { position: relative; height: 660px; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.slider picture, .slider img { width: 100%; height: 100%; }
.slider img { object-fit: cover; pointer-events: none; }
.s-old { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.s-label {
  position: absolute; top: 20px; background: rgba(28, 36, 64, .86); color: var(--paper);
  font: 700 15px/1 var(--body); padding: 9px 14px; border-radius: 999px; pointer-events: none;
}
.s-label-old { left: 20px; }
.s-label-new { right: 20px; }
.s-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--yellow); box-shadow: 0 0 18px rgba(245, 197, 66, .7); pointer-events: none; }
.s-handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 72px; height: 44px; border-radius: 999px; background: var(--yellow); display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(28, 36, 64, .35); cursor: grab;
}
.s-handle:active { cursor: grabbing; }
.slider.wiggle .s-handle { animation: wiggle 1.1s ease-in-out 1; }
@keyframes wiggle {
  0%, 100% { transform: translate(-50%, -50%); }
  20% { transform: translate(calc(-50% - 10px), -50%); }
  45% { transform: translate(calc(-50% + 10px), -50%); }
  70% { transform: translate(calc(-50% - 4px), -50%); }
}
.thumbs { display: flex; gap: 20px; margin-top: 36px; }
.thumb { padding: 0; border: 0; background: none; border-radius: 12px; overflow: hidden; cursor: pointer; outline: 3px solid transparent; outline-offset: 2px; width: 160px; aspect-ratio: 16 / 9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { outline-color: var(--teal); }
.small { color: var(--ink-2); font-size: 14px; margin-top: 22px; }

/* What you get */
.get { order: 5; margin-top: var(--gap-section); }
.tiles { list-style: none; padding: 0; margin-top: var(--gap-head); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tiles li { background: var(--card); border: 1px solid var(--hair); border-radius: 24px; padding: 40px 36px; }
.ic { width: 40px; height: 40px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.tiles h3 { font-size: 26px; margin-bottom: 10px; }
.tiles p { color: var(--ink-2); }
.settings-card { margin-top: 32px; display: grid; grid-template-columns: 520px 1fr; gap: 72px; align-items: center; background: var(--card); border: 1px solid var(--hair); border-radius: 28px; padding: 48px; }
.settings-card h3 { font-size: 36px; line-height: 1.1; margin-bottom: 16px; }
.settings-card p { color: var(--ink-2); }

/* How it works: the one dark band */
.how { order: 7; margin-top: var(--gap-section); color: var(--on-dark); padding-top: clamp(112px, 11vw, 176px); padding-bottom: clamp(112px, 11vw, 176px); }
.how-in { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.how h2 { color: #fff; margin-bottom: 32px; }
.how p + p { margin-top: 20px; }
.how a { color: var(--teal-dark-bg); font-weight: 700; }
.how a:hover { color: #fff; }
.links { margin-top: 36px; }
.diagram { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.diagram li {
  font: 600 20px/1.2 var(--display); color: #fff; border: 2px solid rgba(213, 216, 228, .4); border-radius: 18px;
  padding: 22px 18px; text-align: center; min-width: 140px;
}
.diagram li.hl { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.diagram li + li { margin-left: 44px; position: relative; }
.diagram li + li::before { content: "→"; position: absolute; left: -36px; top: 50%; transform: translateY(-50%); color: var(--yellow); font-size: 24px; }

/* FAQ */
.faq { order: 8; margin-top: var(--gap-section); }
.faq > * { max-width: 880px; }
.acc { margin-top: var(--gap-head); border-top: 1px solid var(--hair-2); }
.q { border-bottom: 1px solid var(--hair-2); }
.q h3 { font-weight: 500; }
.q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 30px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: 500 24px/1.25 var(--display); color: var(--ink);
}
.q i { flex: none; width: 22px; height: 22px; position: relative; }
.q i::before, .q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--teal); border-radius: 2px; transition: transform .2s; }
.q i::after { transform: rotate(90deg); }
.q button[aria-expanded="true"] i::after { transform: rotate(0deg); }
.a { color: var(--ink-2); max-width: 760px; }
.a > p { padding-bottom: 30px; }

/* Footer */
.foot { order: 8; margin-top: var(--gap-section); border-top: 1px solid var(--hair); padding: 80px var(--pad) 72px; }
.foot-in { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot-links { display: flex; gap: 24px; margin-top: 14px; font-weight: 700; }
.credits { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.disclaimer { max-width: var(--max); margin: 48px auto 0; color: var(--ink-2); font-size: 14px; }

/* Share sheet */
.sheet-wrap, .lightbox { position: fixed; inset: 0; z-index: 90; }
.scrim { position: absolute; inset: 0; background: rgba(28, 36, 64, .55); animation: fade .2s; }
.scrim.dark { background: rgba(28, 36, 64, .82); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--paper); border-radius: 28px 28px 0 0;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto;
  animation: up .25s ease-out;
}
.grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--hair-2); margin: 0 auto 18px; }
.sheet h2 { font-size: 26px; }
.sheet > p { color: var(--ink-2); margin: 6px 0 18px; font-size: 16px; }
.row {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 16px; margin-top: 10px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 16px; cursor: pointer;
  font: 700 17px/1 var(--body); color: var(--ink); text-decoration: none;
}
.row svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row .ok { margin-left: auto; font-style: normal; color: var(--teal); }
.sheet-close { display: block; margin: 16px auto 0; background: none; border: 0; font-weight: 700; color: var(--ink-2); min-height: 44px; padding: 0 20px; cursor: pointer; }

.lb-close { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; }

@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }

/* Everything that moves lives in motion.css */
.progress { display: none; }

/* Between desktop and phone */
@media (max-width: 1180px) {
  :root { --pad: 48px; --gap-section: 120px; --gap-head: 44px; }
  .slider { height: auto; aspect-ratio: 16 / 9; }
  .settings-card { grid-template-columns: 1fr 1fr; gap: 40px; padding: 32px; }
  .step-list { gap: 40px; }
  .how-in { gap: 56px; }
  .need { gap: 40px; }
  .diagram li { min-width: 0; padding: 18px 12px; font-size: 18px; }
}
@media (max-width: 900px) {
  .step-list { grid-template-columns: 1fr 1fr; }
  .step-list::before { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .how-in { grid-template-columns: 1fr; }
  .need { grid-template-columns: 1fr; }
}

/* Phone (7a) */
@media (max-width: 700px) {
  :root { --pad: 22px; --gap-section: 84px; --gap-head: 26px; --media-radius: 16px; --media-shadow: 0 16px 32px rgba(28, 36, 64, .2); }
  body { font-size: 16px; }
  .d, .d-only, .d-p, .d-li, .step-sub, .shot, .settings-card, .scene-label, .tiles p.d { display: none !important; }
  .m { display: inline !important; }
  .m-only, .m-p { display: block !important; }
  .btn.m-only { display: flex !important; }
  .top-in { padding: 12px var(--pad); }
  .top.is-stuck .top-in { padding-top: 10px; padding-bottom: 10px; }
  .wordmark { font-size: 20px; }
  .nav a:not(.btn) { display: none; }
  .nav { gap: 10px; }
  .btn-compact { font-size: 16px; padding: 9px 16px; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px;
    border: 0; background: none; padding: 0 10px; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; }
  .menu:not([hidden]) { display: flex; flex-direction: column; padding: 4px var(--pad) 16px; background: rgba(251, 246, 236, .97); border-bottom: 1px solid var(--hair); }
  .menu a { font: 700 17px/1 var(--body); color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .top:has(.menu:not([hidden])) { background: rgba(251, 246, 236, .97); }

  .hero { display: flex; flex-direction: column; padding-top: 8px; }
  .steps { order: 2; }
  .hero-media { order: -1; margin: 0 0 34px; }
  .badge { display: none; }
  .hero h1 { font-size: 40px; line-height: 1.04; }
  .hero .sub { font-size: 17px; margin-top: 18px; }
  .cta-row { flex-direction: column; gap: 14px; margin-top: 30px; width: 100%; }
  .btn-hero { width: 100%; font-size: 21px; padding: 16px 20px; }
  .how-link { display: none; }
  .req { font-size: 13px; margin-top: 16px; }
  .early { align-self: center; }
  .trailer-pill { font-size: 16px; gap: 10px; padding: 6px 18px 6px 6px; }
  .trailer-pill .play { width: 40px; height: 40px; }

  .need h2, .get h2, .faq h2, .compare h2, .how h2, .steps h2 { font-size: 32px; }
  .steps h2 { margin-bottom: 30px; }
  .step-list { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .step-list::before { display: block; top: 22px; bottom: 22px; left: 22px; right: auto; border-top: 0; border-left: 3px dashed var(--yellow); margin-left: -1.5px; }
  .step-list li { flex-direction: row; align-items: center; gap: 16px; }
  .num { width: 44px; height: 44px; font-size: 20px; line-height: 44px; margin: 0; box-shadow: 0 0 0 4px var(--paper); flex: none; text-align: center; }
  .step-list h3 { font: 500 19px/1.25 var(--display); min-height: 0; max-width: none; display: block; }
  .after-steps { display: none; }

  /* Phone order: steps, compare, get, need, how, faq */
  .compare { order: 3; }
  .get { order: 5; }
  .need { order: 6; }
  .compare-head { margin-bottom: var(--gap-head); }
  .slider { height: 260px; aspect-ratio: auto; }
  .s-label { top: auto; bottom: 12px; font-size: 13px; padding: 7px 11px; }
  .s-label-old { left: 12px; }
  .s-label-new { right: 12px; }
  .s-handle { width: 56px; height: 36px; }
  .thumbs { gap: 8px; margin-top: 18px; }
  .thumb { flex: 1; width: auto; border-radius: 8px; }
  .small { font-size: 13px; margin-top: 12px; }

  .tiles { gap: 12px; margin-top: var(--gap-head); }
  .tiles li { padding: 20px 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
  .tiles .ic { width: 28px; height: 28px; margin: 0; }
  .tiles h3 { font: 600 17px/1.2 var(--display); margin: 0; }
  .tiles p { display: none; }

  .need { gap: var(--gap-head); }
  .checks { gap: 16px; }
  .checks li { font-size: 16px; }
  .checks li::before { width: 24px; height: 24px; background-size: 24px; }
  .not { font-size: 15px; margin-top: 24px; padding: 16px 18px; }
  .btn-block { display: flex; width: 100%; margin-top: 28px; padding: 16px; font-size: 21px; }

  .how { padding-top: 72px; padding-bottom: 72px; }
  .how-in { gap: 40px; }
  .how h2 { margin-bottom: 20px; }
  .diagram li { padding: 12px 8px; font-size: 14px; border-radius: 12px; min-width: 0; flex: 1; }
  .diagram li + li { margin-left: 22px; }
  .diagram li + li::before { left: -18px; font-size: 16px; }

  .q button { font-size: 18px; padding: 20px 0; min-height: 44px; }
  .a > p { padding-bottom: 20px; }
  .a { font-size: 15px; }
  .foot { padding: 48px var(--pad) calc(40px + env(safe-area-inset-bottom)); }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .credits, .disclaimer { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
 * Colour bands, texture, gallery and closing section.
 * The page alternates cream with three bands taken from the game's palette:
 * night navy (before/after), sun yellow (what you get), deep teal (how it
 * works), and a navy footer. Each band has a soft wavy edge.
 * ========================================================================== */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/nunito-sans-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --night: #161C36;
  --sun: #FAE6A6;
  --deep-teal: #12565A;
  --plum: #6B4FA0;
  --band-pad: clamp(96px, 10vw, 168px);
  --wave: 44px;
  --wave-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V22C120 4 260 0 420 16s300 26 460 10 220-20 320-6v24z'/%3E%3C/svg%3E");
}

/* A faint paper grain over everything (never catches clicks) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 45; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .14 0 0 0 0 .25 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* Bands */
.compare, .get, .how, .foot { position: relative; background: var(--band); }
.compare::before, .get::before, .how::before, .foot::before,
.compare::after, .get::after, .how::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--wave); background: var(--band); pointer-events: none;
  -webkit-mask: var(--wave-shape) center / 100% 100% no-repeat; mask: var(--wave-shape) center / 100% 100% no-repeat;
}
.compare::before, .get::before, .how::before, .foot::before { bottom: calc(100% - 1px); }
.compare::after, .get::after, .how::after { top: calc(100% - 1px); transform: scale(-1, -1); }

.compare { --band: var(--night); padding-top: var(--band-pad); padding-bottom: var(--band-pad); color: var(--on-dark); }
.compare h2 { color: #fff; }
.compare .scene-label, .compare .small { color: var(--on-dark); }
.compare .slider { box-shadow: 0 34px 90px rgba(0, 0, 0, .55); }
.compare .thumb.is-on { outline-color: var(--yellow); }

.get { --band: var(--sun); padding-top: var(--band-pad); padding-bottom: var(--band-pad); }
.get .tiles li, .get .settings-card { border-color: transparent; box-shadow: 0 10px 30px rgba(120, 84, 0, .1); }
.get .small { color: var(--ink); }

.how { --band: var(--deep-teal); color: #E2F0F0; }
.how .lead { font-size: 22px; line-height: 1.45; color: #fff; }
.how .diagram li { border-color: rgba(226, 240, 240, .45); }

.foot { --band: var(--ink); border-top: 0; color: var(--on-dark); }
.foot .wordmark { color: #fff; }
.foot .wordmark span, .foot a { color: var(--teal-dark-bg); }
.foot a:hover { color: #fff; }
.foot .credits, .foot .disclaimer { color: var(--on-dark); }

/* Gallery: a strip of levels that runs edge to edge */
.gallery { order: 4; margin-top: var(--gap-section); padding: 0; }
.gallery-head { padding: 0 var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); }
.gallery h2 { font-size: clamp(44px, 4vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.gallery-head p { margin-top: 16px; font-size: 21px; color: var(--ink-2); max-width: 560px; }
.gallery > .strip { max-width: none; }
.strip { margin-top: calc(var(--gap-head) - 24px); padding: 36px 0 60px; overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-track { list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: 28px; width: max-content; }
.strip-track li { flex: none; width: clamp(300px, 31vw, 480px); border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: 0 22px 44px rgba(28, 36, 64, .22); rotate: -1.4deg; }
.strip-track li:nth-child(even) { rotate: 1.3deg; translate: 0 14px; }
.strip-track li[aria-hidden] { display: none; }   /* the looping copy; motion.css shows it */
.strip-track img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Closing: last Download and the maker's note */
.closing { order: 9; margin-top: var(--gap-section); }
.closing-card { background: var(--sun); border-radius: 40px; padding: clamp(56px, 7vw, 104px) 32px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.closing h2 { font-size: clamp(44px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 40px; }
.closing .req { color: var(--ink); }
.maker { max-width: 600px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid rgba(28, 36, 64, .18); color: var(--ink); }

@media (max-width: 700px) {
  :root { --band-pad: 64px; --wave: 22px; }
  .gallery h2 { font-size: 32px; }
  .gallery-head p { font-size: 17px; margin-top: 10px; }
  .strip { padding: 24px 0 40px; scroll-snap-type: x mandatory; }
  .strip-track { gap: 16px; }
  .strip-track li { width: 78vw; border-radius: 14px; scroll-snap-align: center; }
  .how .lead { font-size: 18px; }
  .closing-card { border-radius: 26px; padding: 48px 20px; }
  .closing h2 { font-size: 34px; margin-bottom: 26px; }
  .closing .btn-big { width: 100%; font-size: 21px; padding: 16px 20px; }
  .maker { font-size: 15px; margin-top: 32px; padding-top: 24px; }
}

/* ==========================================================================
 * Hero player and picture viewer
 * ========================================================================== */
/* The window never grows taller than the screen allows, so the whole picture
 * sits under the header with room around it. No frame: a hairline edge and
 * layered shadows lift it off the page. */
.hero-media {
  max-width: min(1120px, max(560px, calc((100vh - 250px) * 16 / 9)));
  margin-bottom: 20px; border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(28, 36, 64, .12), 0 2px 6px rgba(28, 36, 64, .10), 0 28px 56px -16px rgba(28, 36, 64, .32), 0 70px 120px -40px rgba(28, 36, 64, .38);
}
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.player.is-playing .film { cursor: pointer; }

/* Before it plays: the whole window is the Play button. A shade rises from
 * the bottom so the title reads over any frame of the loop. */
.poster {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 34px 38px; margin: 0; cursor: pointer; color: #fff; text-align: left;
  display: flex; align-items: flex-end; gap: 22px;
  background: linear-gradient(180deg, rgba(10, 14, 30, 0) 42%, rgba(10, 14, 30, .34) 68%, rgba(10, 14, 30, .78));
}
.poster-play { flex: none; width: 78px; height: 78px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.poster-play svg { width: 34px; height: 34px; margin-left: 3px; }
.poster-text { display: flex; flex-direction: column; gap: 6px; padding-bottom: 8px; }
.poster .label { font: 600 30px/1.05 var(--display); letter-spacing: -.005em; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.poster-dur { font: 700 15px/1 var(--body); opacity: .86; min-height: 15px; }

/* While it plays: a shade along the bottom, the scrub line across the full
 * width, and plain white controls under it. */
.controls {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 12px; color: #fff;
  background: linear-gradient(180deg, rgba(10, 14, 30, 0), rgba(10, 14, 30, .5) 55%, rgba(10, 14, 30, .82));
  transition: opacity .3s, translate .3s;
}
.player.is-idle:not(.is-paused) .controls { opacity: 0; translate: 0 8px; pointer-events: none; }
.player.is-idle:not(.is-paused) .film { cursor: none; }
.c-row { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.c-gap { flex: 1; }
.c-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, scale .2s; }
.c-btn:hover { background: rgba(255, 255, 255, .16); }
.c-btn:active { scale: .9; }
.c-btn svg { width: 24px; height: 24px; }
.c-play .i-play, .is-paused .c-play .i-pause, .c-mute .i-muted, .is-muted .c-mute .i-sound, .c-full .i-shrink, .is-big .c-full .i-grow { display: none; }
.is-paused .c-play .i-play, .is-muted .c-mute .i-muted, .is-big .c-full .i-shrink { display: block; }
.c-time { font: 700 14px/1 var(--body); font-variant-numeric: tabular-nums; margin-left: 8px; opacity: .92; }
.c-seek { display: block; width: 100%; height: 18px; margin: 0; padding: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.c-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow) var(--fill, 0%), rgba(255, 255, 255, .34) var(--fill, 0%)); transition: height .15s; }
.c-seek:hover::-webkit-slider-runnable-track { height: 6px; }
.c-seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .34); }
.c-seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--yellow); }
.c-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .5); scale: 0; transition: scale .15s; }
.c-seek:hover::-webkit-slider-thumb, .c-seek:focus-visible::-webkit-slider-thumb { scale: 1; }
.c-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.controls :focus-visible { outline-color: var(--yellow); }

/* Full screen (the browser's own), and "theater" (the player filling the
 * window where the browser's own is not available). Same look for both. */
.player:fullscreen, .player.is-theater { max-width: none; width: 100vw; height: 100vh; margin: 0; border-radius: 0; box-shadow: none; transform: none !important; animation: none !important; aspect-ratio: auto; background: #000; }
.player:-webkit-full-screen { max-width: none; width: 100vw; height: 100vh; margin: 0; border-radius: 0; box-shadow: none; transform: none !important; animation: none !important; aspect-ratio: auto; background: #000; }
.player.is-theater { position: fixed; inset: 0; z-index: 300; height: 100dvh; }
.player:fullscreen .film, .player.is-theater .film { object-fit: contain; }
.player:-webkit-full-screen .film { object-fit: contain; }
.player:fullscreen .controls, .player.is-theater .controls { padding: 80px max(24px, 4vw) 22px; }
.player:-webkit-full-screen .controls { padding: 80px max(24px, 4vw) 22px; }
html.theater { overflow: hidden; }
html.theater .hero { z-index: 300; }

/* Picture viewer */
.strip-track li { cursor: zoom-in; }
.lb { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1500px, 92vw); }
.lb img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 18px; background: var(--night); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lb-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 16px; color: var(--on-dark); font-size: 16px; }
.lb-count { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-nav { position: absolute; top: calc(50% - 20px); width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--paper); color: var(--ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: -27px; }
.lb-next { right: -27px; }
.lb-close { cursor: pointer; }

@media (max-width: 700px) {
  .hero-media { max-width: none; margin-bottom: 34px; border-radius: 16px; }
  .poster { padding: 14px 16px; gap: 12px; }
  .poster-play { width: 48px; height: 48px; }
  .poster-play svg { width: 22px; height: 22px; }
  .poster .label { font-size: 19px; }
  .poster-dur { font-size: 13px; min-height: 13px; }
  .poster-text { padding-bottom: 2px; gap: 4px; }
  .lb { width: 94vw; }
  .lb img { border-radius: 12px; }
  .lb-nav { width: 44px; height: 44px; margin-top: -22px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-meta { font-size: 14px; }
}

/* ==========================================================================
 * Decals: small shapes so no background is a flat colour. Every one is a
 * thing from the game's own world, drawn fresh as a simple one-colour mark:
 * the collectible magic (six petals in a ring), the wavy signpost arrow, the
 * swirl button, a target platform, a bubble, a key, a bonus gem, the clock,
 * a music note (Musical Madness), a snowflake (Freezer Burn) and the
 * carpet's nested diamonds. No characters and nothing from the books.
 * The hero's are real elements (.decals) so they can move; the sections' and
 * bands' are background pictures. Made by a script; to change a colour or a
 * position, edit the values here directly.
 * ========================================================================== */
.decals { position: absolute; inset: 0; z-index: -1; pointer-events: none; max-width: none !important; margin: 0 !important; }
.decals svg { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: auto; rotate: var(--r, 0deg); overflow: visible; }
.decals .teal { color: rgba(29, 115, 119, .36); }
.decals .yel { color: rgba(226, 170, 20, .62); }
.decals .plum { color: rgba(107, 79, 160, .32); }
.decals .blue { color: rgba(43, 127, 217, .36); }
.decals .ink { color: rgba(28, 36, 64, .15); }

/* Hero: the house's wallpaper (checked walls, long wavy vines), fading out
 * down the page. Tone on tone, so the headline stays the loudest thing. */
.hero { position: relative; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -80px 0 0; z-index: -2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 240' width='280' height='240'%3E%3Cpath d='M70 0Q118 60 70 120T70 240' fill='none' stroke='rgba%2829%2C115%2C119%2C.13%29' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M70 0Q22 60 70 120T70 240' fill='none' stroke='rgba%2829%2C115%2C119%2C.09%29' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center top / 280px 240px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220' width='220' height='220'%3E%3Crect width='110' height='110' fill='rgba%2828%2C36%2C64%2C.028%29'/%3E%3Crect x='110' y='110' width='110' height='110' fill='rgba%2828%2C36%2C64%2C.028%29'/%3E%3C/svg%3E") center top / 220px 220px;
  /* Two fades at once: out down the page, and clear behind the headline */
  -webkit-mask: linear-gradient(#000, #000 38%, transparent 82%), radial-gradient(ellipse 48% 60% at 50% 34%, transparent 62%, #000 100%);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(#000, #000 38%, transparent 82%), radial-gradient(ellipse 48% 60% at 50% 34%, transparent 62%, #000 100%);
  mask-composite: intersect;
}

.steps { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 56'%3E%3Cpath d='M4 22C16 12 28 12 40 20s20 6 26-2l-4-10 30 18-26 24V38c-10 6-20 4-28-2S16 30 6 40Z' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M22 27a2 2 0 1 1 4 0a4 4 0 1 1-8 0a6 6 0 1 1 12 0M50 31a2 2 0 1 1 4 0a4 4 0 1 1-8 0a6 6 0 1 1 12 0' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") left 1.5% top 44% / 104px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 28'%3E%3Ccircle cx='12' cy='14' r='8.5' fill='none' stroke='rgba%28226%2C170%2C20%2C.55%29' stroke-width='3.2'/%3E%3Cpath d='M20.5 14H54M44 14v9M52 14v7' fill='none' stroke='rgba%28226%2C170%2C20%2C.55%29' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") right 2.5% top 5% / 66px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='3'/%3E%3Cpath d='M12 15a10 10 0 0 1 8-6' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") right 3% bottom 34% / 44px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%2828%2C36%2C64%2C.14%29'/%3E%3C/svg%3E") left 4% bottom 8% / 28px no-repeat; }
.need { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M10 6h20l8 10-18 20L2 16Z' fill='none' stroke='rgba%28107%2C79%2C160%2C.28%29' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M2 16h36M14 16l6 20 6-20M10 6l4 10M30 6l-4 10' fill='none' stroke='rgba%28107%2C79%2C160%2C.28%29' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") right 3% top 0% / 44px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 38'%3E%3Cellipse cx='30' cy='19' rx='27' ry='15' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='3'/%3E%3Cellipse cx='30' cy='19' rx='17' ry='9.5' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='3'/%3E%3Cellipse cx='30' cy='19' rx='7' ry='4' fill='rgba%2829%2C115%2C119%2C.32%29'/%3E%3C/svg%3E") left 2% bottom 0% / 76px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='1.6' opacity='.45'/%3E%3C/svg%3E") right 9% bottom 10% / 40px no-repeat; }
.faq { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M16 4h16l12 12v16L32 44H16L4 32V16Z' fill='none' stroke='rgba%28107%2C79%2C160%2C.28%29' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M24 24a3 3 0 1 1 6 0a6 6 0 1 1-12 0a9 9 0 1 1 18 0' fill='none' stroke='rgba%28107%2C79%2C160%2C.28%29' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") right 3% top 18% / 62px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%2843%2C127%2C217%2C.32%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='1.6' opacity='.45'/%3E%3C/svg%3E") left 3% top 6% / 52px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 44'%3E%3Cpath d='M12 34V9l17-5v24' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cellipse cx='7.5' cy='35' rx='5.5' ry='4.5' fill='rgba%2829%2C115%2C119%2C.32%29'/%3E%3Cellipse cx='24.5' cy='29' rx='5.5' ry='4.5' fill='rgba%2829%2C115%2C119%2C.32%29'/%3E%3C/svg%3E") left 6% bottom 20% / 34px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4v32M20 4l-4 4m4-4 4 4M20 36l-4-4m4 4 4-4' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='2.6' stroke-linecap='round' transform='rotate%280 20 20%29'/%3E%3Cpath d='M20 4v32M20 4l-4 4m4-4 4 4M20 36l-4-4m4 4 4-4' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='2.6' stroke-linecap='round' transform='rotate%2860 20 20%29'/%3E%3Cpath d='M20 4v32M20 4l-4 4m4-4 4 4M20 36l-4-4m4 4 4-4' fill='none' stroke='rgba%2843%2C127%2C217%2C.32%29' stroke-width='2.6' stroke-linecap='round' transform='rotate%28120 20 20%29'/%3E%3C/svg%3E") right 7% bottom 6% / 40px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='rgba%2828%2C36%2C64%2C.14%29' stroke-width='3'/%3E%3Cpath d='M24 24 15 15M24 24l11-3M24 7v4M24 37v4M7 24h4M37 24h4' fill='none' stroke='rgba%2828%2C36%2C64%2C.14%29' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='24' r='3.2' fill='rgba%2828%2C36%2C64%2C.14%29'/%3E%3C/svg%3E") left 2.5% top 52% / 44px no-repeat; }
.gallery-head { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28226%2C170%2C20%2C.55%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%28226%2C170%2C20%2C.55%29' stroke-width='1.6' opacity='.45'/%3E%3C/svg%3E") right 6% top 6% / 46px no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 56'%3E%3Cpath d='M4 22C16 12 28 12 40 20s20 6 26-2l-4-10 30 18-26 24V38c-10 6-20 4-28-2S16 30 6 40Z' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M22 27a2 2 0 1 1 4 0a4 4 0 1 1-8 0a6 6 0 1 1 12 0M50 31a2 2 0 1 1 4 0a4 4 0 1 1-8 0a6 6 0 1 1 12 0' fill='none' stroke='rgba%2829%2C115%2C119%2C.32%29' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") right 13% bottom 0% / 92px no-repeat; }
.compare { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 380' width='380' height='380'%3E%3Cg transform='translate%2860 70%29 rotate%280%29 scale%280.9%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='1.6' opacity='.45'/%3E%3C/g%3E%3Cg transform='translate%28250 60%29 rotate%280%29 scale%280.4%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28300 230%29 rotate%2820%29 scale%280.55%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='1.6' opacity='.45'/%3E%3C/g%3E%3Cg transform='translate%28130 250%29 rotate%280%29 scale%280.55%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28210 150%29 rotate%280%29 scale%280.45%29 translate%28-20.0 -20.0%29'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='3'/%3E%3Cpath d='M12 15a10 10 0 0 1 8-6' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%2840 330%29 rotate%280%29 scale%280.35%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3C/svg%3E"); }
.foot { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 380' width='380' height='380'%3E%3Cg transform='translate%2860 70%29 rotate%280%29 scale%280.9%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='1.6' opacity='.45'/%3E%3C/g%3E%3Cg transform='translate%28250 60%29 rotate%280%29 scale%280.4%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28300 230%29 rotate%2820%29 scale%280.55%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%280 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%2860 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28120 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28180 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28240 24 24%29'/%3E%3Cpath d='M24 20.5C20.6 14.5 20.8 8.5 24 4c3.2 4.5 3.4 10.5 0 16.5Z' fill='rgba%28255%2C255%2C255%2C.10%29' transform='rotate%28300 24 24%29'/%3E%3Ccircle cx='24' cy='24' r='22' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='1.6' opacity='.45'/%3E%3C/g%3E%3Cg transform='translate%28130 250%29 rotate%280%29 scale%280.55%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28210 150%29 rotate%280%29 scale%280.45%29 translate%28-20.0 -20.0%29'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='3'/%3E%3Cpath d='M12 15a10 10 0 0 1 8-6' fill='none' stroke='rgba%28255%2C255%2C255%2C.10%29' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%2840 330%29 rotate%280%29 scale%280.35%29 translate%28-20.0 -20.0%29'%3E%3Cpath d='M20 2c2 12 6 16 18 18-12 2-16 6-18 18-2-12-6-16-18-18 12-2 16-6 18-18Z' fill='rgba%28255%2C255%2C255%2C.10%29'/%3E%3C/g%3E%3C/svg%3E"); }
.get { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132' width='132' height='132'%3E%3Cg transform='translate%2866 66%29 rotate%280%29 scale%281.25%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%280 0%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28132 0%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%280 132%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28132 132%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3C/svg%3E"); }
.closing-card { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132' width='132' height='132'%3E%3Cg transform='translate%2866 66%29 rotate%280%29 scale%281.25%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%280 0%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28132 0%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%280 132%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3Cg transform='translate%28132 132%29 rotate%280%29 scale%280.7%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M24 13 35 24 24 35 13 24Z' fill='none' stroke='rgba%28150%2C104%2C0%2C.10%29' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='m24 20 4 4-4 4-4-4Z' fill='rgba%28150%2C104%2C0%2C.10%29'/%3E%3C/g%3E%3C/svg%3E"); }
.how { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 360' width='360' height='360'%3E%3Cg transform='translate%2870 80%29 rotate%28-12%29 scale%280.95%29 translate%28-24.0 -24.0%29'%3E%3Ccircle cx='24' cy='24' r='20' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3'/%3E%3Cpath d='M24 24 15 15M24 24l11-3M24 7v4M24 37v4M7 24h4M37 24h4' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='24' r='3.2' fill='rgba%28255%2C255%2C255%2C.075%29'/%3E%3C/g%3E%3Cg transform='translate%28250 60%29 rotate%280%29 scale%280.7%29 translate%28-20.0 -20.0%29'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3'/%3E%3Cpath d='M12 15a10 10 0 0 1 8-6' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28280 250%29 rotate%2810%29 scale%280.8%29 translate%28-24.0 -24.0%29'%3E%3Cpath d='M16 4h16l12 12v16L32 44H16L4 32V16Z' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M24 24a3 3 0 1 1 6 0a6 6 0 1 1-12 0a9 9 0 1 1 18 0' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='2.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%28150 210%29 rotate%280%29 scale%280.45%29 translate%28-20.0 -20.0%29'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3'/%3E%3Cpath d='M12 15a10 10 0 0 1 8-6' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate%2880 300%29 rotate%28-20%29 scale%280.7%29 translate%28-29.0 -14.0%29'%3E%3Ccircle cx='12' cy='14' r='8.5' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3.2'/%3E%3Cpath d='M20.5 14H54M44 14v9M52 14v7' fill='none' stroke='rgba%28255%2C255%2C255%2C.075%29' stroke-width='3.2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"); }

@media (max-width: 900px) {
  /* Narrow screens: the edge decals would sit under the text, so only the
   * hero's and the bands' patterns stay. */
  .steps, .need, .faq, .gallery-head { background: none; }
  .decals .wide { display: none; }
}

/* ==========================================================================
 * After the steps: the "That's it" block is a card tied to the steps above by
 * a dashed line and a tick, so it reads as where the three steps end up.
 * ========================================================================== */
.steps > .after-steps {
  position: relative; max-width: 920px; margin-top: 128px; padding: 84px 40px 60px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 36px;
  box-shadow: 0 24px 60px rgba(28, 36, 64, .10);
}
.after-steps::before { /* the tick */
  content: ""; position: absolute; left: 50%; top: -32px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='m8 14.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 40px no-repeat;
  box-shadow: 0 0 0 10px var(--paper);
}
.after-steps::after { /* the line down from the steps */
  content: ""; position: absolute; left: 50%; top: -112px; height: 70px; margin-left: -1.5px; border-left: 3px dashed var(--yellow);
}
.after-steps .thats-it { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; margin-bottom: 40px; text-wrap: balance; }
.after-steps .req { margin-top: 24px; }
.after-steps .hd-note {
  display: inline-block; margin-top: 36px; padding: 12px 22px; border-radius: 999px;
  background: var(--tint); color: var(--ink); font-size: 16px;
}
/* Step captions may wrap to two lines; keep the three screenshots level */
@media (min-width: 701px) { .step-sub { min-height: 3em; } }


/* ==========================================================================
 * "What you get": picture cards. Each tile shows its feature instead of
 * describing it: a 2003/now split, the 4:3 frame inside the wide picture, a
 * magnifying lens over the HD textures. Two large tiles, three medium, then
 * Made for Mac beside the settings card.
 * ========================================================================== */
.tiles { grid-template-columns: repeat(6, 1fr); gap: 28px; }
.tiles li { grid-column: span 2; padding: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; }
.tiles li.big { grid-column: span 3; }
.t-media { position: relative; height: 220px; overflow: hidden; background: var(--night); }
.big .t-media { height: 320px; }
.t-media picture, .t-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-media img { object-fit: cover; }
.t-body { position: relative; padding: 44px 34px 36px; }
.tiles .ic { position: absolute; left: 30px; top: -30px; width: 60px; height: 60px; padding: 13px; margin: 0; border-radius: 50%; background: var(--yellow); stroke: var(--ink); stroke-width: 2.2; box-shadow: 0 0 0 7px var(--card); }
.tiles h3 { font-size: 26px; margin-bottom: 8px; }
.big h3 { font-size: 32px; }
.big p { font-size: 19px; }
.t-tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(22, 28, 54, .82); color: var(--paper); font: 700 13px/1 var(--body); }
.t-tag-l { left: 16px; }
.t-tag-r { right: 16px; }

/* Sharp picture: 2003 on the left, now on the right. --cut is where they
 * meet; with a mouse it follows the pointer (--mx comes from motion.js). */
.t-split { --cut: var(--mx, 50%); }
.t-split .new { clip-path: inset(0 0 0 var(--cut)); }
.t-cut { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 4px; margin-left: -2px; background: var(--yellow); box-shadow: 0 0 16px rgba(245, 197, 66, .8); }

/* True widescreen: the middle 4:3 is what the Xbox showed; the dimmed sides
 * are what you gain. The frame opens out (motion.css). */
.t-frame { position: absolute; top: 0; bottom: 0; left: 12.5%; right: 12.5%; border: 3px dashed var(--yellow); border-top: 0; border-bottom: 0; box-shadow: 0 0 0 999px rgba(22, 28, 54, .62); }
.t-frame span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 800 12px/1 var(--body); font-style: normal; }

/* HD textures: the original underneath, the HD picture inside a lens */
.t-lens { --lx: var(--mx, 50%); --ly: var(--my, 50%); }
.t-lens .new { clip-path: circle(74px at var(--lx) var(--ly)); }
.t-ring { position: absolute; left: var(--lx); top: var(--ly); width: 148px; height: 148px; margin: -74px 0 0 -74px; border-radius: 50%; border: 4px solid var(--yellow); box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .5); }

/* Any controller */
.t-pad { background: var(--deep-teal); display: grid; place-items: center; }
.t-pad { background: radial-gradient(120% 90% at 50% 20%, #1B6F74, var(--deep-teal) 70%); }
.pad { width: min(78%, 300px); overflow: visible; }
.pad-floor { fill: rgba(0, 0, 0, .28); }
.pad-bump { fill: #C9C2AF; }
.pad-under { fill: #CFC8B4; }
.pad-body { fill: var(--paper); }
.pad-shine { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: .9; }
.pad-dpad { fill: var(--ink); }
.pad-well { fill: #D8D1BE; }
.pad-stick { fill: var(--ink); }
.pad-cap { fill: #3B4670; }
.pad-pill { fill: rgba(28, 36, 64, .35); }
.pad-btn.b1 { fill: var(--yellow); }
.pad-btn.b2 { fill: #2FA4A8; }
.pad-btn.b3 { fill: #8E6BBF; }
.pad-btn.b4 { fill: #2B7FD9; }

.t-app img { object-position: 50% 30%; }

/* The settings card joins the grid, beside Made for Mac */
.tiles li.settings-card { grid-column: span 4; margin: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 36px; border-radius: 28px; }

@media (max-width: 1180px) {
  .big .t-media { height: 260px; }
  .t-media { height: 190px; }
  .t-body { padding: 40px 26px 30px; }
  .tiles li.settings-card { gap: 28px; padding: 28px; }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 20px; }
  .tiles li, .tiles li.big { grid-column: span 1; }
  .tiles li.settings-card { grid-column: span 2; }
  .big .t-media, .t-media { height: 190px; }
  .big h3 { font-size: 26px; }
  .big p { font-size: inherit; }
}
@media (max-width: 700px) {
  .tiles { gap: 12px; }
  .tiles li { border-radius: 18px; padding: 0; gap: 0; }
  .big .t-media, .t-media { height: 104px; }
  .t-body { padding: 28px 14px 16px; }
  .tiles .ic { left: 12px; top: -20px; width: 40px; height: 40px; padding: 9px; box-shadow: 0 0 0 4px var(--card); }
  .tiles h3, .big h3 { font: 600 17px/1.2 var(--display); margin: 0; }
  .t-tag { top: 8px; font-size: 11px; padding: 5px 8px; }
  .t-tag-l { left: 8px; }
  .t-tag-r { right: 8px; }
  .t-frame span { left: 6px; bottom: 6px; }
  .t-lens .new { clip-path: circle(40px at 50% 50%); }
  .t-ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; left: 50%; top: 50%; border-width: 3px; }
}


/* ==========================================================================
 * Text pages (privacy, legal, press kit): one readable column.
 * ========================================================================== */
.doc-top .btn-compact { opacity: 1; visibility: visible; transform: none; }
.doc-page .nav a.btn { display: inline-flex; }
main.doc { display: block; max-width: calc(760px + 2 * var(--pad)); margin: 0 auto; padding: 56px var(--pad) 0; }
main.doc-wide { max-width: calc(1040px + 2 * var(--pad)); }
.doc-back { font-weight: 700; margin-bottom: 40px; }
.doc h1 { font-size: clamp(44px, 5vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.doc h2 { font-size: 30px; line-height: 1.15; margin: 64px 0 18px; scroll-margin-top: 96px; }
.doc p, .doc ul { margin: 0 0 18px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 12px; }
.doc-date { color: var(--ink-2); font-size: 15px; margin-top: 14px; }
.doc-lead { font-size: 22px; line-height: 1.45; margin-top: 28px; }
.doc-note { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
.facts { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 0; border-top: 1px solid var(--hair-2); }
.facts dt, .facts dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--hair-2); }
.facts dt { font-weight: 800; }
.doc-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--night); box-shadow: var(--media-shadow); }
.doc-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-grid.two { grid-template-columns: 1fr 1fr; }
.doc-grid li { margin: 0; }
.doc-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.doc-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 8px; box-shadow: 0 10px 24px rgba(28, 36, 64, .16); transition: translate .3s, box-shadow .3s; }
.doc-grid a:hover img { translate: 0 -4px; box-shadow: 0 18px 36px rgba(28, 36, 64, .24); }
.doc-icon { width: 128px; height: 128px; filter: drop-shadow(0 10px 18px rgba(28, 36, 64, .25)); }
.foot-links { flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 700px) {
  main.doc { padding-top: 28px; }
  .doc h2 { font-size: 24px; margin-top: 44px; }
  .doc-lead { font-size: 18px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
  .doc-grid, .doc-grid.two { grid-template-columns: 1fr 1fr; gap: 12px; }
}
