@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("assets/fonts/Nunito.woff2?v=27e96619") format("woff2"); }

/* Hold On, Chromi!: the game's own colours. The store shots' pink to lilac,
   the game's ink, the lights of the paint (red, green, blue and their
   mixes), the ribbons of its menus. */
:root {
  --paper: #F8F5FF;
  --paper-2: #F0E9FF;
  --card: #FFFFFF;
  --ink: #1F2330;
  --ink-2: #4A5068;
  --muted: #6E7489;
  --line: #E9E3F6;
  --pink: #FF6F9E;
  --pink-deep: #D94A7C;
  --violet: #8C7BFF;
  --violet-deep: #5B3E9E;
  --orange: #FF9F43;
  --mint: #2BBF9E;
  --blue: #5C8DFF;
  --gold: #F5A524;
  --red: #FF4F6A;
  --green: #2FD27A;
  --light-blue: #3D8BFF;
  --night: #2A2350;
  --sans: "Nunito", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1160px;
  --gutter: clamp(16px, 4vw, 36px);
  --shadow: 0 18px 48px rgba(70, 44, 140, 0.12);
  --shadow-sm: 0 6px 18px rgba(70, 44, 140, 0.09);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 600 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--violet-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pink-deep); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Text in buttons, chips and labels is not meant to be selected. */
.btn, .store, .ribbon, .fact, .worlds li, .brand, .bar__nav a, .gal__btn, .step__n, .mail, .doc-links a { -webkit-user-select: none; user-select: none; }

/* ---------- A ribbon, as the game's menus (D45): a slanted band of
   colour on a deeper edge, its words white ---------- */
