/* reelswood.net styles in the Reelswood brand look "Citrus Bounce" (Jay, 2026-11-17): lime and coral on deep plum,
   Bricolage Grotesque ExtraBold for the logo and headings, Outfit for text. The colours, their jobs and the rules
   are in docs/library/1-marketing.md, "Brand". Phone first: base rules are the phone layout; @media rules widen it.
   Text sizes are in rem, so a visitor's own text-size setting works. */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(/fonts/outfit-latin-700-normal.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --plum: #170F26;      /* background */
  --card: #24183A;      /* boxes and bars */
  --line: #3B2B5C;      /* thin borders */
  --edge: #6B5A8E;      /* borders that must be seen (fields): 3:1 on the card */
  --lime: #C6F432;      /* our colour: the main button and the one promise */
  --lime-hover: #D8FF63;
  --coral: #FF6A4D;     /* second colour: the small ball, small labels */
  --sun: #FFC940;       /* small sparks */
  --text: #FBF6FF;
  --quiet: #C6B9DA;
  --error: #FF9A85;
  --merge: var(--lime); --battle: var(--coral); --spiral: var(--sun); --escape: var(--text);
  --display: 'Bricolage Grotesque', Outfit, system-ui, sans-serif;
  --radius: 16px;
  --gutter: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
/* scroll-padding: whatever gets focus or is jumped to stays clear of the sign-up bar at the bottom */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: 190px; scroll-padding-top: 16px; }
body { margin: 0; background: var(--plum); color: var(--text); font: 400 1.0625rem/1.5 Outfit, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--lime-hover); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.5px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--plum); padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 20; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mark { background: var(--lime); color: var(--plum); padding: 0 0.18em; border-radius: 0.22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- the logo: "reelswood" with the two o's as a small coral ball rolling into a big lime ball ---------- */
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--text); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.625rem; letter-spacing: -0.4px; line-height: 1; display: inline-flex; align-items: baseline; white-space: nowrap; }
.oo { display: inline-flex; align-items: flex-end; height: 0.72em; margin: 0 0.02em; }
.oo i { display: block; border-radius: 50%; }
.oo i:first-child { width: 0.42em; height: 0.42em; background: var(--coral); margin-right: -0.06em; margin-bottom: 0.02em; position: relative; z-index: 1; box-shadow: 0 0 0 0.05em var(--plum); }
.oo i:last-child { width: 0.6em; height: 0.6em; background: var(--lime); }
/* "Opening soon": a sticker (information), not a button */
.pill { display: inline-block; padding: 5px 11px; border-radius: 10px; background: var(--sun); color: var(--plum); font-size: 0.875rem; font-weight: 700; white-space: nowrap; transform: rotate(3deg); }

/* ---------- buttons and the sign-up form ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px;
  border: 0; border-radius: var(--radius); background: var(--lime); color: var(--plum); font: 800 1.1875rem var(--display);
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 26px rgba(198, 244, 50, 0.32); transition: transform 0.15s, background 0.15s;
}
.btn:hover { background: var(--lime-hover); color: var(--plum); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.75; cursor: progress; transform: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(23, 15, 38, 0.3); border-top-color: var(--plum); animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy=true] .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkish { background: none; border: 0; padding: 8px 0; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.join { display: flex; flex-direction: column; gap: 6px; }
.join form { display: flex; flex-direction: column; gap: 6px; }
.join .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.join input[type=email] {
  width: 100%; min-width: 0; height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--edge);
  background: var(--plum); color: var(--text); font: 600 1.0625rem Outfit, system-ui, sans-serif;
}
.join input[type=email]::placeholder { color: #9C8FB3; font-weight: 400; }
.join input[type=email]:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.25); }
.join input[aria-invalid=true], .join input[aria-invalid=true]:focus { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 154, 133, 0.25); }
.join .btn { min-height: 54px; padding: 0 18px; font-size: 1.0625rem; }
.consent { margin: 0; font-size: 0.8125rem; color: var(--quiet); line-height: 1.4; }
.consent a { display: inline-block; padding: 6px 0; margin: -6px 0; font-size: 0.875rem; }
.msg { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--error); }
.msg:empty { display: none; }
.msg:not(:empty) + .consent { display: none; } /* the error takes the consent line's place: the bar keeps its height */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts:empty { display: none; }
.thanks { display: none; }
.join.done form { display: none; }
.join.done .thanks { display: flex; align-items: center; gap: 12px; }
.thanks:focus { outline: none; }
.thanks .tick { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--lime); color: var(--plum); display: flex; align-items: center; justify-content: center; }
.thanks p { margin: 0; color: var(--quiet); font-size: 0.9375rem; }
.thanks p b:first-child { color: var(--text); font-size: 1.0625rem; display: block; }
.thanks .linkish { font-size: 0.875rem; color: var(--quiet); }

