:root {
  --bg: #0b1216;
  --bg-elev: #121a20;
  --ink: #e8eef2;
  --muted: #8a9aa6;
  --line: rgba(232, 238, 242, 0.12);
  --accent: #e2a24a;
  --accent-2: #c98436;
  --accent-soft: rgba(226, 162, 74, 0.14);
  --max: 1120px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(226, 162, 74, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(70, 120, 140, 0.18), transparent 50%),
    linear-gradient(180deg, #0d151a 0%, var(--bg) 40%, #0a1014 100%);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 22, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 2rem;
  height: 2rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent) !important;
  border: 1px solid rgba(226, 162, 74, 0.35);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background: rgba(226, 162, 74, 0.24);
  transform: translateY(-1px);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 0.25rem 0; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .nav-mobile { display: none !important; }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 35%, var(--bg) 92%),
    linear-gradient(120deg, rgba(11, 18, 22, 0.2), rgba(11, 18, 22, 0.55)),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(226, 162, 74, 0.12), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 35%, #000 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  right: -4%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(226, 162, 74, 0.45), transparent 62%);
  filter: blur(8px);
  animation: orbPulse 7s ease-in-out infinite;
}

.hero-mark {
  position: absolute;
  right: max(4%, calc(50% - 520px));
  top: 18%;
  width: min(42vw, 280px);
  opacity: 0.9;
  animation: fadeUp 0.9s ease both 0.15s;
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 3.5rem;
  max-width: 36rem;
  animation: fadeUp 0.85s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero-brand span {
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1208;
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(226, 162, 74, 0.45); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, -48px, 0); }
}

/* —— Sections —— */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.solutions {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.solution {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.solution-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}
.solution h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.solution p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}
.solution-link {
  color: var(--ink);
  font-weight: 650;
  width: fit-content;
  border-bottom: 1px solid rgba(226, 162, 74, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.solution-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (min-width: 800px) {
  .solution {
    grid-template-columns: 8rem 1fr auto;
    align-items: start;
    gap: 1.5rem;
    padding: 1.75rem 0;
  }
  .solution p { grid-column: 2; }
  .solution-link { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

.steps {
  display: grid;
  gap: 1.75rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 3.2rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}
.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.contact-panel {
  background:
    linear-gradient(145deg, rgba(226, 162, 74, 0.1), transparent 55%),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.25rem;
}
.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.contact-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}
.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--accent);
  width: fit-content;
}
.contact-mail:hover { text-decoration: underline; }

@media (min-width: 800px) {
  .contact-panel {
    grid-template-columns: 1.2fr auto;
    align-items: end;
  }
  .contact-actions { justify-self: end; }
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content,
  .hero-mark,
  .hero-orb,
  .hero-grid { animation: none; }
  .btn:hover,
  .nav-cta:hover { transform: none; }
}
