/* Trending Formats — base: tokens, reset, type, layout primitives, buttons, forms.
   Load order: base.css -> components.css -> client.css */

:root {
  --black: #0c0d0e;
  --panel: #17191c;
  --raised: #22262b;
  --line: #363c43;
  --gun: #2a3439;
  --gun-hi: #4a555d;
  --text: #f4f5f6;
  --dim: #c0c7ce;
  --faint: #a3acb5;
  --yellow: #ffd60a;
  --amber: #ff9a4d;
  --ember: #ff7a3d;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffe866; outline-offset: 3px; border-radius: 6px; }

/* Screen-reader only */
.tf-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.tf-wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

.tf-skip { position: absolute; left: -9999px; }
.tf-skip:focus {
  left: 16px; top: 12px; z-index: 99; background: var(--yellow); color: var(--black);
  padding: 10px 14px; border-radius: 8px; font-weight: 700;
}

/* Type */
.tf-h1 { font: 800 clamp(38px, 7vw, 84px)/1 var(--display); letter-spacing: -.032em; max-width: 15ch; overflow-wrap: break-word; }
.tf-h2 { font: 800 clamp(30px, 4.6vw, 54px)/1.06 var(--display); letter-spacing: -.03em; max-width: 18ch; }
.tf-lead { margin-top: 24px; max-width: 56ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--dim); }
.tf-sub { margin-top: 18px; max-width: 54ch; color: var(--dim); font-size: 19px; }
.tf-fine { margin-top: 14px; font-size: 15px; color: var(--faint); }

/* Buttons */
.tf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border: 0; border-radius: 12px;
  background: var(--yellow); color: var(--black); font: 800 17px var(--body);
  cursor: pointer; transition: filter .12s, transform .06s; white-space: nowrap;
}
.tf-btn:hover { filter: brightness(1.07); }
.tf-btn:active { transform: translateY(1px); }
.tf-btn--sm { height: 42px; padding: 0 18px; font-size: 15.5px; border-radius: 10px; }

.tf-textlink { color: var(--text); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 2px; font-weight: 600; }
.tf-textlink:hover { color: var(--yellow); }

/* Email capture (plain GET form): one pill control, input + button inside a bordered 999px container. */
.tf-capture {
  margin-top: 30px; display: flex; align-items: center; gap: 6px; max-width: 540px; height: 60px; padding: 5px;
  background: rgba(23, 25, 28, .88); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .7);
  transition: border-color .15s, box-shadow .2s;
}
.tf-capture:hover { border-color: var(--gun-hi); }
.tf-capture:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 214, 10, .16), 0 0 48px -6px rgba(255, 214, 10, .32);
}
.tf-capture input {
  flex: 1; min-width: 0; height: 100%; padding: 0 10px 0 20px;
  background: transparent; color: var(--text); border: 0; border-radius: 999px;
  font: 500 17px var(--body); outline: 0;
}
.tf-capture input::placeholder { color: #8b949d; }
.tf-capture .tf-btn { height: 100%; padding: 0 26px; border-radius: 999px; flex: 0 0 auto; }
.tf-capture .tf-btn:focus-visible { outline-offset: 2px; }

/* Call to action: one capsule (100% Free + button) with a quiet log-in line under it */
.tf-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: center; }
.tf-cta-pill {
  display: flex; align-items: center; gap: 8px; width: min(100%, 520px); height: 68px; padding: 6px;
  background: rgba(23, 25, 28, .88); border: 1px solid rgba(255, 214, 10, .45); border-radius: 999px;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .7), 0 0 44px rgba(255, 214, 10, .12);
}
.tf-cta-free {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0;
  color: var(--yellow); font: 800 clamp(18px, 2vw, 22px)/1 var(--display); letter-spacing: -.01em; white-space: nowrap;
}
.tf-cta-pill .tf-btn { height: 100%; padding: 0 30px; border-radius: 999px; font-size: 18px; flex: 0 0 auto; }
.tf-cta-login { margin-top: 14px; font-size: 15.5px; color: var(--dim); }
.tf-cta-login .tf-textlink { font-weight: 700; }
.tf-band .tf-cta-pill { background: #fff; border-color: rgba(12, 13, 14, .14); box-shadow: 0 18px 40px -18px rgba(90, 70, 0, .55); }
.tf-band .tf-cta-free { color: var(--black); }
.tf-band .tf-cta-login { color: #3a3200; }
.tf-band .tf-cta-login .tf-textlink { color: var(--black); text-decoration-color: var(--black); }
.tf-endcap .tf-cta { align-items: flex-start; margin-top: 22px; }
.tf-endcap .tf-cta-pill { background: var(--black); }
@media (max-width: 440px) {
  .tf-cta-pill { height: 60px; }
  .tf-cta-free { font-size: 17px; gap: 6px; }
  .tf-cta-free .tf-free-ico { width: 18px; height: 18px; }
  .tf-cta-pill .tf-btn { padding: 0 18px; font-size: 16px; }
}

@media (max-width: 400px) {
  .tf-capture { height: 56px; }
  .tf-capture input { padding-left: 16px; font-size: 16px; }
  .tf-capture .tf-btn { padding: 0 16px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
