/* Looks: a typeface pairing and an atmosphere each, chosen with the switch in the top bar (html[data-look]).
   Everything else in app.css reads the variables set here. */
@font-face { font-family: "Clash"; src: url(/fonts/clash-display.woff2) format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/fonts/satoshi.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Cabinet"; src: url(/fonts/cabinet-grotesk.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "General"; src: url(/fonts/general-sans.woff2) format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

/* The atmosphere sits behind everything and does not scroll; a fine grain over it stops the gradients banding. */
html[data-look] body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--sky); }
html[data-look] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain, 0.05); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
html[data-look] { background: var(--bg); }
html[data-look] body { background: transparent; }
html[data-look] .reel .clip:nth-child(4) { display: none; }
html[data-look] .reel .clip:nth-child(1) { width: 250px; } html[data-look] .reel .clip:nth-child(2) { width: 186px; } html[data-look] .reel .clip:nth-child(3) { width: 140px; }
html[data-look] #rail { background: var(--bar); }
/* Panels become glass over the atmosphere. */
html[data-look] .card, html[data-look] .move, html[data-look] .opt, html[data-look] .composer .box, html[data-look] input[type=text], html[data-look] input[type=url], html[data-look] input[type=password], html[data-look] .start textarea { background: var(--glass); backdrop-filter: blur(22px) saturate(1.3); border-color: var(--edge); }
html[data-look] .move, html[data-look] .card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -40px rgba(0, 0, 0, 0.7); }
html[data-look] .chip, html[data-look] .cost div, html[data-look] .stat, html[data-look] .idea .row, html[data-look] .pack .prompt { background: var(--glass2); }
html[data-look] .stats { background: var(--edge); border-color: var(--edge); }
html[data-look] .hero::before { display: none; }
html[data-look] .composer { background: none; }
html[data-look] .composer .box { background: var(--glass3); }
html[data-look] .menu { background: var(--glass3); backdrop-filter: blur(30px); }
html[data-look] .btn { background: rgba(255, 255, 255, 0.07); border-color: var(--edge); }
html[data-look] .btn:hover { background: rgba(255, 255, 255, 0.12); }
html[data-look] .btn.primary { background: var(--ink); border-color: var(--ink); }
html[data-look] .btn.go { background: var(--go); border-color: var(--go); }
html[data-look] .btn.ghost { background: none; border-color: transparent; }
html[data-look] .tab.on, html[data-look] .levels button.on, html[data-look] .pick > button:hover, html[data-look] .pick.open > button { background: rgba(255, 255, 255, 0.1); }
html[data-look] .levels { background: rgba(255, 255, 255, 0.04); border-color: var(--edge); }
/* Display type: one rule for every place the old condensed face was used. */
html[data-look] .hero h1, html[data-look] .start h1, html[data-look] .page-title h1, html[data-look] .progress > h2 { font-family: var(--disp); font-stretch: normal; font-weight: var(--dw); letter-spacing: var(--dt); line-height: var(--dl); }
html[data-look] .hero h1 { font-size: var(--h1); }
html[data-look] .start h1 { font-size: calc(var(--h1) * 1.12); }
html[data-look] .move h3, html[data-look] .idea h3, html[data-look] .q > label { font-family: var(--text); font-stretch: normal; font-weight: 650; letter-spacing: -0.014em; }
html[data-look] .brand, html[data-look] .kpi b, html[data-look] .chip b, html[data-look] .stat b, html[data-look] .cost b, html[data-look] .clip .m b { font-family: var(--disp); font-stretch: normal; font-weight: var(--dw2); letter-spacing: var(--dt2); }
html[data-look] .kpi b { font-size: 34px; } html[data-look] .move h3 { font-size: 19.5px; line-height: 1.3; } html[data-look] .idea h3 { font-size: 24px; line-height: 1.2; }
html[data-look] { font-family: var(--text); }
html[data-look] .lead { font-family: var(--text); font-weight: 500; }
html[data-look] .lanes text { font-family: var(--text); }

