/* Crated, playcrated.com. No outside requests: the font and every picture are served from here. */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0f0b16;
  --plum: #1d1230;
  --grape: #2c1852;
  --violet: #7e398e;
  --lilac: #c9a7ff;
  --ink: #f4effa;
  --soft: #c5bbd4;
  --cream: #f6e9c9;
  --cream-ink: #1c1226;
  --cream-soft: #4a3d55;
  --orange: #ff8a3d;
  --amber: #f6b77b;
  --line: rgb(255 255 255 / 0.14);
  --page: min(1120px, 100% - 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Jost", system-ui, sans-serif;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.5vw, 5.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 750; letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; font-weight: 650; margin-bottom: 0.3em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.wrap { width: var(--page); margin-inline: auto; }
.eyebrow {
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
}
.lead { font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--soft); max-width: 34ch; }

.skip { position: absolute; left: 1rem; top: -5rem; background: var(--cream); color: var(--cream-ink); padding: 0.75rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { top: 1rem; }

/* header */
.top { position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; color: var(--ink); font-weight: 750; font-size: 1.5rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.top nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.top nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.8rem; color: var(--ink); text-decoration: none; border-radius: 999px; }
.top nav a:hover { background: rgb(255 255 255 / 0.1); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 56px; padding: 0.7rem 1.6rem; border-radius: 999px;
  background: var(--lilac); color: #23103f; font-weight: 700; text-decoration: none;
  border: 2px solid var(--lilac);
}
.button:hover { background: #dcc6ff; border-color: #dcc6ff; }
.button svg { width: 20px; height: 20px; flex: none; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.button.quiet:hover { background: rgb(255 255 255 / 0.1); border-color: var(--soft); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.fine { font-size: 1rem; color: var(--soft); margin-top: 1rem; }

/* hero */
.hero { position: relative; padding-block: 2rem 6rem; isolation: isolate; }
.hero-back {
  position: absolute; inset: -260px 0 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60rem 36rem at 82% 22%, rgb(126 57 142 / 0.55), transparent 65%),
    radial-gradient(44rem 30rem at 6% 8%, rgb(86 52 170 / 0.45), transparent 70%),
    linear-gradient(180deg, var(--grape), var(--night) 78%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--lilac); display: block; }

/* the phones and the record behind them */
.stage { position: relative; min-height: 640px; }
.phone {
  background: #07050a; padding: 10px; border-radius: 42px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18), 0 40px 80px -20px rgb(0 0 0 / 0.75);
}
.phone img { border-radius: 33px; width: 100%; }
.stage .phone { position: absolute; width: 290px; }
.stage .front { left: 4%; top: 0; z-index: 2; transform: rotate(-4deg); }
.stage .back { right: 0; top: 70px; width: 260px; transform: rotate(6deg); }
.record {
  position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; right: -150px; top: -40px; z-index: -1;
  background:
    radial-gradient(circle, #0f0b16 0 1.6%, transparent 1.7%),
    radial-gradient(circle, var(--orange) 0 15%, #e2443b 15.2% 19%, transparent 19.2%),
    conic-gradient(from 20deg, transparent 0 8%, rgb(255 255 255 / 0.09) 13%, transparent 20% 55%, rgb(255 255 255 / 0.07) 62%, transparent 70%),
    repeating-radial-gradient(circle, #0b080f 0 3px, #1a1521 4px 5px);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.5);
}

/* three promises */
.promises { border-block: 1px solid var(--line); background: var(--plum); }
.promises ul { list-style: none; margin: 0; padding: 1.6rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.promises strong { display: block; font-size: 1.5rem; font-weight: 750; }
.promises span { color: var(--soft); font-size: 1rem; }

/* sections */
section.band { padding-block: clamp(4.5rem, 10vw, 8rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split .phone { width: min(340px, 100%); margin-inline: auto; }

.cream { background: var(--cream); color: var(--cream-ink); }
.cream .lead, .cream .fine { color: var(--cream-soft); }
.cream .eyebrow { color: #8a2f66; }
.cream a { color: #4c1d8f; }
.cream .phone { transform: rotate(2.5deg); box-shadow: 0 30px 60px -20px rgb(60 30 20 / 0.55); }

/* crate dividers, like the tabs between records */
.crates { list-style: none; padding: 0; margin: 2rem 0 0; max-width: 28rem; }
.crates li {
  border: 2px solid var(--cream-ink); border-radius: 16px 16px 6px 6px; padding: 0.8rem 1.2rem;
  font-weight: 700; font-size: 1.3rem; margin-top: -4px; position: relative;
  box-shadow: 0 -4px 10px rgb(60 30 20 / 0.12);
}
.crates li:nth-child(1) { background: #ffb27a; transform: rotate(-1.2deg); }
.crates li:nth-child(2) { background: #d8c1ff; transform: rotate(0.8deg); }
.crates li:nth-child(3) { background: #fff6dd; transform: rotate(-0.5deg); }
.crates small { display: block; font-weight: 400; font-size: 1rem; }

.warm { background: radial-gradient(50rem 34rem at 20% 40%, rgb(150 66 38 / 0.5), transparent 70%), #140d10; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.5rem; }
.checks li { padding: 0.65rem 0 0.65rem 1.9rem; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 0.2rem; top: 1.1rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 3px solid var(--orange); }

.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; border: 1px solid currentColor; border-radius: 999px; padding: 0.05rem 0.55rem; margin-left: 0.35rem; vertical-align: 0.1em; }

.tiles { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.tiles li { border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; background: linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.02)); }
.tiles p { margin: 0; color: var(--soft); }

.stats .tiles { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.stats { background: linear-gradient(180deg, var(--night), var(--grape) 55%, var(--night)); }

.access { background: var(--lilac); color: #1d0b38; }
.access .eyebrow { color: #4c1d8f; }
.access .lead, .access .fine { color: #2f1757; }
.access a { color: #34106b; font-weight: 600; }
.access .tiles li { background: #f5eeff; border-color: transparent; }
.access .tiles p { color: #3b2a57; }
.access :focus-visible { outline-color: #4c1d8f; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.shots .phone:nth-child(2) { margin-top: 4rem; }
.shots .phone { width: 100%; border-radius: 32px; padding: 7px; }
.shots .phone img { border-radius: 26px; }

.privacy-band { text-align: center; }
.privacy-band h2 { font-size: clamp(2.6rem, 8vw, 5.75rem); font-weight: 800; }
.privacy-band h2 span { display: block; }
.privacy-band h2 span:nth-child(2) { color: var(--lilac); }
.privacy-band h2 span:nth-child(3) { color: var(--amber); }
.privacy-band .lead { margin-inline: auto; max-width: 46ch; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.plan { border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); background: var(--plum); }
.plan.pro { background: linear-gradient(165deg, #44237c, #2a1450); border: 2px solid var(--lilac); }
.plan .checks { grid-template-columns: 1fr; }

.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.25rem; font-weight: 600; padding: 1.1rem 0; min-height: 48px; }
.faq details p { color: var(--soft); }

.last { text-align: center; background: radial-gradient(40rem 24rem at 50% 0%, rgb(126 57 142 / 0.55), transparent 70%); }
.last img { width: 150px; margin: 0 auto 1.5rem; }
.last .actions { justify-content: center; }

footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: 1rem; color: var(--soft); }
footer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
footer li a { display: inline-flex; align-items: center; min-height: 44px; }
footer p { margin: 0; }

/* the privacy policy and the not found page */
.doc { max-width: 44rem; padding-block: 2rem 5rem; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
.doc h2 { font-size: 1.5rem; margin: 2.2rem 0 0.6rem; }
.doc .updated { color: var(--soft); }

@media (max-width: 900px) {
  .hero .wrap, .split, .plans { grid-template-columns: 1fr; }
  .hero { padding-bottom: 3rem; }
  .stage { min-height: 600px; width: min(30rem, 100%); margin-inline: auto; }
  .record { width: 360px; right: -60px; }
  .split .art { order: 2; }
}

@media (max-width: 620px) {
  .promises ul { grid-template-columns: 1fr; }
  .stage { min-height: 125vw; }
  .stage .front { width: 62%; left: 0; }
  .stage .back { width: 55%; right: 0; top: 3.5rem; }
  .record { width: 80vw; right: -20vw; }
  .shots { gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Windows high contrast and similar: keep edges the colors alone were drawing */
@media (forced-colors: active) {
  .button, .phone, .plan, .tiles li { border: 1px solid CanvasText; }
  .record { display: none; }
}