/* the sign-up bar: always at the bottom of the screen */
.join.bar {
  position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; background: var(--card);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 12px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.4);
}
.noscript { margin: 0; font-size: 0.875rem; color: var(--quiet); }

/* ---------- the first screen: our videos ---------- */
.home { padding-bottom: 150px; }
/* The first screen is at least as tall as the phone's screen, and grows if the text needs more room (big text
   settings): the text sits at its bottom, above the sign-up bar, and never runs into the header. */
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 84px 0 calc(152px + env(safe-area-inset-bottom)); overflow: hidden; background: #0E0818; }
.player { position: absolute; inset: 0; cursor: pointer; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
.player video.on { opacity: 1; }
.player .paused-icon { position: absolute; z-index: 4; left: 50%; top: 34%; width: 72px; height: 72px; margin-left: -36px; border-radius: 36px; background: rgba(23, 15, 38, 0.72); color: var(--text); display: none; align-items: center; justify-content: center; pointer-events: none; }
.player.paused .paused-icon { display: flex; }
.wall { display: none; }
.stage::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(23,15,38,0.85) 0%, rgba(23,15,38,0) 14%, rgba(23,15,38,0) 44%, rgba(23,15,38,0.9) 68%, var(--plum) 90%); }
.top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy { position: relative; z-index: 3; padding: 0 var(--gutter); pointer-events: none; }
.copy a, .copy button { pointer-events: auto; }
.tchip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 10px; background: var(--merge); color: var(--plum); font-size: 0.875rem; transition: background 0.3s; }
.tchip b { font-weight: 800; font-family: var(--display); letter-spacing: 0.2px; }
.dots { display: flex; gap: 0; margin: 0 0 0 -10px; }
.dots .pp { color: var(--text); display: flex; align-items: center; justify-content: center; }
.dots .pp::after { display: none; }
.dots button { width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.dots button::after { content: ''; position: absolute; left: 10px; right: 10px; top: 20px; height: 4px; border-radius: 2px; background: rgba(251, 246, 255, 0.55); }
.dots button[aria-pressed=true]::after { background: var(--dot, var(--lime)); }
.home h1 { margin: 0 0 10px; font-size: 2.125rem; line-height: 1.08; }
.stickers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.stickers li { padding: 5px 11px; border-radius: 10px; color: var(--plum); font-weight: 700; font-size: 0.875rem; }
.stickers li:nth-child(1) { background: var(--sun); transform: rotate(-3deg); }
.stickers li:nth-child(2) { background: var(--coral); transform: rotate(2deg); }
.stickers li:nth-child(3) { background: var(--text); transform: rotate(-2deg); }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }

/* floating balls: they make the page feel alive (brand rule 7). Decoration only, behind the text. */
.balls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.balls i { position: absolute; border-radius: 50%; animation: drift var(--t, 7s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 10px), var(--dy, -18px)); } }

