/* ══════════════════════════════════════════════════════════════════
   txtdrop marketing site — standalone static site (apex txtdrop.co).
   Dark-only. Coral (--drop) is the ONLY "act now" color. Tokens ported
   from the txtdrop Design System handoff (tokens/*.css).
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* neutrals */
  --void: #08090A;
  --panel: #111316;
  --panel-alt: #0A0B0D;
  --surface-raised: #16181C;
  --line: #1C1E22;
  --line-lift: #2A2D33;
  --chalk: #EDEEF0;
  --ash: #8A8D94;
  --sold: #6B6B70;

  /* accents */
  --drop: #F76F4D;
  --drop-hover: #FF8163;
  --drop-press: #E85C39;
  --drop-ink: #1A0E09;
  --signal: #7F9CD4;
  --drop-wash: rgba(247, 111, 77, 0.12);
  --focus-ring: rgba(247, 111, 77, 0.5);

  /* fonts */
  --font-display: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, monospace;

  /* radius */
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-full: 999px;

  /* shadow / glow */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 8px 24px rgba(0, 0, 0, 0.4);
  --glow-drop: 0 0 0 1px rgba(247, 111, 77, 0.4), 0 8px 30px rgba(247, 111, 77, 0.25);

  /* motion */
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --cursor-blink: 1.06s;

  /* layout */
  --maxw: 1160px;
  --gutter: 56px;
  --section-y: 112px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--signal); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--drop-wash); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
  border-radius: var(--radius-md);
}

.tnum {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums slashed-zero;
  font-feature-settings: "tnum" 1, "zero" 1;
}

/* ─────────── wordmark ─────────── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--chalk);
  line-height: 1;
}
.wordmark:hover { color: var(--chalk); }
.wordmark__cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 3px;
  background: var(--drop);
  border-radius: 1px;
  animation: cursor-blink var(--cursor-blink) steps(1) infinite;
}
.wordmark--lg { font-size: 42px; }
@keyframes cursor-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ─────────── buttons ─────────── */
.btn {
  --btn-py: 11px;
  --btn-px: 18px;
  --btn-fs: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--font-data);
  font-size: var(--btn-fs);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}
.btn--sm { --btn-py: 7px; --btn-px: 12px; --btn-fs: 13px; }
.btn--md { --btn-py: 11px; --btn-px: 18px; --btn-fs: 14px; }
.btn--lg { --btn-py: 15px; --btn-px: 24px; --btn-fs: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--drop);
  color: var(--drop-ink);
  box-shadow: var(--glow-drop);
}
.btn--primary:hover { background: var(--drop-hover); color: var(--drop-ink); }
.btn--primary:active { background: var(--drop-press); transform: translateY(1px) scale(0.99); }

.btn--secondary {
  background: transparent;
  color: var(--chalk);
  border-color: var(--line-lift);
}
.btn--secondary:hover { border-color: var(--ash); color: var(--chalk); }
.btn--secondary:active { transform: translateY(1px) scale(0.99); }

.btn--ghost { background: transparent; color: var(--ash); }
.btn--ghost:hover { color: var(--chalk); }

.btn__arrow { font-family: var(--font-data); }

/* ─────────── card ─────────── */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card--glow { box-shadow: var(--glow-drop); }

/* ─────────── status tag ─────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
}
.tag--live { color: var(--drop); border-color: rgba(247, 111, 77, 0.35); background: var(--drop-wash); }
.tag__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--drop);
  box-shadow: 0 0 0 0 rgba(247, 111, 77, 0.5);
  animation: pulse 1.8s var(--ease-standard) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 111, 77, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(247, 111, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 111, 77, 0); }
}

/* ─────────── stat ─────────── */
.stat { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.stat__label {
  font-family: var(--font-data);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.stat__value { font-family: var(--font-data); font-size: 26px; color: var(--chalk); line-height: 1.1; }
.stat__value--accent { color: var(--drop); }
.stat__unit { font-size: 15px; color: var(--ash); }
.stat__delta { font-family: var(--font-data); font-size: 12px; color: var(--signal); }

/* ─────────── units bar ─────────── */
.units { display: flex; flex-direction: column; gap: 8px; }
.units__meta { display: flex; align-items: baseline; justify-content: space-between; }
.units__left { font-family: var(--font-data); font-size: 13px; color: var(--drop); }
.units__count { font-size: 12px; color: var(--ash); }
.units__track { height: 6px; border-radius: var(--radius-full); background: var(--void); border: 1px solid var(--line); overflow: hidden; }
.units__fill { height: 100%; border-radius: var(--radius-full); background: var(--drop); transition: width var(--dur-base) var(--ease-standard); }

/* ─────────── nav ─────────── */
.nav { border-bottom: 1px solid var(--line); }
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-data);
  font-size: 13px;
}
.nav__links a { color: var(--ash); transition: color var(--dur-fast) var(--ease-standard); }
.nav__links a:hover { color: var(--chalk); }
.nav__links .btn { color: var(--chalk); }

/* ─────────── eyebrow ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 22px;
}
.eyebrow--pill {
  text-transform: none;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  background: var(--panel);
  margin-bottom: 0;
}
.slash { color: var(--drop); }

/* ─────────── hero ─────────── */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% -6%, rgba(247, 111, 77, 0.10), transparent 70%);
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero__title {
  max-width: 820px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--chalk);
  text-wrap: balance;
}
.hero__sub { max-width: 560px; font-size: 18px; color: var(--ash); }
.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 2px; flex-wrap: wrap; justify-content: center; }

/* live console */
.console { width: 100%; max-width: 900px; margin-top: 26px; }
.console__card { padding: 0; }
.console__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.console__title { font-family: var(--font-data); font-size: 13px; color: var(--chalk); text-align: left; }
.console__id { color: var(--ash); }
.dot-sep { color: var(--sold); }
.console__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 24px; }
.console__foot { padding: 0 24px 22px; }

