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

:root {
  --fg: #111111;
  --fg-secondary: #555555;
  --fg-tertiary: #888888;
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --accent: #1a5c3a;
  --accent-light: #e8f5ee;
  --border: #e8e8e4;
  --border-hover: #cccccc;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, sans-serif;
  --radius: 12px;
  --max-w: 720px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Creates a stacking context so .bg-effects z-index:-1 paints
     ABOVE the body background but BEHIND all other content */
  isolation: isolate;
}

/* ── BACKGROUND EFFECTS ── */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.bg-orb-1 {
  width: 520px;
  height: 520px;
  background: rgba(26, 92, 58, 0.18);
  top: -12%;
  left: -8%;
  animation: orbFloat1 25s ease-in-out infinite;
}

.bg-orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(26, 92, 58, 0.14);
  top: 35%;
  right: -12%;
  animation: orbFloat2 30s ease-in-out infinite;
}

.bg-orb-3 {
  width: 360px;
  height: 360px;
  background: rgba(26, 92, 58, 0.12);
  bottom: -8%;
  left: 25%;
  animation: orbFloat3 22s ease-in-out infinite;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 92, 58, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 64px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ── HERO ── */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  border-top: none;
  animation: fadeUp 0.8s ease-out both;
}

.hero-domain {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-domain .tld {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--fg-secondary);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-micro {
  font-size: 0.875rem;
  color: var(--fg-tertiary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: #fff;
  padding: 16px 32px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.cta-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 92, 58, 0.18);
}

.cta-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.cta-primary:hover svg {
  transform: translateX(3px);
}

.hero-trust {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--fg-tertiary);
}

/* ── METRIC BAR ── */
.metrics {
  padding: 48px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.metric-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-tertiary);
  font-weight: 600;
  margin-bottom: 8px;
}

.metric-value {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--fg);
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.45;
}

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  color: var(--fg-secondary);
  max-width: 540px;
  margin-bottom: 40px;
  font-size: 1.02rem;
}

/* ── USE-CASE GRID ── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.usecase-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(26, 92, 58, 0.08);
  transform: translateY(-2px);
}

.usecase-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.usecase-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--fg);
}

.usecase-card p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.5;
}

.usecase-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.usecase-card:hover::after {
  transform: scaleX(1);
}

/* ── STACK ANIMATION ── */
.stack-visual {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.stack-wrapper {
  width: 260px;
}

.stack-column {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0;
}

.stack-block {
  background: var(--bg-card);
  border: 1.5px solid rgba(26, 92, 58, 0.18);
  border-bottom: none;
  padding: 14px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: stackIn 0.45s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.stack-block:hover {
  background: var(--accent-light);
}

.stack-block:first-child {
  border-bottom: 1.5px solid rgba(26, 92, 58, 0.18);
}

.stack-block:last-child {
  border-radius: 10px 10px 0 0;
}

.stack-block svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.stack-block:nth-child(1) {
  animation-delay: 0.6s;
}
.stack-block:nth-child(2) {
  animation-delay: 0.85s;
}
.stack-block:nth-child(3) {
  animation-delay: 1.1s;
}
.stack-block:nth-child(4) {
  animation-delay: 1.35s;
}

.stack-base {
  background: var(--accent);
  color: #fff;
  border-radius: 0 0 10px 10px;
  padding: 14px 20px;
  font-family: var(--serif);
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: stackIn 0.45s ease-out 1.6s forwards;
}

/* ── ACQUIRE STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
}

.step + .step {
  border-top: 1px solid var(--border);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
}

.response-promise {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-light);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--fg-tertiary);
}

.faq-q[aria-expanded="true"] svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.faq-a.open {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-a p {
  font-size: 0.92rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ── FOOTER CTA ── */
.footer-cta {
  text-align: center;
  padding: 80px 0 96px;
}

.footer-cta .closing-line {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.35;
}

.footer-cta .closing-sub {
  color: var(--fg-tertiary);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

/* ── BOTTOM BAR ── */
.bottom-bar {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-tertiary);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes stackIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(70px, 90px) scale(1.1);
  }
  66% {
    transform: translate(-40px, 50px) scale(0.95);
  }
}

@keyframes orbFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-60px, -70px) scale(1.06);
  }
  66% {
    transform: translate(40px, 50px) scale(0.92);
  }
}

@keyframes orbFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -60px) scale(1.08);
  }
  66% {
    transform: translate(-70px, -30px) scale(0.94);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero {
    padding: 72px 0 48px;
  }

  section {
    padding: 48px 0;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .metric-card {
    padding: 22px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .metric-card .metric-label {
    margin-bottom: 0;
    min-width: 90px;
  }

  .metric-card .metric-value {
    margin-bottom: 0;
    font-size: 1.1rem;
  }

  .metric-card .metric-desc {
    display: none;
  }

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

  .step {
    gap: 14px;
  }
}
