/* The Noir product websites. One stylesheet, no fonts or files from elsewhere. make-sites.mjs sets each site's
   accent colours in place of the two below. */
:root {
  --accent: #ff9a5c;
  --accent-2: #2bbfae;
  --page: #0b0b10;
  --ink: #f3f3f6;
  --quiet: #a9a9b6;
  --line: rgba(255, 255, 255, 0.10);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --rim: rgba(255, 255, 255, 0.16);
  --radius: 22px;
  --wide: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 12% -10%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(800px 600px at 95% 20%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%),
    var(--page);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---- Header ---- */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wide); margin: 0 auto; padding: 14px 24px;
  background: color-mix(in srgb, var(--page) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: 0.2px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.top nav a { color: var(--quiet); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

main { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 24px; }
.hero.small { padding: 120px 0 140px; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 5px 14px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--quiet);
  background: var(--glass); border: 1px solid var(--line);
}
h1 {
  margin: 0 auto 18px; max-width: 820px;
  font: 600 clamp(38px, 6vw, 66px)/1.06 "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -1.2px;
  background: linear-gradient(180deg, #ffffff 30%, color-mix(in srgb, var(--accent) 45%, #ffffff));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 0 auto 30px; max-width: 640px; font-size: clamp(18px, 2.2vw, 21px); color: var(--quiet); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--quiet); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  color: var(--ink); background: var(--glass-strong); border: 1px solid var(--rim);
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.button.primary {
  color: #0b0b10; border-color: transparent;
  background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--accent) 35%, #ffffff));
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 35%, transparent);
}
.button.primary:hover { background: #ffffff; color: #0b0b10; }
.button.big { min-height: 52px; padding: 0 28px; font-size: 17px; }
.button.soon { cursor: default; opacity: 0.85; transform: none; }

/* The product itself, cut close from real screenshots and shown large. */
.stage { position: relative; display: flex; justify-content: center; margin: 60px auto 0; }
.stage::before {
  content: ""; position: absolute; inset: 8% 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent);
  filter: blur(40px);
}
.tile {
  border-radius: 26px; border: 1px solid var(--rim);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Tall pieces stand side by side, stepped like the reel. */
.stage.tall { align-items: flex-start; gap: 26px; }
.stage.tall .tile { height: min(640px, 72vh); width: auto; }
.stage.tall .tile:nth-child(1) { margin-top: 70px; height: min(560px, 63vh); }
.stage.tall .tile:nth-child(3) { margin-top: 40px; }
/* Wide pieces stack, each across the page. */
.stage.wide { flex-direction: column; align-items: center; gap: 26px; }
.stage.wide .tile { width: min(100%, 900px); height: auto; }
.stage.wide .tile:nth-child(2) { width: min(86%, 760px); }

/* ---- Sections ---- */
.band { padding: 88px 0 0; }
/* Jumping to a section from the menu leaves its heading clear of the sticky header. */
section[id] { scroll-margin-top: 40px; }
h2 { margin: 0 0 30px; text-align: center; font: 600 clamp(28px, 3.6vw, 40px)/1.15 "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.6px; }
h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card p { margin: 0; color: var(--quiet); }
.card h3::before {
  content: ""; display: block; width: 34px; height: 4px; margin-bottom: 16px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--rim); }
.gallery img { transition: transform 0.25s ease; }
.gallery a:hover img { transform: scale(1.02); }
figcaption { margin-top: 10px; font-size: 15px; color: var(--quiet); text-align: center; }

.price {
  max-width: 520px; margin: 0 auto; padding: 40px 34px; text-align: center;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--rim);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 70px color-mix(in srgb, var(--accent) 14%, transparent);
}
.price h2 { margin-bottom: 14px; }
.amount { margin: 0 0 18px; font-size: 46px; font-weight: 600; letter-spacing: -1px; }
.amount span { font-size: 18px; font-weight: 400; color: var(--quiet); letter-spacing: 0; }
.price ul { margin: 0 0 28px; padding: 0; list-style: none; color: var(--quiet); }
.price li { padding: 6px 0; }
.price li::before { content: "✓"; margin-right: 10px; color: var(--accent); font-weight: 700; }

.faq { max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; padding: 16px 0; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--quiet); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--quiet); }

/* ---- Privacy policy ---- */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0 0; }
.doc h1 { text-align: left; margin: 0 0 6px; font-size: clamp(32px, 5vw, 46px); }
.doc .date { color: var(--quiet); margin: 0 0 28px; }
.doc h2 { text-align: left; font-size: 22px; margin: 36px 0 8px; letter-spacing: 0; }
.doc p, .doc li { color: #d9d9e0; }
.doc ul { padding-left: 22px; }

/* ---- Footer ---- */
.foot { max-width: var(--wide); margin: 110px auto 0; padding: 40px 24px 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--quiet); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot-grid p { margin: 0 0 8px; }
.foot-grid a { display: block; margin: 0 0 6px; color: var(--quiet); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid p a { display: inline; color: var(--ink); text-decoration: underline; }
.foot-name { color: var(--ink); font-weight: 600; font-size: 17px; }
.foot-head { color: var(--ink); font-weight: 600; }
.fine { margin: 32px 0 0; font-size: 13px; }

/* ---- Narrow screens ---- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  main, .top, .foot { padding-left: 16px; padding-right: 16px; }
  .top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .top nav { gap: 2px 16px; }
  .hero { padding-top: 48px; }
  .stage { margin-top: 40px; }
  .stage.tall { gap: 10px; }
  .stage.tall .tile { height: 400px; border-radius: 16px; }
  .stage.tall .tile:nth-child(1) { height: 350px; margin-top: 40px; }
  .stage.tall .tile:nth-child(3) { margin-top: 24px; }
  .stage.wide .tile, .stage.wide .tile:nth-child(2) { width: 100%; border-radius: 16px; }
  .cards, .gallery, .foot-grid { grid-template-columns: 1fr; }
  .band { padding-top: 64px; }
  .price { padding: 32px 22px; }
}
