/* The public pages Zoom's review needs (home, support, privacy, terms): a dark stage with a light mode, Studio's
   red velvet and gold. Static, no scripts from anywhere else, no tracking. Built into site-ready/ by make-site.mjs. */
:root {
  --bg: #0b0b12; --bg2: #12121c; --ink: #f1f0f6; --muted: #a7a5b8; --card: #161622; --line: #2a2938;
  --red: #e0465a; --gold: #f2c66d; --violet: #8a63e8; --accent: #f2c66d; --link: #f6d48e;
  --shadow: 0 18px 50px rgb(0 0 0 / .45); color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #fbf9f6; --bg2: #f3efe8; --ink: #1d1b26; --muted: #5f5b6e; --card: #ffffff; --line: #e6e0d6;
    --accent: #b23a4a; --link: #a3303f; --shadow: 0 14px 40px rgb(60 40 20 / .12); color-scheme: light; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* the bar along the top */
.top { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: .01em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }

/* the home page's stage */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; background:
  radial-gradient(60% 70% at 50% 0%, rgb(242 198 109 / .16), transparent 70%),
  radial-gradient(40% 50% at 15% 30%, rgb(224 70 90 / .14), transparent 70%),
  radial-gradient(40% 50% at 85% 30%, rgb(138 99 232 / .14), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.015em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.button.primary { border: 0; color: #1a1208; background: linear-gradient(135deg, var(--gold), #f39a6b); box-shadow: 0 10px 30px rgb(242 198 109 / .25); }
.button:hover { filter: brightness(1.06); }
.stage { width: 100%; height: auto; filter: drop-shadow(var(--shadow)); }

/* sections */
section { padding: 56px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 0 0 6px; }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #1a1208; background: var(--gold); }
.checks b { color: var(--ink); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 8px 0 0; }
.note { color: var(--muted); font-size: 14px; }
.cta { text-align: center; }
.cta .actions { justify-content: center; }

/* the policy and help pages */
.doc { padding: 48px 0 24px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .card { margin: 14px 0; }
.doc .card p { margin-top: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); }
td { color: var(--muted); }
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .92em; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
footer a { color: var(--muted); }
footer .fine { flex-basis: 100%; font-size: 12.5px; opacity: .85; }

@media (max-width: 820px) {
  .hero { padding-top: 44px; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* the stage illustration's motion: tiles breathing in turn, one stepping forward now and then, the lights drifting */
.stage .tile { animation: breathe 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.stage .tile:nth-child(3n) { animation-delay: -2s; } .stage .tile:nth-child(3n+1) { animation-delay: -4s; }
.stage .star { animation: star 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.stage .beam { animation: sway 10s ease-in-out infinite alternate; transform-origin: 50% 0; transform-box: view-box; }
.stage .beam.b2 { animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes breathe { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }
@keyframes star { 0%, 62%, 100% { transform: scale(1); } 72%, 88% { transform: scale(1.55); } }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
