:root {
  --night: #07040a;
  --ink: #11080f;
  --plum: #2a1033;
  --pumpkin: #ff6a1a;
  --ember: #ff8a3d;
  --gold: #e8c547;
  --bone: #f3ead8;
  --mute: rgba(243, 234, 216, 0.58);
  --line: rgba(255, 106, 26, 0.18);
  --display: "Creepster", cursive;
  --serif: "Cinzel", serif;
  --body: "Spectral", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--night); color: var(--bone); }
body { font-family: var(--body); font-size: 18px; line-height: 1.6; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--gold); }
::selection { background: var(--pumpkin); color: var(--night); }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px; background: rgba(7,4,10,.62); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ember); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 999px; background: var(--pumpkin); color: var(--night);
  display: grid; place-items: center; box-shadow: 0 0 24px rgba(255,106,26,.4);
}
.brand-name {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ember);
  -webkit-text-stroke: 5px #000;
  paint-order: stroke fill;
  text-shadow:
    -3px -3px 0 #000,
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000,
     0 -3px 0 #000,
     0  3px 0 #000,
    -3px 0 0 #000,
     3px 0 0 #000,
    -4px 0 0 #000,
     4px 0 0 #000,
     0 -4px 0 #000,
     0  4px 0 #000;
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--mute); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav a.is-active, .nav a:hover { color: var(--ember); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--serif); cursor: pointer; font-size: 15px;
}
.btn-pump { background: var(--pumpkin); color: var(--night); }
.btn-pump:hover { background: var(--ember); color: var(--night); }
.btn-ghost { border-color: rgba(232,197,71,.4); color: var(--gold); background: transparent; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ember); font-size: 28px; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(7,4,10,.92)); }
.hero-copy { position: relative; text-align: center; padding: 120px 20px 80px; max-width: 860px; }
.hero-copy h1 { font-family: var(--display); font-size: clamp(3.4rem, 12vw, 8.2rem); color: var(--ember); text-shadow: 0 0 34px rgba(255,106,26,.55); line-height: .9; }
.hero-copy .lead { color: rgba(243,234,216,.82); max-width: 36rem; margin: 18px auto 0; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.count { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.count div {
  min-width: 72px; padding: 12px 10px; border-radius: 16px; text-align: center;
  border: 1px solid var(--line); background: rgba(7,4,10,.55);
}
.count b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--ember); }
.count span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.feature, .card, .row-card { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.feature { position: relative; display: block; color: inherit; }
.feature img { width: 100%; height: 520px; object-fit: cover; }
.feature-copy { position: absolute; inset: auto 0 0; padding: 36px; background: linear-gradient(transparent, #07040a 85%); }
.feature-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.card img { height: 220px; width: 100%; object-fit: cover; }
.card .pad { padding: 20px; }
.row-card { display: grid; grid-template-columns: 1.1fr 1fr; }
.row-card img { height: 100%; min-height: 260px; object-fit: cover; }
.row-card .pad { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { height: 420px; width: 100%; object-fit: cover; border-radius: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.kpis div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; background: rgba(7,4,10,.5); }
.kpis b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ember); }
.kpis span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.center { text-align: center; }
.form { display: grid; gap: 12px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea, select {
  width: 100%; background: rgba(7,4,10,.7); color: var(--bone); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px;
}
.flash { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.flash-ok { background: rgba(232,197,71,.12); color: var(--gold); }
.flash-error { background: rgba(180,40,40,.18); color: #ff8d8d; }
.page { padding: 110px 0 80px; }
.article-hero { position: relative; min-height: 58vh; }
.article-hero img { width: 100%; height: 58vh; object-fit: cover; }
.article-hero .copy { position: absolute; inset: auto 0 0; width: min(760px, calc(100% - 40px)); margin: 0 auto 36px; }
.prose p { margin: 0 0 1.1em; color: rgba(243,234,216,.86); }
.meta { display: flex; justify-content: space-between; color: var(--mute); font-size: .95rem; margin: 24px 0 32px; }
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding: 56px 0 0; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-copy { font-family: var(--display); font-size: 2rem; color: var(--ember); }
.legal { max-width: 42rem; }
.legal h2 { font-size: 1.45rem; margin: 2rem 0 0.55rem; }
.legal p, .legal address { color: var(--mute); margin: 0 0 0.8rem; font-style: normal; }
.foot-bar {
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(243,234,216,.45);
}
.foot-bar p { margin: 0; }
.foot-bar a { color: rgba(243,234,216,.7); }
.foot-bar a:hover { color: var(--gold); }
.auth-card { width: min(440px, 100%); margin: 0 auto; background: var(--ink); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }
.grain { pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #11080f; flex-direction: column; padding: 16px 22px 22px; gap: 14px; }
  .nav.is-open { display: flex; }
  .grid-3, .split, .row-card, .form-2, .foot-grid, .kpis { grid-template-columns: 1fr; }
  .feature img, .article-hero img { height: 360px; min-height: 0; }
}
