:root {
  --bg: #000000;
  --bg-alt: #0f0f0f;
  --bg-card: #141414;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --gold: #e9b33c;
  --gold-dark: #c8961f;
  --gold-soft: rgba(233, 179, 60, 0.12);
  --on-gold: #000000;
  --border: #262626;
  --max: 1120px;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); text-decoration: none; }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--on-gold);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { background: var(--gold-dark); color: var(--on-gold); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.button:hover { background: var(--gold-dark); border-color: var(--gold-dark); text-decoration: none; }
.button.secondary { background: transparent; color: var(--text); border-color: #444; }
.button.secondary:hover { border-color: var(--gold); color: var(--gold); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button-row.center { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  background: #000 center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.6) 50%, #000 100%);
}
.hero .container { position: relative; }
.hero .lead { margin-bottom: 32px; }
.hero-home { min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero-home h1 { max-width: 780px; }
.hero-logo { width: 150px; height: 150px; margin-bottom: 28px; border-radius: 20px; }
.hero-page { padding: 80px 0 70px; }
.hero-page h1 { max-width: 760px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.card.link { color: inherit; display: block; }
.card.link:hover { border-color: var(--gold); text-decoration: none; }
.card.link .more { color: var(--gold); font-weight: 600; }

/* Feature rows: image + text alternating */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: saturate(0.85);
}
.feature ul { padding-left: 20px; margin: 0; }
.feature li { margin-bottom: 8px; color: var(--muted); }
.feature li strong { color: var(--text); }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 11.5 3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks li strong { color: var(--text); }

/* Diagrams */
.diagram { width: 100%; height: auto; display: block; margin: 0 auto; }
.diagram-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 8px 0 32px;
}
.diagram text { font-family: 'Inter', system-ui, sans-serif; }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step h3 { display: flex; align-items: center; gap: 12px; }
.step h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.step dl { margin: 12px 0 0; }
.step dt { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 12px; }
.step dd { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta {
  padding: 80px 0;
  background: radial-gradient(ellipse at top, rgba(233,179,60,0.16), transparent 60%), var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta h2 { max-width: 700px; margin: 0 auto 16px; }
.cta p { max-width: 600px; margin: 0 auto 28px; color: var(--muted); }

/* Callout */
.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.form-status.ok { display: block; background: rgba(60, 200, 120, 0.12); color: #7fe0a8; }
.form-status.err { display: block; background: rgba(230, 80, 80, 0.12); color: #ff9c9c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-side .card { margin-bottom: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 36px; color: var(--muted); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--text); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Utilities */
.tm { font-size: 0.8rem; color: var(--muted); margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 70px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav-links .nav-cta { display: inline-block; }
  .brand span { display: none; }
  .hero { padding: 72px 0 80px; }
  .hero-home { min-height: auto; }
  .hero-logo { width: 110px; height: 110px; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .diagram-wrap { padding: 16px; }
}
