/* Instant Scaling — site styles. Dark theme, lime accent from the logo. */

/* Self-hosted fonts (SIL OFL 1.1) — no requests to Google on page load. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/syne-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #111111;
  --bg-alt: #161616;
  --surface: #1c1c1c;
  --surface-2: #232323;
  --border: #2c2c2c;
  --text: #ffffff;
  --text-soft: #d6d6d6;
  --muted: #9a9a9a;
  --accent: #eeff41;
  --accent-2: #cff662;
  --accent-ink: #111111;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --font-head: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }

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

.section { padding: 96px 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: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; text-transform: uppercase; }
.section-head p { color: var(--text-soft); font-size: 17px; }

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo-link img { width: 104px; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(207, 246, 98, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 30%, rgba(238, 255, 65, 0.06), transparent 70%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 .accent { display: block; }
.hero-sub { max-width: 680px; margin: 0 auto 36px; font-size: 18px; color: var(--text-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 64px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.stat {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}
.stat-num { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-label { display: block; margin-top: 6px; font-size: 14px; color: var(--text-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; text-transform: uppercase; }
.about-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.about-card p { font-size: 17px; }
.about-card .big { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 18px; }
.about-card p:last-child { margin-bottom: 0; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card-num { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 14px; }
.card h3 { font-size: 24px; font-weight: 700; }
.card p { color: var(--text-soft); }
.checklist { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.result-num { display: block; font-family: var(--font-head); font-size: clamp(40px, 5vw, 56px); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.result-label { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); }
.result-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.results-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 26px 28px; border: 1px dashed var(--border); border-radius: var(--radius); }
.results-foot strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--text); }
.results-foot span { font-size: 14px; color: var(--muted); }
.disclaimer { font-size: 13px; color: var(--muted); margin: 0; }

/* Case studies */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.case-tag { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.case-metric { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 4px; }
.case-time { font-size: 14px; color: var(--text); margin-bottom: 18px; }
.case p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq summary {
  position: relative;
  padding: 22px 56px 22px 24px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 24px 22px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; text-transform: uppercase; }
.contact-copy p { font-size: 17px; }
.contact-points { list-style: none; padding: 0; margin: 24px 0 28px; }
.contact-points li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text); }
.contact-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.form-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(238, 255, 65, 0.18); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--text-soft); text-decoration: underline; }

/* Footer */
.site-footer { padding: 64px 0 32px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { width: 120px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; font-size: 14px; color: var(--muted); }
.footer-col h4 { font-size: 16px; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-soft); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* Legal + simple pages */
.legal-main { padding: 72px 0 96px; }
.legal-main .container { max-width: 820px; }
.legal-main h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.legal-main h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal-main h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal-main ul { padding-left: 22px; margin: 0 0 16px; }
.legal-main li { margin-bottom: 8px; }
.legal-meta { color: var(--muted); font-size: 14px; }
.note-box { margin: 24px 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.note-box p { margin: 0 0 8px; color: var(--text); }
.note-box ul { margin: 0; }
.toc { margin: 24px 0 8px; padding: 20px 24px; border: 1px dashed var(--border); border-radius: var(--radius); }
.toc p { margin: 0 0 8px; color: var(--text); }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin-bottom: 4px; }
.toc a { color: var(--text-soft); }
.toc a:hover { color: var(--accent); }
.legal-main h2[id] { scroll-margin-top: 88px; }
.legal-main li ul { margin-top: 8px; }
.caps { font-size: 14px; letter-spacing: 0.01em; }
.caps-note { padding: 14px 18px; background: var(--surface); border-radius: var(--radius-sm); font-size: 15px; }

.simple-main { min-height: 64vh; display: flex; align-items: center; padding: 96px 0; text-align: center; }
.simple-main h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; }
.simple-main p { max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.simple-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .cards, .cases, .results-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: clamp(17px, 5.7vw, 30px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { display: flex; align-items: baseline; gap: 14px; padding: 18px 20px; }
  .stat-num { font-size: 26px; min-width: 92px; }
  .stat-label { margin-top: 0; }
  .about-card, .form-card { padding: 24px 20px; }
  .card, .case, .result { padding: 26px 22px; }
  .results-foot { padding: 22px 20px; }
  .results-foot .btn { width: 100%; }
  .contact-copy .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-inner { height: 64px; }
  .logo-link img { width: 88px; }
}

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