/* The site's own pages (lib/site.js): the studio's colours and type, a reading column, the real pictures large. */
:root {
  --studio: #101019; --raised: #191927; --raised2: #20202f; --line: #2e2e45; --paper: #fbf6ea; --ink: #23202e;
  --text: #eeeadf; --dim: #a3a0b4; --air: #ff4a38; --sun: #ffcb3d;
  --hand: 'Shantell Sans', 'Comic Sans MS', 'Chalkboard SE', cursive;
  --ui: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wide: 1180px; --read: 760px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--studio); color: var(--text); font: 400 17px/1.6 var(--ui); }
a { color: var(--sun); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* the bar */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 20px; padding: 12px max(16px, calc((100% - var(--wide)) / 2)); background: rgba(16, 16, 25, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mark { font: 700 22px/1 var(--hand); color: var(--text); text-decoration: none; white-space: nowrap; }
.mark i { font-style: normal; padding-inline: 0.06em; color: var(--air); }
.mark i + i { color: var(--sun); }
.top nav { display: flex; gap: 18px; margin-left: auto; }
.top nav a { color: var(--dim); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--text); font: 600 16px/1.2 var(--ui); text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #4a4a68; color: var(--text); }
.btn.primary { background: var(--air); border-color: var(--air); color: #fff; }
.btn.primary:hover { background: #ff6352; color: #fff; }
.btn.go { min-height: 38px; padding: 7px 16px; font-size: 15px; background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn.go:hover { color: var(--ink); background: #fff; }

main { padding: 0 16px 40px; }
main > * { max-width: var(--wide); margin-inline: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; font: 500 13px/1.4 var(--mono); color: var(--dim); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* the opening: the answer, the buttons, the real picture */
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 40px; align-items: center; padding: 28px 0 36px; }
.hero.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.kicker { margin: 0 0 10px; font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); }
h1 { margin: 0; font: 700 clamp(32px, 4.6vw, 52px)/1.08 var(--hand); letter-spacing: -0.01em; text-wrap: balance; }
.lead { margin: 18px 0 0; font-size: 20px; line-height: 1.5; color: #dcd8cc; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fine { margin: 12px 0 0; font-size: 14px; color: var(--dim); }
.media { margin: 0; }
.media video, .media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
figcaption { margin-top: 10px; font-size: 14px; color: var(--dim); }

/* the body */
article > section { max-width: var(--read); margin: 0 auto; padding: 22px 0; }
article > section.hero { max-width: none; }
h2 { margin: 0 0 14px; font: 700 clamp(24px, 3vw, 30px)/1.2 var(--ui); letter-spacing: -0.01em; }
h3 { margin: 0 0 6px; font: 600 18px/1.35 var(--ui); }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 6px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--raised2); border: 1px solid var(--line); display: grid; place-items: center; font: 600 14px/1 var(--mono); color: var(--sun); }
.uses li { margin: 12px 0; }
blockquote { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--sun); background: var(--raised); border-radius: 0 10px 10px 0; font: 500 18px/1.5 var(--hand); color: #e9e4d6; }
.still { margin: 18px 0 0; }
.still img { border-radius: 12px; border: 1px solid var(--line); }

/* four moments of a theme's example, in order */
article > section.seq-wrap { max-width: var(--wide); }
.seq { list-style: none; counter-reset: m; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.seq li { counter-increment: m; position: relative; margin: 0; }
.seq li::before { content: counter(m); position: absolute; left: 8px; top: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 16, 25, 0.85); color: var(--sun); font: 600 12px/1 var(--mono); }
.seq img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 720px) { .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the theme cards: a picture, a name, a line, the wait */
article > section:has(.cards) { max-width: var(--wide); }
.cards { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { margin: 0; }
.card > a, .card { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.card > a { padding: 10px 10px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.card > a:hover { border-color: #55557a; transform: translateY(-2px); color: var(--text); }
.card img, .card video { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 9px; margin-bottom: 8px; background: #000; }
.ups .card { padding: 10px 10px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.card-name { font: 700 19px/1.2 var(--hand); }
.card-text { font-size: 15px; line-height: 1.45; color: #d6d2c6; }
.card-wait { margin-top: auto; padding-top: 6px; font: 500 12.5px/1.3 var(--mono); color: var(--dim); }

/* tables */
.table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 10px 14px 0; font: 500 13px/1.3 var(--mono); color: var(--dim); }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-weight: 600; color: var(--dim); font-size: 13px; }
.waits td { font-family: var(--mono); white-space: nowrap; }
.compare { margin: 6px 0 16px; border: 1px solid var(--line); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.compare tbody th { color: var(--dim); font-weight: 500; width: 22%; }

/* questions, next */
.faq .qa { padding: 14px 0; border-top: 1px solid var(--line); }
.faq .qa p { margin: 0; color: #d6d2c6; }
.links-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.links-list a { display: block; padding: 14px 16px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.links-list a:hover { border-color: #55557a; color: var(--text); }
.links-list b { display: block; font: 700 18px/1.3 var(--hand); color: var(--text); }
.links-list span { display: block; margin-top: 4px; font-size: 15px; color: var(--dim); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.chips a:hover { border-color: #55557a; }

/* the foot */
.foot { border-top: 1px solid var(--line); padding: 34px 16px 46px; background: #0c0c14; }
.foot-cols { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot h2 { font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 7px 0; }
.foot a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--sun); }
.foot-note { margin-top: 16px; font-size: 14px; color: var(--dim); }

@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; }
  .lead { font-size: 18px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { gap: 12px; }
  .top nav { gap: 12px; }
  .top nav a:nth-child(3) { display: none; }
  .btn.go { display: none; }
  .ctas .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .compare tbody th { width: auto; }
}
@media (max-width: 380px) { .top nav a:nth-child(2) { display: none; } }
@media (prefers-reduced-motion: reduce) { .card > a { transition: none; } .card > a:hover { transform: none; } }