.ribbon { --rb: var(--pink); --rb-deep: var(--pink-deep); display: inline-block; margin: 0 0 16px; padding: 0; font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.ribbon span { display: inline-block; padding: 6px 16px 7px; background: linear-gradient(180deg, color-mix(in srgb, var(--rb) 80%, #fff) 0%, var(--rb) 55%); border-radius: 6px; box-shadow: 0 4px 0 var(--rb-deep), 0 8px 16px rgba(70, 44, 140, 0.14); transform: skew(-10deg) rotate(-1.5deg); text-shadow: 0 1px 0 var(--rb-deep), 0 -1px 0 var(--rb-deep), 1px 0 0 var(--rb-deep), -1px 0 0 var(--rb-deep); }
.ribbon--violet { --rb: var(--violet); --rb-deep: var(--violet-deep); }
.ribbon--mint { --rb: var(--mint); --rb-deep: #1E8E76; }
.ribbon--orange { --rb: var(--orange); --rb-deep: #D9792A; }
.ribbon--blue { --rb: var(--blue); --rb-deep: #3B66CC; }
.ribbon--gold { --rb: var(--gold); --rb-deep: #C27E12; }

/* ---------- Paint: glossy jelly drops, Chromi's own three lights ---------- */
.paint { --c: var(--red); position: absolute; z-index: 0; width: 46px; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95) 0 9%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--c) 82%, #fff) 0%, var(--c) 58%, color-mix(in srgb, var(--c) 70%, #2A2350) 100%);
  box-shadow: inset 0 -6px 10px rgba(42, 35, 80, 0.18), 0 10px 18px rgba(70, 44, 140, 0.18);
  animation: bob 7s ease-in-out infinite; }
.paint--red { --c: var(--red); }
.paint--green { --c: var(--green); }
.paint--blue { --c: var(--light-blue); }
.paint--yellow { --c: #FFD23F; }
.paint--magenta { --c: #E048FF; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* ---------- Top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.25s, box-shadow 0.25s, backdrop-filter 0.25s; }
.bar.is-scrolled, .bar--solid { background: rgba(248, 245, 255, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.bar--solid { position: sticky; top: 0; }
.bar__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__icon { width: 40px; height: 40px; border-radius: 23%; box-shadow: 0 4px 10px rgba(70, 44, 140, 0.22); }
.brand__word { width: auto; height: 34px; }
.bar__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 800; font-size: 15px; }
.bar__nav a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { color: var(--violet-deep); }

/* A button as the game's: a fat pill, a lighter top half, standing on a
   deeper edge. */
.btn { --b: var(--pink); --b-deep: var(--pink-deep); display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 900; font-size: 15px; color: #fff; text-decoration: none; background: linear-gradient(180deg, color-mix(in srgb, var(--b) 78%, #fff) 0%, var(--b) 52%); box-shadow: 0 4px 0 var(--b-deep), 0 8px 18px rgba(70, 44, 140, 0.18); text-shadow: 0 1px 1px var(--b-deep); transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-deep), 0 4px 10px rgba(70, 44, 140, 0.18); }
.bar__cta { flex: none; }
.bar__nav + .bar__cta { margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(112px, 13vw, 150px) 0 clamp(96px, 10vw, 140px); }
.hero__sky { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(520px 380px at 18% 30%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 70%),
  radial-gradient(420px 320px at 88% 12%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%),
  radial-gradient(600px 420px at 70% 95%, rgba(159, 216, 255, 0.55), rgba(159, 216, 255, 0) 70%),
  linear-gradient(160deg, #FFD3E6 0%, #F1D9FF 42%, #D9D2FF 70%, #BFE3FF 100%); }
/* Soft lights drifting, as the title's bubbles of light. */
.hero__sky::before, .hero__sky::after { content: ""; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%); }
.hero__sky::before { width: 220px; height: 220px; left: 52%; top: 8%; }
.hero__sky::after { width: 160px; height: 160px; left: 6%; bottom: 14%; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero__copy { position: relative; z-index: 4; }
.lockup { margin: 0 0 clamp(12px, 1.8vw, 20px) -10px; }
.lockup__word { width: clamp(280px, 34vw, 470px); height: auto; transform-origin: 50% 100%; animation: settle 1.1s ease-out 0.15s both; }
@keyframes settle { 0% { transform: scale(1.08, 0.9); } 25% { transform: scale(0.95, 1.06); } 50% { transform: scale(1.03, 0.97); } 75% { transform: scale(0.99, 1.01); } 100% { transform: none; } }
.tagline { margin: 0; font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; }
.grad { background: linear-gradient(90deg, #FF4F6A 0%, #FF9F43 22%, #2FD27A 50%, #3D8BFF 76%, #E048FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero__sub { margin: 20px 0 0; max-width: 36ch; color: var(--ink-2); font-size: clamp(18px, 2vw, 20px); font-weight: 700; }
.hero__fine { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 800; }

.stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
/* The stores' own badges, as Apple and Google give them: the same height,
   App Store first, nothing changed, added or animated, a quarter of the
   height clear around each (the gap). */
.store { display: inline-flex; height: 56px; line-height: 0; }
.store img { display: block; width: auto; height: 100%; }
a.store { text-decoration: none; }
/* Until a store has the game (stores.js): its badge hidden, a line in its
   place. */
.store-soon { display: none; margin: 12px 0 0; }
.store-soon span { display: inline-flex; align-items: center; gap: 10px; text-align: left; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.82); box-shadow: var(--shadow-sm); color: var(--ink-2); font-size: 15px; font-weight: 900; }
.store-soon span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(43, 191, 158, 0.2); }
[data-app-store="soon"] .store--apple { display: none !important; }
[data-google-play="soon"] .store--play { display: none !important; }
[data-app-store="soon"] .store-soon, [data-google-play="soon"] .store-soon { display: block; }
[data-app-store="soon"][data-google-play="soon"] .stores { display: none; }

.hero__art { position: relative; height: clamp(460px, 48vw, 640px); }
.phone { --pw: 260px; width: var(--pw); aspect-ratio: 540 / 1174; padding: calc(var(--pw) * 0.034); border-radius: calc(var(--pw) * 0.15); background: linear-gradient(150deg, #4A3F7A, #241D40 60%); box-shadow: 0 28px 56px rgba(43, 33, 80, 0.28), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--pw) * 0.118); background: var(--paper-2); }
.phone--front { --pw: clamp(190px, 20vw, 262px); position: absolute; right: 6%; top: 0; z-index: 2; transform: rotate(4deg); }
.phone--back { --pw: clamp(168px, 17.5vw, 228px); position: absolute; right: 42%; top: 9%; z-index: 1; transform: rotate(-7deg); }
.hero__chromi { position: absolute; left: -2%; bottom: -3%; z-index: 3; width: clamp(150px, 17vw, 236px); height: auto; filter: drop-shadow(0 18px 22px rgba(43, 33, 80, 0.2)); animation: ride 4.5s ease-in-out infinite; }
@keyframes ride { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.paint--h1 { width: 52px; top: 118px; left: 46%; animation-duration: 6.5s; }
.paint--h2 { width: 40px; top: 22%; right: 3.5%; animation-delay: -4s; animation-duration: 8s; }
.paint--h3 { width: 34px; bottom: 25%; right: 2%; animation-delay: -1s; }

.hero__wave { position: absolute; left: 0; bottom: -1px; z-index: 5; width: 100%; height: clamp(36px, 6vw, 86px); fill: var(--paper); }

/* ---------- Facts ---------- */
.facts { position: relative; z-index: 6; margin-top: clamp(-34px, -3vw, -16px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 8px; }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__n { font-size: clamp(32px, 4vw, 46px); font-weight: 1000; line-height: 1; letter-spacing: -0.03em; }
.fact:nth-child(1) .fact__n { color: var(--pink); }
.fact:nth-child(2) .fact__n { color: var(--mint); }
.fact:nth-child(3) .fact__n { color: var(--orange); }
.fact:nth-child(4) .fact__n { color: var(--violet); }
.fact__l { margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 14%, var(--paper-2) 86%, var(--paper) 100%); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; text-align: left; margin-bottom: 0; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.head__sub { margin: 16px auto 0; max-width: 56ch; color: var(--ink-2); font-size: 18px; font-weight: 700; }

/* How it plays */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--card); border-radius: 28px; padding: 30px 28px; box-shadow: var(--shadow-sm); }
.step__mark { position: relative; height: 62px; margin-bottom: 18px; }
.step__mark .paint { position: static; display: inline-block; width: 50px; margin-right: -12px; animation: none; vertical-align: top; }
.step__mark .paint:nth-child(2) { width: 42px; margin-top: 14px; }
.step__mark .paint:nth-child(3) { width: 36px; margin-top: 4px; }
.step__chromi { width: auto; height: 66px; margin-top: -4px; filter: drop-shadow(0 6px 8px rgba(43, 33, 80, 0.16)); }
.step__n { position: absolute; top: 18px; right: 24px; color: var(--line); font-size: 64px; font-weight: 1000; line-height: 1; }
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 60px; right: -22px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 5l5 5-5 5' fill='none' stroke='%238C7BFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.rule { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 40px auto 0; padding: 20px 26px; border-radius: 24px; background: linear-gradient(120deg, #FFE1EC 0%, #EAE3FF 55%, #DDF5EE 100%); box-shadow: var(--shadow-sm); }
.rule p { margin: 0; color: var(--ink-2); font-weight: 700; }
.rule strong { color: var(--ink); font-weight: 900; }
.rule__marks { flex: none; display: flex; gap: 6px; color: var(--ink); font-size: 20px; font-weight: 900; }

/* Gallery */
.gal__ctrl { display: flex; gap: 10px; }
.gal__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink); cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.gal__btn:hover { transform: translateY(-1px); }
.gal__btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.gal__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  list-style: none; margin: 32px 0 0; padding: 12px var(--edge) 28px;
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -3px; }
.shot { flex: 0 0 auto; width: 236px; scroll-snap-align: start; }
.shot:last-child { scroll-snap-align: end; }
.shot .phone { --pw: 236px; transition: transform 0.25s; }
.shot:hover .phone { transform: translateY(-6px); }
.shot h3 { margin: 22px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.shot p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; line-height: 1.45; }

/* Moods */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mood { --tint: rgba(43, 191, 158, 0.16); --dot: var(--mint); position: relative; overflow: hidden; background: var(--card); border-radius: 28px; padding: 30px 28px 26px; box-shadow: var(--shadow-sm); }
.mood::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(180deg, var(--tint), rgba(255, 255, 255, 0)); }
.mood > * { position: relative; }
.mood--pink { --tint: rgba(255, 111, 158, 0.16); --dot: var(--pink); }
.mood--violet { --tint: rgba(140, 123, 255, 0.18); --dot: var(--violet); }
.mood .ribbon { margin-bottom: 14px; }
.mood h3 { font-size: 22px; margin-bottom: 14px; }
.mood ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mood li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.mood li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

/* Worlds */
.road { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(600px 320px at 12% 30%, rgba(43, 191, 158, 0.30), transparent 70%),
  radial-gradient(520px 340px at 92% 80%, rgba(255, 111, 158, 0.32), transparent 70%),
  linear-gradient(135deg, #2A2350 0%, #3F2A7A 55%, #5A2F86 100%); }
.road__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.road__chromi { width: 100%; max-width: 380px; height: auto; margin: 0 auto; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.3)); }
.road h2 { font-size: clamp(32px, 4.4vw, 52px); }
.road__copy > p:not(.ribbon) { margin: 16px 0 0; max-width: 50ch; color: rgba(255, 255, 255, 0.84); font-size: 18px; font-weight: 700; }
.worlds { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: w; }
.worlds li { counter-increment: w; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); font-size: 15px; font-weight: 800; }
.worlds li::before { content: counter(w); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--w, var(--pink)); color: #fff; font-size: 12px; font-weight: 1000; }
.worlds li:nth-child(1) { --w: #8FBF5A; }
.worlds li:nth-child(2) { --w: #2FB86F; }
.worlds li:nth-child(3) { --w: #3D8BFF; }
.worlds li:nth-child(4) { --w: #9C7BFF; }
.worlds li:nth-child(5) { --w: #E048FF; }
.worlds li:nth-child(6) { --w: #7A7F96; }
.worlds li:nth-child(7) { --w: #FF6F9E; }
.worlds li:nth-child(8) { --w: #F5A524; }
.worlds li:nth-child(9) { --w: #D9792A; }
.worlds li:nth-child(10) { --w: #5C6BFF; }

/* Free to play */
.fair { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 24px; align-items: start; }
.fair__card { background: var(--card); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-sm); }
.fair__card h3 { font-size: 21px; margin-bottom: 10px; }
.fair__card p { margin: 0; color: var(--ink-2); }
.fair__card--premium { background: linear-gradient(160deg, #FFFFFF 0%, #FFF6E0 100%); box-shadow: var(--shadow-sm), inset 0 0 0 1.5px rgba(245, 165, 36, 0.4); }
.fine { margin-top: 14px !important; color: var(--muted) !important; font-size: 14px; line-height: 1.55; }

/* Get the game */
.get { padding: 0 0 clamp(72px, 9vw, 120px); }
.get__card { display: flex; align-items: center; gap: clamp(22px, 4vw, 48px); padding: clamp(28px, 5vw, 56px); border-radius: 36px; background: linear-gradient(120deg, #FFE1EC 0%, #EAE3FF 52%, #DDF5EE 100%); box-shadow: var(--shadow); }
.get__icon { flex: none; width: clamp(96px, 13vw, 148px); height: auto; border-radius: 23%; box-shadow: 0 16px 34px rgba(43, 33, 80, 0.22); }
.get h2 { font-size: clamp(26px, 3.4vw, 38px); }
.get__copy > p { margin: 12px 0 0; max-width: 60ch; color: var(--ink-2); font-weight: 700; }
.get .stores { margin-top: 22px; }

/* ---------- Footer ---------- */
.foot { background: var(--card); border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--ink-2); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin: 14px 0 0; max-width: 34ch; color: var(--muted); }
.foot__col { display: flex; flex-direction: column; gap: 8px; font-style: normal; }
.foot__col h2 { margin: 0 0 6px; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 900; }
.foot__col a { color: var(--ink-2); text-decoration: none; font-weight: 800; }
.foot__col a:hover { color: var(--violet-deep); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot__base a { color: var(--muted); }

/* ---------- Documents: privacy, terms, support, data deletion ---------- */
.page { position: relative; isolation: isolate; padding-top: clamp(20px, 5vw, 56px); padding-bottom: clamp(56px, 7vw, 88px); }
.page::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; height: 420px; background: linear-gradient(180deg, #FFE1EC 0%, #EFE6FF 55%, rgba(248, 245, 255, 0) 100%); }
.doc { max-width: 840px; margin: 0 auto; background: var(--card); border-radius: 32px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.025em; }
.doc .meta { margin: 10px 0 30px; color: var(--muted); font-size: 15px; font-weight: 800; }
.doc h2 { margin: 38px 0 10px; font-size: 22px; letter-spacing: -0.015em; }
.doc h3 { margin: 24px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin: 7px 0; }
.doc dl { margin: 0; display: grid; gap: 8px; }
.doc dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.doc dt { color: var(--muted); font-weight: 800; }
.doc dd { margin: 0; }
.doc .summary { margin: 0 0 8px; padding: 18px 22px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.doc .summary p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 900; background: var(--paper); }
.table-wrap { overflow-x: auto; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 22px 0 8px; padding: 22px; border-radius: 22px; background: linear-gradient(120deg, #FFE1EC 0%, #EAE3FF 55%, #DDF5EE 100%); }
.contact p { margin: 0; flex: 1 1 260px; color: var(--ink-2); font-weight: 700; }
.mail { --b: var(--pink); --b-deep: var(--pink-deep); display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--b) 78%, #fff) 0%, var(--b) 52%); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 4px 0 var(--b-deep), 0 8px 18px rgba(217, 74, 124, 0.25); text-shadow: 0 1px 1px var(--b-deep); }
.mail:hover { color: #fff; }
.mail:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-deep); }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 900; list-style: none; display: flex; gap: 10px; align-items: baseline; -webkit-user-select: none; user-select: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; width: 1.1em; color: var(--pink); font-weight: 1000; transition: transform 0.2s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p, .faq details ul { margin: 10px 0 0 calc(1.1em + 10px); }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 42px; margin: 12px 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--violet-deep); font-weight: 900; font-size: 14px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc-links a { padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-weight: 800; font-size: 14px; text-decoration: none; }
.doc-links a:hover { color: var(--violet-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .lockup { margin-left: 0; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .hero__art { width: 100%; max-width: 480px; margin: 8px auto 0; height: clamp(440px, 118vw, 580px); }
  .paint--h1 { top: 96px; left: 6%; }
  .paint--h2 { top: 120px; right: 5%; }
  .steps, .moods { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step:not(:last-child)::after { top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .fair { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .road__grid { grid-template-columns: 1fr; text-align: center; }
  .road__copy > p:not(.ribbon) { margin-left: auto; margin-right: auto; }
  .road__chromi { max-width: 260px; }
  .worlds { justify-content: center; }
}
/* The bar's name is long: the page's own links leave it early. */
@media (max-width: 1100px) {
  .bar__nav { gap: 16px; font-size: 14px; }
  .bar__nav a:not(.bar__keep) { display: none; }
  .bar--solid .bar__nav a { display: inline; }
  .bar--solid .bar__nav .bar__home { display: none; }
}
@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .head--row { align-items: center; }
  .shot { width: 210px; }
  .shot .phone { --pw: 210px; }
  .gallery { gap: 20px; }
  .get__card { flex-direction: column; text-align: center; }
  .get .stores { justify-content: center; }
  .stores { width: 100%; max-width: 400px; }
  .store { height: 50px; }
  .paint--h2, .paint--h3 { display: none; }
  .rule { flex-direction: column; text-align: center; }
  .doc dl div { grid-template-columns: 1fr; gap: 0; }
  .brand__word { height: 28px; }
  .brand__icon { width: 36px; height: 36px; }
  .bar--solid .brand__word { display: none; }
}
@media (max-width: 480px) {
  .bar .brand__word { display: none; }
  .bar__cta { height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 400px) {
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .paint, .lockup__word, .hero__chromi { animation: none; }
  .shot .phone, .gal__btn, .btn { transition: none; }
}
