:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --white: #ffffff;
  --ink-soft: #a6a6a6;
  --line: rgba(255,255,255,0.1);
  --line-strong: rgba(255,255,255,0.18);
  --accent: #ffb648;
  --accent-2: #6ee7d8;
  --paper: #f6f5f2;
  --paper-ink: #17181a;
  --paper-ink-soft: #55575c;
  --paper-line: #e4e2db;
  --max-width: 1160px;
  --font: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Sora", var(--font);
}

* { box-sizing: border-box; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--white); color: var(--black);
  font-weight: 600; padding: 12px 18px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper-ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; position: relative; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--paper-ink); }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
em { font-style: normal; color: var(--accent); }

.eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #b5762a;
  margin: 0 0 16px;
  display: block;
}
.eyebrow-light { color: var(--accent); }

p { margin: 0 0 16px; color: var(--paper-ink-soft); max-width: 62ch; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0;
  background: rgba(246,245,242,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-line);
  z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--paper-ink); }
.logo span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
nav a { font-weight: 500; font-size: 0.92rem; color: var(--paper-ink); white-space: nowrap; }
nav a:hover { color: #b5762a; }
nav a.nav-cta {
  background: var(--paper-ink);
  color: var(--paper);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
nav a.nav-cta:hover { background: var(--accent); color: var(--paper-ink); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: transparent; border: 1px solid var(--paper-line);
  border-radius: 10px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--paper-ink); }

/* Hero */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 96px 0 84px;
  overflow: hidden;
}
.eyebrow-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero h1 { color: var(--white); max-width: 11ch; }
.hero-benefits {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 28px 0 24px;
  font-weight: 600; font-size: 1.02rem; color: var(--ink-soft);
}
.hero-benefits .dot { color: var(--accent); }
.hero .lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-graphic {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  opacity: 0.9;
  pointer-events: none;
}
.spin-slow { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.spin-slow-rev { transform-origin: 200px 200px; animation: spin-rev 28s linear infinite; }
.pulse-shield { animation: pulse-glow 3.2s ease-in-out infinite; }
.draw-check {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: draw 1.2s 0.6s ease forwards, pulse-glow 3.2s 1.8s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,182,72,0)); }
  50% { filter: drop-shadow(0 0 8px rgba(255,182,72,0.6)); }
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 28px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-pill { border-radius: 999px; }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,182,72,0.25); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-large { padding: 17px 34px; font-size: 1.02rem; }
.section-contact .btn-primary { background: var(--paper); color: var(--black); }
.section-contact .btn-primary:hover { background: var(--accent); color: var(--black); }

.tech-strip { background: var(--black); border-top: 1px solid var(--line); overflow: hidden; }
.marquee { padding: 18px 0; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; white-space: nowrap;
  color: var(--ink-soft); padding: 0 18px; border-right: 1px solid var(--line);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section-lede { font-size: 1.05rem; margin-bottom: 44px; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: var(--ink-soft); }
.section-dark h3 { color: var(--white); }
.section-contact { text-align: left; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(23,24,26,0.08); }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper-ink); background: var(--accent);
  margin-bottom: 20px;
}
.service-tag {
  display: block; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.7rem; font-weight: 700; color: #b5762a; margin-bottom: 8px;
}
.service-card p { margin: 0; font-size: 0.95rem; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.stat-card-accent { background: rgba(255,182,72,0.1); border-color: rgba(255,182,72,0.3); display: flex; align-items: center; }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--white); margin: 0 0 10px; line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-desc { color: var(--ink-soft); margin: 0; }
.stat-desc-large { font-size: 1.05rem; color: var(--white); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.process-card {
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 30px 26px;
  background: var(--white);
}
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: 16px; }
.process-card p { margin: 0; font-size: 0.95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-facts { margin: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.about-facts dt { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; font-weight: 700; color: var(--accent); margin-top: 20px; }
.about-facts dt:first-child { margin-top: 0; }
.about-facts dd { margin: 4px 0 0; color: var(--white); font-weight: 600; font-family: var(--font-display); }

/* FAQ */
.faq-list { max-width: 74ch; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--paper-line); padding: 20px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--paper-ink);
  font-family: var(--font-display);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { margin: 14px 0 0; }

/* Contact */
.contact-line { font-size: 0.95rem; margin-top: 28px; }
.contact-line a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-line a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--ink-soft); margin-top: 14px; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 700; color: var(--accent); margin: 0 0 6px; }
.footer-col a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-graphic { display: none; }
}

@media (max-width: 1010px) {
  .nav-toggle { display: flex; }
  nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--paper-line);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  nav.nav-open { max-height: 420px; }
  nav a { padding: 14px 28px; border-top: 1px solid var(--paper-line); }
  nav a.nav-cta { margin: 14px 28px; text-align: center; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

.reveal-item { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-visible .reveal-item { opacity: 1; transform: translateY(0); }
.reveal-visible .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-visible .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.reveal-visible .reveal-item:nth-child(3) { transition-delay: 0.25s; }
.reveal-visible .reveal-item:nth-child(4) { transition-delay: 0.35s; }
.reveal-visible .reveal-item:nth-child(5) { transition-delay: 0.45s; }
.reveal-visible .reveal-item:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity: 1; transform: none; transition: none; }
  .spin-slow, .spin-slow-rev, .pulse-shield, .draw-check, .marquee-track { animation: none; }
  .draw-check { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .tech-strip, .nav-toggle, .btn, .skip-link, .hero-graphic { display: none; }
  body { background: #fff; color: #000; }
  .section-dark, .hero { background: #fff; color: #000; }
  .section-dark h2, .section-dark h3, .section-dark p, .hero h1, .hero .lede, .hero-benefits { color: #000 !important; }
  a { text-decoration: underline; }
}
