/* ==========================================================================
   Profit Unlock — Landing 1A ("The rework")
   Static implementation of the Claude Design handoff (Landing Options 1A).
   Design tokens, component styles, and copy are lifted directly from the
   Profit Unlock design system bundle.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&family=Hanken+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================ DESIGN TOKENS ============================ */
:root {
  /* Vault greens */
  --green-950: #0C1C16;
  --green-900: #10241C;
  --green-800: #163227;
  --green-700: #1D4635;
  --green-600: #24583F;
  --green-500: #2E6B4C;
  --green-400: #4F8C6C;
  --green-300: #7FB097;
  --green-200: #B7D3C3;
  --green-100: #DDEAE1;

  /* Gold */
  --gold-700: #8C6A2E;
  --gold-600: #A8853E;
  --gold-500: #C6A15A;
  --gold-400: #D6B676;
  --gold-300: #E4CB97;
  --gold-200: #F0E0BF;
  --gold-100: #F7EFDC;

  /* Warm paper neutrals + ink */
  --paper-000: #FFFFFF;
  --paper-050: #FBF8F1;
  --paper-100: #F5F0E4;
  --paper-200: #EBE4D3;
  --paper-300: #DCD3BE;
  --ink-900:   #14201A;
  --ink-700:   #33413A;
  --ink-500:   #5C6A61;
  --ink-400:   #7C897F;
  --ink-300:   #9AA69C;

  /* Semantic status */
  --danger:  #A6402F;

  /* Semantic aliases */
  --surface-page:  var(--paper-050);
  --surface-card:  var(--paper-000);
  --text-strong:   var(--ink-900);
  --text-body:     var(--ink-700);
  --text-muted:    var(--ink-500);
  --text-faint:    var(--ink-300);
  --text-on-dark:  var(--paper-050);
  --text-on-dark-muted: var(--green-200);

  /* Borders */
  --border-hairline: rgba(20, 32, 26, 0.10);
  --border-soft:     rgba(20, 32, 26, 0.14);
  --border-strong:   rgba(20, 32, 26, 0.22);
  --border-gold:     rgba(198, 161, 90, 0.55);
  --border-on-dark:  rgba(247, 239, 220, 0.14);

  /* Type families */
  --font-display: 'Bodoni Moda', 'Times New Roman', Georgia, serif;
  --font-sans:    'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Weights */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;

  /* Tracking */
  --ls-wide:    0.04em;
  --ls-eyebrow: 0.22em;

  /* Radii */
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 6px rgba(20, 32, 26, 0.07);
  --shadow-md:   0 8px 22px -8px rgba(20, 32, 26, 0.16);
  --shadow-lg:   0 22px 48px -18px rgba(20, 32, 26, 0.24);
  --shadow-gold: 0 10px 30px -12px rgba(166, 133, 62, 0.45);

  /* Gold rule + focus + motion */
  --rule-gold: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
  --focus-ring: 0 0 0 3px rgba(198, 161, 90, 0.45);
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   140ms;
  --dur-base:   220ms;

  /* Layout */
  --content-max: 1180px;
}

/* ============================ RESET / BASE ============================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }
img, svg { display: block; }
a { color: inherit; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section { padding-top: 104px; padding-bottom: 104px; }

/* ============================ EYEBROW ============================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--on-dark { color: var(--gold-300); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-standard),
              background var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.btn--sm { padding: 9px 16px;  font-size: 13px; gap: 8px; }
.btn--md { padding: 13px 24px; font-size: 15px; gap: 9px; }
.btn--lg { padding: 17px 34px; font-size: 17px; gap: 11px; }

.btn--primary {
  background: var(--gold-500);
  color: var(--green-950);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { background: var(--gold-400); transform: translateY(-1px); }

.btn--secondary {
  background: transparent;
  color: var(--green-800);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--green-800); background: rgba(20,32,26,0.03); }

/* secondary sitting on a vault-green surface */
.btn--on-dark {
  color: var(--paper-050);
  border-color: var(--border-on-dark);
}
.btn--on-dark:hover { border-color: var(--paper-050); background: rgba(247,239,220,0.06); }

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

