:root {
  --bg: #102d17;
  --bg-deep: #0c2612;
  --panel: #1b431f;
  --panel-soft: #244d27;
  --line: #3e7a39;
  --line-soft: rgba(92, 150, 77, 0.45);
  --gold: #f3c86f;
  --gold-soft: #d7ab54;
  --text: #f4f7f3;
  --muted: #a7bdd1;
  --shell: min(1280px, calc(100% - 48px));
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 900;
}

h2 {
  max-width: 1080px;
  margin-bottom: 48px;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
}

h1 span,
h2 span {
  color: var(--gold);
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  font-weight: 850;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--bg-deep);
  background: var(--gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--text);
  background: rgba(12, 38, 18, 0.97);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  position: relative;
  display: block;
  width: 92px;
  height: var(--header-height);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1.3);
}

.footer-brand-block .brand {
  width: 124px;
  height: 124px;
}

.footer-logo {
  width: 124px;
  height: 124px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #a9b9c8;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a:not(.nav-action):hover,
.nav-links a:not(.nav-action):focus-visible {
  color: var(--gold);
}

.nav-action {
  padding: 11px 22px;
  color: #171b13;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 850;
}

.menu-toggle {
  display: none;
  padding: 8px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  filter: saturate(0.6) contrast(1.08);
}

.hero-overlay {
  background: rgba(9, 36, 16, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.eyebrow,
.card-kicker {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions,
.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 850;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-gold {
  color: #171b13;
  background: var(--gold);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: #ffd887;
}

.button-outline {
  color: var(--text);
  background: rgba(16, 45, 23, 0.45);
  border-color: var(--line);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 46px;
  color: #c5d3df;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-points span + span::before {
  content: "·";
  margin-right: 28px;
  color: var(--gold);
}

.intro,
.audiences,
.faq {
  background: var(--bg);
}

.intro-grid,
.maker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}

.intro h2 {
  margin-bottom: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
  color: #d6dfd7;
  font-weight: 700;
}

.services,
.sparky-section,
.maker {
  background: var(--bg-deep);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.feature-card,
.audience-card,
.sparky-demo,
.closing-card,
.product-window {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.feature-card {
  min-height: 280px;
  padding: 30px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--gold);
  background: rgba(243, 200, 111, 0.08);
  border: 1px solid rgba(243, 200, 111, 0.55);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-icon.small {
  width: 42px;
  height: 42px;
  margin: 0;
}

.feature-card .card-kicker {
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.feature-card > p:last-child,
.audience-card p,
.maker p,
.sparky-copy > p:not(.eyebrow),
.closing-card > p:not(.eyebrow) {
  color: var(--muted);
}

.sparky-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.sparky-copy h2 {
  margin-bottom: 24px;
}

.sparky-copy > p:not(.eyebrow) {
  max-width: 630px;
  font-size: 1.08rem;
}

.check-list {
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.sparky-demo {
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.demo-header div {
  display: flex;
  flex-direction: column;
}

.demo-header span {
  color: var(--muted);
  font-size: 0.82rem;
}

.chat {
  width: 88%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 24px;
  line-height: 1.35;
}

.chat.user {
  margin-left: auto;
  background: var(--panel-soft);
}

.chat.user.short {
  width: 56%;
}

.chat.assistant {
  background: #4c5d34;
}

.product-window {
  margin-top: 82px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.browser-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  color: #607168;
  background: #e8ebe7;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  background: #8d9992;
  border-radius: 50%;
}

.browser-bar p {
  margin: 0 0 0 8px;
  font-size: 0.75rem;
}

.product-screen {
  position: relative;
  aspect-ratio: 1861 / 848;
  overflow: hidden;
  background: var(--panel);
}

.product-screen img {
  position: absolute;
  top: -11.2%;
  left: -2.42%;
  width: 102.42%;
  max-width: none;
  height: auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  min-height: 180px;
  padding: 28px;
}

.maker-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.maker-logo {
  max-width: 440px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.maker-logo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.maker p {
  max-width: 700px;
  font-size: 1.08rem;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.faq details + details {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 23px 62px 23px 26px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 28px;
  color: var(--gold);
  font-size: 1.3rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: -4px 62px 24px 26px;
  color: var(--muted);
}

.closing {
  background: var(--bg-deep);
}

.closing-card {
  padding: 68px 32px;
  text-align: center;
}

.closing-card h2 {
  margin: 0 auto 18px;
}

.closing-card > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}

.closing-actions {
  justify-content: center;
}

.site-footer {
  color: var(--text);
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 80px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.footer-brand-block p {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--muted);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column strong {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 36px, 740px);
  }

  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 22px;
    color: var(--text);
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.nav-action) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-action {
    margin-top: 14px;
    text-align: center;
  }

  .hero {
    min-height: 690px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .intro-grid,
  .sparky-grid,
  .maker-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .card-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .sparky-demo {
    order: -1;
  }

  .maker-logo {
    margin-inline: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
    --header-height: 84px;
  }

  .section {
    padding: 68px 0;
  }

  h2 {
    margin-bottom: 34px;
    font-size: 2.45rem;
  }

  .brand {
    width: 84px;
  }

  .brand-logo {
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%) scale(1.28);
  }

  .footer-brand-block .brand {
    width: 112px;
    height: 112px;
  }

  .footer-logo {
    width: 112px;
    height: 112px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 72px 0 38px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions,
  .closing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .hero-points {
    gap: 8px 12px;
    margin-top: 30px;
    font-size: 0.68rem;
  }

  .hero-points span + span::before {
    margin-right: 10px;
  }

  .feature-card,
  .audience-card,
  .sparky-demo {
    padding: 22px;
    border-radius: 20px;
  }

  .chat {
    width: 94%;
    font-size: 0.9rem;
  }

  .chat.user.short {
    width: 72%;
  }

  .product-window {
    margin-top: 52px;
    border-radius: 18px;
  }

  .browser-bar p {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .maker-logo {
    max-width: 100%;
    border-radius: 20px;
  }

  .faq-list,
  .closing-card {
    border-radius: 20px;
  }

  .faq summary {
    padding: 20px 52px 20px 20px;
  }

  .faq summary::after {
    right: 20px;
  }

  .faq details p {
    margin: -2px 20px 20px;
  }

  .closing-card {
    padding: 48px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-block {
    grid-column: auto;
  }
}
