/* Ironveil AC sales site. Same palette as the banner and dashboard.
   No web fonts (the CSP allows only this server): the condensed display face
   is Oswald if installed, then Bahnschrift (Windows) / Avenir Next Condensed (macOS). */

:root {
  color-scheme: dark;
  --bg: #0f1012;
  --bg-2: #131417;
  --surface: #17181c;
  --surface-2: #1d1f23;
  --border: #25272c;
  --border-2: #33363c;
  --text: #eceae4;
  --text-2: #c9c6be;
  --muted: #a19f98;
  --faint: #7f7d77;
  --accent: #f0a63a;
  --accent-hi: #ffb651;
  --accent-ink: #1a1205;
  --accent-soft: rgba(240, 166, 58, .12);
  --ok: #6fcf8e;
  --bad: #f2624b;
  --info: #9fb8ea;
  --radius: 10px;
  --display: "Oswald", "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
h1, h2, h3 { font-family: var(--display); font-stretch: condensed; font-weight: 700; letter-spacing: .01em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 44px); text-transform: uppercase; }
h3 { font-size: 21px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.sub { color: var(--muted); margin-top: 10px; max-width: 62ch; font-size: 17px; }
.fine { color: var(--faint); font-size: 13px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: #4a4d54; background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.btn.ghost { background: transparent; }
.btn.lg { height: 50px; padding: 0 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.price-inline:not(:empty)::before { content: "· "; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(15, 16, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 20px/1 var(--display); font-stretch: condensed; letter-spacing: .03em; text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: var(--accent-ink); font: 700 17px/1 var(--display); font-stretch: condensed; }
.brand.small { font-size: 16px; }
.brand.small .mark { width: 26px; height: 26px; font-size: 13px; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 48px 48px;
  opacity: .35; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
h1 { font-size: clamp(44px, 7vw, 82px); text-transform: uppercase; }
.hl { color: var(--accent); }
.lede { margin-top: 22px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.facts li { font-size: 13px; color: var(--muted); border: 1px solid var(--border-2); border-radius: 999px; padding: 4px 12px; }

/* Console illustration */
.console { margin: 0; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(240, 166, 58, .05); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.console-title { margin-left: 8px; font: 600 13px/1 var(--mono); color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 12px/1 var(--mono); color: var(--ok); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-in-out infinite; }
.feed { list-style: none; margin: 0; padding: 8px; min-height: 284px; }
.feed li { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 8px; font: 13px/1.3 var(--mono); }
.feed li + li { border-top: 1px solid var(--border); border-radius: 0; }
.feed li.new { animation: slide .5s cubic-bezier(.2, .8, .2, 1) both; background: var(--accent-soft); border-radius: 8px; }
.feed b { color: var(--text); font-weight: 600; }
.feed span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; border: 1px solid; }
.feed .ban { color: var(--bad); border-color: rgba(242, 98, 75, .4); }
.feed .kick { color: var(--accent); border-color: rgba(240, 166, 58, .4); }
.feed .warn { color: var(--info); border-color: rgba(159, 184, 234, .4); }
.feed .ok { color: var(--ok); border-color: rgba(111, 207, 142, .4); }
.console figcaption { padding: 10px 16px 14px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--border); }

/* Bands */
.band { padding: clamp(64px, 9vw, 104px) 0; border-bottom: 1px solid var(--border); }
.band.alt { background: var(--bg-2); }
.grid.catches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 44px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.catches article { background: var(--bg); padding: 26px 24px 28px; transition: background .2s; }
.catches article:hover { background: var(--surface); }
.catches h3 { text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.catches h3::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.catches p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.panel-mock { background: var(--bg); border: 1px solid var(--border-2); border-radius: 12px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); font-size: 14px; }
.pm-row { display: grid; grid-template-columns: 1fr 70px 90px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.pm-row.head { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pm-row span:first-child { font-weight: 600; }
.pm-row:nth-child(3) { background: rgba(242, 98, 75, .06); }
.pill { justify-self: start; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid; }
.pill.ok { color: var(--ok); border-color: rgba(111, 207, 142, .35); }
.pill.bad { color: var(--bad); border-color: rgba(242, 98, 75, .4); }
.pill.staff { color: var(--info); border-color: rgba(159, 184, 234, .4); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 6px 6px; }
.pm-actions span { border: 1px solid var(--border-2); border-radius: 6px; padding: 6px 12px; font-size: 13px; color: var(--text-2); }
.pm-actions span:nth-child(2) { border-color: rgba(242, 98, 75, .5); color: var(--bad); }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(240, 166, 58, .35); font: 700 20px/1 var(--display); margin-bottom: 18px; }
.steps h3 { text-transform: uppercase; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 56px; align-items: start; }
.price-card { background: var(--bg); border: 1px solid var(--accent); border-radius: 14px; padding: 30px; box-shadow: 0 0 0 4px var(--accent-soft), 0 30px 70px rgba(0, 0, 0, .45); }
.pkg-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 22px; border: 1px solid var(--border); background: var(--surface); }
.price-card h2 { font-size: 26px; text-transform: none; }
.amount { margin-top: 16px; font: 700 56px/1 var(--display); font-stretch: condensed; }
.amount small { font: 500 16px/1 var(--sans); color: var(--muted); margin-left: 8px; }
.tax { color: var(--faint); font-size: 13px; margin-top: 8px; min-height: 1.6em; }
.price-card .checks { margin: 22px 0 26px; }
.price-card .fine { margin-top: 12px; text-align: center; }
.req h3 { text-transform: uppercase; margin-top: 8px; }
.req h3 + ul, .req h3 + p { margin: 12px 0 30px; color: var(--muted); }
.req ul { padding-left: 20px; }

/* Get my key */
.claim { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 30px; }
.claim label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.claim input { height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--bg); color: var(--text); font: 15px var(--sans); }
.claim input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.claim .btn { height: 46px; }
.claim-error { grid-column: 1 / -1; color: var(--bad); font-size: 14px; min-height: 1.4em; }
.key-out { margin-top: 18px; padding: 22px; border: 1px solid rgba(111, 207, 142, .35); background: rgba(111, 207, 142, .06); border-radius: var(--radius); animation: slide .4s cubic-bezier(.2, .8, .2, 1) both; }
.key-out > p:first-child { font-size: 13px; font-weight: 600; color: var(--ok); text-transform: uppercase; letter-spacing: .08em; }
.key-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0 12px; }
.key-row code { font-size: clamp(15px, 2.4vw, 21px); padding: 8px 12px; background: var(--bg); color: var(--accent); letter-spacing: .04em; overflow-wrap: anywhere; }

/* FAQ */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { margin-top: 30px; border-top: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* Footer */
.foot { padding: 34px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--text); }
.foot .fine { margin-left: auto; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--surface-2); border: 1px solid var(--border-2); padding: 10px 16px; border-radius: 8px; font-size: 14px; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveal (only when JS adds .reveal; content is visible without JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 960px) {
  .links { display: none; }
  .hero-in, .split, .pricing { grid-template-columns: 1fr; gap: 40px; }
  .grid.catches { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-cta .ghost { display: none; }
  .grid.catches { grid-template-columns: 1fr; }
  .claim { grid-template-columns: 1fr; }
  .feed li { grid-template-columns: 80px 1fr auto; gap: 8px; padding: 10px 6px; font-size: 12px; }
  .foot .fine { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