/* ============================ STAT ============================ */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__value {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--green-800);
  display: flex;
  align-items: baseline;
}
.stat__affix { font-size: 0.6em; }
.stat__affix--prefix { margin-right: 2px; }
.stat__affix--suffix { margin-left: 2px; }
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}
.stat--dark .stat__value { color: var(--gold-400); }
.stat--dark .stat__label { color: var(--text-on-dark-muted); }

/* ============================ CARD ============================ */
.card {
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--text-body);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
}

/* ============================ BADGE ============================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid var(--border-gold);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }

/* ============================ FORM FIELDS ============================ */
.field { display: flex; flex-direction: column; gap: 7px; font-family: var(--font-sans); }
.field label {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  letter-spacing: 0.01em;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-strong);
  background: var(--surface-card);
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  outline: none;
  box-shadow: none;
  transition: border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
}
.field textarea { line-height: 1.55; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field textarea:focus { border-color: var(--gold-500); box-shadow: var(--focus-ring); }

/* ============================ NAV ============================ */
.nav { background: var(--green-950); }
.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.brand__word {
  font-family: var(--font-display); font-weight: 500; font-size: 21px;
  color: var(--paper-050);
}
.brand__word b { color: var(--gold-400); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 500;
  color: var(--paper-050); text-decoration: none; opacity: 0.82;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.nav__links a.btn { opacity: 1; }
.nav__links a:not(.btn):hover { opacity: 1; }

.nav__toggle {
  display: none;
  background: transparent; border: 0; padding: 6px; cursor: pointer;
  color: var(--paper-050);
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  background: var(--green-950);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -160px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,161,90,0.20), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 92px 32px 104px; position: relative;
}
.hero__copy { max-width: 780px; }
.hero h1 {
  margin: 22px 0 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 72px; line-height: 1.03; letter-spacing: -0.015em;
  color: var(--paper-050);
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__lede {
  margin: 26px 0 0; font-family: var(--font-sans);
  font-size: 19px; line-height: 1.6; color: var(--green-200); max-width: 640px;
}
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 56px; margin-top: 72px;
  border-top: 1px solid var(--border-on-dark); padding-top: 34px; flex-wrap: wrap;
}

/* ============================ SECTION HEADS ============================ */
.section-head { max-width: 640px; }
.section-head h2 {
  margin: 20px 0 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 44px; line-height: 1.12; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.section-head p {
  margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: var(--text-muted);
}
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 48px; }

/* ---- Who we partner with ---- */
.partners { background: var(--surface-page); }
.feature-card { padding: 30px; }
.feature-card .icon-tile {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 {
  margin: 18px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: 22px; color: var(--ink-900);
}
.feature-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.66; color: var(--text-muted); }
.feature-card p b { color: var(--ink-700); font-weight: 600; }

/* ---- How it works ---- */
.how { background: var(--paper-100); }
.step-card { padding: 30px; }
.step-card__num { font-family: var(--font-display); font-size: 34px; color: var(--paper-300); font-weight: 500; }
.step-card h3 {
  margin: 12px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: 22px; color: var(--ink-900);
}
.step-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.66; color: var(--text-muted); }

