:root {
  --bg: #050505;
  --bg-alt: #0c0b09;
  --card: #13110e;
  --line: #2a241b;
  --text: #f6efe3;
  --muted: #a89f90;
  --accent: #f7a823;
  --accent-ink: #120c02;
  --gold: linear-gradient(180deg, #fff1cf 0%, #f2cc85 45%, #c9954a 100%);
  --flame: linear-gradient(135deg, #ffd25e 0%, #f7a823 45%, #ff7a00 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.dim { color: var(--muted); font-weight: 500; }
.hidden { display: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 50%; }
.wordmark {
  font-family: Montserrat, Inter, sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .28em;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 10px; border: 0;
  background: var(--flame); color: var(--accent-ink);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(247, 168, 35, .28); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 104px;
  background: radial-gradient(700px 320px at 72% 92%, rgba(255, 122, 0, 0.16), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #ff8a00 50%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 138, 0, .55);
}
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.hero-mark { width: 100%; height: auto; max-width: 420px; justify-self: end; mix-blend-mode: lighten; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(38px, 6.5vw, 68px); font-weight: 800; }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; margin-top: 22px; }
.lead.small { font-size: 17px; margin-top: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; }
.hero-points li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Technology strip */
.stack { border-bottom: 1px solid var(--line); padding: 26px 0; }
.stack-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stack-label { color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.stack ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.stack li { color: #d9cdb8; font-weight: 600; font-size: 15px; opacity: .8; }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 40px; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: rgba(247, 168, 35, .45); transform: translateY(-2px); }
.service > p { color: var(--muted); font-size: 15px; }
.service ul { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service li { font-size: 14px; color: #d9cdb8; padding-left: 18px; position: relative; }
.service li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(247, 168, 35, .1); border: 1px solid rgba(247, 168, 35, .3);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.why > div { border-top: 2px solid var(--accent); padding-top: 22px; }
.why p, .work-card p, .steps p { color: var(--muted); font-size: 15px; }

.cta-band {
  padding: 88px 0; text-align: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(600px 240px at 50% 100%, rgba(255, 122, 0, .18), transparent 70%), var(--bg-alt);
}
.cta-band h2 { margin-bottom: 0; }
.cta-band .lead { margin: 14px auto 30px; }

.work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.work-card h3 { font-size: 24px; margin: 0; }
.work-tag { font-size: 13px; color: var(--accent); font-weight: 600; }
.link { margin-top: auto; padding-top: 10px; font-weight: 600; text-decoration: none; color: var(--text); }
.link:hover { color: var(--accent); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.steps span { display: block; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { margin-bottom: 0; }
.channels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.channels li { display: grid; gap: 2px; }
.channels span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.channels a { color: var(--text); font-weight: 600; font-size: 18px; text-decoration: none; }
.channels a:hover { color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.form input, .form textarea, .form select {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .btn { width: 100%; }

/* Footer */
.footer { padding: 64px 0 28px; color: var(--muted); font-size: 14px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 300px; }
.footer h4 { color: var(--text); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

/* Thanks page */
.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 16px; }
.thanks .lead { margin: 16px auto 28px; }

@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 80px 0 72px; }
  .section { padding: 72px 0; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-self: start; max-width: 150px; }
  .wordmark { font-size: 16px; letter-spacing: .22em; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