/* ─────────── generic section ─────────── */
.section { border-top: 1px solid var(--line); }
.section--alt { background: var(--panel-alt); }
.section__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section__inner--narrow { max-width: 820px; }
.section__sub { max-width: 560px; margin-bottom: 56px; font-size: 17px; color: var(--ash); }

.h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--chalk);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(26px, 4vw, 36px); margin-bottom: 40px; }

/* the why-sms stat row */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.statrow__cell { padding: 32px 28px 0; border-right: 1px solid var(--line); }
.statrow__cell:last-child { border-right: none; }
.statrow .stat__value { font-size: 34px; }

/* generic grids */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--tight { gap: 20px; }

/* how-it-works steps */
.step { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step__num { font-family: var(--font-data); font-size: 13px; color: var(--drop); }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--chalk); }
.step__body { font-size: 15px; color: var(--ash); }

/* features */
.feature { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature__glyph { font-family: var(--font-data); color: var(--drop); font-size: 15px; }
.feature__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--chalk); }
.feature__body { font-size: 14.5px; color: var(--ash); }

/* pricing */
.pricing { align-items: stretch; }
.pricing__lede { max-width: 620px; margin: -6px 0 26px; font-size: 15.5px; color: var(--ash); }
.pricing__beta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px; padding: 12px 16px;
  border: 1px solid var(--line-lift); border-radius: var(--radius-md);
  background: var(--drop-wash);
  font-size: 14.5px; color: var(--ash);
}
.pricing__beta strong { color: var(--chalk); font-weight: 500; }
.pricing__beta-tag {
  flex: none;
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.06em;
  color: var(--drop-ink); background: var(--drop);
  padding: 3px 8px; border-radius: var(--radius-full);
}
.tier { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.tier--featured { position: relative; border-color: var(--drop); box-shadow: var(--glow-drop); }
.tier__badge {
  position: absolute; top: -11px; left: 32px;
  background: var(--drop); color: var(--drop-ink);
  font-family: var(--font-data); font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: var(--radius-full);
}
.tier__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--chalk); }
.tier__for { margin-top: 6px; font-size: 14px; color: var(--ash); }
.tier__price { display: flex; align-items: baseline; gap: 6px; }
.tier__amount { font-family: var(--font-data); font-size: 40px; color: var(--chalk); }
.tier__amount--accent { color: var(--drop); }
.tier__per { font-family: var(--font-data); font-size: 14px; color: var(--ash); }
.tier__rates {
  list-style: none; margin: -8px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; color: var(--ash);
}
.tier__rate-num { font-family: var(--font-data); color: var(--chalk); margin-right: 3px; }
.tier__rule { height: 1px; background: var(--line); }
.tier__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--ash); }
.tier__list .check { color: var(--drop); margin-right: 4px; }
.tier .btn { margin-top: auto; }

/* pricing — "every plan includes" */
.includes {
  margin-top: 28px; padding: 28px 32px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel-alt);
}
.includes__head {
  font-family: var(--font-data); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ash); margin-bottom: 20px;
}
.includes__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px;
  font-size: 14.5px; color: var(--ash);
}
.includes__list .check { color: var(--drop); margin-right: 4px; }
.includes__fine {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.6; color: var(--sold);
}

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 500; font-size: 17px; color: var(--chalk);
}
.faq__sign { font-family: var(--font-data); font-size: 20px; color: var(--drop); flex: none; }
.faq__a { display: none; }
.faq__a p { padding: 0 4px 24px; max-width: 640px; font-size: 15.5px; line-height: 1.6; color: var(--ash); }
.faq__item.is-open .faq__a { display: block; }

/* final cta */
.cta { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 100%, rgba(247, 111, 77, 0.14), transparent 70%);
}
.cta__inner {
  position: relative; max-width: 820px; margin: 0 auto; padding: 120px var(--gutter);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.cta__title {
  max-width: 640px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 44px); line-height: 1.06; letter-spacing: -0.03em; color: var(--chalk); text-wrap: balance;
}
.cta__sub { max-width: 460px; font-size: 17px; color: var(--ash); }
.cta__reassure { font-family: var(--font-data); font-size: 12px; color: var(--sold); }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--panel-alt); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 48px;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 280px; }
.footer__desc { font-size: 13.5px; color: var(--ash); }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-family: var(--font-data); font-size: 13px; }
.footer__col a { color: var(--ash); transition: color var(--dur-fast) var(--ease-standard); }
.footer__col a:hover { color: var(--chalk); }
.footer__head { color: var(--sold); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.footer__bar { border-top: 1px solid var(--line); }
.footer__bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-data); font-size: 12px; color: var(--sold);
}

/* ══════════════ responsive ══════════════ */
@media (max-width: 900px) {
  :root { --gutter: 32px; --section-y: 80px; }
  .console__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .statrow { grid-template-columns: repeat(2, 1fr); }
  .statrow__cell:nth-child(2) { border-right: none; }
  .statrow__cell:nth-child(3), .statrow__cell:nth-child(4) { padding-top: 28px; border-top: 1px solid var(--line); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tier--featured { order: -1; }
  .includes__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 64px; }
  .nav__links { gap: 18px; }
  .nav__links a:not(.btn) { display: none; }
  .hero__inner { padding: 56px var(--gutter) 64px; }
  .console__grid { grid-template-columns: repeat(2, 1fr); }
  .statrow { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .includes { padding: 24px 20px; }
  .includes__list { grid-template-columns: 1fr; }
  .pricing__beta { align-items: flex-start; }
  .footer__top { gap: 32px; }
  .footer__cols { gap: 32px; }
}