/* ---- Firepower ---- */
.firepower { background: var(--green-900); position: relative; overflow: hidden; }
.firepower__glow {
  position: absolute; bottom: -180px; left: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,161,90,0.12), transparent 62%);
}
.firepower__inner {
  max-width: var(--content-max); margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.firepower h2 {
  margin: 20px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: 44px; line-height: 1.12; letter-spacing: -0.01em; color: var(--paper-050);
}
.firepower__lede { margin: 20px 0 0; font-size: 17px; line-height: 1.7; color: var(--green-200); max-width: 520px; }
.firepower__divider { height: 1px; background: var(--border-on-dark); margin: 34px 0; }
.firepower__stats { display: flex; gap: 52px; flex-wrap: wrap; }

.brand-card { padding: 34px; box-shadow: var(--shadow-lg); }
.brand-card__kicker {
  display: inline-flex; align-items: center; gap: 8px; color: var(--gold-600);
}
.brand-card__kicker span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
}
.brand-card__lead { margin: 18px 0 0; font-family: var(--font-display); font-size: 22px; line-height: 1.4; color: var(--ink-900); }
.brand-card__body { margin: 12px 0 0; font-size: 15.5px; line-height: 1.66; color: var(--text-muted); }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.checklist li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; color: var(--ink-700); list-style: none;
}
.checklist { padding: 0; }
.check-badge {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100); color: var(--green-600);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}

/* ---- Wins ---- */
.wins { background: var(--surface-page); }
.win-card {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.win-card__rule { height: 2px; width: 44px; background: var(--rule-gold); margin-bottom: 18px; }
.win-card__figure {
  font-family: var(--font-display); font-weight: 500; font-size: 36px;
  letter-spacing: -0.01em; color: var(--ink-900);
}
.win-card__tag {
  margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
}
.win-card__detail { margin: 12px 0 0; font-size: 14.5px; line-height: 1.62; color: var(--text-muted); }

/* ---- Coffee date ---- */
.coffee { background: var(--paper-100); }
.coffee__inner {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center;
}
.coffee h2 {
  margin: 20px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: 46px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink-900);
}
.coffee__lede { margin: 20px 0 0; font-size: 17px; line-height: 1.7; color: var(--text-muted); max-width: 460px; }
.perks { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; padding: 0; }
.perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--ink-700); list-style: none;
}
.perks .perk-icon { color: var(--gold-600); display: inline-flex; }

.form-card { padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.form-card__rule { height: 4px; background: var(--rule-gold); }
.form-card__body { padding: 34px; }
.form-card__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.form-card__head h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; color: var(--ink-900); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row + .form-row, .form-card__body .field-block { margin-top: 16px; }
.form-submit { margin-top: 24px; }
.form-fine { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--text-faint); }
.form-success {
  display: none; margin-top: 16px; padding: 14px 16px;
  background: var(--green-100); border: 1px solid rgba(46,107,76,0.25);
  border-radius: var(--radius-md); color: var(--green-700);
  font-size: 14px; line-height: 1.5;
}
.form-success.is-visible { display: block; }

/* ---- Footer ---- */
.footer { background: var(--green-950); padding: 56px 32px 40px; border-top: 1px solid var(--border-on-dark); }
.footer__top {
  max-width: var(--content-max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer__blurb { max-width: 340px; }
.footer__blurb p { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--green-200); }
.footer__cols { display: flex; gap: 64px; }
.footer__col-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--green-200); text-decoration: none; }
.footer__links a:hover { color: var(--paper-050); }
.footer__bottom {
  max-width: var(--content-max); margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid var(--border-on-dark);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer__bottom span { font-size: 12.5px; color: var(--green-300); }
.footer__bottom .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .firepower__inner,
  .coffee__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 60px; }
}

@media (max-width: 820px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--green-950); padding: 20px 32px 28px; z-index: 20;
    border-top: 1px solid var(--border-on-dark);
  }
  .nav { position: relative; }
  .nav__toggle { display: inline-flex; }
  .hero__inner { padding: 64px 32px 80px; }
  .hero h1 { font-size: 48px; }
  .hero__stats { gap: 32px; }
  .footer__top { flex-direction: column; }
}

@media (max-width: 560px) {
  .container, .hero__inner, .firepower__inner, .coffee__inner,
  .nav__inner, .footer, .footer__top, .footer__bottom { padding-left: 20px; padding-right: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero__lede { font-size: 17px; }
  .section-head h2, .firepower h2 { font-size: 34px; }
  .coffee h2 { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions .btn, .hero__actions { width: 100%; }
  .footer__cols { gap: 40px; flex-wrap: wrap; }
}
