:root {
  --bg: #0a0a0c;
  --ink: #f4f3f0;
  --muted: rgba(244, 243, 240, 0.56);
  --faint: rgba(244, 243, 240, 0.3);
  --hairline: rgba(244, 243, 240, 0.1);
  --hairline-strong: rgba(244, 243, 240, 0.18);
  --surface: rgba(244, 243, 240, 0.04);
  --surface-hover: rgba(244, 243, 240, 0.07);

  --green: #4fe3a3;
  --green-dim: rgba(79, 227, 163, 0.16);
  --violet: #b083f0;
  --violet-dim: rgba(176, 131, 240, 0.16);

  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Reenie Beanie', cursive;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --edge: clamp(20px, 5.5vw, 64px);
  --section-gap: clamp(44px, 8vw, 84px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--green);
  color: #06110c;
}

/* ---------- Atmosphere ---------- */

.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Layout ---------- */

.wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--edge) clamp(60px, 9vw, 110px);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Masthead ---------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: clamp(20px, 4vw, 28px);
  border-bottom: 1px solid var(--hairline);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.back-btn svg {
  transition: transform 0.2s ease;
}

.back-btn:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-dim);
}

.back-btn:hover svg {
  transform: translateX(-2px);
}

.masthead-meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 18px);
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.fullname {
  margin: 0;
  font-size: clamp(34px, 6.4vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.fullname-light {
  font-weight: 300;
  color: var(--muted);
}

.tagline {
  margin: 10px 0 0;
  font-family: var(--font-script);
  font-size: clamp(22px, 3.2vw, 28px);
  color: var(--green);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-basis: 100%;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  border-color: var(--green);
  background: var(--green-dim);
  color: var(--green);
  transform: translateY(-1px);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(20px, 4vw, 30px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.stat-brands {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(20px, 4vw, 40px);
  min-width: 0;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.brand-chips span {
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Rate list ---------- */

.section-title {
  margin: 0 0 clamp(18px, 3vw, 26px);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.rate-item {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 28px);
  padding: clamp(18px, 3.2vw, 26px) clamp(10px, 2vw, 16px);
  border-bottom: 1px solid var(--hairline);
  border-left: 2px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease;
}

.rate-item:hover {
  background: var(--surface);
  border-left-color: var(--green);
}

.rate-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.rate-item:hover .rate-index {
  color: var(--green);
}

.rate-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}

.rate-name {
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.rate-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--faint);
}

.rate-example {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rate-example svg {
  transition: transform 0.2s ease;
}

.rate-example:hover {
  opacity: 1;
  transform: translateX(1px);
}

.rate-example:hover svg {
  transform: translate(1px, -1px);
}

.rate-price {
  font-size: clamp(19px, 3.2vw, 27px);
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* ---------- Contact / footer ---------- */

.contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--surface), transparent 60%);
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}

.contact-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
  transform: translateY(-1px);
  border-color: var(--hairline-strong);
  background: var(--surface-hover);
}

.contact-btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #06170f;
}

.contact-btn.primary:hover {
  box-shadow: 0 8px 24px -8px rgba(79, 227, 163, 0.55);
}

.fine-print {
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--faint);
}

/* ---------- Toast ---------- */

/* ---------- Responsive ---------- */

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

  .stat-brands {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--hairline);
    padding-top: clamp(16px, 4vw, 22px);
  }

  .rate-item {
    flex-wrap: wrap;
  }

  .rate-info {
    flex-basis: 100%;
    order: 1;
  }

  .rate-price {
    order: 2;
    margin-left: 0;
    margin-top: 8px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .noise {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
