/* Extract Solutions Inc. — static brochure site */

:root {
  --bg: #0b1210;
  --bg-soft: #121c18;
  --card: #16241e;
  --ink: #f3f6f4;
  --muted: rgba(243, 246, 244, 0.72);
  --muted-2: rgba(243, 246, 244, 0.5);
  --line: rgba(255, 255, 255, 0.1);
  --green: #6fbf4a;
  --teal: #1a4d6d;
  --teal-bright: #2a7aad;
  --paper: #eef3f0;
  --ink-dark: #0f1a16;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1080px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 14px/1 var(--font);
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--green);
  color: #0a1408;
}

.btn--primary:hover {
  background: #83d15c;
  color: #0a1408;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--ink-dark);
}

.btn--light:hover {
  background: #e8f5e0;
  color: var(--ink-dark);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 10, 8, 0.94);
  backdrop-filter: blur(12px);
}

.age-gate__card {
  width: min(100%, 420px);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px 32px;
  text-align: center;
}

.age-gate__logo {
  width: min(220px, 80%);
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 0 transparent);
}

.age-gate__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
}

.age-gate__note {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-gate__no {
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px;
}

.age-gate__no:hover {
  color: var(--ink);
}

.age-gate__license {
  margin: 24px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__brand img {
  height: 48px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header__nav > a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.header__nav > a:not(.btn):hover {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 16, 0.35) 0%, rgba(11, 18, 16, 0.55) 45%, rgba(11, 18, 16, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 18, 16, 0.75), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px 72px;
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow--dark {
  color: #4a9a2e;
}

.hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__title span {
  color: var(--green);
}

.hero__lede {
  margin: 20px 0 0;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Services */
.services {
  background: var(--paper);
  color: var(--ink-dark);
  padding: 88px 24px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: inherit;
}

.section-title--light {
  color: #fff;
}

.section-lede {
  margin: 14px 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3d4f46;
}

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid rgba(15, 26, 22, 0.08);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(15, 26, 22, 0.04);
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
}

.card p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3d4f46;
}

/* About */
.about {
  background: var(--bg-soft);
  padding: 80px 24px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.about .section-lede {
  color: var(--muted);
}

.license-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.license-box__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.license-box__num {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.license-box__type {
  margin-top: 8px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #163a28 0%, #1a4d6d 55%, #0f2a40 100%);
  padding: 80px 24px;
}

.contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.contact__lede {
  margin: 14px 0 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: min(100%, 300px);
}

/* Footer */
.footer {
  background: #070c0a;
  border-top: 1px solid var(--line);
  padding: 40px 24px 48px;
}

.footer__inner > img {
  height: 44px;
  width: auto;
  opacity: 0.95;
}

.footer__meta {
  margin: 18px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.footer__legal {
  margin: 10px 0 0;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .header__brand img {
    height: 40px;
  }
}

@media (max-width: 520px) {
  .header__nav > a:not(.btn) {
    display: none;
  }

  .services,
  .about,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

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

  .btn {
    transition: none;
  }
}
