/* Ion Forge — machined, measured, lit from below. */
:root {
	--bg: #07080a;
	--surface: #0f1115;
	--ink: #e9edf2;
	--muted: #8b939d;
	--line: rgba(233, 237, 242, 0.1);
	--accent: #35e0ff;
	--on-accent: #041015;
	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Space Grotesk", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--display-weight: 600;
	--display-tracking: -0.03em;
	--radius: 20px;
}

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.kicker { color: var(--accent); margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); display: inline-block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; margin: 0; }
h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1; text-wrap: balance; }

.nav { position: fixed; inset: 0 0 auto; z-index: 30; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 8, 10, 0.78); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.14em; font-size: 14px; }
.brand svg { width: 24px; height: 24px; color: var(--accent); }
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.region { color: var(--muted); padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 900px) { .nav-links, .region { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform 0.2s, box-shadow 0.3s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 rgba(53, 224, 255, 0); }
.btn-accent:hover { box-shadow: 0 10px 40px -8px rgba(53, 224, 255, 0.6); }
.btn-line { border: 1px solid rgba(233, 237, 242, 0.25); }
.btn-line:hover { background: rgba(233, 237, 242, 0.06); }

.hero { position: relative; min-height: 100vh; padding: 120px 0 0; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(70% 60% at 70% 55%, rgba(53, 224, 255, 0.08), transparent 70%); }
.hero-mark { position: absolute; right: -2vw; top: 6vh; font-weight: 700; font-size: 44vw; line-height: 0.8; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 1px rgba(233, 237, 242, 0.06); pointer-events: none; user-select: none; }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: 0.9; letter-spacing: -0.05em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 38ch; margin: 28px 0 36px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-product { position: relative; margin-right: -4vw; }
.hero-product img { width: 100%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.callout { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); padding: 8px 14px; border-radius: 999px; background: rgba(15, 17, 21, 0.72); border: 1px solid var(--line); backdrop-filter: blur(10px); white-space: nowrap; }
.callout b { color: var(--accent); font-weight: 500; }
.c1 { top: 24%; left: 8%; }
.c2 { top: 64%; right: 10%; }
.c3 { bottom: 16%; left: 14%; }
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; padding-top: 24px; }
	.hero-product { margin: 0 -8vw; }
	.callout { display: none; }
}

.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; color: var(--muted); margin-top: 24px; }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span::before { content: "◆"; color: var(--accent); margin-right: 16px; font-size: 8px; vertical-align: 2px; }
@keyframes tick { to { transform: translateX(-50%); } }

body:not(.study) section:not(.hero) { padding: clamp(80px, 11vw, 150px) 0; }

.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.design-img { margin: 0; border-radius: var(--radius); overflow: hidden; }
.design-img img { width: 100%; }
.design-copy > p:not(.kicker) { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 24px 0 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0; border-top: 1px solid var(--line); }
.stat-row div { padding: 24px 0 0; }
.stat-row dt { color: var(--muted); }
.stat-row dd { margin: 10px 0 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; }
.stat-row small { font-size: 0.45em; color: var(--muted); margin-left: 4px; }
@media (max-width: 900px) { .design-grid { grid-template-columns: 1fr; } }

.finish { background: var(--surface); border-block: 1px solid var(--line); }
.finish-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.seg button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: background 0.25s, color 0.25s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.finish-panel { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; animation: fade 0.5s ease; }
.finish-panel img { width: 100%; border-radius: var(--radius); }
.finish-panel dl { margin: 0; display: grid; align-content: end; gap: 0; }
.finish-panel dl div { padding: 20px 0; border-top: 1px solid var(--line); }
.finish-panel dt { color: var(--muted); }
.finish-panel dd { margin: 8px 0 0; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: 0; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 800px) { .finish-panel { grid-template-columns: 1fr; } }

.specs-head { margin-bottom: 48px; }
.spec-table { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec { position: relative; padding: 32px 28px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.spec span { color: var(--muted); }
.spec strong { display: block; margin-top: 14px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.03em; }
.spec i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--v) * 100%); background: linear-gradient(90deg, transparent, var(--accent)); }
.spec:hover { background: rgba(53, 224, 255, 0.03); }
@media (max-width: 800px) { .spec-table { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spec-table { grid-template-columns: 1fr; } }

.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.markets-grid > div > p.muted { font-size: 18px; max-width: 44ch; margin: 24px 0 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font-family: var(--font-mono); font-size: 13px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: all 0.2s; }
.chips button:hover { color: var(--ink); }
.chips button[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: rgba(53, 224, 255, 0.08); }
.locale-card { padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(160deg, #12151a, #0a0b0e); box-shadow: 0 40px 80px -40px rgba(53, 224, 255, 0.25); min-height: 300px; }
.locale-top { display: flex; justify-content: space-between; color: var(--muted); padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.locale-card [data-panel] { animation: fade 0.4s ease; }
.locale-card [data-panel] > .mono:first-child { color: var(--accent); margin: 0; }
.locale-card h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin: 14px 0 20px; }
.price { font-size: 28px; font-weight: 600; margin: 0 0 12px; }
.small { color: var(--muted); margin: 0; text-transform: none; letter-spacing: 0.02em; }
@media (max-width: 900px) { .markets-grid { grid-template-columns: 1fr; } }

.order { text-align: center; background: radial-gradient(50% 80% at 50% 100%, rgba(53, 224, 255, 0.18), transparent 70%); border-top: 1px solid var(--line); }
.order-inner { display: flex; flex-direction: column; align-items: center; }
.order h2 { max-width: 16ch; }
.order p { font-size: 18px; margin: 20px 0 36px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 0 40px; }
.foot a { color: var(--ink); }

.study .cs-end { background: linear-gradient(160deg, #12151a, #0a0b0e); color: var(--ink); border: 1px solid var(--line); }
