/* Verveil site v2 (20 Nov 2026). The look of the FabCafe talk (talk-look.css): deep green, brass, light green, Geist.
   Dark by default. index.html and dashboard.html use this file; storm.html keeps its own style. */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #103127;
  --fg: #f2f5ee;
  --muted: #b9c9ad;
  --line: rgba(201, 173, 110, .38);
  --brass: #c9ad6e;
  --accent: #a8c652;
  --accent-ink: #10240f;
  --accent-soft: rgba(168, 198, 82, .12);
  --field: #0b231c;
  --panel: #153b30;
  --error: #f2a48f;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font: 400 16px/1.5 var(--font); color: var(--fg);
  background: radial-gradient(ellipse 120% 70% at 70% -10%, #22604b 0%, #184739 42%, #103127 100%) fixed, #103127;
}
/* The two faint circles of the talk, behind the page on a wide screen. */
@media (min-width: 900px) {
  body::before, body::after { content: ""; position: fixed; z-index: -1; border-radius: 50%; pointer-events: none; }
  body::before { width: 46vw; height: 46vw; left: -14vw; top: 18vh; border: 2px dashed rgba(168, 198, 82, .16); }
  body::after { width: 42vw; height: 42vw; right: -12vw; top: 30vh; border: 2px solid rgba(201, 173, 110, .16); }
}
a { color: var(--accent); }
.hidden, [hidden] { display: none !important; }

/* Top bar: the mark on the left, one action on the right. */
.bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  max-width: 1080px; margin: 0 auto; padding: 14px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  background: linear-gradient(#103127ee, #103127cc 70%, transparent); backdrop-filter: blur(6px); }
.brand { display: inline-flex; align-items: center; font: 600 15px var(--font); letter-spacing: .01em; color: var(--fg); text-decoration: none; }
.brand svg { width: 16px; height: 16px; margin: 0 -1px; }
.brand .labs { color: var(--muted); margin-left: 5px; }
.brand .product { color: var(--brass); margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 8px max(20px, env(safe-area-inset-right)) 40px max(20px, env(safe-area-inset-left)); display: grid; gap: 28px; }
.wrap > * { min-width: 0; }
.kicker { margin: 0; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
h1 { margin: 0; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
h2 { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.lead { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; max-width: 62ch; }
.top { display: grid; gap: 12px; }

/* Buttons. */
.go, button.go { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 0;
  border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .12s ease, filter .12s ease; }
.go:hover { filter: brightness(1.06); }
.go:active { transform: translateY(1px); }
.go.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.go.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.go:disabled { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; }

/* Panels and fields. */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
label { display: block; font-size: .86rem; font-weight: 600; color: var(--fg); }
input, select { width: 100%; margin-top: 6px; padding: 11px 12px; background: var(--field); color: var(--fg); border: 1px solid var(--line);
  border-radius: 12px; font: 16px var(--font); }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder { color: #7f9a77; }
.note { margin: 0; padding: 9px 12px; background: rgba(255, 255, 255, .04); color: var(--muted); border-left: 3px solid var(--brass);
  border-radius: 0 10px 10px 0; font-size: .86rem; }
.message { min-height: 1.3em; margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.message.error { color: var(--error); }
.mono { font-family: var(--mono); }

.foot { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot b { color: var(--fg); font-weight: 600; }
