/* ============================================================
   The "I Am the Business" Audit — Three Cord Leadership
   Palette, type and component patterns mirror the main site
   (TCL-Website: app/globals.css + app/page.tsx).
   ============================================================ */

:root {
  /* --- brand palette, lifted from the TCL site --- */
  --ink:        #292F3D;   /* headline navy, dark sections   */
  --blue:       #24547E;   /* primary blue                   */
  --blue-dark:  #1B415F;   /* primary hover                  */
  --blue-light: #98B7CB;   /* eyebrows + captions on dark    */
  --blue-pale:  #CDD9E3;   /* body copy on dark              */
  --teal:       #275B62;   /* eyebrows on light              */
  --orange:     #C97B4A;   /* Caveat script accent           */
  --green:      #3D7A55;
  --green-bg:   #F3F8F4;
  --green-chip: #D7E6DC;
  --red:        #D64545;   /* the problem color: tally marks */
  --red-bg:     #FCF3F3;
  --red-chip:   #F6D9D9;
  --cream:      #FBFAF7;   /* page ground                    */
  --sand:       #EBEBE7;   /* alternating section            */
  --border:     #E8E6DF;
  --border-2:   #ECE9E2;
  --muted:      #5B6470;

  --card-shadow: 0 14px 34px -14px rgba(41, 47, 61, .3);
  --lift-shadow: 0 16px 34px -18px rgba(41, 47, 61, .35);

  --poppins: "Poppins", Helvetica, Arial, sans-serif;
  --lato:    "Lato", Helvetica, Arial, sans-serif;
  --caveat:  "Caveat", "Segoe Script", cursive;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--lato);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--poppins);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
strong { font-weight: 700; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 80;
  background: var(--ink); color: #fff;
  font-family: var(--poppins); font-weight: 600; font-size: 15px;
  padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ── layout scaffolding ───────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; }

.sec { padding: 96px 0; }
.sec-cream { background: var(--cream); }
.sec-sand  { background: var(--sand); }
.sec-ink   { background: var(--ink); color: #fff; }

.sec-head { margin-bottom: 44px; }
.sec-head h2 {
  font-weight: 700; font-size: 42px; line-height: 1.1; letter-spacing: -.5px;
}

.eyebrow {
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--blue-light); }

.script {
  font-family: var(--caveat);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.36em;
  line-height: .9;
}
.script-sm { font-size: 1.24em; }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  padding: 16px 32px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #EEF2F6; color: var(--blue); transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--card-shadow); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

.btn-lg { width: 100%; font-size: 18px; padding: 18px 32px; border-radius: 13px; }
.btn-sm { font-size: 15px; padding: 12px 20px; border-radius: 10px; white-space: nowrap; }

/* ── nav ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  max-width: 1160px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { height: 32px; width: auto; display: block; }
.nav-tag {
  font-family: var(--poppins); font-weight: 600; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--teal);
}

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #292F3D 0%, #233247 58%, #24547E 120%);
  color: #fff;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none;
}
.blob-a {
  top: -120px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(152, 183, 203, .28), transparent 70%);
  animation: tcl-drift 16s ease-in-out infinite;
}
.blob-b {
  bottom: -160px; left: -100px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(39, 91, 98, .32), transparent 70%);
  animation: tcl-drift2 20s ease-in-out infinite;
}
@keyframes tcl-drift  { 0%,100% { transform: none; } 50% { transform: translate(46px, -34px); } }
@keyframes tcl-drift2 { 0%,100% { transform: none; } 50% { transform: translate(-54px, 32px); } }
@keyframes tcl-rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-in {
  position: relative;
  max-width: 1160px; margin: 0 auto;
  padding: 92px 32px 108px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero-text .eyebrow { animation: tcl-rise .7s ease both; }

.hero h1 {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 26px;
  animation: tcl-rise .8s ease .08s both;
}
.hero h1 .script { font-size: 76px; }
.hero h1 .period { font-size: 40px; margin-left: 3px; }

.hero-sub {
  font-size: 21px;
  line-height: 1.55;
  color: var(--blue-pale);
  max-width: 500px;
  margin-bottom: 36px;
  animation: tcl-rise .8s ease .16s both;
}

.hero-actions {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  animation: tcl-rise .8s ease .24s both;
}
.hero-note { font-size: 14px; color: var(--blue-light); }

/* ── the sample tally sheet ───────────────────────────── */
.sheet {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45);
  overflow: hidden;
  transform: rotate(-.6deg);
  animation: tcl-rise .9s ease .3s both;
}
.sheet-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-family: var(--poppins);
}
.sheet-title {
  font-weight: 600; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink);
}
.sheet-tag { font-weight: 500; font-size: 13px; color: var(--muted); }

.sheet-body { padding: 24px 22px 20px; }

.tally { display: flex; flex-wrap: wrap; gap: 20px 14px; }

