@import url('/assets/fonts/inter.css');
@import url('/assets/fonts/fonts.css');

/* Phoenix Stack — product-grade dark theme. Palette: near-black, grays, white, gold accent. Navy only in the logo. */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f1012;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #141517;
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f7f8f8;
  --text-2: #d0d3d8;
  --muted: #8a8f98;
  --gold: #c9a84c;
  --gold-2: #e3cf8f;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  --r: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 12px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 17px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-bottom: 18px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.grad { background: linear-gradient(180deg, #ffffff 0%, #b9bec7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { color: var(--gold-2); }

/* one language at a time */
html[lang="en"] [data-lang]:not([data-lang="en"]),
html[lang="fr"] [data-lang]:not([data-lang="fr"]) { display: none !important; }

/* ── top navigation ──────────────────────────────────────── */
.topnav { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--border); }
.topnav-in { max-width: var(--max); margin: 0 auto; padding: 0 24px; min-height: 60px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.brand::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(201, 168, 76, .7); flex: none; }
.nav { display: flex; flex: 1; justify-content: center; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: color .15s, background .15s; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--panel-2); }
.nav a[aria-current="page"] { color: var(--text); }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); font-size: 12px; font-weight: 600; letter-spacing: .04em; margin-left: auto; }
.lang button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; padding: 6px 10px; cursor: pointer; border-radius: 7px; }
.lang button[aria-pressed="true"] { color: var(--text); background: var(--panel-2); }
.lang button[aria-pressed="true"]::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: 1px; }
@media (max-width: 760px) {
  .topnav-in { flex-wrap: wrap; padding: 10px 16px; gap: 8px 12px; min-height: 0; }
  .brand { margin-right: auto; }
  .lang { margin-left: 0; order: 2; }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; margin: 0 -4px; }
}

/* ── layout ──────────────────────────────────────────────── */
.main { max-width: var(--max); margin: 0 auto; }
.content { padding: 24px 24px 72px; display: grid; gap: 24px; }
section { position: relative; }
@media (max-width: 760px) { .content { padding: 16px 16px 48px; gap: 16px; } }

/* ── hero ────────────────────────────────────────────────── */
.hero { padding: 72px 0 24px; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: -120px -40% auto; height: 520px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(201, 168, 76, 0.16), transparent 70%),
    radial-gradient(40% 40% at 50% 10%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.hero h1 { max-width: 16ch; margin: 0 auto 18px; }
.hero .lead { max-width: 60ch; margin: 0 auto; }
.hero .actions { justify-content: center; margin-top: 26px; }
@media (max-width: 760px) { .hero { padding: 40px 0 8px; text-align: left; } .hero h1, .hero .lead { margin-left: 0; } .hero .actions { justify-content: flex-start; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--border-2); color: var(--text); background: var(--panel); transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, .22); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #111; }
.btn.gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--panel); }

/* ── the stage: VS Code window + phone + terminal ─────────── */
.stage { position: relative; margin: 36px auto 0; max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.stage::after { content: ''; position: absolute; inset: auto 10% -60px; height: 160px; pointer-events: none; z-index: -1; background: radial-gradient(50% 80% at 50% 100%, rgba(201, 168, 76, .14), transparent 70%); }
@media (min-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); align-items: start; }
  .stage .term { grid-column: 1; }
  .stage .phone-wrap { grid-column: 2; grid-row: 1 / span 2; }
}

