/* Arenova marketing site. "Ice and steel" tokens from the Enterprise app, plus Treetop tokens for the Family panels. */
:root {
  --bg: #0c0d0f; --bg-deep: #090a0c; --surface: #15171a; --surface-2: #1b1e22; --surface-3: #23272c;
  --line: #292d33; --line-2: #363b42; --text: #eef0f3; --text-2: #c5cad1; --muted: #8b929c; --faint: #5d636c;
  --ice: #8fb3ff; --ice-rgb: 143,179,255; --lav: #c3a4ff; --lav-rgb: 195,164,255; --sand: #f2bf78; --sand-rgb: 242,191,120;
  --accent-ink: #081022; --ok: #6fd6a8;
  --grad: linear-gradient(135deg, #b3cbff 0%, #8fb3ff 55%, #b59cff 100%);
  /* Arenova Family (Treetop) */
  --leaf: #2f7d4f; --leaf-2: #3f9a64; --sun: #f5c242; --sky: #8fd0f5; --cream: #fbf6e9; --bark: #1c2a20;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --kid: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --r: 10px; --r-lg: 16px; --r-xl: 22px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -18px rgba(0,0,0,.75);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background-color: var(--bg-deep);
  background-image: radial-gradient(1100px 620px at 88% -12%, rgba(var(--ice-rgb),.10), transparent 60%), radial-gradient(900px 600px at -8% 105%, rgba(var(--lav-rgb),.07), transparent 60%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px; background-attachment: fixed; overflow-x: hidden; }
a { color: var(--ice); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .45em; line-height: 1.15; letter-spacing: -.015em; font-weight: 650; }
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); } .t2 { color: var(--text-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 62ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.eyebrow.sun { color: var(--sun); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
/* Two buttons side by side at the same width (one above the other on phones). */
.row.eq { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 720px); margin-inline: auto; }
@media (max-width: 640px) { .row.eq { grid-template-columns: 1fr; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface-3); color: var(--text); font: 600 15px var(--font); cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: #2b3036; border-color: #4a515a; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ice); border-color: var(--ice); color: var(--accent-ink); }
.btn.primary:hover { background: #b3cbff; border-color: #b3cbff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.family { background: var(--sun); border-color: var(--sun); color: var(--bark); font-family: var(--kid); font-size: 17px; border-radius: 999px; }
.btn.family:hover { background: #ffd462; border-color: #ffd462; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(12,13,15,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(190,200,220,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 18px var(--display); letter-spacing: .14em; text-decoration: none !important; }
.logo svg { width: 30px; height: 30px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--text-2); font-size: 15px; }
.links a:hover { color: var(--text); text-decoration: none; }
.nav .show-sm { display: none; }
@media (max-width: 860px) { .links { display: none; } .nav .hide-sm { display: none; } .nav .show-sm { display: inline; } }

/* hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); text-align: center; }
.hero .lead { margin: 0 auto 30px; }
.hero .row { justify-content: center; }
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 6vw, 64px); text-align: left; }
@media (max-width: 760px) { .choose { grid-template-columns: minmax(0, 1fr); } }
.door { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); color: var(--text); text-decoration: none !important; transition: transform .2s, border-color .2s; min-height: 270px; }
.door:hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb),.5); }
.door .tag { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.door h3 { font-size: 26px; margin: 4px 0 2px; }
.door p { color: var(--text-2); margin: 0 0 18px; max-width: 40ch; }
.door .go { margin-top: auto; font-weight: 600; color: var(--ice); }
.door .art { position: absolute; right: -10px; bottom: -10px; width: 170px; height: 170px; opacity: .95; pointer-events: none; }
.door.fam { background: linear-gradient(160deg, #24452f 0%, #1a3324 60%, #16261c 100%); border-color: rgba(245,194,66,.25); }
.door.fam:hover { border-color: rgba(245,194,66,.65); }
.door.fam .tag, .door.fam .go { color: var(--sun); }
.door.fam h3 { font-family: var(--kid); font-size: 30px; letter-spacing: 0; }
.door.fam p { color: #dfe9dc; }
@media (max-width: 480px) { .door .art { width: 120px; height: 120px; opacity: .55; } }

/* sections */
.sec { padding: clamp(64px, 9vw, 110px) 0; }
.sec-h { max-width: 760px; margin-bottom: 40px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-2); margin: 0; font-size: 15px; }
.icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; background: rgba(var(--ice-rgb),.12); color: var(--ice); }
.icon.lav { background: rgba(var(--lav-rgb),.13); color: var(--lav); }
.icon.sand { background: rgba(var(--sand-rgb),.13); color: var(--sand); }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(var(--ice-rgb),.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%238fb3ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.ticks b { color: var(--text); font-weight: 600; }

/* mock range console */
.console { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #0f1114; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); overflow: hidden; }
.console .tb { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 500 12.5px var(--mono); color: var(--muted); }
.console .tb i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console .tb .live { margin-left: auto; color: #ff8a8a; display: inline-flex; gap: 6px; align-items: center; }
.console .tb .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff6b7d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.console .body { padding: 16px; display: grid; gap: 12px; }
.alert { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.sev { font: 600 11px var(--mono); text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }
.sev.h { background: rgba(255,122,69,.16); color: #ff9a6a; } .sev.m { background: rgba(242,191,120,.15); color: var(--sand); } .sev.l { background: rgba(var(--ice-rgb),.13); color: var(--ice); }
.alert .t { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); }
.meter { padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.meter .k { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.meter b { font: 600 22px var(--mono); color: var(--text); }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 58%; background: linear-gradient(90deg, var(--sand), #ff8a6a); border-radius: 99px; animation: grow 9s ease-in-out infinite alternate; }
@keyframes grow { from { width: 34%; } to { width: 78%; } }
.cmd { font: 500 13px/1.7 var(--mono); color: var(--text-2); padding: 12px; border-radius: var(--r); background: #0b0c0e; border: 1px solid var(--line); }
.cmd .p { color: var(--ice); } .cmd .ok { color: var(--ok); }

/* formats strip */
.formats .card { position: relative; }
.formats .num { font: 600 12px var(--mono); color: var(--faint); position: absolute; top: 20px; right: 22px; }

.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); }
.chip:nth-child(3n+2) i { background: var(--lav); } .chip:nth-child(3n) i { background: var(--sand); }

/* family band */
.family { position: relative; background: linear-gradient(180deg, #1d3a28 0%, #183021 100%); border-top: 1px solid rgba(245,194,66,.2); border-bottom: 1px solid rgba(245,194,66,.2); overflow: hidden; }
.family::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 0%, rgba(245,194,66,.16), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(143,208,245,.12), transparent 60%); pointer-events: none; }
.family .wrap { position: relative; }
.family h2, .family h3 { font-family: var(--kid); letter-spacing: 0; }
.family h2 { font-size: clamp(30px, 4.2vw, 46px); }
.family .lead { color: #dfe9dc; }
.family .card { background: rgba(251,246,233,.06); border-color: rgba(251,246,233,.13); }
.family .card p { color: #d6e2d3; }
.family .icon { background: rgba(245,194,66,.16); color: var(--sun); }
.family .icon.sky { background: rgba(143,208,245,.16); color: var(--sky); }
.family .ticks li { color: #d6e2d3; }
.family .ticks li::before { background-color: rgba(245,194,66,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23f5c242' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.family .ticks b { color: #fff; }
.cast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.who { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--cream); color: var(--bark); }
.who svg { flex: none; width: 76px; height: 76px; }
.who h3 { margin: 0; font-size: 22px; }
.who p { margin: 2px 0 0; font-size: 14.5px; color: #42523f; }
.who.glitch { background: #2a2140; color: #f1eaff; }
.who.glitch p { color: #cfc2ec; }
@media (max-width: 520px) { .cast { grid-template-columns: minmax(0, 1fr); } }
.counts { display: flex; gap: 28px; flex-wrap: wrap; margin: 6px 0 28px; }
.counts b { display: block; font: 700 34px var(--kid); color: var(--sun); line-height: 1; }
.counts span { font-size: 14px; color: #d6e2d3; }
.bubble { position: relative; display: inline-block; padding: 12px 16px; border-radius: 18px; background: var(--cream); color: var(--bark); font: 600 16px var(--kid); margin-bottom: 18px; max-width: 34ch; }
.bubble::after { content: ''; position: absolute; left: 26px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--cream); border-bottom: 0; }

/* trust + cta */
.quote { font: 500 clamp(20px, 2.4vw, 26px)/1.45 var(--display); color: var(--text); max-width: 46ch; }
.cta { text-align: center; padding: clamp(56px, 8vw, 90px) 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 0%, rgba(var(--ice-rgb),.14), transparent 70%), var(--surface); }
.cta .row { justify-content: center; }
.cta .lead { margin: 0 auto 26px; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--text-2); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* coming soon */
.soon { min-height: 100vh; display: flex; flex-direction: column; }
.soon main { flex: 1; display: grid; place-items: center; padding: 48px 0; text-align: center; }
.soon .logo { display: flex; justify-content: center; font-size: 22px; margin-bottom: 40px; }
.soon .logo svg { width: 42px; height: 42px; }
.soon .lead { margin: 0 auto 36px; }
.soon .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; margin: 0 auto 36px; text-align: left; }
@media (max-width: 620px) { .soon .pair { grid-template-columns: minmax(0, 1fr); } }
.soon .pair .card h3 { margin-bottom: 4px; }
.soon .pair .fam { background: linear-gradient(160deg, #24452f, #183021); border-color: rgba(245,194,66,.25); }
.soon .pair .fam h3 { font-family: var(--kid); letter-spacing: 0; font-size: 22px; }
.soon .pair .fam .tag { color: var(--sun); }
.soon .pair .fam p { color: #dfe9dc; }
.soon .tag { font: 600 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ice); display: block; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(var(--ice-rgb),.35); background: rgba(var(--ice-rgb),.08); color: var(--ice); font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.soon footer { border-top: 0; text-align: center; }
.soon footer .wrap { justify-content: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