/* ---------- below the videos ---------- */
section.block { padding: 40px 0 8px; }
.block h2 { margin: 0 0 6px; font-size: 1.875rem; line-height: 1.1; }
.block h3.small { margin: 26px 0 0; font-size: 1.25rem; }
.sub { margin: 0 0 20px; color: var(--quiet); font-size: 1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-items: start; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; }
.steps .n { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 1.3125rem var(--display); color: var(--plum); }
.steps li:nth-child(1) .n { background: var(--sun); }
.steps li:nth-child(2) .n { background: var(--coral); }
.steps li:nth-child(3) .n { background: var(--text); }
.steps h3 { margin: 6px 0 0; font-size: 1.25rem; line-height: 1.2; }
.steps p { margin: 0; color: var(--quiet); font-size: 1rem; grid-column: 2; }
/* the four styles: a key, not buttons (no box, no border) */
.styles { display: grid; gap: 6px 22px; margin: 10px 0 0; padding: 0; list-style: none; }
.styles li { display: flex; align-items: baseline; gap: 8px; font-size: 1rem; }
.styles li i { flex: none; width: 12px; height: 12px; border-radius: 50%; transform: translateY(1px); }
.styles b { font-weight: 700; }
.styles span { color: var(--quiet); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; min-height: 58px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s; color: var(--quiet); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--quiet); font-size: 1rem; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 36px; color: var(--quiet); font-size: 0.9375rem; }
footer .wrap { display: flex; flex-direction: column; gap: 18px; }
footer .socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.social:hover { color: var(--text); border-color: var(--lime); }
.social svg { width: 20px; height: 20px; color: var(--quiet); }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer .links a { min-height: 44px; display: inline-flex; align-items: center; }
footer .legal { margin: 0; }

/* ---------- text pages (privacy, 404) ---------- */
.page-top { padding: 12px 0; }
.page-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-top .btn { min-height: 44px; padding: 0 16px; font-size: 1rem; box-shadow: none; }
.page { padding: 8px 0 24px; }
.page .wrap { max-width: 740px; }
.page h1 { font-size: 2.25rem; margin: 12px 0 4px; }
.page h2 { font-size: 1.4375rem; margin: 30px 0 8px; }
.page p, .page li { color: var(--quiet); }
.page b { color: var(--text); }
.page a { color: var(--text); }
.page ul { padding-left: 22px; }
.page .updated { font-size: 0.9375rem; margin-top: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* ---------- wider screens (tablets and PCs) ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; }
  .home { padding-bottom: 130px; }
  .wordmark { font-size: 1.875rem; }
  .home h1 { font-size: 3rem; }
  .join.bar { left: 50%; right: auto; width: min(700px, calc(100% - 40px)); transform: translateX(-50%); bottom: 16px; border-radius: 22px; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .stage { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  section.block { padding: 56px 0 8px; }
  .block h2 { font-size: 2.5rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps li { grid-template-columns: 1fr; padding: 22px; }
  .steps .n { grid-row: auto; }
  .steps p { grid-column: 1; }
  .styles { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .faq { max-width: 860px; }
  footer .wrap { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  footer .legal { width: 100%; }
}
/* Landscape screens (PCs, laptops, tablets turned sideways): a wall of three videos instead of the phone player.
   A tablet held upright keeps the phone player: its tall, narrow wall tiles cut the videos too much. */
@media (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .player { display: none; }
  .stage { background: var(--plum); }
  .wall { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(calc((100svh - 40px) * 9 / 16), calc((100vw - 92px) / 3)); gap: 14px; justify-content: center; padding: 20px 0; }
  .wall .sample { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); position: relative; cursor: pointer; }
  .wall video { width: 100%; height: 100%; object-fit: cover; }
  .wall .sample b { position: absolute; z-index: 1; left: 50%; transform: translateX(-50%); top: 76px; padding: 4px 10px; border-radius: 9px; color: var(--plum); font: 800 0.875rem var(--display); }
  .wall .sample.paused::after { content: ''; position: absolute; left: 50%; top: 40%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 32px; background: rgba(23, 15, 38, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23FBF6FF'/%3E%3C/svg%3E") center / 28px no-repeat; }
  .stage::after { background: linear-gradient(to bottom, rgba(23,15,38,0.9) 0%, rgba(23,15,38,0.2) 18%, rgba(23,15,38,0.3) 38%, rgba(23,15,38,0.9) 60%, var(--plum) 82%); }
  .top { padding: 20px 32px; }
  .stage { padding-bottom: 130px; }
  .copy { text-align: center; }
  .tchip, .dots { display: none; }
  .home h1 { font-size: 3.625rem; max-width: 19em; margin: 0 auto 14px; }
  .home h1 .mark { white-space: nowrap; }
  .stickers { justify-content: center; }
  .stickers li { font-size: 1rem; padding: 6px 13px; }
}
/* phones: the error line and the consent line take the same room, so the bar never changes height */
@media (max-width: 759px) {
  .msg:not(:empty), .consent { min-height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .balls i { animation: none; }
  .btn { transition: none; }
}