/* generic window chrome */
.win { background: var(--panel-solid); border: 1px solid var(--border-2); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .04) inset; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .025); font-size: 12px; color: var(--muted); }
.dots { display: flex; gap: 6px; margin-right: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d44; display: block; }
.dots i:first-child { background: #5a5d64; }
.win-title { margin-left: auto; margin-right: auto; font-family: var(--mono); font-size: 12px; }

/* VS Code window */
.code { display: grid; grid-template-columns: 44px minmax(0, 1fr); min-height: 300px; }
.activity { border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 14px 0; }
.activity i { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #4a4e57; display: block; opacity: .8; }
.activity i.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 168, 76, .18); }
.tabs { display: flex; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; }
.tabs span { padding: 9px 14px; color: var(--muted); border-right: 1px solid var(--border); white-space: nowrap; }
.tabs span.on { color: var(--text); background: rgba(255, 255, 255, .03); box-shadow: inset 0 -2px 0 var(--gold); }
.tabs .path { margin-left: auto; padding-right: 14px; border: 0; }
pre.src { margin: 0; padding: 14px 16px 18px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #c9cdd3; overflow-x: auto; counter-reset: line; tab-size: 2; }
pre.src .ln { display: block; padding-left: 0; white-space: pre; }
pre.src .ln::before { counter-increment: line; content: counter(line); display: inline-block; width: 44px; margin-right: 14px; text-align: right; color: #4a4e57; }
pre.src .ln.hl { background: rgba(201, 168, 76, .07); box-shadow: inset 3px 0 0 var(--gold); }
.k { color: var(--gold-2); }           /* keyword */
.f { color: #ffffff; }                 /* function / call */
.s { color: #e8e8e8; }                 /* string */
.c { color: #6b7079; font-style: italic; } /* comment */
.t { color: #b9bec7; }                 /* type */
.n { color: #dcdcdc; }                 /* number */
.cursor-blink { display: inline-block; width: 7px; height: 14px; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.statusbar { display: flex; gap: 16px; padding: 6px 12px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, .025); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.statusbar b { color: var(--gold-2); font-weight: 500; }

/* terminal */
.term pre { margin: 0; padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #c9cdd3; overflow-x: auto; }
.term .p { color: var(--gold-2); }
.term .ok { color: #ffffff; }
.term .dim { color: var(--muted); }

/* phone */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 270px; background: #0c0c0d; border: 1px solid var(--border-2); border-radius: 36px; padding: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 6px #17181b, 0 0 0 7px rgba(255, 255, 255, .06); }
.screen { background: #111214; border-radius: 26px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; font-size: 12px; }
.notch { height: 22px; display: grid; place-items: center; }
.notch i { width: 90px; height: 7px; border-radius: 999px; background: #000; display: block; border: 1px solid #222; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px 10px; font-weight: 600; font-size: 13px; }
.app-bar .pill { font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.app-body { padding: 0 12px 14px; display: grid; gap: 10px; }
.card { background: #17181b; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.card h4 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.card .sub { color: var(--muted); font-size: 11px; margin: 0; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.steps li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #3a3d44; flex: none; }
.steps li.done { color: var(--text-2); }
.steps li.done::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px #17181b; }
.steps li.now { color: var(--text); font-weight: 600; }
.steps li.now::before { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, .25); }
.amount { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.amount b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.amount span { color: var(--muted); font-size: 11px; }
.pay { display: block; text-align: center; background: var(--gold); color: #111; font-weight: 700; border-radius: 10px; padding: 10px; font-size: 12px; margin-top: 10px; }
.ghostbtn { display: block; text-align: center; border: 1px solid var(--border-2); color: var(--text-2); border-radius: 10px; padding: 9px; font-size: 12px; margin-top: 8px; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 12px; border-top: 1px solid var(--border); font-size: 10px; color: var(--muted); }
.tabbar span.on { color: var(--gold-2); }

/* console card mockup */
.dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.dash div { background: #17181b; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.dash small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; margin-bottom: 10px; }
.dash b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.dash .tag { float: right; }

/* ── stat cards / panels ─────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px 16px; }
.stat .k { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 16px; display: flex; justify-content: space-between; gap: 8px; }
.stat .v { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.stat .v small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 3px 7px; background: var(--panel-2); color: var(--text); }
.tag.gold { background: var(--gold); color: #111; }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.panel.navy { background: var(--panel); border-color: var(--border); }
.panel.solid { background: var(--panel-solid); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
@media (min-width: 960px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .panel { padding: 20px 18px; } }

/* section intro */
.intro { text-align: center; max-width: 720px; margin: 36px auto 8px; }
.intro .lead { margin-top: 6px; }
@media (max-width: 760px) { .intro { text-align: left; margin: 16px 0 0; } }

/* feature cards (Linear-style) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--border); margin-bottom: 16px; color: var(--gold-2); }
.feature .ico svg { width: 18px; height: 18px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* doors */
.door { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; text-decoration: none; display: block; transition: border-color .2s, background .2s; }
.door:hover { border-color: var(--border-2); background: var(--panel-2); }
.door .num { font-size: 12px; font-weight: 600; color: var(--gold-2); letter-spacing: .02em; display: block; margin-bottom: 10px; }
.door p { color: var(--muted); font-size: 14.5px; margin: 0; }
.door .go { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--text); }

/* spec rows, product sheets, numbered index, timeline */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-top: 1px solid var(--border); vertical-align: top; }
.spec th { color: var(--muted); font-weight: 500; font-size: 13px; width: 32%; padding-right: 16px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.product .icon { width: 56px; height: 64px; object-fit: contain; }
.product .mark { width: 56px; height: 64px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; font-weight: 700; font-size: 18px; color: var(--muted); background: var(--panel-2); }
@media (min-width: 640px) { .product { grid-template-columns: 56px minmax(0, 1fr); gap: 24px; } }
.index { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.index li { counter-increment: n; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; transition: border-color .2s; }
.index li:hover { border-color: var(--border-2); }
.index li::before { content: counter(n, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--gold-2); margin-bottom: 10px; }
.index h3 { font-size: 15px; margin: 0 0 6px; }
.index p { margin: 0; color: var(--muted); font-size: 14px; }
.panel .index li { background: var(--panel-2); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); }
.timeline li:first-child { border-top: 0; }
.timeline .y { font-family: var(--mono); font-weight: 500; color: var(--gold-2); }

/* contact + form */
.mail-big { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--gold); word-break: break-all; }
.label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 700px) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 9px; padding: 11px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, .18); }
.form textarea { resize: vertical; min-height: 140px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form button.btn { font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.form button[disabled] { opacity: .6; cursor: progress; }
.small { font-size: 13px; }
.small a { color: var(--text); }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--border); background: var(--panel-2); font-size: 14px; }
.form-msg.ok { border-color: var(--gold); }

/* legal docs */
.doc h2 { font-size: 17px; margin: 24px 0 6px; }
.doc address { font-style: normal; }
.doc a { color: var(--text); }

/* footer */
.foot { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 16px 0 0; border-top: 1px solid var(--border); }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* CTA band */
.cta { text-align: center; padding: 56px 24px; background: radial-gradient(60% 100% at 50% 100%, rgba(201, 168, 76, .12), transparent 70%), var(--panel); border: 1px solid var(--border); border-radius: 16px; }
.cta h2 { margin-bottom: 8px; }
.cta .actions { justify-content: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .cursor-blink { animation: none; } .feature:hover { transform: none; } }

/* windows inside the centred hero keep left-aligned text */
.stage, .stage * { text-align: left; }
.stage .phone-wrap { text-align: center; }
.stage .pay, .stage .ghostbtn { text-align: center; }
pre.src { white-space: normal; }   /* the newlines between .ln blocks must not add empty rows */
pre.src .ln { white-space: pre; }

/* ── page openers ────────────────────────────────────────── */
.opener { text-align: center; padding: 56px 0 8px; position: relative; }
.opener::before { content: ''; position: absolute; inset: -80px -30% auto; height: 380px; pointer-events: none; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(201, 168, 76, 0.12), transparent 70%); }
.opener h1 { max-width: 18ch; margin: 0 auto 14px; }
.opener .lead { max-width: 62ch; margin: 0 auto; }
@media (max-width: 760px) { .opener { text-align: left; padding: 28px 0 0; } .opener h1, .opener .lead { margin-left: 0; } }

/* ── browser window ──────────────────────────────────────── */
.url { flex: 1; margin: 0 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; }
.site { padding: 22px; display: grid; gap: 16px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.site-nav { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.site-nav b { color: var(--text); font-weight: 600; margin-right: auto; }
.site-hero { padding: 26px 0 8px; }
.site-hero h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; margin-bottom: 6px; }
.site-hero p { color: var(--muted); font-size: 13px; margin: 0 0 12px; max-width: 46ch; }
.site-cta { display: inline-block; background: var(--gold); color: #111; font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 8px; }
.site-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-cards div { background: #17181b; border: 1px solid var(--border); border-radius: 10px; padding: 12px; min-height: 92px; }
.site-cards i { display: block; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #2a2d33, #1a1c20); margin-bottom: 10px; }
.site-cards b { display: block; font-size: 12px; font-weight: 600; }
.site-cards span { font-size: 11px; color: var(--muted); }
@media (max-width: 520px) { .site-cards { grid-template-columns: 1fr; } }

/* ── split panel: text + visual ─────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } .split.rev > :first-child { order: 2; } }
.split .phone { width: 250px; }
.split .screen { min-height: 480px; }

/* ── profile card ────────────────────────────────────────── */
.person { background: var(--panel-solid); border: 1px solid var(--border-2); border-radius: 14px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; letter-spacing: -.02em; background: radial-gradient(circle at 30% 30%, #2d3038, #15161a); border: 1px solid var(--border-2); color: var(--gold-2); margin-bottom: 14px; }
.person h3 { font-size: 20px; margin-bottom: 2px; }
.person .role { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 11.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--border); background: var(--panel); border-radius: 999px; padding: 4px 9px; }
.person .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.person .row div { border-top: 1px solid var(--border); padding-top: 10px; }
.person .row small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.person .row b { font-size: 14px; font-weight: 600; }

/* ── steps strip ─────────────────────────────────────────── */
.stepsrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; counter-reset: st; }
.stepsrow div { counter-increment: st; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; position: relative; }
.stepsrow div::before { content: counter(st, decimal-leading-zero); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); color: var(--gold-2); font-family: var(--mono); font-size: 12px; margin-bottom: 14px; }
.stepsrow h3 { font-size: 15px; margin-bottom: 6px; }
.stepsrow p { margin: 0; color: var(--muted); font-size: 14px; }

/* ── service grid ────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.services .feature .num { font-family: var(--mono); font-size: 12px; color: var(--gold-2); position: absolute; top: 18px; right: 18px; }

.split .amount b { font-size: 15px; }

/* ── the phoenix: nav mark, hero emblem, footer ──────────── */
.brand::before { display: none; }
.brand .mark { width: 30px; height: 24px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(201, 168, 76, .45)); }
.emblem { position: relative; width: 168px; height: 168px; margin: 0 auto 26px; perspective: 900px; }
.emblem .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 40%, rgba(201, 168, 76, .55) 50%, transparent 60% 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); animation: orbit 6s linear infinite; }
.emblem .ring.r2 { inset: 14px; animation-duration: 9s; animation-direction: reverse; opacity: .6; }
.emblem .glow { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 76, .28), rgba(201, 168, 76, .06) 55%, transparent 72%); filter: blur(6px); animation: breathe 4s ease-in-out infinite; }
.emblem .bird { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; animation: spin 10s cubic-bezier(.45, 0, .55, 1) infinite; }
.emblem .bird img { width: 118px; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)) drop-shadow(0 0 14px rgba(201, 168, 76, .35)); backface-visibility: visible; }
@keyframes spin { 0% { transform: rotateY(0deg) translateY(0); } 50% { transform: rotateY(180deg) translateY(-6px); } 100% { transform: rotateY(360deg) translateY(0); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@media (max-width: 760px) { .emblem { margin-left: 0; width: 132px; height: 132px; } .emblem .bird img { width: 92px; } }
@media (prefers-reduced-motion: reduce) { .emblem .ring, .emblem .glow, .emblem .bird { animation: none; } }
.foot .mark { width: 22px; height: 18px; object-fit: contain; vertical-align: -4px; margin-right: 6px; opacity: .9; }

/* ── hero lockup: big emblem, wordmark under it, smaller headline ── */
.emblem { width: 260px; height: 260px; margin-bottom: 10px; }
.emblem .bird img { width: 190px; }
.emblem .glow { inset: 30px; }
.wordmark { font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.02em; color: var(--gold); text-shadow: 0 0 24px rgba(201, 168, 76, .25); margin: 0 0 22px; line-height: 1.1; }
.hero h1 { font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 14px; }
.hero .lead { font-size: clamp(15px, 1.3vw, 17px); max-width: 58ch; color: var(--muted); }
@media (max-width: 760px) { .emblem { width: 200px; height: 200px; margin-left: 0; } .emblem .bird img { width: 146px; } .hero h1 { max-width: none; } }