/* 1 · Aurora: Clash Display over Satoshi; night blue with green and indigo light. */
html[data-look="aurora"] {
  --disp: "Clash", sans-serif; --text: "Satoshi", system-ui, sans-serif; --dw: 600; --dw2: 600; --dt: -0.022em; --dt2: -0.012em; --dl: 1.04; --h1: 50px;
  --bg: #04060c; --bar: rgba(5, 8, 16, 0.6); --glass: rgba(255, 255, 255, 0.045); --glass2: rgba(255, 255, 255, 0.06); --glass3: rgba(14, 18, 30, 0.82); --edge: rgba(255, 255, 255, 0.1);
  --sky: radial-gradient(60% 55% at 12% -6%, rgba(38, 208, 152, 0.42), transparent 70%), radial-gradient(55% 60% at 92% 4%, rgba(92, 84, 240, 0.55), transparent 70%), radial-gradient(70% 60% at 55% 108%, rgba(22, 98, 200, 0.46), transparent 70%), linear-gradient(180deg, #060a16, #04060c 60%);
}
/* 2 · Dusk: Cabinet Grotesk over General Sans; warm plum and ember. */
html[data-look="dusk"] {
  --disp: "Cabinet", sans-serif; --text: "General", system-ui, sans-serif; --dw: 800; --dw2: 700; --dt: -0.03em; --dt2: -0.015em; --dl: 1; --h1: 58px;
  --bg: #0a0608; --bar: rgba(12, 7, 10, 0.6); --glass: rgba(255, 240, 235, 0.05); --glass2: rgba(255, 240, 235, 0.065); --glass3: rgba(26, 14, 20, 0.84); --edge: rgba(255, 225, 215, 0.11);
  --sky: radial-gradient(55% 55% at 8% -4%, rgba(214, 62, 124, 0.46), transparent 70%), radial-gradient(50% 55% at 96% 0%, rgba(255, 146, 51, 0.4), transparent 70%), radial-gradient(70% 60% at 50% 110%, rgba(104, 52, 178, 0.46), transparent 70%), linear-gradient(180deg, #120810, #0a0608 60%);
  --ink: #fbf1ea; --ink2: #b9aaa7; --ink3: #7d6f70;
}
/* 3 · Ink: Plus Jakarta Sans throughout, light and tight; graphite with a steel-blue wash. */
html[data-look="ink"] {
  --disp: "Jakarta", sans-serif; --text: "Jakarta", system-ui, sans-serif; --dw: 500; --dw2: 650; --dt: -0.045em; --dt2: -0.02em; --dl: 1.05; --h1: 54px;
  --bg: #06080c; --bar: rgba(7, 9, 14, 0.62); --glass: rgba(255, 255, 255, 0.04); --glass2: rgba(255, 255, 255, 0.055); --glass3: rgba(13, 16, 24, 0.86); --edge: rgba(255, 255, 255, 0.09);
  --sky: linear-gradient(158deg, #13203f 0%, #080b14 38%, #06080c 62%, #17112b 100%), radial-gradient(60% 50% at 70% -10%, rgba(120, 170, 255, 0.22), transparent 70%);
  --grain: 0.06;
}
html[data-look="ink"] body::before { background: radial-gradient(65% 55% at 74% -8%, rgba(120, 170, 255, 0.34), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(140, 110, 255, 0.2), transparent 70%), linear-gradient(158deg, #1b2d5c 0%, #0a0e1a 40%, #06080c 64%, #1d1538 100%); }

/* The switch. */
.looks { display: flex; gap: 5px; margin: 0 8px 0 4px; }
.looks button { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.25); cursor: pointer; padding: 0; transition: transform 0.15s; }
.looks button:hover { transform: scale(1.15); }
.looks button.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.looks .aurora { background: linear-gradient(135deg, #26d098, #5c54f0); } .looks .dusk { background: linear-gradient(135deg, #d63e7c, #ff9233); } .looks .ink { background: linear-gradient(135deg, #2a4a8f, #0c0f18); }

/* 29 Nov 2026: no gradient ("the gradient prolly a bad idea"). Every look is flat; they differ in typeface only. */
html[data-look] body::before { background: var(--bg) !important; }
html[data-look] body::after { display: none; }
html[data-look] .card, html[data-look] .move { box-shadow: none; backdrop-filter: none; }
html[data-look="plain"] { --disp: "General", sans-serif; --text: "General", system-ui, sans-serif; --dw: 620; --dw2: 620; --dt: -0.035em; --dt2: -0.02em; --dl: 1.04; --h1: 54px; --bg: #0a0b0d; --bar: rgba(10, 11, 13, 0.88); --glass: #111317; --glass2: #16191e; --glass3: #14171b; --edge: rgba(255, 255, 255, 0.085); }
html[data-look="plain"] .card, html[data-look="plain"] .move, html[data-look="plain"] .opt { border-radius: 14px; }
html[data-look="plain"] .clip { box-shadow: 0 0 0 1px var(--edge); }
.looks .plain { background: #f3f2ee; }