.gate {
  position: relative; display: block; width: 30px; height: 28px;
  background-image: repeating-linear-gradient(to right, var(--red) 0 2px, transparent 2px 8px);
  background-size: 26px 100%;
  background-repeat: no-repeat;
  animation: strike .5s ease-out backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.gate::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%;
  height: 2px; background: var(--red); transform: rotate(-19deg);
}
.gate.half { background-size: 8px 100%; width: 14px; }
.gate.half::after { content: none; }
@keyframes strike { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sheet-total {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 26px; padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.total-num {
  font-family: var(--poppins); font-weight: 800; font-size: 52px; line-height: .85;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.total-label { font-size: 14px; line-height: 1.4; color: var(--muted); max-width: 20ch; }

.sheet-cap {
  padding: 12px 22px 14px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  font-family: var(--poppins); font-weight: 500; font-size: 11.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted);
}

/* ── why this exists ──────────────────────────────────── */
.lede { font-size: 21px; line-height: 1.6; color: var(--ink); margin-bottom: 28px; }
.lede strong { color: var(--red); }

.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.day {
  font-family: var(--poppins); font-weight: 600; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
  padding: 14px 4px; border-radius: 10px;
}
.day.out { background: var(--ink); color: #fff; }
.day.back {
  background: var(--red-bg); border: 1px solid var(--red-chip); color: var(--red);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.week-cap { margin-top: 12px; font-size: 14px; color: var(--muted); font-style: italic; }

.turn {
  margin-top: 40px;
  font-weight: 700; font-size: 32px; line-height: 1.18; letter-spacing: -.3px;
}

/* ── what you get ─────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: var(--lift-shadow);
  transform: translateY(-4px);
}
.card-vis { min-height: 56px; display: flex; align-items: center; margin-bottom: 4px; }
.card h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* card visual 1 — questions converge on four decisions */
.converge { display: flex; align-items: center; gap: 4px; }
.converge .gate.sm {
  width: 20px; height: 24px; animation: none;
  background-image: repeating-linear-gradient(to right, var(--red) 0 2px, transparent 2px 6px);
  background-size: 18px 100%;
}
.converge .arrow {
  position: relative; width: 26px; height: 2px; background: #C9CDD4; margin: 0 10px;
}
.converge .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  border-left: 7px solid #C9CDD4; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.converge b {
  font-family: var(--poppins); font-weight: 800; font-size: 40px; line-height: 1; color: var(--blue);
}

/* card visual 2 — the decoder split */
.split { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 240px; border-radius: 10px; overflow: hidden; }
.side {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--poppins); font-weight: 600; font-size: 12px;
  letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.2;
  padding: 12px 12px;
}
.side i {
  font-family: var(--lato); font-style: normal; font-weight: 400;
  font-size: 11.5px; letter-spacing: 0; text-transform: none; opacity: .8;
}
.side-rule { background: var(--ink); color: #fff; }
.side-judg { background: var(--red-bg); border: 1px solid var(--red-chip); border-left: 0; color: var(--red); }

/* card visual 3 — the number against a threshold */
.gauge { display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.gauge-line { position: relative; display: block; width: 74px; height: 3px; border-radius: 3px; background: #DEDCD4; }
.gauge-line::before {
  content: ""; position: absolute; inset: 0 45% 0 0; border-radius: 3px; background: var(--blue);
}
.mark-50 {
  position: absolute; left: 55%; top: -20px; transform: translateX(-50%);
  font-family: var(--poppins); font-weight: 600; font-size: 12px; color: var(--blue);
}
.mark-50::after {
  content: ""; position: absolute; left: 50%; top: 17px; width: 2px; height: 8px; background: var(--blue);
}
.gauge-num { font-family: var(--poppins); font-weight: 800; font-size: 40px; line-height: 1; color: var(--red); }

/* ── proof ────────────────────────────────────────────── */
.sec-ink blockquote { margin: 0; }
.sec-ink blockquote p { font-size: 22px; line-height: 1.55; color: #fff; }
.sec-ink .you {
  font-family: var(--poppins); font-weight: 800; font-size: 34px; line-height: 1.1;
  letter-spacing: -.5px; margin-top: 22px;
}

/* ── start / form ─────────────────────────────────────── */
#start { scroll-margin-top: 72px; }

.signup {
  display: flex; flex-direction: column; gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 32px 30px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--poppins); font-weight: 600; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink);
}
.req { color: var(--red); letter-spacing: 1px; }

.field input {
  font-family: var(--lato);
  font-size: 16px;                 /* 16px+ keeps iOS from zooming on focus */
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px 16px;
  width: 100%;
  transition: border-color .2s ease;
}
.field input::placeholder { color: #9AA1AB; }
.field input:focus-visible { border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--red); background: var(--red-bg); }

.err { font-size: 14px; font-weight: 700; color: var(--red); }

.under { font-size: 15px; line-height: 1.6; color: var(--muted); }
.privacy { font-size: 13.5px; font-style: italic; color: var(--muted); margin-top: -8px; }
.devnote { font-family: var(--poppins); font-weight: 600; font-size: 13.5px; color: var(--orange); }

.done {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 34px 30px;
}
.done h3 { font-weight: 800; font-size: 32px; letter-spacing: -.4px; }
.done p { color: var(--muted); }
.done-mark {
  position: relative; display: block; width: 30px; height: 28px;
  background-image: repeating-linear-gradient(to right, var(--red) 0 2px, transparent 2px 8px);
  background-size: 26px 100%; background-repeat: no-repeat;
}
.done-mark::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 50%;
  height: 2px; background: var(--red); transform: rotate(-19deg);
}

.done-alt { font-size: 15px; color: var(--muted); }

.closing {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 20px; line-height: 1.6; color: var(--muted);
}
.closing strong { color: var(--ink); }

/* ── footer ───────────────────────────────────────────── */
.foot { background: var(--ink); color: #fff; padding: 48px 0; }
.foot-in { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.foot-logo { height: 40px; width: auto; display: block; }
.foot p { font-size: 15px; color: var(--blue-light); }

/* ── sticky mobile CTA ────────────────────────────────── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(41, 47, 61, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  transform: translateY(115%);
  transition: transform .28s cubic-bezier(.22, .8, .3, 1);
}
.dock.show { transform: none; }
.dock-txt { font-family: var(--poppins); font-weight: 500; font-size: 14px; color: #fff; }
.dock .btn-primary { box-shadow: none; }

/* ── scroll reveal (matches the main site's .rv) ──────── */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1); }
.rv.show { opacity: 1; transform: none; }
.no-js .rv, html:not(.js) .rv { opacity: 1; transform: none; }

/* ── responsive: the site breaks at 820px ─────────────── */
@media (max-width: 820px) {
  .sec { padding: 64px 0; }
  .wrap { padding: 0 24px; }

  .hero-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 56px 24px 72px;
  }
  .hero h1 { font-size: 40px; letter-spacing: -.5px; }
  .hero h1 .script { font-size: 52px; }
  .hero h1 .period { font-size: 30px; }
  .hero-sub { font-size: 18px; margin-bottom: 28px; }
  .hero-actions { align-self: stretch; }
  .hero-actions .btn { width: 100%; }

  .sheet { transform: none; }
  .total-num { font-size: 44px; }

  .sec-head h2 { font-size: 30px; }
  .lede { font-size: 18px; }
  .turn { font-size: 26px; margin-top: 32px; }
  .day { font-size: 12px; letter-spacing: 1px; padding: 12px 2px; }

  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 24px 22px; }

  .sec-ink blockquote p { font-size: 19px; }
  .sec-ink .you { font-size: 27px; }

  .signup, .done { padding: 24px 22px; }
  .closing { font-size: 18px; }

  .foot { padding-bottom: 96px; }   /* room for the dock */
}

@media (min-width: 821px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .rv { opacity: 1 !important; transform: none !important; }
  .nav, .dock { display: none !important; }
}



/* the thesis as a contrast: the two things being told apart, side by side */
.thesis {
  margin: 26px 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.thesis-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.th {
  padding: 22px 24px;
  border: 1px solid var(--border);
  background: #fff;
}
.th-biz {
  background: var(--green-bg); border-color: var(--green-chip);
  border-radius: 12px 0 0 12px;
}
.th-job {
  background: var(--red-bg); border-color: var(--red-chip);
  border-radius: 0 12px 12px 0;
}
.th-label {
  font-family: var(--poppins); font-weight: 700; font-size: 11px;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 8px;
}
.th-biz .th-label { color: var(--green); }
.th-job .th-label { color: var(--red); }
.th-text {
  font-family: var(--poppins); font-weight: 700; font-size: 20px;
  line-height: 1.3; letter-spacing: -.3px; color: var(--ink);
}
.th-vs {
  display: flex; align-items: center; justify-content: center;
  width: 54px;
  font-family: var(--poppins); font-weight: 700; font-size: 11px;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted);
  background: var(--sand);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.thesis-sub {
  font-size: 16px; line-height: 1.55; color: var(--muted);
  margin-top: 14px;
}

@media (max-width: 820px) {
  .thesis-pair { grid-template-columns: minmax(0, 1fr); }
  .th { padding: 18px 20px; }
  .th-biz { border-radius: 12px 12px 0 0; }
  .th-job { border-radius: 0 0 12px 12px; border-top: 0; }
  .th-text { font-size: 17px; }
  .th-vs {
    width: auto; padding: 7px 0;
    border: 1px solid var(--border); border-left: 0; border-right: 0;
  }
}
