:root {
  --ink: #11150f;
  --ink-2: #1b2118;
  --chalk: #f4efe1;
  --paper: #f7f0dc;
  --paper-2: #e8ddc4;
  --muted: #a8ac9c;
  --line: rgba(244, 239, 225, 0.18);
  --paper-line: rgba(17, 21, 15, 0.14);
  --turf: #2f9d62;
  --turf-dark: #1f6c45;
  --clay: #d2532f;
  --clay-dark: #9d3622;
  --sky: #3778a6;
  --gold: #e7c84c;
  --mint: #b6e6a8;
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(3, 5, 3, 0.34);
  --radius: 8px;
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Alegreya Sans", "Trebuchet MS", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 83, 47, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(47, 157, 98, 0.22), transparent 30rem),
    linear-gradient(145deg, #0b0d0a, #141911 54%, #090b08);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(244, 239, 225, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.route-fallback-shell {
  display: grid;
  place-items: center;
  padding: 34px 20px;
}

.route-fallback-main {
  width: min(620px, 100%);
}

.route-fallback-brand {
  margin-bottom: 20px;
}

.route-fallback-panel {
  padding: clamp(24px, 5vw, 38px);
  background:
    linear-gradient(135deg, rgba(244, 239, 225, 0.11), rgba(244, 239, 225, 0.04)),
    rgba(9, 12, 8, 0.88);
  border: 1px solid rgba(244, 239, 225, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.route-fallback-panel h1 {
  margin: 14px 0 12px;
  font-size: clamp(48px, 9vw, 78px);
}

.route-fallback-panel p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(244, 239, 225, 0.78);
  font-size: 20px;
}

.route-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b0f0a;
  border-bottom: 1px solid rgba(244, 239, 225, 0.16);
  box-shadow:
    inset 0 -2px 0 rgba(231, 200, 76, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f7e889 54%, var(--mint));
  border: 2px solid rgba(255, 250, 240, 0.54);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(231, 200, 76, 0.22);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.topbar .brand {
  gap: 10px;
}

.topbar .brand-mark {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border: 1px solid #fff5a8;
  box-shadow:
    inset 0 0 0 2px rgba(17, 21, 15, 0.1),
    0 0 0 1px rgba(17, 21, 15, 0.82);
  font-size: 24px;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.92;
  letter-spacing: 0;
}

.topbar .brand-name {
  font-size: 33px;
  line-height: 0.82;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.topbar .brand-sub {
  color: rgba(244, 239, 225, 0.62);
  font-size: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
}

.nav-links a {
  position: relative;
  min-height: 34px;
  padding: 11px 12px 9px;
  border-radius: 4px;
  color: rgba(244, 239, 225, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(244, 239, 225, 0.06);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
}

.nav-actions {
  display: inline-flex;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar .btn {
  min-height: 38px;
  padding: 10px 17px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: none;
}

.topbar .btn.primary {
  background: var(--gold);
  border-color: #fff0a2;
}

.topbar .btn.secondary {
  background: transparent;
  border-color: rgba(244, 239, 225, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: var(--ink);
  background: var(--gold);
  border-color: rgba(255, 250, 240, 0.4);
  box-shadow: 0 16px 44px rgba(231, 200, 76, 0.18);
}

.btn.secondary {
  color: var(--chalk);
  background: rgba(244, 239, 225, 0.08);
  border-color: var(--line);
}

.btn.dark {
  color: var(--chalk);
  background: var(--ink);
  border-color: rgba(17, 21, 15, 0.26);
}

.btn.block {
  width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(58px, 8vw, 104px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.1vw, 72px);
}

h3 {
  margin-bottom: 12px;
  font-size: 44px;
}

h4 {
  margin-bottom: 8px;
  font-size: 30px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.page-hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 70px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  min-height: auto;
  padding: 40px 0 24px;
}

.hero-grid,
.two-col,
.portal-grid,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.lead {
  max-width: 650px;
  color: rgba(244, 239, 225, 0.82);
  font-size: 24px;
  line-height: 1.26;
}

.lead.dark {
  color: rgba(17, 21, 15, 0.7);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.proof-item,
.dark-card,
.paper-card,
.feature-card,
.price-card,
.module-card,
.persona-card,
.timeline-item,
.form-card {
  border-radius: var(--radius);
}

.proof-item {
  min-height: 92px;
  padding: 14px;
  background: rgba(244, 239, 225, 0.06);
  border: 1px solid var(--line);
}

.proof-value {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.9;
}

.proof-label {
  display: block;
  margin-top: 8px;
  color: rgba(244, 239, 225, 0.68);
  font-size: 14px;
  line-height: 1.14;
}

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section.paper {
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 21, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 15, 0.04) 1px, transparent 1px), var(--paper);
  background-size: 36px 36px;
  border-bottom-color: rgba(17, 21, 15, 0.16);
}

.section.turf {
  background:
    linear-gradient(90deg, rgba(244, 239, 225, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #173f2b, #10261c);
  background-size:
    52px 52px,
    auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section.paper .section-kicker {
  color: var(--clay);
}

.section-head p {
  margin-bottom: 0;
  color: rgba(244, 239, 225, 0.72);
  font-size: 20px;
  line-height: 1.28;
}

.section.paper .section-head p {
  color: rgba(17, 21, 15, 0.72);
}

.scoreboard {
  position: relative;
  min-height: 520px;
  padding: 22px;
}

.scoreboard::before {
  content: "";
  position: absolute;
  inset: 54px 8px 18px 82px;
  background: var(--clay);
  border-radius: 28px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}

.product-frame,
.phone-frame,
.mini-window {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(244, 239, 225, 0.2);
  border-radius: var(--radius);
  background: rgba(13, 16, 11, 0.88);
  box-shadow: 0 18px 55px rgba(5, 7, 5, 0.32);
  overflow: hidden;
}

.product-frame {
  min-height: 500px;
}

.frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(47, 157, 98, 0.12);
  border: 1px solid rgba(182, 230, 168, 0.24);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.video-pane {
  position: relative;
  min-height: 302px;
  margin: 14px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 225, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(244, 239, 225, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 48% 62%, rgba(231, 200, 76, 0.18), transparent 12rem),
    linear-gradient(155deg, #1d251b, #0e120d 60%, #090b09);
  background-size:
    34px 34px,
    34px 34px,
    auto,
    auto;
}

.video-pane::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 38%;
  height: 54%;
  transform: translateX(-50%) skewX(-8deg);
  border: 1px solid rgba(244, 239, 225, 0.2);
  border-radius: 56% 48% 10% 10%;
  background:
    linear-gradient(90deg, transparent 0 43%, rgba(255, 250, 240, 0.16) 44% 47%, transparent 48%),
    linear-gradient(180deg, #2c342b, #10140f);
}

.swing-path {
  position: absolute;
  left: 20%;
  top: 26%;
  width: 58%;
  height: 42%;
  border-top: 7px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.swing-path::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(231, 200, 76, 0.18);
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.metric {
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(244, 239, 225, 0.13);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.07);
}

.metric strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 0.95;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: rgba(244, 239, 225, 0.68);
  font-size: 13px;
  line-height: 1.1;
}

.product-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.phone-frame {
  min-height: 500px;
}

.phone-screen {
  min-height: 410px;
  margin: 14px;
  border: 8px solid #050605;
  border-radius: 24px;
  background: #0c0e0b;
  overflow: hidden;
}

.phone-hero {
  min-height: 136px;
  padding: 16px;
  background:
    radial-gradient(circle at 86% 18%, rgba(210, 83, 47, 0.45), transparent 84px),
    linear-gradient(135deg, rgba(47, 157, 98, 0.42), rgba(11, 12, 10, 0.88));
}

.phone-hero small,
.card-kicker {
  display: block;
  color: rgba(255, 250, 240, 0.66);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.phone-hero b {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.phone-list {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.phone-row,
.account-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  border: 1px solid rgba(244, 239, 225, 0.11);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.07);
}

.phone-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clay);
}

.phone-row:nth-child(2) .phone-dot {
  background: var(--sky);
}

.phone-row:nth-child(3) .phone-dot {
  background: var(--gold);
}

.phone-row b,
.phone-row span,
.account-row b,
.account-row span {
  display: block;
}

.phone-row b,
.account-row b {
  color: var(--white);
  font-size: 15px;
  line-height: 1.1;
}

.phone-row span,
.account-row span {
  color: rgba(244, 239, 225, 0.58);
  font-size: 12px;
  line-height: 1.1;
}

.phone-score {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.paper-card {
  min-height: 190px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--paper-line);
}

.dark-card {
  min-height: 210px;
  padding: 22px;
  color: var(--chalk);
  background: rgba(244, 239, 225, 0.07);
  border: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--turf);
  font-family: var(--font-display);
  font-size: 25px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--clay);
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--sky);
}

.feature-card p,
.paper-card p,
.price-card p {
  margin-bottom: 0;
  color: rgba(17, 21, 15, 0.68);
  font-size: 17px;
  line-height: 1.2;
}

.dark-card p,
.module-card p {
  color: rgba(244, 239, 225, 0.66);
  font-size: 17px;
  line-height: 1.2;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 12%, rgba(231, 200, 76, 0.16), transparent 120px),
    rgba(244, 239, 225, 0.07);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(231, 200, 76, 0.5);
}

.link-card strong {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.link-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.link-card span {
  color: rgba(244, 239, 225, 0.67);
  font-size: 16px;
  line-height: 1.16;
}

.persona-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.persona-card {
  display: block;
  width: 100%;
  min-height: 152px;
  padding: 18px;
  color: var(--chalk);
  background: rgba(13, 16, 11, 0.82);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.persona-card:hover,
.persona-card.active {
  transform: translateY(-2px);
  border-color: var(--accent);
  background:
    radial-gradient(circle at 80% 20%, rgba(231, 200, 76, 0.14), transparent 118px),
    rgba(13, 16, 11, 0.9);
}

.persona-card small {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.persona-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.persona-card span {
  display: block;
  color: rgba(244, 239, 225, 0.67);
  font-size: 16px;
  line-height: 1.15;
}

.chat-demo {
  min-height: 510px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(244, 239, 225, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.persona-chat-sheet {
  width: min(720px, calc(100vw - 24px));
  max-width: none;
  height: 100vh;
  padding: 0;
  background: transparent;
  border-left: 1px solid rgba(244, 239, 225, 0.18);
  box-shadow: -18px 0 60px rgba(3, 5, 3, 0.34);
}

.persona-chat-sheet-overlay {
  background: rgba(0, 0, 0, 0.08);
}

.persona-chat-sheet-close {
  z-index: 2;
  color: var(--chalk);
  background: rgba(244, 239, 225, 0.1);
}

.chat-demo.floating {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.chat-demo.floating .chat-top {
  padding-right: 56px;
}

.chat-demo.floating .chat-body {
  flex: 1;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
}

.chat-demo.floating .chat-scroll {
  max-height: none;
  min-height: 0;
}

.chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 16px 18px;
  color: var(--chalk);
  background: linear-gradient(135deg, rgba(47, 157, 98, 0.22), transparent 70%), var(--ink);
}

.chat-top b {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 0.9;
}

.chat-top span {
  color: rgba(244, 239, 225, 0.66);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.chat-top-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chat-panel-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(244, 239, 225, 0.1);
  border: 1px solid rgba(244, 239, 225, 0.22);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.chat-panel-trigger:hover {
  background: rgba(244, 239, 225, 0.16);
  border-color: rgba(244, 239, 225, 0.34);
}

.chat-panel-trigger span {
  color: inherit;
  font: inherit;
  text-transform: inherit;
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chat-scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 3px;
}

.chat-empty {
  padding: 16px;
  color: rgba(17, 21, 15, 0.74);
  background: rgba(255, 250, 240, 0.66);
  border: 1px solid rgba(17, 21, 15, 0.1);
  border-radius: var(--radius);
}

.chat-empty b {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.9;
  text-transform: uppercase;
}

.chat-empty p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.25;
}

.bubble {
  display: inline-block;
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  max-width: min(90%, 640px);
  padding: 13px 15px;
  border-radius: 16px;
  font-size: 18px;
  line-height: 1.2;
  word-break: break-word;
}

.bubble.ai {
  align-self: flex-start;
  background: #fffaf0;
  border: 1px solid rgba(17, 21, 15, 0.12);
}

.bubble.ai p,
.bubble.ai ul,
.bubble.ai ol {
  margin: 0 0 10px;
}

.bubble.ai p:last-child,
.bubble.ai ul:last-child,
.bubble.ai ol:last-child {
  margin-bottom: 0;
}

.bubble.ai ul,
.bubble.ai ol {
  padding-left: 21px;
}

.bubble.ai li + li {
  margin-top: 4px;
}

.bubble.ai h1,
.bubble.ai h2,
.bubble.ai h3,
.bubble.ai h4 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.12;
  text-transform: none;
}

.bubble.ai strong {
  font-weight: 800;
}

.bubble.ai hr {
  height: 1px;
  margin: 12px 0;
  background: rgba(17, 21, 15, 0.12);
  border: 0;
}

.bubble.user {
  display: block;
  width: fit-content;
  align-self: flex-end;
  max-width: min(78%, 560px);
  color: var(--white);
  background: var(--turf-dark);
  white-space: pre-wrap;
}

.typing-indicator {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 2px 3px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turf-dark);
  opacity: 0.36;
  animation: typing-dot 900ms ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 120ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes typing-dot {
  0%,
  80%,
  100% {
    opacity: 0.32;
    transform: translateY(0);
  }

  40% {
    opacity: 0.92;
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .typing-indicator span,
  .prompt-ai-dots span {
    animation: none;
  }
}

.prompt-stack {
  display: grid;
  gap: 8px;
}

.prompt {
  min-height: 45px;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(55, 120, 166, 0.12);
  border: 1px solid rgba(55, 120, 166, 0.24);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
}

.prompt:hover:not(:disabled) {
  background: rgba(55, 120, 166, 0.2);
  border-color: rgba(55, 120, 166, 0.38);
}

.prompt:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chat-error {
  margin: 0;
  padding: 10px 12px;
  color: var(--clay-dark);
  background: rgba(210, 83, 47, 0.1);
  border: 1px solid rgba(210, 83, 47, 0.24);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  color: rgba(17, 21, 15, 0.48);
  background: rgba(17, 21, 15, 0.05);
  border: 1px solid rgba(17, 21, 15, 0.14);
  border-radius: 999px;
}

.chat-input textarea {
  width: 100%;
  min-width: 0;
  max-height: 96px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  resize: none;
}

.chat-input textarea::placeholder {
  color: rgba(17, 21, 15, 0.48);
}

.send {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--clay);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.send:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.audience-panel {
  min-height: 620px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.07);
}

.audience-panel.light {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.76);
  border-color: var(--paper-line);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 30px;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: rgba(244, 239, 225, 0.8);
  font-size: 18px;
  line-height: 1.18;
}

.light .check-list li,
.section.paper .check-list li {
  color: rgba(17, 21, 15, 0.76);
}

.check-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px rgba(17, 21, 15, 0.18);
}

.mini-board {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 12px;
  margin-top: 30px;
}

.mini-panel {
  min-height: 180px;
  padding: 14px;
  border: 1px solid rgba(244, 239, 225, 0.16);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.07);
}

.light .mini-panel {
  border-color: rgba(17, 21, 15, 0.14);
  background: rgba(255, 250, 240, 0.66);
}

.mini-panel strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.bar-list {
  display: grid;
  gap: 10px;
}

.bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(244, 239, 225, 0.16);
  overflow: hidden;
}

.light .bar {
  background: rgba(17, 21, 15, 0.13);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--turf);
}

.bar:nth-child(2) span {
  background: var(--clay);
}

.bar:nth-child(3) span {
  background: var(--sky);
}

.program-list {
  display: grid;
  gap: 8px;
}

.program-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.12);
}

.light .program-row {
  background: rgba(17, 21, 15, 0.06);
}

.program-row b,
.program-row span {
  display: block;
}

.program-row b {
  font-family: var(--font-mono);
  font-size: 12px;
}

.program-row span {
  color: currentColor;
  opacity: 0.65;
  font-size: 13px;
  line-height: 1.1;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 21px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--paper-line);
}

.price-card.featured {
  color: var(--chalk);
  background:
    radial-gradient(circle at 82% 10%, rgba(47, 157, 98, 0.22), transparent 150px), var(--ink);
  border-color: rgba(17, 21, 15, 0.2);
  box-shadow: var(--shadow);
}

.price-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.price-tier small,
.price-tier span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.price-tier small {
  color: var(--clay);
}

.featured .price-tier small {
  color: var(--gold);
}

.price-tier span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17, 21, 15, 0.08);
}

.featured .price-tier span {
  background: rgba(244, 239, 225, 0.1);
}

.price {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 0.9;
}

.price span {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
}

.price-card p {
  min-height: 86px;
  margin-bottom: 18px;
}

.featured p,
.featured li {
  color: rgba(244, 239, 225, 0.74);
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(17, 21, 15, 0.76);
  font-size: 16px;
  line-height: 1.12;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turf);
}

.featured li::before {
  background: var(--gold);
}

.price-card .btn {
  margin-top: auto;
}

.plans-error,
.form-message.error {
  margin-bottom: 16px;
  color: #ff6b6b;
}

.plans-action-error {
  padding: 12px 14px;
  background: rgba(210, 83, 47, 0.1);
  border: 1px solid rgba(210, 83, 47, 0.26);
  border-radius: var(--radius);
}

.form-message.success {
  color: #7ddc9a;
}

.form-message.success a {
  color: var(--gold);
  font-weight: 700;
}

.lead-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(244, 239, 225, 0.72);
  font-size: 14px;
  line-height: 1.35;
}

.form-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.contact-strip a {
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(47, 157, 98, 0.08);
  border: 1px solid rgba(47, 157, 98, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.coach-dashboard-card h3,
.family-path-card h3,
.about-proof-card h3 {
  margin-bottom: 14px;
}

.coach-score-grid,
.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.coach-score-grid div,
.about-proof-grid div {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(244, 239, 225, 0.13);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.06);
}

.coach-score-grid strong,
.coach-score-grid span,
.about-proof-grid b,
.about-proof-grid span {
  display: block;
}

.coach-score-grid strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.coach-score-grid span {
  margin-top: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}

.about-proof-grid b {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.9;
}

.about-proof-grid span {
  margin-top: 9px;
  color: rgba(244, 239, 225, 0.62);
  font-size: 14px;
  line-height: 1.12;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-card {
  min-height: 260px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}

.workflow-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.workflow-card h3 {
  margin-bottom: 4px;
  font-size: 46px;
}

.workflow-card h4 {
  margin: 0 0 12px;
  color: rgba(17, 21, 15, 0.74);
  font-size: 20px;
  line-height: 1.05;
}

.workflow-card p {
  margin: 0;
  color: rgba(17, 21, 15, 0.66);
  font-size: 16px;
  line-height: 1.22;
}

.media-showcase,
.access-ladder,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: start;
}

.media-slots,
.ladder-list,
.contact-side-list {
  display: grid;
  gap: 12px;
}

.media-slots article,
.ladder-list article,
.contact-card,
.persona-summary-card {
  border-radius: var(--radius);
}

.media-slots article {
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--paper-line);
}

.media-slots span,
.ladder-list b,
.persona-summary-card small {
  display: block;
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-slots h3,
.ladder-list h3,
.persona-summary-card h3 {
  margin: 8px 0 8px;
}

.media-slots p,
.ladder-list p,
.persona-summary-card p,
.persona-summary-card li {
  color: rgba(17, 21, 15, 0.68);
  font-size: 16px;
  line-height: 1.18;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.06);
}

.cta-band.light {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.76);
  border-color: var(--paper-line);
}

.cta-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(244, 239, 225, 0.68);
}

.cta-band.light p {
  color: rgba(17, 21, 15, 0.68);
}

.family-question-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.family-question-list a {
  padding: 11px 12px;
  color: rgba(244, 239, 225, 0.78);
  text-decoration: none;
  background: rgba(244, 239, 225, 0.07);
  border: 1px solid rgba(244, 239, 225, 0.13);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.family-question-list a:hover {
  color: rgba(244, 239, 225, 0.95);
  background: rgba(244, 239, 225, 0.11);
  border-color: rgba(244, 239, 225, 0.22);
}

.persona-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.persona-summary-card {
  min-height: 350px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--paper-line);
}

.persona-summary-card > span {
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
}

.persona-summary-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.persona-summary-card li {
  padding-top: 8px;
  border-top: 1px solid rgba(17, 21, 15, 0.1);
}

.ladder-list article {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 225, 0.06);
}

.ladder-list b {
  color: var(--gold);
}

.ladder-list p {
  color: rgba(244, 239, 225, 0.65);
}

.legal-layout {
  display: grid;
  justify-items: center;
}

.legal-page {
  width: min(880px, 100%);
  padding: clamp(22px, 4vw, 34px);
  background: rgba(244, 239, 225, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-page h1 {
  max-width: 780px;
  margin-bottom: 8px;
  font-size: clamp(54px, 9vw, 92px);
}

.legal-updated {
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-page section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: 36px;
}

.legal-page p {
  margin-bottom: 12px;
  color: rgba(244, 239, 225, 0.72);
  line-height: 1.28;
}

.legal-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 225, 0.06);
}

.contact-card p {
  color: rgba(244, 239, 225, 0.68);
}

.support-status {
  padding: 12px 14px;
  color: var(--gold);
  background: rgba(231, 200, 76, 0.08);
  border: 1px solid rgba(231, 200, 76, 0.18);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.plans-current-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  color: var(--ink);
}

.plans-current-band h2,
.plans-current-band p {
  margin: 0;
}

.plans-current-band p {
  color: rgba(17, 21, 15, 0.72);
}

.price-card.active-plan {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.plans-billing-ui {
  --background: var(--white);
  --foreground: var(--ink);
  --card: rgba(255, 250, 240, 0.84);
  --card-foreground: var(--ink);
  --popover: var(--white);
  --popover-foreground: var(--ink);
  --primary: var(--turf-dark);
  --primary-foreground: var(--white);
  --secondary: rgba(17, 21, 15, 0.07);
  --secondary-foreground: var(--ink);
  --muted: rgba(17, 21, 15, 0.07);
  --muted-foreground: rgba(17, 21, 15, 0.62);
  --accent: rgba(231, 200, 76, 0.18);
  --accent-foreground: var(--ink);
  --destructive: var(--clay);
  --destructive-foreground: var(--white);
  --border: var(--paper-line);
  --input: rgba(17, 21, 15, 0.18);
  --ring: var(--gold);
  font-family: var(--font-body);
}

.plans-billing-ui .sport-billing-pricing-table {
  padding: 20px;
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
}

.plans-billing-ui .sport-billing-pricing-table .overflow-x-auto {
  overflow-x: clip;
}

.plans-billing-ui table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.plans-billing-ui th,
.plans-billing-ui td {
  padding: clamp(8px, 1.2vw, 14px);
  border-color: var(--paper-line);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.plans-billing-ui th.sticky,
.plans-billing-ui td.sticky {
  position: static;
  width: 34%;
  min-width: 0;
}

.plans-billing-ui .wrap-break-word {
  overflow-wrap: anywhere;
  word-break: normal;
}

.plans-billing-ui button {
  min-height: 36px;
  height: auto;
  min-width: 0;
  padding: 8px 10px;
  font-family: var(--font-mono);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  white-space: normal;
}

.plans-billing-ui .billing-pricing-group-row td {
  padding: 0;
  background: rgba(17, 21, 15, 0.07);
  border-top: 1px solid rgba(17, 21, 15, 0.16);
  border-bottom: 1px solid rgba(17, 21, 15, 0.16);
}

.billing-pricing-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
}

.billing-pricing-group b,
.billing-pricing-mobile-group {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}

.billing-pricing-group span {
  max-width: 640px;
  color: rgba(17, 21, 15, 0.62);
  font-size: 14px;
  line-height: 1.25;
  text-align: right;
}

.billing-pricing-mobile-group {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-line);
}

.billing-pricing-mobile-group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.billing-pricing-access-note {
  padding: 3px 6px;
  border: 1px solid rgba(47, 157, 98, 0.24);
  border-radius: 999px;
  color: var(--turf-dark);
  background: rgba(47, 157, 98, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.billing-plan-row div,
.billing-plan-row b,
.billing-plan-row span,
.admin-plan-editor-head b,
.admin-plan-editor-head span,
.admin-request-head b,
.admin-request-head span {
  display: block;
}

.billing-plan-row small,
.billing-plan-row span,
.admin-plan-editor-head span,
.admin-request-head span,
.admin-request-head small,
.admin-request-meta {
  color: rgba(17, 21, 15, 0.58);
}

.billing-plan-row,
.admin-request-item {
  border: 1px solid rgba(17, 21, 15, 0.12);
  background: rgba(255, 250, 240, 0.58);
}

.billing-plan-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
}

.billing-plan-row small {
  text-align: right;
}

.billing-plan-list,
.admin-plan-editor-list,
.admin-request-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-plan-editor,
.admin-request-item {
  padding: 16px;
}

.admin-plan-editor-head,
.admin-request-head,
.admin-request-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-plan-editor-head {
  margin-bottom: 16px;
}

.admin-request-item p {
  margin: 12px 0;
}

.admin-request-meta {
  justify-content: flex-start;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-lead-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-lead-card,
.admin-delivery-list {
  border: 1px solid rgba(244, 239, 225, 0.1);
  background: rgba(244, 239, 225, 0.04);
  border-radius: var(--radius);
}

.admin-lead-card {
  padding: 14px;
}

.admin-lead-card b,
.admin-lead-card span {
  display: block;
}

.admin-lead-card b {
  color: var(--white);
}

.admin-lead-card > div > span {
  color: rgba(244, 239, 225, 0.58);
}

.admin-delivery-list {
  display: grid;
  gap: 0;
  margin: 12px 0 14px;
  overflow: hidden;
}

.admin-delivery-row {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.5fr 2fr;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(244, 239, 225, 0.08);
  color: rgba(244, 239, 225, 0.66);
  font-family: var(--font-mono);
  font-size: 11px;
}

.admin-delivery-row:last-child {
  border-bottom: 0;
}

.admin-delivery-row span,
.admin-delivery-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.portal-grid {
  align-items: stretch;
}

.profile-panel,
.portal-panel {
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 239, 225, 0.07);
}

.profile-panel {
  padding: 24px;
}

.profile-badge,
.state-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.profile-badge {
  margin-bottom: 28px;
  color: var(--mint);
  background: rgba(47, 157, 98, 0.12);
  border: 1px solid rgba(182, 230, 168, 0.22);
}

.state-pill {
  color: var(--ink);
  background: var(--gold);
  white-space: nowrap;
}

.state-pill.locked {
  color: var(--chalk);
  background: rgba(244, 239, 225, 0.13);
  border: 1px solid var(--line);
}

.account-rows {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.account-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.portal-panel {
  overflow: hidden;
}

.portal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
}

.portal-toolbar b {
  font-family: var(--font-display);
  font-size: 33px;
  line-height: 0.9;
  text-transform: uppercase;
}

.portal-toolbar span {
  color: rgba(244, 239, 225, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.module-lobby {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.module-card {
  display: block;
  width: 100%;
  min-height: 176px;
  padding: 16px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background: rgba(13, 16, 11, 0.26);
  border: 1px solid var(--line);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.module-card:hover {
  background: rgba(244, 239, 225, 0.055);
  border-color: rgba(231, 200, 76, 0.4);
  transform: translateY(-1px);
}

.module-card:focus-visible {
  outline: 3px solid rgba(231, 200, 76, 0.35);
  outline-offset: 3px;
  border-color: var(--gold);
}

.module-card.selected {
  background: rgba(231, 200, 76, 0.08);
  border-color: rgba(231, 200, 76, 0.58);
  box-shadow: inset 0 0 0 1px rgba(231, 200, 76, 0.2);
}

.module-card.locked {
  opacity: 0.72;
}

.module-card small {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.dashboard-product-note {
  margin-top: 18px;
  color: rgba(244, 239, 225, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.form-card {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--paper-line);
}

.form-card p {
  color: rgba(17, 21, 15, 0.68);
  font-size: 18px;
  line-height: 1.2;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-card .field {
  display: grid;
  gap: 6px;
}

.form-card .field label {
  color: rgba(17, 21, 15, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.form-card .field input,
.form-card .field select,
.form-card .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(17, 21, 15, 0.18);
  border-radius: var(--radius);
  outline: 0;
  color-scheme: light;
}

.form-card .field input::placeholder,
.form-card .field textarea::placeholder {
  color: rgba(17, 21, 15, 0.42);
}

.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  border-color: rgba(47, 157, 98, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 157, 98, 0.12);
}

.form-card .field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-card .form-checkbox {
  color: rgba(17, 21, 15, 0.7);
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.timeline-item b {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.92;
}

.timeline-item span {
  color: rgba(244, 239, 225, 0.72);
  line-height: 1.16;
}

.footer {
  padding: 44px 0 52px;
  background: #090b08;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
}

.footer p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(244, 239, 225, 0.58);
  font-size: 16px;
  line-height: 1.24;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  color: rgba(244, 239, 225, 0.68);
  font-size: 15px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(244, 239, 225, 0.28);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1120px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .nav-actions {
    order: 3;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 4px;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(244, 239, 225, 0.08);
  }

  .nav-links a.active::after {
    display: none;
  }

  .hero-grid,
  .two-col,
  .portal-grid,
  .story-grid,
  .persona-layout,
  .media-showcase,
  .access-ladder,
  .contact-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .plans-grid,
  .link-grid,
  .workflow-grid,
  .persona-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1 1 0;
  }

  .page-hero {
    min-height: auto;
    padding: 54px 0 36px;
  }

  .lead {
    font-size: 21px;
  }

  .proof-grid,
  .card-grid,
  .persona-grid,
  .persona-summary-grid,
  .workflow-grid,
  .coach-score-grid,
  .about-proof-grid,
  .module-lobby,
  .audience-grid,
  .product-mosaic,
  .plans-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard {
    min-height: 0;
    padding: 0;
  }

  .scoreboard::before {
    display: none;
  }

  .mini-board {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 27px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 15px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .metric-stack {
    grid-template-columns: 1fr;
  }

  .audience-panel {
    padding: 22px;
    min-height: auto;
  }
}

/* ---- Page hero background imagery (per-page) ---- */
.page-hero {
  position: relative;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  filter: saturate(1.05) contrast(1.02);
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(231, 200, 76, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(9, 11, 8, 0.35) 0%, rgba(9, 11, 8, 0.78) 100%);
}
body[data-page="home"] .page-hero::after {
  background-image: url("img/hero-1-batter.jpg");
  background-position: center 35%;
  opacity: 0.48;
}
body[data-page="hitwizard"] .page-hero::after {
  background-image: url("img/hero-4-abstract-swing.jpg");
  opacity: 0.55;
}
body[data-page="coaches"] .page-hero::after {
  background-image: url("img/hero-3-stadium-dusk.jpg");
  opacity: 0.5;
}
body[data-page="demo"] .page-hero::after {
  background-image: url("img/hero-2-ball-clay.jpg");
  opacity: 0.4;
}
body[data-page="plans"] .page-hero::after {
  background-image: url("img/hero-3-stadium-dusk.jpg");
  opacity: 0.32;
}
body[data-page="advisory"] .page-hero::after {
  background-image: url("img/hero-bg-2-leather-texture.jpg");
  opacity: 0.28;
}
body[data-page="dashboard"] .page-hero::after {
  background-image: url("img/hero-4-abstract-swing.jpg");
  opacity: 0.3;
}

/* Subtle clay-line band on paper sections for advisory using the ball image */
body[data-page="advisory"] .section.paper {
  position: relative;
}

/* ============================================================
   Auth UI: avatar, user menu, plan badge, demo toggle
   ============================================================ */

.btn.ghost {
  color: rgba(244, 239, 225, 0.78);
  background: transparent;
  border: 1px dashed rgba(231, 200, 76, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  min-height: 38px;
  padding: 8px 14px;
}
.btn.ghost:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(231, 200, 76, 0.08);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #f7e889 55%, var(--mint));
  border: 1px solid rgba(17, 21, 15, 0.55);
  box-shadow: 0 4px 14px rgba(231, 200, 76, 0.22);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1;
  flex: 0 0 auto;
  user-select: none;
}
.avatar.avatar-md {
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.avatar.avatar-lg {
  width: 96px;
  height: 96px;
  font-size: 44px;
  border-width: 2px;
  box-shadow: 0 16px 44px rgba(231, 200, 76, 0.28);
}

.user-menu {
  position: relative;
  display: inline-flex;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 12px 4px 4px;
  background: rgba(244, 239, 225, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}
.user-menu-trigger:hover,
.user-menu.open .user-menu-trigger {
  border-color: rgba(231, 200, 76, 0.55);
  background: rgba(231, 200, 76, 0.1);
}
.user-menu-caret {
  font-size: 10px;
  opacity: 0.7;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  padding: 16px;
  background: #131811;
  border: 1px solid rgba(231, 200, 76, 0.35);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 12px;
  z-index: 30;
}
[hidden] {
  display: none !important;
}
.user-menu-panel[hidden] {
  display: none;
}

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.user-menu-header b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.5px;
}
.user-menu-header span span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244, 239, 225, 0.62);
  text-transform: lowercase;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  align-self: start;
  padding: 4px 10px;
  background: rgba(231, 200, 76, 0.14);
  color: var(--gold);
  border: 1px solid rgba(231, 200, 76, 0.55);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.user-menu-links {
  display: grid;
  gap: 2px;
}
.user-menu-links a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: rgba(244, 239, 225, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.user-menu-links a:hover {
  background: rgba(244, 239, 225, 0.07);
  color: var(--white);
}

.user-menu-signout {
  margin-top: 4px;
  padding: 10px 12px;
  background: transparent;
  color: var(--clay);
  border: 1px solid rgba(210, 83, 47, 0.5);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.user-menu-signout:hover {
  background: rgba(210, 83, 47, 0.12);
  color: #f0805a;
}

@media (max-width: 1120px) {
  .user-menu-name {
    display: none;
  }
  .user-menu-panel {
    right: -8px;
  }
  /* On mobile, the user menu collapses into the hamburger nav */
  .nav-actions .user-menu {
    display: none;
  }
}

/* Hide mobile-only nav entries on desktop */
@media (min-width: 1121px) {
  [data-auth-mobile] {
    display: none !important;
  }
}

/* ============================================================
   Profile / Settings / Billing pages
   ============================================================ */

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.profile-hero h1 {
  font-size: clamp(46px, 6vw, 72px);
  margin-bottom: 6px;
}
.profile-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: rgba(244, 239, 225, 0.7);
  font-family: var(--font-mono);
  font-size: 13px;
}
.profile-hero-meta b {
  color: var(--white);
}

.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.account-side-nav {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
}
.account-nav-section {
  display: grid;
  gap: 4px;
}
.account-nav-section > span {
  padding: 0 14px 5px;
  color: rgba(244, 239, 225, 0.42);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.account-side-nav a {
  padding: 11px 14px;
  border-radius: 6px;
  color: rgba(244, 239, 225, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-left: 2px solid transparent;
}
.account-side-nav a:hover {
  color: var(--white);
  background: rgba(244, 239, 225, 0.05);
}
.account-side-nav a.active {
  color: var(--white);
  background: rgba(231, 200, 76, 0.08);
  border-left-color: var(--gold);
}

.account-card {
  padding: 26px;
  background: rgba(244, 239, 225, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.account-card + .account-card {
  margin-top: 18px;
}
.account-card h3 {
  font-size: 28px;
  margin-bottom: 6px;
  color: var(--white);
}
.account-card .card-sub {
  margin-bottom: 18px;
  color: rgba(244, 239, 225, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field-grid .field-full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(244, 239, 225, 0.6);
}
.field input,
.field select,
.field textarea {
  padding: 11px 12px;
  background: rgba(11, 13, 10, 0.6);
  color: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 200, 76, 0.18);
}
.field input:disabled,
.field-hint {
  color: rgba(244, 239, 225, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: rgba(11, 13, 10, 0.5);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 22px;
}
.settings-tabs button {
  flex: 1 1 auto;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(244, 239, 225, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
}
.settings-tabs button:hover {
  color: var(--white);
}
.settings-tabs button.active {
  background: rgba(231, 200, 76, 0.12);
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.settings-row:last-child {
  border-bottom: 0;
}
.settings-row b {
  color: var(--white);
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.4px;
}
.settings-row p {
  margin: 4px 0 0;
  color: rgba(244, 239, 225, 0.62);
  font-size: 14px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch span {
  position: absolute;
  inset: 0;
  background: rgba(244, 239, 225, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease;
}
.toggle-switch span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--chalk);
  border-radius: 50%;
  transition: transform 160ms ease;
}
.toggle-switch input:checked + span {
  background: var(--gold);
}
.toggle-switch input:checked + span::before {
  transform: translateX(20px);
  background: var(--ink);
}

.danger-zone {
  border-color: rgba(210, 83, 47, 0.5);
  background: rgba(210, 83, 47, 0.06);
}
.danger-zone h3 {
  color: #f0805a;
}
.btn.danger {
  color: #f0805a;
  background: transparent;
  border-color: rgba(210, 83, 47, 0.55);
}
.btn.danger:hover {
  background: rgba(210, 83, 47, 0.14);
  color: #ff9474;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.billing-summary .stat {
  padding: 16px;
  background: rgba(244, 239, 225, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.billing-summary .stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(244, 239, 225, 0.6);
  letter-spacing: 0.4px;
}
.billing-summary .stat b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
}

.billing-page-stack {
  display: grid;
  gap: 18px;
}

.billing-ui,
.sport-billing-sheet {
  --background: #0b0f0a;
  --foreground: var(--chalk);
  --card: rgba(244, 239, 225, 0.04);
  --card-foreground: var(--chalk);
  --popover: #11150f;
  --popover-foreground: var(--chalk);
  --primary: var(--gold);
  --primary-foreground: var(--ink);
  --secondary: rgba(244, 239, 225, 0.08);
  --secondary-foreground: var(--chalk);
  --muted: rgba(244, 239, 225, 0.08);
  --muted-foreground: rgba(244, 239, 225, 0.62);
  --accent: rgba(231, 200, 76, 0.14);
  --accent-foreground: var(--gold);
  --destructive: #f0805a;
  --destructive-foreground: var(--ink);
  --border: var(--line);
  --input: rgba(244, 239, 225, 0.16);
  --ring: var(--gold);
  color: var(--chalk);
  font-family: var(--font-body);
}

.billing-account-header,
.billing-access-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.billing-access-card .section-kicker {
  display: block;
  margin-bottom: 8px;
}

.billing-access-row h3,
.billing-access-row p {
  margin: 0;
}

.billing-access-row p {
  color: rgba(244, 239, 225, 0.62);
}

.checkout-required-card {
  max-width: 760px;
}
.checkout-required-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.checkout-required-summary > div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(244, 239, 225, 0.04);
}
.checkout-required-summary span {
  color: rgba(244, 239, 225, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.checkout-required-summary strong {
  color: var(--white);
  font-size: 16px;
}

.billing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: start;
}

.billing-grid-main,
.billing-grid-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.billing-ui .sport-billing-card,
.sport-billing-sheet {
  background: rgba(244, 239, 225, 0.04);
  border-color: var(--line);
  color: var(--chalk);
  box-shadow: none;
}

.billing-ui .sport-billing-card button,
.sport-billing-sheet button {
  font-family: var(--font-mono);
}

.billing-ui .sport-billing-card [class*="text-muted-foreground"],
.sport-billing-sheet [class*="text-muted-foreground"] {
  color: rgba(244, 239, 225, 0.62);
}

.billing-ui .sport-billing-card [class*="bg-card"],
.sport-billing-sheet [class*="bg-card"] {
  background: rgba(11, 13, 10, 0.38);
}

.billing-ui .sport-billing-card [class*="bg-muted"],
.sport-billing-sheet [class*="bg-muted"] {
  background: rgba(244, 239, 225, 0.08);
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.invoice-table th,
.invoice-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.invoice-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(244, 239, 225, 0.55);
  letter-spacing: 0.5px;
}
.invoice-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-budget-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.admin-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.admin-notice.success {
  color: #91e6a8;
  background: rgba(60, 168, 92, 0.12);
  border: 1px solid rgba(60, 168, 92, 0.36);
}
.admin-notice.error {
  color: #ff9474;
  background: rgba(210, 83, 47, 0.12);
  border: 1px solid rgba(210, 83, 47, 0.44);
}
.admin-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-usage-meter {
  padding: 16px;
  background: rgba(244, 239, 225, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.admin-meter-top span,
.admin-usage-meter small,
.admin-mini-stat span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: rgba(244, 239, 225, 0.58);
}
.admin-meter-top b {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.2px;
}
.admin-meter-track {
  height: 8px;
  margin: 12px 0 8px;
  overflow: hidden;
  background: rgba(11, 13, 10, 0.78);
  border: 1px solid rgba(244, 239, 225, 0.09);
  border-radius: 999px;
}
.admin-meter-track span {
  display: block;
  height: 100%;
  min-width: 2px;
  background: linear-gradient(90deg, var(--gold), #91e6a8);
}
.admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.admin-mini-stat {
  padding: 12px;
  background: rgba(11, 13, 10, 0.38);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-mini-stat b {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}
.admin-toggle-row {
  margin-bottom: 4px;
  padding-top: 0;
}
.admin-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-cost-card,
.admin-cost-note {
  padding: 16px;
  background: rgba(11, 13, 10, 0.38);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-cost-card span,
.admin-cost-note span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: rgba(244, 239, 225, 0.58);
}
.admin-cost-card b,
.admin-cost-note b {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.admin-cost-card small {
  display: block;
  margin-top: 10px;
  color: rgba(244, 239, 225, 0.66);
  font-size: 13px;
  line-height: 1.35;
}
.admin-cost-note {
  grid-column: 1 / -1;
}
.admin-cost-note span {
  margin-top: 10px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}
.btn svg {
  flex: 0 0 auto;
}
.admin-events-table td {
  vertical-align: top;
}
.admin-events-table td:first-child {
  white-space: nowrap;
}
.admin-event-status {
  border-color: rgba(244, 239, 225, 0.16);
}
.admin-event-status.charged {
  color: #91e6a8;
}
.admin-event-status.failed {
  color: #ff9474;
}
.admin-event-status.denied {
  color: #ff9474;
}
.admin-event-status.released {
  color: rgba(244, 239, 225, 0.62);
}
.admin-event-status.reserved {
  color: var(--gold);
}
.prompt-editor-card {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(244, 239, 225, 0.055), rgba(244, 239, 225, 0.032)),
    rgba(11, 13, 10, 0.42);
}
.prompt-editor-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.prompt-editor-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.prompt-editor-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prompt-editor-shell {
  display: grid;
  gap: 14px;
}
.prompt-section-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(11, 13, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prompt-section-tabs button {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(244, 239, 225, 0.7);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.prompt-section-tabs button:hover {
  color: var(--white);
}
.prompt-section-tabs button.active {
  background: rgba(231, 200, 76, 0.12);
  color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.prompt-section-tabs button.base {
  color: rgba(244, 239, 225, 0.88);
}
.prompt-section-tabs > span {
  width: 1px;
  height: 22px;
  margin: 0 5px;
  background: rgba(244, 239, 225, 0.18);
}
.prompt-section-editor {
  min-width: 0;
  display: grid;
  gap: 0;
  overflow: hidden;
  background: rgba(11, 13, 10, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prompt-draft-preparing {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: rgba(244, 239, 225, 0.62);
  background: rgba(11, 13, 10, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prompt-draft-preparing p {
  margin: 0;
  color: rgba(244, 239, 225, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.prompt-section-editor-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 14px 10px;
  border-bottom: 1px solid rgba(244, 239, 225, 0.11);
  background: rgba(244, 239, 225, 0.035);
}
.prompt-section-editor-label label,
.prompt-section-editor-label span {
  color: rgba(244, 239, 225, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.prompt-section-editor .cm-editor {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.48;
}
.prompt-section-editor .cm-editor.cm-focused {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.prompt-section-editor .cm-scroller,
.prompt-publish-dialog .cm-scroller {
  font-family: var(--font-body);
}
.prompt-section-editor .cm-content,
.prompt-publish-dialog .cm-content {
  padding: 15px 18px;
}
.prompt-section-editor .cm-line,
.prompt-publish-dialog .cm-line {
  padding: 0;
  color: rgba(244, 239, 225, 0.88);
}
.prompt-section-editor .cm-gutters,
.prompt-publish-dialog .cm-gutters {
  background: rgba(244, 239, 225, 0.025);
  color: rgba(244, 239, 225, 0.34);
  border-right: 1px solid rgba(244, 239, 225, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
}
.prompt-section-editor .cm-activeLine,
.prompt-section-editor .cm-activeLineGutter,
.prompt-publish-dialog .cm-activeLine,
.prompt-publish-dialog .cm-activeLineGutter {
  background: transparent;
}
.prompt-section-editor .cm-selectionBackground,
.prompt-publish-dialog .cm-selectionBackground {
  background: rgba(231, 200, 76, 0.23) !important;
}
.prompt-section-editor .cm-cursor,
.prompt-publish-dialog .cm-cursor {
  border-left-color: var(--gold);
}
.prompt-section-editor .cm-placeholder {
  color: rgba(244, 239, 225, 0.42);
}
.prompt-editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.prompt-editor-footer > span {
  color: rgba(244, 239, 225, 0.58);
  font-size: 13px;
}
.prompt-primary-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn.large-action {
  min-height: 44px;
  padding: 12px 18px;
}
.prompt-history-card {
  margin-top: 18px;
}
.prompt-history-heading h3,
.prompt-publish-dialog h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prompt-version-catalog {
  display: grid;
  border-top: 1px solid var(--line);
}
.prompt-version-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.prompt-version-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
}
.prompt-version-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.prompt-version-head {
  display: grid;
  gap: 4px;
}
.prompt-version-head strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 0.98;
  overflow-wrap: anywhere;
}
.prompt-version-meta,
.prompt-version-details {
  color: rgba(244, 239, 225, 0.56);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.prompt-version-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.prompt-version-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.prompt-admin-dialog,
.prompt-publish-dialog {
  max-width: min(1180px, calc(100vw - 48px)) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(231, 200, 76, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(244, 239, 225, 0.07), rgba(244, 239, 225, 0.035)), #0b0f0a !important;
  color: var(--chalk) !important;
  border: 1px solid rgba(244, 239, 225, 0.2) !important;
  border-radius: var(--radius) !important;
  box-shadow:
    0 24px 70px rgba(3, 5, 3, 0.56),
    inset 0 1px 0 rgba(244, 239, 225, 0.08) !important;
  font-family: var(--font-body);
}
.prompt-admin-dialog {
  max-width: min(520px, calc(100vw - 40px)) !important;
}
.prompt-review-dialog {
  max-width: min(1240px, calc(100vw - 48px)) !important;
  max-height: min(900px, calc(100dvh - 48px)) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden !important;
}
.prompt-review-body {
  min-height: 0;
  display: grid;
  gap: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.prompt-admin-dialog h2,
.prompt-publish-dialog h2 {
  margin: 0;
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 0.95;
  letter-spacing: 0;
}
.prompt-admin-dialog p,
.prompt-publish-dialog p {
  color: rgba(244, 239, 225, 0.62) !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  line-height: 1.45;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.prompt-admin-dialog button:not(.btn),
.prompt-publish-dialog button:not(.btn) {
  min-height: 42px;
  padding: 10px 16px;
  background: transparent !important;
  color: rgba(244, 239, 225, 0.82) !important;
  border: 1px solid rgba(244, 239, 225, 0.28) !important;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  cursor: pointer;
}
.prompt-admin-dialog button:not(.btn):hover,
.prompt-publish-dialog button:not(.btn):hover {
  color: var(--white) !important;
  background: rgba(244, 239, 225, 0.06) !important;
}
.prompt-publish-mode {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(231, 200, 76, 0.22);
  border-radius: 6px;
  color: rgba(231, 200, 76, 0.82);
  background: rgba(231, 200, 76, 0.07);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.prompt-diff-column-labels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin: -2px 0 -6px;
  color: rgba(244, 239, 225, 0.66);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-align: center;
  text-transform: uppercase;
}
.prompt-diff-column-labels span:last-child {
  padding-left: 0;
}
.prompt-publish-dialog .cm-mergeView {
  min-height: 460px;
  height: min(62vh, 680px);
  max-height: min(62vh, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(11, 13, 10, 0.44);
  overscroll-behavior: contain;
}
.prompt-publish-dialog .cm-mergeView .cm-mergeViewEditor {
  min-width: 0;
  border-right: 1px solid rgba(244, 239, 225, 0.12);
}
.prompt-publish-dialog .cm-mergeView .cm-mergeViewEditor:last-child {
  border-right: 0;
}
.prompt-publish-dialog .cm-mergeViewEditors {
  min-height: 100%;
}
.prompt-publish-dialog .cm-editor {
  min-height: 460px;
  background: transparent;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
.prompt-publish-dialog .cm-merge-a .cm-changedLine {
  background: rgba(210, 83, 47, 0.16) !important;
  box-shadow: none;
}
.prompt-publish-dialog .cm-merge-b .cm-changedLine {
  background: rgba(47, 157, 98, 0.18) !important;
  box-shadow: none;
}
.prompt-publish-dialog .cm-changedText,
.prompt-publish-dialog .cm-insertedLine,
.prompt-publish-dialog .cm-deletedLine {
  border-radius: 3px;
}
.prompt-publish-dialog .cm-insertedLine,
.prompt-publish-dialog .cm-deletedLine {
  background: transparent !important;
  text-decoration: none;
}
.prompt-publish-dialog .cm-merge-a .cm-changedText {
  background: rgba(255, 104, 74, 0.28) !important;
  color: rgba(255, 250, 240, 0.88);
}
.prompt-publish-dialog .cm-merge-b .cm-changedText {
  background: rgba(137, 236, 116, 0.26) !important;
  color: var(--white);
}
.prompt-publish-dialog .cm-changeGutter {
  background: rgba(244, 239, 225, 0.025);
  color: transparent;
}
.prompt-publish-dialog .cm-merge-a .cm-changedLineGutter {
  background: rgba(210, 83, 47, 1) !important;
}
.prompt-publish-dialog .cm-merge-b .cm-changedLineGutter {
  background: #36d875 !important;
}
.prompt-publish-dialog .cm-collapsedLines {
  margin: 7px 12px;
  padding: 6px 10px;
  background: rgba(244, 239, 225, 0.045);
  border: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 6px;
  color: rgba(244, 239, 225, 0.46);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.prompt-publish-preview .cm-editor {
  max-height: min(62vh, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(11, 13, 10, 0.44);
}
.prompt-ai-review-dialog {
  max-width: min(1240px, calc(100vw - 48px)) !important;
  max-height: min(900px, calc(100dvh - 48px)) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden !important;
}
.prompt-ai-review-body {
  min-height: 0;
  display: grid;
  gap: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.prompt-ai-review-loading {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: rgba(244, 239, 225, 0.64);
}
.prompt-ai-review-loading p {
  margin: 0;
  color: rgba(244, 239, 225, 0.58) !important;
}
.prompt-ai-review-error {
  min-height: 260px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(210, 83, 47, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(210, 83, 47, 0.12), rgba(210, 83, 47, 0.04)),
    rgba(11, 13, 10, 0.44);
}
.prompt-ai-review-error svg {
  margin-top: 2px;
  color: rgba(255, 126, 96, 0.95);
}
.prompt-ai-review-error strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}
.prompt-ai-review-error p {
  margin: 0;
  max-width: 760px;
  color: rgba(244, 239, 225, 0.72) !important;
  font-family: var(--font-body);
  font-size: 16px !important;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.prompt-ai-dots {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.prompt-ai-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.36;
  animation: typing-dot 900ms ease-in-out infinite;
}
.prompt-ai-dots span:nth-child(2) {
  animation-delay: 120ms;
}
.prompt-ai-dots span:nth-child(3) {
  animation-delay: 240ms;
}
.prompt-ai-review-summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prompt-ai-review-summary div {
  display: grid;
  gap: 4px;
}
.prompt-ai-review-summary span,
.prompt-ai-review-note,
.prompt-ai-no-suggestions p,
.prompt-ai-empty-diff p {
  color: rgba(244, 239, 225, 0.56);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}
.prompt-ai-review-summary strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.9;
}
.prompt-ai-review-summary p {
  margin: 0;
  color: rgba(244, 239, 225, 0.78) !important;
  font-family: var(--font-body);
  font-size: 17px !important;
  line-height: 1.42;
  letter-spacing: 0;
  text-transform: none;
}
.prompt-ai-review-issues {
  display: grid;
  gap: 8px;
}
.prompt-ai-review-issue {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 239, 225, 0.1);
}
.prompt-ai-review-issue p {
  grid-column: 2;
  margin: 0;
  color: rgba(244, 239, 225, 0.62) !important;
  font-family: var(--font-body);
  font-size: 14px !important;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.prompt-ai-review-issue strong {
  color: var(--white);
  font-size: 15px;
}
.prompt-ai-severity {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(244, 239, 225, 0.18);
  border-radius: 999px;
  color: rgba(244, 239, 225, 0.66);
  background: rgba(244, 239, 225, 0.04);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.prompt-ai-severity.moderate {
  color: rgba(231, 200, 76, 0.9);
  border-color: rgba(231, 200, 76, 0.28);
  background: rgba(231, 200, 76, 0.08);
}
.prompt-ai-severity.serious {
  color: rgba(255, 126, 96, 0.95);
  border-color: rgba(210, 83, 47, 0.36);
  background: rgba(210, 83, 47, 0.11);
}
.prompt-ai-suggestion-workbench {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 14px;
  min-height: 460px;
}
.prompt-ai-suggestion-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(62vh, 680px);
  overflow: auto;
  padding-right: 3px;
}
.prompt-ai-suggestion-item {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: rgba(11, 13, 10, 0.42);
  border: 1px solid rgba(244, 239, 225, 0.12);
  border-radius: 8px;
  cursor: pointer;
}
.prompt-ai-suggestion-item:hover,
.prompt-ai-suggestion-item.active {
  border-color: rgba(231, 200, 76, 0.32);
  background: rgba(231, 200, 76, 0.06);
}
.prompt-ai-suggestion-item.accepted {
  border-color: rgba(54, 216, 117, 0.32);
}
.prompt-ai-suggestion-item.dismissed {
  opacity: 0.58;
}
.prompt-ai-suggestion-item strong {
  color: var(--white);
  font-size: 14px;
  line-height: 1.18;
}
.prompt-ai-suggestion-diff {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}
.prompt-ai-suggestion-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 11px;
  align-items: baseline;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(244, 239, 225, 0.1);
}
.prompt-ai-suggestion-detail strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}
.prompt-ai-suggestion-detail p {
  margin: 0;
  color: rgba(244, 239, 225, 0.66) !important;
  font-family: var(--font-body);
  font-size: 14px !important;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}
.prompt-ai-empty-diff,
.prompt-ai-no-suggestions {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 13, 10, 0.44);
  text-align: center;
}
.prompt-ai-no-suggestions strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}
.prompt-ai-review-note {
  margin: -2px 0 0;
}
.prompt-admin-workbench {
  display: grid;
  gap: 20px;
}
.prompt-workbench-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.prompt-workbench-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prompt-metric {
  min-width: 0;
}
.prompt-metric span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: rgba(244, 239, 225, 0.54);
}
.prompt-metric b {
  display: block;
  margin-top: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.prompt-metric small {
  display: block;
  margin-top: 6px;
  color: rgba(244, 239, 225, 0.58);
  font-size: 12px;
  line-height: 1.3;
}
.prompt-workbench-persona {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.prompt-workbench-persona > span {
  color: rgba(244, 239, 225, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.prompt-workbench-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}
.prompt-workbench-column {
  min-width: 0;
}
.prompt-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}
.prompt-panel-heading h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.2px;
}
.prompt-panel-heading p {
  margin: 0;
  color: rgba(244, 239, 225, 0.58);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}
.prompt-workbench-band {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.prompt-admin-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}
.prompt-admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.prompt-admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.prompt-admin-toolbar h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prompt-persona-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: rgba(11, 13, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prompt-persona-tabs button {
  min-height: 34px;
  padding: 8px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(244, 239, 225, 0.7);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.prompt-persona-tabs button:hover {
  color: var(--white);
}
.prompt-persona-tabs button.active {
  background: rgba(231, 200, 76, 0.12);
  color: var(--gold);
}
.prompt-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.prompt-preview-grid.compact {
  grid-template-columns: 1fr;
}
.prompt-preview-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 13, 10, 0.42);
  overflow: hidden;
}
.prompt-preview-title {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: rgba(244, 239, 225, 0.64);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.prompt-preview-panel pre {
  min-height: 260px;
  max-height: 420px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: rgba(244, 239, 225, 0.85);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}
.prompt-preview-grid.compact .prompt-preview-panel pre {
  min-height: 170px;
  max-height: 280px;
}
.prompt-markdown-preview {
  min-height: 260px;
  max-height: 420px;
  padding: 14px;
  overflow: auto;
  color: rgba(244, 239, 225, 0.82);
  font-size: 15px;
  line-height: 1.55;
}
.prompt-preview-grid.compact .prompt-markdown-preview {
  min-height: 170px;
  max-height: 260px;
}
.prompt-markdown-preview p,
.prompt-markdown-preview ul,
.prompt-markdown-preview ol {
  margin: 0 0 12px;
}
.prompt-markdown-preview :last-child {
  margin-bottom: 0;
}
.prompt-empty-state {
  padding: 18px;
  border: 1px dashed rgba(244, 239, 225, 0.2);
  border-radius: 8px;
  color: rgba(244, 239, 225, 0.66);
}
.prompt-editor-form {
  display: grid;
  gap: 18px;
}
.prompt-persona-editor {
  display: grid;
  gap: 12px;
}
.prompt-code-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.prompt-code-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.prompt-code-label label,
.prompt-code-label span {
  color: rgba(244, 239, 225, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}
.prompt-code-field .cm-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(11, 13, 10, 0.7);
}
.prompt-code-field .cm-editor.cm-focused {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231, 200, 76, 0.16);
}
.prompt-field-error {
  margin: 0;
  color: #ff9474;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.prompt-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.danger-action {
  color: #ff9474 !important;
  border-color: rgba(210, 83, 47, 0.55) !important;
}
.danger-action:hover {
  background: rgba(210, 83, 47, 0.14) !important;
}
.btn.compact {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}
.prompt-diff-card .cm-mergeView {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.prompt-diff-card .cm-editor {
  min-height: 320px;
}
.prompt-history-table td {
  vertical-align: top;
}
.prompt-history-table td:nth-child(5) {
  max-width: 260px;
  overflow-wrap: anywhere;
}
.prompt-status.active {
  color: #91e6a8;
}
.prompt-status.draft {
  color: var(--gold);
}
.prompt-status.archived {
  color: rgba(244, 239, 225, 0.62);
}

@media (max-width: 880px) {
  .profile-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .profile-hero .actions {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-side-nav {
    position: static;
  }
  .account-nav-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .account-nav-section > span {
    flex: 1 0 100%;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .billing-summary {
    grid-template-columns: 1fr;
  }
  .billing-account-header,
  .billing-access-row {
    flex-direction: column;
  }
  .billing-grid {
    grid-template-columns: 1fr;
  }
  .checkout-required-summary {
    grid-template-columns: 1fr;
  }
  .admin-budget-header {
    flex-direction: column;
  }
  .admin-status-grid,
  .admin-cost-grid,
  .admin-mini-stats {
    grid-template-columns: 1fr;
  }
  .prompt-editor-top,
  .prompt-editor-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .prompt-editor-meta {
    grid-template-columns: 1fr;
  }
  .prompt-primary-actions,
  .prompt-editor-actions,
  .prompt-section-tabs {
    width: 100%;
  }
  .prompt-section-tabs button {
    flex: 1 1 auto;
  }
  .prompt-section-tabs > span {
    display: none;
  }
  .prompt-version-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }
  .prompt-version-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .prompt-ai-review-summary,
  .prompt-ai-suggestion-workbench {
    grid-template-columns: 1fr;
  }
  .prompt-ai-suggestion-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .prompt-workbench-top,
  .prompt-workbench-persona,
  .prompt-panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .prompt-workbench-meta,
  .prompt-workbench-main {
    grid-template-columns: 1fr;
  }
  .prompt-panel-heading p {
    text-align: left;
  }
  .prompt-admin-summary,
  .prompt-preview-grid,
  .prompt-admin-stats {
    grid-template-columns: 1fr;
  }
  .prompt-admin-toolbar {
    flex-direction: column;
  }
  .prompt-persona-tabs {
    width: 100%;
  }
  .prompt-persona-tabs button {
    flex: 1 1 auto;
  }
  .admin-events-table,
  .prompt-history-table {
    display: block;
    overflow-x: auto;
  }
  .settings-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Portfolio shell v2
   ============================================================ */

body.nav-open {
  overflow: hidden;
}

:where(.portfolio-header, .mobile-navigation, .portfolio-footer, .member-footer) a:focus-visible,
:where(.portfolio-header, .mobile-navigation) button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.portfolio-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(9, 12, 8, 0.94);
  border-bottom: 1px solid rgba(244, 239, 225, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.portfolio-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-height: 76px;
}

.portfolio-brand {
  gap: 10px;
}

.portfolio-brand .brand-mark {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(255, 250, 240, 0.58);
  background: var(--gold);
  box-shadow:
    inset 0 0 0 2px rgba(17, 21, 15, 0.1),
    0 0 0 1px rgba(17, 21, 15, 0.82),
    0 8px 24px rgba(231, 200, 76, 0.14);
  font-size: 23px;
}

.portfolio-brand .brand-name {
  color: var(--white);
  font-size: 29px;
  line-height: 0.82;
}

.portfolio-brand .brand-sub {
  margin-top: 4px;
  color: rgba(244, 239, 225, 0.52);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: none;
}

.desktop-navigation {
  display: flex;
  min-width: 0;
  justify-content: center;
}

.public-navigation,
.member-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.public-navigation > a,
.products-navigation > button,
.member-navigation > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 13px;
  color: rgba(244, 239, 225, 0.74);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.public-navigation > a:hover,
.products-navigation > button:hover,
.member-navigation > a:hover,
.public-navigation > a.active,
.products-navigation > button.active,
.member-navigation > a.active {
  color: var(--white);
  background: rgba(244, 239, 225, 0.06);
}

.public-navigation > a.active::after,
.products-navigation > button.active::after,
.member-navigation > a.active::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 3px;
  left: 13px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

.products-navigation {
  position: relative;
}

.products-navigation > button svg {
  transition: transform 150ms ease;
}

.products-navigation > button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.desktop-auth {
  display: flex;
  justify-content: flex-end;
}

.header-auth {
  display: flex;
  align-items: center;
}

.signed-out-actions {
  gap: 7px;
}

.header-sign-in {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  color: rgba(244, 239, 225, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.header-sign-in:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid #fff0a2;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(231, 200, 76, 0.12);
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.header-cta:hover {
  background: #efd86c;
  transform: translateY(-1px);
}

.auth-loading {
  width: 146px;
  height: 40px;
  border-radius: 7px;
  background: rgba(244, 239, 225, 0.06);
}

.account-menu {
  position: relative;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 10px 4px 4px;
  color: var(--chalk);
  background: rgba(244, 239, 225, 0.045);
  border: 1px solid rgba(244, 239, 225, 0.16);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.account-trigger:hover,
.account-trigger[aria-expanded="true"] {
  background: rgba(231, 200, 76, 0.08);
  border-color: rgba(231, 200, 76, 0.42);
}

.account-trigger[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.account-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 50%;
  object-fit: cover;
}

.account-avatar-fallback {
  color: var(--ink);
  background: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
}

.account-popover {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  width: 290px;
  padding: 10px;
  background: #121711;
  border: 1px solid rgba(244, 239, 225, 0.15);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.account-popover-identity {
  display: grid;
  padding: 9px 10px 13px;
  border-bottom: 1px solid rgba(244, 239, 225, 0.1);
}

.account-popover-identity > span,
.account-menu-group > span {
  color: rgba(244, 239, 225, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-popover-identity b {
  margin-top: 3px;
  color: var(--white);
  font-size: 16px;
}

.account-popover-identity small {
  color: rgba(244, 239, 225, 0.55);
  font-size: 12px;
}

.account-menu-group {
  display: grid;
  gap: 2px;
  padding: 10px 0 6px;
}

.account-menu-group > span {
  padding: 0 10px 4px;
}

.account-menu-group a,
.public-site-link,
.account-sign-out {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  color: rgba(244, 239, 225, 0.78);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.account-menu-group a:hover,
.public-site-link:hover {
  color: var(--white);
  background: rgba(244, 239, 225, 0.06);
}

.public-site-link {
  border-top: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 0;
  margin-top: 4px;
  padding-top: 12px;
}

.account-sign-out {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 3px;
  color: #ee8969;
}

.account-sign-out:hover {
  background: rgba(210, 83, 47, 0.12);
}

.products-popover {
  position: fixed;
  top: 67px;
  left: 50%;
  display: grid;
  grid-template-columns: 0.75fr 1.65fr;
  width: min(940px, calc(100vw - 48px));
  overflow: hidden;
  color: var(--chalk);
  background: #10150f;
  border: 1px solid rgba(244, 239, 225, 0.16);
  border-radius: 13px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.56);
  transform: translateX(-50%);
}

.mobile-nav-toggle,
.mobile-navigation,
.mobile-nav-backdrop {
  display: none;
}

/* Public footer */

.portfolio-footer {
  padding: 68px 0 24px;
  color: var(--chalk);
  background: #080a07;
  border-top: 1px solid rgba(244, 239, 225, 0.1);
}

.portfolio-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(580px, 1.55fr);
  gap: clamp(50px, 8vw, 110px);
}

.footer-brand-column p {
  max-width: 400px;
  margin: 22px 0 18px;
  color: rgba(244, 239, 225, 0.59);
  font-size: 17px;
  line-height: 1.38;
}

.footer-principle {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-directory {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.75fr;
  gap: 28px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-group > span {
  margin-bottom: 7px;
  color: rgba(244, 239, 225, 0.38);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-group a {
  color: rgba(244, 239, 225, 0.74);
  font-size: 14px;
  line-height: 1.24;
}

.footer-group a:hover {
  color: var(--white);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 58px;
  padding-top: 20px;
  color: rgba(244, 239, 225, 0.34);
  border-top: 1px solid rgba(244, 239, 225, 0.08);
  font-size: 12px;
}

/* Member shell */

body[data-shell="member"] {
  background:
    radial-gradient(circle at 88% 4%, rgba(47, 157, 98, 0.12), transparent 25rem),
    linear-gradient(145deg, #0b0e0a, #11160f 58%, #090b08);
}

.member-shell .portfolio-header {
  background: rgba(12, 16, 11, 0.97);
  border-bottom-color: rgba(231, 200, 76, 0.16);
}

.member-navigation > a {
  font-size: 14px;
}

#products {
  scroll-margin-top: 96px;
}

.member-footer {
  padding: 22px 0;
  color: rgba(244, 239, 225, 0.48);
  background: #080a07;
  border-top: 1px solid rgba(244, 239, 225, 0.09);
  font-size: 13px;
}

.member-footer .wrap,
.member-footer .wrap > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.member-footer a:hover {
  color: var(--white);
}

/* ============================================================
   Portfolio homepage
   ============================================================ */

.portfolio-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-overline::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.home-portfolio-copy > .portfolio-overline,
.portfolio-hero-copy > .portfolio-overline {
  max-width: 620px;
  line-height: 1.5;
}

.home-portfolio-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 239, 225, 0.12);
  isolation: isolate;
}

.home-portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(231, 200, 76, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(9, 11, 8, 0.35) 0%, rgba(9, 11, 8, 0.78) 100%);
}

.home-portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("img/hero-1-batter.jpg") center 35% / cover no-repeat;
  opacity: 0.48;
  filter: saturate(1.05) contrast(1.02);
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.92) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.home-portfolio-grid {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-portfolio-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
}

.home-hero-instrument {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: grid;
  width: min(50vw, 620px);
  height: min(68vh, 590px);
  overflow: hidden;
  place-items: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.home-hero-instrument > * {
  position: absolute;
}

.home-hero-instrument-glow {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(231, 200, 76, 0.27), rgba(231, 200, 76, 0) 65%);
  border-radius: 50%;
  filter: blur(30px);
  animation: home-hero-pulse 4s ease-in-out infinite;
}

.home-hero-ring {
  border: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 50%;
}

.home-hero-ring-inner {
  width: 280px;
  height: 280px;
  border-color: rgba(231, 200, 76, 0.35);
  animation: home-hero-spin 14s linear infinite;
}

.home-hero-ring-inner::before {
  position: absolute;
  inset: -2px;
  content: "";
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-radius: 50%;
}

.home-hero-ring-middle {
  width: 360px;
  height: 360px;
  border-color: rgba(244, 239, 225, 0.12);
  border-style: dashed;
  animation: home-hero-spin 28s linear infinite reverse;
}

.home-hero-ring-outer {
  width: 440px;
  height: 440px;
  border-color: rgba(231, 200, 76, 0.1);
  animation: home-hero-spin 40s linear infinite;
}

.home-hero-sweep {
  width: 280px;
  height: 280px;
  background: conic-gradient(
    from 0deg,
    rgba(231, 200, 76, 0.55),
    rgba(231, 200, 76, 0) 35%,
    rgba(231, 200, 76, 0) 100%
  );
  border-radius: 50%;
  opacity: 0.85;
  mask: radial-gradient(circle, transparent 0, transparent 40%, black 41%, black 100%);
  -webkit-mask: radial-gradient(circle, transparent 0, transparent 40%, black 41%, black 100%);
  animation: home-hero-spin 4.5s linear infinite;
}

.home-hero-orbit {
  width: 280px;
  height: 280px;
  animation: home-hero-spin 8s linear infinite;
}

.home-hero-orbit-middle {
  width: 360px;
  height: 360px;
  animation-direction: reverse;
  animation-duration: 12s;
}

.home-hero-orbit span {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 18px var(--gold),
    0 0 4px #fff;
  transform: translateX(-50%);
}

.home-hero-orbit-middle span {
  width: 8px;
  height: 8px;
  background: var(--chalk);
  box-shadow: 0 0 16px rgba(244, 239, 225, 0.8);
}

.home-hero-kpi {
  z-index: 4;
  min-width: 154px;
  padding: 13px 16px;
  font-family: var(--font-mono);
  background: rgba(17, 21, 15, 0.82);
  border: 1px solid rgba(231, 200, 76, 0.3);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(6px);
}

.home-hero-kpi-exit {
  top: 7%;
  right: 22%;
  animation: home-hero-float 5s ease-in-out infinite;
}

.home-hero-kpi-launch {
  top: 21%;
  right: 0;
  animation: home-hero-float 6s ease-in-out infinite 1s;
}

.home-hero-kpi > span {
  display: block;
  color: rgba(244, 239, 225, 0.65);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-hero-kpi b {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}

.home-hero-kpi b small {
  margin-left: 4px;
  color: rgba(244, 239, 225, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
}

.home-hero-kpi > i {
  display: block;
  width: 120px;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
  background: rgba(231, 200, 76, 0.15);
  border-radius: 2px;
}

.home-hero-kpi > i > span {
  display: block;
  height: 100%;
  background: var(--gold);
  animation: home-hero-bar 2.4s ease-in-out infinite;
}

@keyframes home-hero-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes home-hero-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes home-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes home-hero-bar {
  0% {
    width: 20%;
  }

  50% {
    width: 90%;
  }

  100% {
    width: 35%;
  }
}

.home-portfolio-copy h1 {
  max-width: 760px;
  margin: 23px 0 24px;
  font-size: clamp(65px, 7.6vw, 112px);
  line-height: 0.82;
  text-transform: none;
}

.home-portfolio-copy h1 span {
  display: block;
}

.home-portfolio-copy h1 span:nth-child(2) {
  color: var(--gold);
}

.home-portfolio-copy p {
  max-width: 650px;
  color: rgba(244, 239, 225, 0.76);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.28;
}

.home-hero-actions,
.home-hitwizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.home-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 38px;
  color: rgba(244, 239, 225, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-hero-note span {
  position: relative;
}

.home-hero-note span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.home-manifesto {
  padding: 72px 0;
  color: var(--ink);
  background: var(--gold);
}

.home-manifesto-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.15fr 0.8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.home-manifesto-grid > span,
.home-audience-grid > div > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-manifesto h2 {
  font-size: clamp(43px, 5vw, 67px);
  line-height: 0.92;
  text-transform: none;
}

.home-manifesto p {
  margin: 0;
  color: rgba(17, 21, 15, 0.72);
  font-size: 19px;
  line-height: 1.37;
}

.home-hitwizard-section {
  padding: 112px 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 21, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 15, 0.035) 1px, transparent 1px), var(--paper);
  background-size: 38px 38px;
}

.home-hitwizard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(55px, 8vw, 104px);
  align-items: center;
}

.hitwizard-story .portfolio-overline {
  color: var(--clay);
}

.hitwizard-story h2 {
  margin: 18px 0 24px;
  font-size: clamp(52px, 6.2vw, 82px);
  line-height: 0.89;
  text-transform: none;
}

.hitwizard-story > p {
  max-width: 610px;
  color: rgba(17, 21, 15, 0.68);
  font-size: 20px;
  line-height: 1.38;
}

.hitwizard-capabilities {
  display: grid;
  gap: 10px;
  margin-top: 27px;
}

.hitwizard-capabilities span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(17, 21, 15, 0.76);
  font-size: 16px;
  font-weight: 800;
}

.hitwizard-capabilities svg {
  color: var(--clay);
}

.portfolio-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 15px;
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.hitwizard-product-proof {
  display: block;
  min-width: 0;
  color: var(--chalk);
  border-radius: 15px;
  box-shadow:
    22px 25px 0 var(--clay),
    0 38px 90px rgba(17, 21, 15, 0.24);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hitwizard-product-proof:hover {
  box-shadow:
    18px 21px 0 var(--clay),
    0 42px 96px rgba(17, 21, 15, 0.3);
  transform: translate(4px, 4px);
}

.hitwizard-product-proof:focus-visible {
  outline: 3px solid var(--turf);
  outline-offset: 7px;
}

.hitwizard-product-proof figure {
  margin: 0;
  overflow: hidden;
  background: #090b09;
  border: 1px solid rgba(17, 21, 15, 0.24);
  border-radius: 15px;
}

.hitwizard-proof-stage {
  position: relative;
  min-height: 610px;
  padding: 24px 74px 28px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(50, 62, 47, 0.32), transparent 46%), #090b09;
}

.hitwizard-proof-main,
.hitwizard-proof-analysis {
  display: block;
  overflow: hidden;
  background: #0b0d0c;
  border: 1px solid rgba(244, 239, 225, 0.17);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.52);
}

.hitwizard-proof-main {
  width: min(88%, 480px);
  aspect-ratio: 0.77;
  border-radius: 9px;
}

.hitwizard-proof-analysis {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 45%;
  aspect-ratio: 1.18;
  border: 3px solid var(--paper);
  border-radius: 7px;
  transform: rotate(1.8deg);
}

.hitwizard-proof-main img,
.hitwizard-proof-analysis img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hitwizard-proof-main img {
  object-position: center top;
}

.hitwizard-proof-analysis img {
  object-position: center 52%;
}

.hitwizard-product-proof figcaption {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 20px 18px;
  background: #121711;
  border-top: 1px solid rgba(244, 239, 225, 0.13);
}

.hitwizard-product-proof figcaption small,
.hitwizard-product-proof figcaption b {
  display: block;
}

.hitwizard-product-proof figcaption small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hitwizard-product-proof figcaption b {
  margin-top: 5px;
  color: var(--white);
  font-size: 15px;
}

.hitwizard-proof-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: rgba(244, 239, 225, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.hitwizard-product-proof:hover .hitwizard-proof-link {
  color: var(--white);
}

.home-audience-section {
  padding: 100px 0;
  background: #11150f;
}

.home-audience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 16px;
}

.home-audience-grid > div {
  padding: 18px 32px 18px 0;
}

.home-audience-grid > div > span {
  color: var(--gold);
}

.home-audience-grid h2 {
  margin-top: 16px;
  font-size: clamp(45px, 5vw, 64px);
  text-transform: none;
}

.audience-entry {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 28px;
  flex-direction: column;
  overflow: hidden;
  background: #182017;
  border: 1px solid rgba(244, 239, 225, 0.13);
  border-radius: 12px;
  isolation: isolate;
}

.audience-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  transition:
    opacity 180ms ease,
    transform 300ms ease;
}

.audience-player::before {
  background:
    linear-gradient(rgba(9, 12, 8, 0.35), rgba(9, 12, 8, 0.88)),
    url("img/hero-5-swing-golden.jpg") center / cover;
}

.audience-coach::before {
  background:
    linear-gradient(rgba(9, 12, 8, 0.35), rgba(9, 12, 8, 0.88)),
    url("img/hero-7-dugout-bench.jpg") center / cover;
}

.audience-entry:hover::before {
  opacity: 0.36;
  transform: scale(1.03);
}

.audience-entry small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.audience-entry b {
  max-width: 320px;
  margin-top: auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 400;
  line-height: 0.94;
  text-transform: none;
}

.audience-entry > span {
  max-width: 340px;
  margin-top: 13px;
  color: rgba(244, 239, 225, 0.64);
  font-size: 15px;
  line-height: 1.32;
}

.audience-entry > svg {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--white);
}

.home-final-cta,
.portfolio-cta-section {
  padding: 84px 0;
  color: var(--ink);
  background: var(--turf);
}

.home-final-cta-inner,
.portfolio-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.home-final-cta-inner > div:first-child > span,
.portfolio-cta-panel > div:first-child > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-final-cta h2,
.portfolio-cta-panel h2 {
  max-width: 700px;
  margin-top: 12px;
  font-size: clamp(47px, 5.5vw, 70px);
  text-transform: none;
}

.home-final-cta-inner > div:last-child,
.portfolio-cta-panel > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.home-final-cta .btn.primary,
.portfolio-cta-panel .btn.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: none;
}

.home-final-cta .btn.secondary,
.portfolio-cta-panel .btn.secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 21, 15, 0.36);
}

/* Shared editorial introduction for public utility and conversion pages. */
.public-shell .page-hero.compact {
  min-height: 355px;
  padding: 76px 0 62px;
}

.public-shell .page-hero.compact > .wrap:not(.hero-grid) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.public-shell .page-hero.compact > .wrap:not(.hero-grid) .eyebrow {
  grid-column: 1;
  grid-row: 1;
  max-width: 760px;
  margin: 0;
  line-height: 1.45;
}

.public-shell .page-hero.compact > .wrap:not(.hero-grid) h1,
.public-shell .page-hero.compact > .wrap:not(.hero-grid) .lead {
  grid-column: 2;
}

.public-shell .page-hero.compact > .wrap:not(.hero-grid) h1 {
  grid-column: 1;
  grid-row: 2;
  max-width: 900px;
  margin-bottom: 6px;
  font-size: clamp(56px, 7vw, 88px);
  text-transform: none;
}

.public-shell .page-hero.compact > .wrap:not(.hero-grid) .lead {
  grid-column: 1;
  grid-row: 3;
  max-width: 760px;
  margin-bottom: 0;
}

/* ============================================================
   Products page
   ============================================================ */

.portfolio-hero {
  position: relative;
  padding: 104px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(231, 200, 76, 0.13), transparent 24rem), #0d110c;
  border-bottom: 1px solid rgba(244, 239, 225, 0.12);
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 7%;
  bottom: 0;
  width: 1px;
  background: rgba(244, 239, 225, 0.08);
  box-shadow:
    -120px 0 rgba(244, 239, 225, 0.04),
    -240px 0 rgba(244, 239, 225, 0.025);
}

.portfolio-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.8fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.portfolio-hero-copy h1 {
  margin: 22px 0 24px;
  font-size: clamp(68px, 8vw, 112px);
  line-height: 0.84;
  text-transform: none;
}

.portfolio-hero-copy > p {
  max-width: 680px;
  color: rgba(244, 239, 225, 0.72);
  font-size: 23px;
  line-height: 1.32;
}

.portfolio-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.journey-map {
  position: relative;
  display: grid;
  gap: 10px;
}

.journey-map-line {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 25px;
  width: 1px;
  background: linear-gradient(var(--mint), var(--gold), var(--clay));
  opacity: 0.5;
}

.journey-map-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 18px 18px 18px 0;
  background: rgba(244, 239, 225, 0.035);
  border: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 10px;
  transition:
    background 150ms ease,
    transform 150ms ease;
}

.journey-map-step:hover {
  background: rgba(244, 239, 225, 0.065);
  transform: translateX(4px);
}

.journey-map-step > span {
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border: 8px solid #0d110c;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-1px);
}

.journey-map-step.step-build > span {
  background: var(--gold);
}

.journey-map-step.step-advance > span {
  color: var(--white);
  background: var(--clay);
}

.journey-map-step small,
.journey-map-step b {
  display: block;
}

.journey-map-step small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.journey-map-step b {
  margin-top: 4px;
  color: var(--white);
  font-size: 18px;
}

.journey-map-step p {
  margin: 6px 0 0;
  color: rgba(244, 239, 225, 0.5);
  font-size: 13px;
  line-height: 1.25;
}

.journey-map-step > svg {
  color: rgba(244, 239, 225, 0.45);
}

.portfolio-promise {
  padding: 36px 0;
  color: var(--ink);
  background: var(--gold);
}

.portfolio-promise-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.portfolio-promise-grid > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-promise-grid > p {
  margin: 0;
  color: rgba(17, 21, 15, 0.74);
  font-size: 17px;
  line-height: 1.3;
}

.portfolio-promise-grid > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
}

.portfolio-promise-grid > div span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}

.product-paths-section {
  padding: 110px 0;
  background: #10140e;
}

.product-paths-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.1fr 0.7fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 62px;
}

.product-paths-heading > span {
  align-self: start;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-paths-heading h2 {
  font-size: clamp(54px, 6vw, 78px);
  text-transform: none;
}

.product-paths-heading p {
  margin: 0;
  color: rgba(244, 239, 225, 0.6);
  font-size: 18px;
  line-height: 1.36;
}

.product-paths {
  display: grid;
  gap: 34px;
}

.product-path {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 55px;
  padding: clamp(32px, 5vw, 58px);
  background: rgba(244, 239, 225, 0.032);
  border: 1px solid rgba(244, 239, 225, 0.12);
  border-radius: 15px;
  scroll-margin-top: 100px;
}

.product-path-header {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-content: start;
}

.product-path-number {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--mint);
}

.product-path-gold .product-path-number {
  color: var(--gold);
}

.product-path-clay .product-path-number {
  color: #ed8463;
}

.product-path-number > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
}

.product-path-gold .product-path-number > span {
  background: var(--gold);
}

.product-path-clay .product-path-number > span {
  color: var(--white);
  background: var(--clay);
}

.product-path-header > div:nth-child(2) > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-path-header h3 {
  margin: 15px 0 18px;
  color: var(--white);
  font-size: clamp(43px, 4.8vw, 62px);
  line-height: 0.92;
  text-transform: none;
}

.product-path-header p {
  color: rgba(244, 239, 225, 0.6);
  font-size: 17px;
  line-height: 1.38;
}

.product-path-offerings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-product-card {
  display: flex;
  min-height: 310px;
  padding: 23px;
  flex-direction: column;
  background: #171c15;
  border: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 10px;
}

.portfolio-product-card > span {
  align-self: flex-start;
  padding: 4px 8px;
  color: var(--gold);
  background: rgba(231, 200, 76, 0.08);
  border: 1px solid rgba(231, 200, 76, 0.25);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-product-card h4 {
  margin: 24px 0 12px;
  color: var(--white);
  font-size: 31px;
  line-height: 0.95;
  text-transform: none;
}

.portfolio-product-card p {
  color: rgba(244, 239, 225, 0.66);
  font-size: 15px;
  line-height: 1.36;
}

.portfolio-product-card > small {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(244, 239, 225, 0.4);
  border-top: 1px solid rgba(244, 239, 225, 0.08);
  font-size: 11px;
  line-height: 1.32;
}

.portfolio-product-card > a {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

/* ============================================================
   Responsive portfolio shell and pages
   ============================================================ */

@media (max-width: 1120px) and (min-width: 1041px) {
  .portfolio-nav {
    gap: 18px;
  }
  .public-navigation > a,
  .products-navigation > button,
  .member-navigation > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 14px;
  }
  .account-trigger-name {
    display: none;
  }
}

@media (max-width: 1040px) {
  .portfolio-nav {
    display: flex;
    min-height: 66px;
    padding: 8px 0;
  }

  .portfolio-brand .brand-name {
    font-size: 28px;
  }

  .desktop-navigation,
  .desktop-auth {
    display: none;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-left: auto;
    padding: 0;
    color: var(--white);
    background: rgba(244, 239, 225, 0.05);
    border: 1px solid rgba(244, 239, 225, 0.17);
    border-radius: 8px;
    cursor: pointer;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    display: block;
    padding: 0;
    background: rgba(0, 0, 0, 0.62);
    border: 0;
    backdrop-filter: blur(3px);
  }

  .mobile-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    display: flex;
    width: min(440px, 100%);
    height: 100dvh;
    padding: 0 24px 24px;
    flex-direction: column;
    overflow-y: auto;
    color: var(--chalk);
    background:
      radial-gradient(circle at 100% 0, rgba(231, 200, 76, 0.12), transparent 19rem), #10140f;
    border-left: 1px solid rgba(244, 239, 225, 0.14);
    box-shadow: -22px 0 70px rgba(0, 0, 0, 0.5);
    animation: mobile-drawer-in 180ms ease-out;
  }

  @keyframes mobile-drawer-in {
    from {
      transform: translateX(30px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .mobile-nav-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    color: rgba(244, 239, 225, 0.52);
    background: rgba(16, 20, 15, 0.96);
    border-bottom: 1px solid rgba(244, 239, 225, 0.1);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-nav-header button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(244, 239, 225, 0.14);
    border-radius: 8px;
    cursor: pointer;
  }

  .mobile-nav-content {
    display: grid;
    gap: 28px;
    padding: 25px 0;
  }

  .mobile-nav-group {
    display: grid;
    gap: 4px;
  }

  .mobile-nav-label {
    margin-bottom: 8px;
    color: rgba(244, 239, 225, 0.38);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-product-link {
    display: grid;
    grid-template-columns: 29px 68px 1fr auto;
    gap: 9px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid rgba(244, 239, 225, 0.1);
  }

  .mobile-product-link > span {
    color: rgba(244, 239, 225, 0.32);
    font-family: var(--font-mono);
    font-size: 9px;
  }

  .mobile-product-link b {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-product-link small {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-product-link svg {
    color: rgba(244, 239, 225, 0.4);
  }

  .mobile-overview-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-top: 6px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-explore-links > a {
    display: flex;
    min-height: 42px;
    align-items: center;
    color: rgba(244, 239, 225, 0.75);
    border-bottom: 1px solid rgba(244, 239, 225, 0.07);
    font-size: 16px;
    font-weight: 700;
  }

  .mobile-explore-links > a.active {
    color: var(--gold);
  }

  .header-auth-mobile {
    width: 100%;
    margin-top: auto;
  }

  .header-auth-mobile.signed-out-actions {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(244, 239, 225, 0.12);
  }

  .header-auth-mobile .header-sign-in,
  .header-auth-mobile .header-cta {
    min-height: 46px;
    justify-content: center;
  }

  .mobile-account {
    display: grid;
    padding-top: 18px;
    border-top: 1px solid rgba(244, 239, 225, 0.12);
  }

  .mobile-account-identity {
    display: flex;
    gap: 11px;
    align-items: center;
  }

  .mobile-account-identity > span,
  .mobile-account-identity b,
  .mobile-account-identity small {
    display: block;
    min-width: 0;
  }

  .mobile-account-identity b {
    color: var(--white);
    font-size: 15px;
  }

  .mobile-account-identity small {
    max-width: 280px;
    overflow: hidden;
    color: rgba(244, 239, 225, 0.46);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-account-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 14px;
  }

  .mobile-account-links a {
    padding: 8px 10px;
    color: rgba(244, 239, 225, 0.72);
    background: rgba(244, 239, 225, 0.04);
    border-radius: 6px;
    font-size: 13px;
  }

  .mobile-sign-out {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 8px 0;
    color: #ee8969;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 13px;
  }

  .member-mobile-links > a {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(244, 239, 225, 0.1);
  }

  .member-mobile-links > a span,
  .member-mobile-links > a b,
  .member-mobile-links > a small {
    display: block;
  }

  .member-mobile-links > a b {
    color: var(--white);
    font-size: 16px;
  }

  .member-mobile-links > a small {
    margin-top: 3px;
    color: rgba(244, 239, 225, 0.46);
    font-size: 12px;
  }

  .member-mobile-links > a.active b {
    color: var(--gold);
  }

  .member-mobile-links .view-public-site {
    min-height: 45px;
    margin-top: 10px;
    color: rgba(244, 239, 225, 0.6);
    border: 0;
    font-size: 13px;
  }

  .home-portfolio-grid,
  .portfolio-hero-grid,
  .home-hitwizard-grid {
    grid-template-columns: 1fr;
  }

  .home-portfolio-grid {
    padding-top: 78px;
    padding-bottom: 52px;
  }

  .home-hero-instrument {
    display: none;
  }

  .hitwizard-product-proof {
    width: min(calc(100% - 22px), 700px);
    margin: 0 auto 25px;
  }

  .home-manifesto-grid,
  .product-paths-heading {
    grid-template-columns: 0.35fr 1fr;
  }

  .home-manifesto-grid p,
  .product-paths-heading p {
    grid-column: 2;
  }

  .home-audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-audience-grid > div {
    grid-column: 1 / -1;
  }

  .portfolio-promise-grid {
    grid-template-columns: 0.55fr 1.45fr;
  }

  .portfolio-promise-grid > div {
    grid-column: 2;
  }

  .product-path {
    grid-template-columns: 1fr;
  }

  .portfolio-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .portfolio-brand-copy .brand-sub {
    display: none;
  }

  .public-shell .page-hero.compact {
    min-height: auto;
    padding: 58px 0 44px;
  }

  .public-shell .page-hero.compact > .wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .public-shell .page-hero.compact .eyebrow,
  .public-shell .page-hero.compact h1,
  .public-shell .page-hero.compact .lead {
    grid-column: 1;
    grid-row: auto;
  }

  .public-shell .page-hero.compact h1 {
    font-size: 52px;
  }

  .home-portfolio-hero {
    min-height: auto;
  }

  .home-portfolio-hero::after {
    background-position: 58% 20%;
  }

  .home-portfolio-grid {
    min-height: auto;
    padding-top: 58px;
  }

  .home-portfolio-copy h1,
  .portfolio-hero-copy h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .home-portfolio-copy p,
  .portfolio-hero-copy > p {
    font-size: 19px;
  }

  .home-hero-note span:not(:last-child)::after {
    display: none;
  }

  .home-manifesto,
  .home-hitwizard-section,
  .home-audience-section,
  .product-paths-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .home-manifesto-grid,
  .product-paths-heading,
  .portfolio-promise-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-manifesto-grid p,
  .product-paths-heading p,
  .portfolio-promise-grid > div {
    grid-column: auto;
  }

  .home-manifesto h2,
  .hitwizard-story h2,
  .product-paths-heading h2 {
    font-size: clamp(45px, 14vw, 64px);
  }

  .home-audience-grid,
  .product-path-offerings,
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .hitwizard-product-proof {
    width: calc(100% - 12px);
    margin: 0 12px 14px 0;
    box-shadow:
      12px 14px 0 var(--clay),
      0 26px 60px rgba(17, 21, 15, 0.2);
  }

  .hitwizard-product-proof:hover {
    box-shadow:
      12px 14px 0 var(--clay),
      0 26px 60px rgba(17, 21, 15, 0.2);
    transform: none;
  }

  .hitwizard-proof-stage {
    min-height: clamp(440px, 126vw, 570px);
    padding: 14px 44px 18px 12px;
  }

  .hitwizard-proof-main {
    width: 94%;
    aspect-ratio: 0.72;
  }

  .hitwizard-proof-analysis {
    right: 8px;
    bottom: 14px;
    width: 54%;
    border-width: 2px;
  }

  .hitwizard-product-proof figcaption {
    min-height: 78px;
    padding: 15px 14px;
  }

  .hitwizard-product-proof figcaption b {
    font-size: 13px;
  }

  .hitwizard-proof-link {
    font-size: 0;
  }

  .hitwizard-proof-link svg {
    width: 19px;
    height: 19px;
  }

  .home-audience-grid > div {
    grid-column: auto;
    padding-right: 0;
  }

  .home-final-cta-inner,
  .portfolio-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-final-cta-inner > div:last-child,
  .portfolio-cta-panel > div:last-child {
    justify-content: flex-start;
  }

  .portfolio-hero {
    padding-top: 74px;
    padding-bottom: 70px;
  }

  .journey-map-step {
    grid-template-columns: 45px 1fr auto;
  }

  .journey-map-step > span {
    width: 44px;
    height: 44px;
  }

  .journey-map-line {
    left: 22px;
  }

  .product-path {
    gap: 35px;
    padding: 26px 18px;
  }

  .product-path-header {
    grid-template-columns: 44px 1fr;
    gap: 13px;
  }

  .product-path-number > span {
    width: 42px;
    height: 42px;
  }

  .product-path-header h3 {
    font-size: 42px;
  }

  .portfolio-product-card {
    min-height: 280px;
  }

  .portfolio-footer {
    padding-top: 52px;
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-base,
  .member-footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .mobile-navigation {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mobile-product-link {
    grid-template-columns: 25px 64px 1fr auto;
  }

  .portfolio-brand .brand-name {
    font-size: 26px;
  }

  .home-hero-actions,
  .portfolio-hero-actions,
  .home-final-cta-inner > div:last-child,
  .portfolio-cta-panel > div:last-child {
    display: grid;
    width: 100%;
  }

  .home-hero-actions .btn,
  .portfolio-hero-actions .btn,
  .home-final-cta .btn,
  .portfolio-cta-panel .btn {
    width: 100%;
  }

  .home-portfolio-copy h1,
  .portfolio-hero-copy h1 {
    font-size: 56px;
  }

  .footer-directory {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-instrument *,
  .home-hero-instrument *::before {
    animation: none !important;
  }

  .mobile-navigation {
    animation: none;
  }
  .hitwizard-product-proof {
    transition: none;
  }
  .audience-entry::before,
  .journey-map-step {
    transition: none;
  }
}

/* Focused audience pages: one product proof for coaches, one conversation for families. */
.coach-reimagined-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 94px;
  background:
    radial-gradient(circle at 78% 24%, rgba(47, 157, 98, 0.2), transparent 28rem),
    linear-gradient(135deg, #0b0e0a 0%, #151b12 64%, #0a0d09 100%);
  border-bottom: 1px solid rgba(244, 239, 225, 0.14);
}

.coach-reimagined-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -215px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(244, 239, 225, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(244, 239, 225, 0.025),
    0 0 0 140px rgba(244, 239, 225, 0.018);
  pointer-events: none;
}

.coach-reimagined-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: end;
  gap: clamp(48px, 7vw, 104px);
}

.coach-reimagined-copy h1,
.player-reimagined-copy h1 {
  max-width: 780px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.coach-reimagined-copy h1 span,
.player-reimagined-copy h1 span {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 3px 12px 1px;
  color: var(--ink);
  background: var(--gold);
  transform: rotate(-1deg);
}

.audience-hero-eyebrow {
  max-width: 620px;
  margin: 0 0 18px;
  line-height: 1.45;
}

.coach-reimagined-copy .lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(244, 239, 225, 0.78);
  font-size: clamp(21px, 2vw, 26px);
}

.coach-reimagined-thesis {
  position: relative;
  padding: 32px;
  color: var(--ink);
  background: var(--paper);
  border-top: 6px solid var(--clay);
  box-shadow: 20px 22px 0 rgba(210, 83, 47, 0.95);
}

.coach-reimagined-thesis > span,
.coach-workbench-story > span,
.player-conversation-heading > span,
.player-conversation-panel > span {
  color: var(--clay-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.coach-reimagined-thesis > p {
  margin: 18px 0 30px;
  font-size: 23px;
  font-weight: 650;
  line-height: 1.28;
}

.coach-reimagined-thesis > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-line);
}

.coach-reimagined-thesis b {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coach-reimagined-thesis i {
  flex: 1;
  height: 1px;
  background: rgba(17, 21, 15, 0.25);
}

.coach-proof-section {
  padding: 104px 0 116px;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(17, 21, 15, 0.035) 1px, transparent 1px), var(--paper);
  background-size: 46px 100%;
}

.coach-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 42px;
}

.coach-proof-heading h2 {
  max-width: 780px;
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.92;
  text-wrap: balance;
}

.coach-proof-heading > p {
  margin: 0 0 5px;
  color: rgba(17, 21, 15, 0.7);
  font-size: 21px;
}

.coach-workbench {
  overflow: hidden;
  background: #fbf7ea;
  border: 1px solid rgba(17, 21, 15, 0.25);
  box-shadow: 22px 24px 0 rgba(17, 21, 15, 0.08);
}

.coach-workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 16px 22px;
  color: var(--chalk);
  background: var(--ink);
}

.coach-workbench-bar > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.coach-workbench-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.coach-workbench-bar p {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.coach-workbench-bar small,
.coach-workbench-status {
  color: rgba(244, 239, 225, 0.58);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.coach-workbench-status {
  color: var(--mint);
}

.coach-workbench-body {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 470px;
}

.coach-workbench-tabs {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  background: var(--paper-2);
  border-right: 1px solid var(--paper-line);
}

.coach-workbench-tabs button {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 19px 22px;
  color: rgba(17, 21, 15, 0.68);
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.coach-workbench-tabs button span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.coach-workbench-tabs button:hover,
.coach-workbench-tabs button:focus-visible,
.coach-workbench-tabs button.active {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  border-left-color: var(--clay);
  outline: none;
}

.coach-workbench-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.7fr);
  align-items: stretch;
}

.coach-workbench-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 70px);
}

.coach-workbench-story h3 {
  max-width: 660px;
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(48px, 4.8vw, 69px);
  font-weight: 400;
  line-height: 0.94;
  text-wrap: balance;
}

.coach-workbench-story > p {
  max-width: 650px;
  margin: 0;
  color: rgba(17, 21, 15, 0.72);
  font-size: 20px;
}

.coach-workbench-story blockquote {
  margin: 32px 0 0;
  padding: 15px 0 15px 20px;
  color: var(--turf-dark);
  border-left: 4px solid var(--turf);
  font-size: 18px;
  font-weight: 700;
}

.coach-workbench-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: rgba(232, 221, 196, 0.52);
  border-left: 1px solid var(--paper-line);
}

.coach-workbench-detail small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coach-workbench-detail ul {
  display: grid;
  gap: 18px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.coach-workbench-detail li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  font-weight: 700;
}

.coach-workbench-detail li span {
  color: var(--turf-dark);
}

.coach-workbench-detail > p {
  margin: auto 0 0;
  padding-top: 22px;
  color: rgba(17, 21, 15, 0.62);
  border-top: 1px solid var(--paper-line);
  font-size: 15px;
}

.coach-workbench-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  color: var(--chalk);
  background: var(--ink-2);
  border-top: 1px solid rgba(244, 239, 225, 0.12);
}

.coach-workbench-footer span {
  font-size: 20px;
  font-weight: 700;
}

.coach-workbench-footer p {
  margin: 2px 0 0;
  color: rgba(244, 239, 225, 0.6);
  font-size: 15px;
}

.player-reimagined-page {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 98px 0 112px;
  background:
    radial-gradient(circle at 8% 5%, rgba(210, 83, 47, 0.23), transparent 30rem),
    radial-gradient(circle at 92% 86%, rgba(55, 120, 166, 0.22), transparent 34rem),
    linear-gradient(145deg, #0a0d09, #151a12 58%, #090c08);
}

.player-reimagined-page::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(244, 239, 225, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.09) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  pointer-events: none;
}

.player-reimagined-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  align-items: center;
  gap: clamp(52px, 7vw, 100px);
}

.player-reimagined-copy {
  padding-bottom: 24px;
}

.player-reimagined-copy h1 {
  max-width: 620px;
  font-size: clamp(52px, 5vw, 70px);
}

.player-reimagined-copy .lead {
  max-width: 590px;
  margin-bottom: 32px;
  color: rgba(244, 239, 225, 0.74);
  font-size: 23px;
}

.player-conversation {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(244, 239, 225, 0.32);
  box-shadow:
    18px 20px 0 var(--clay),
    0 30px 80px rgba(0, 0, 0, 0.34);
}

.player-conversation-heading {
  padding: 30px 34px 25px;
  border-bottom: 1px solid var(--paper-line);
}

.player-conversation-heading h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.player-role-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--paper-2);
  border-bottom: 1px solid var(--paper-line);
}

.player-role-tabs button {
  min-height: 68px;
  padding: 13px 12px;
  color: rgba(17, 21, 15, 0.65);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--paper-line);
  border-bottom: 4px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
}

.player-role-tabs button:last-child {
  border-right: 0;
}

.player-role-tabs button:hover,
.player-role-tabs button:focus-visible,
.player-role-tabs button.active {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
  border-bottom-color: var(--clay);
  outline: none;
}

.player-conversation-panel {
  min-height: 390px;
  padding: 32px 34px 36px;
}

.player-conversation-panel h3 {
  max-width: 590px;
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.player-conversation-panel > p {
  max-width: 610px;
  margin: 0 0 24px;
  color: rgba(17, 21, 15, 0.67);
  font-size: 17px;
}

.player-prompt-list {
  display: grid;
  border-top: 1px solid var(--paper-line);
}

.player-prompt-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 11px 3px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.player-prompt-list a b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--chalk);
  background: var(--ink);
  border-radius: 50%;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.player-prompt-list a:hover b,
.player-prompt-list a:focus-visible b {
  background: var(--clay);
  transform: translateX(3px);
}

.player-prompt-list a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.player-conversation-note {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 34px;
  background: var(--paper-2);
  border-top: 1px solid var(--paper-line);
}

.player-conversation-note p {
  margin: 0;
  color: rgba(17, 21, 15, 0.68);
  font-size: 14px;
}

.player-conversation-note b {
  color: var(--ink);
}

.player-conversation-note a {
  color: var(--clay-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .coach-reimagined-grid,
  .player-reimagined-grid {
    grid-template-columns: 1fr;
  }

  .coach-reimagined-thesis {
    max-width: 620px;
  }

  .coach-proof-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .coach-proof-heading > p {
    max-width: 620px;
  }

  .coach-workbench-panel {
    grid-template-columns: 1fr;
  }

  .coach-workbench-detail {
    border-top: 1px solid var(--paper-line);
    border-left: 0;
  }

  .coach-workbench-detail > p {
    margin-top: 0;
  }

  .player-reimagined-grid {
    gap: 48px;
  }

  .player-reimagined-copy {
    max-width: 760px;
  }

  .player-conversation {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .coach-reimagined-hero,
  .player-reimagined-page {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .coach-reimagined-copy h1,
  .player-reimagined-copy h1 {
    font-size: clamp(46px, 12vw, 56px);
  }

  .coach-reimagined-copy .actions {
    display: grid;
  }

  .coach-reimagined-thesis {
    padding: 26px;
    box-shadow: 12px 13px 0 var(--clay);
  }

  .coach-reimagined-thesis > div {
    flex-wrap: wrap;
  }

  .coach-proof-section {
    padding: 78px 0 88px;
  }

  .coach-proof-heading h2 {
    font-size: 54px;
  }

  .coach-workbench-bar,
  .coach-workbench-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .coach-workbench-status {
    margin-left: 62px;
  }

  .coach-workbench-body {
    grid-template-columns: 1fr;
  }

  .coach-workbench-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--paper-line);
  }

  .coach-workbench-tabs button {
    grid-template-columns: 25px 1fr;
    padding: 15px 13px;
    border-right: 1px solid var(--paper-line);
    border-bottom: 4px solid transparent;
    border-left: 0;
    font-size: 14px;
  }

  .coach-workbench-tabs button:hover,
  .coach-workbench-tabs button:focus-visible,
  .coach-workbench-tabs button.active {
    border-bottom-color: var(--clay);
    border-left-color: transparent;
  }

  .coach-workbench-story,
  .coach-workbench-detail {
    padding: 32px 24px;
  }

  .coach-workbench-story h3 {
    font-size: 48px;
  }

  .coach-workbench-footer .btn {
    width: 100%;
  }

  .player-reimagined-page {
    min-height: 0;
  }

  .player-conversation {
    box-shadow: 10px 12px 0 var(--clay);
  }

  .player-role-tabs {
    grid-template-columns: 1fr;
  }

  .player-role-tabs button,
  .player-role-tabs button:last-child {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--paper-line);
    border-left: 4px solid transparent;
    text-align: left;
  }

  .player-role-tabs button:hover,
  .player-role-tabs button:focus-visible,
  .player-role-tabs button.active {
    border-bottom-color: var(--paper-line);
    border-left-color: var(--clay);
  }

  .player-conversation-heading,
  .player-conversation-panel,
  .player-conversation-note {
    padding-right: 22px;
    padding-left: 22px;
  }

  .player-conversation-heading h2,
  .player-conversation-panel h3 {
    font-size: 42px;
  }

  .player-conversation-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-prompt-list a b {
    transition: none;
  }
}

/* Honest product architecture: one flagship product and clearly labelled specialist support. */
.products-popover {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(820px, calc(100vw - 48px));
  padding: 12px;
  gap: 12px;
}

.products-popover-feature {
  position: relative;
  display: flex;
  min-height: 250px;
  padding: 26px;
  flex-direction: column;
  overflow: hidden;
  background: #182017;
  border: 1px solid rgba(244, 239, 225, 0.15);
  border-radius: 9px;
  isolation: isolate;
}

.products-popover-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background:
    linear-gradient(rgba(9, 12, 8, 0.28), rgba(9, 12, 8, 0.94)),
    url("img/hero-5-swing-golden.jpg") center 42% / cover;
  transition:
    opacity 180ms ease,
    transform 300ms ease;
}

.products-popover-jl::before {
  background:
    linear-gradient(rgba(9, 12, 8, 0.24), rgba(9, 12, 8, 0.94)),
    url("img/hero-7-dugout-bench.jpg") center 58% / cover;
}

.products-popover-feature:hover::before,
.products-popover-feature.active::before {
  opacity: 0.42;
  transform: scale(1.025);
}

.products-popover-feature small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.products-popover-feature b {
  margin-top: auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 0.95;
}

.products-popover-feature > span {
  max-width: 420px;
  margin-top: 10px;
  color: rgba(244, 239, 225, 0.65);
  font-size: 15px;
  line-height: 1.35;
}

.products-popover-feature svg {
  position: absolute;
  top: 23px;
  right: 23px;
  color: var(--white);
}

.products-popover-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 3px 12px;
  color: rgba(244, 239, 225, 0.68);
  font-size: 13px;
  font-weight: 800;
  grid-column: 1 / -1;
}

.products-popover-overview:hover {
  color: var(--white);
}

.mobile-hitwizard-link {
  grid-template-columns: minmax(90px, auto) 1fr auto;
}

.simple-portfolio-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 7% 8%, rgba(210, 83, 47, 0.2), transparent 30rem),
    radial-gradient(circle at 93% 76%, rgba(47, 157, 98, 0.18), transparent 34rem),
    linear-gradient(145deg, #0a0d09, #151a12 58%, #090c08);
  border-bottom: 1px solid rgba(244, 239, 225, 0.12);
}

.simple-portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(244, 239, 225, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.simple-portfolio-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.simple-portfolio-copy .eyebrow {
  max-width: 650px;
  margin: 0 0 20px;
  line-height: 1.45;
}

.simple-portfolio-copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(64px, 6.7vw, 94px);
  font-weight: 400;
  line-height: 0.9;
  text-wrap: balance;
}

.simple-portfolio-copy .lead {
  max-width: 670px;
  margin-bottom: 32px;
  color: rgba(244, 239, 225, 0.74);
  font-size: 22px;
}

.simple-portfolio-feature {
  position: relative;
  display: flex;
  min-height: 470px;
  padding: 34px;
  flex-direction: column;
  overflow: hidden;
  background: #182017;
  border: 1px solid rgba(244, 239, 225, 0.18);
  border-radius: 12px;
  box-shadow: 18px 20px 0 var(--clay);
  isolation: isolate;
}

.simple-portfolio-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background:
    linear-gradient(rgba(9, 12, 8, 0.22), rgba(9, 12, 8, 0.93)),
    url("img/hero-5-swing-golden.jpg") 48% center / cover;
  transition:
    opacity 180ms ease,
    transform 300ms ease;
}

.simple-portfolio-feature:hover::before {
  opacity: 0.48;
  transform: scale(1.025);
}

.simple-portfolio-feature small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.simple-portfolio-feature b {
  margin-top: auto;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(62px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.9;
}

.simple-portfolio-feature > span {
  max-width: 440px;
  margin-top: 16px;
  color: rgba(244, 239, 225, 0.68);
  font-size: 18px;
  line-height: 1.4;
}

.simple-portfolio-feature > svg {
  position: absolute;
  top: 31px;
  right: 31px;
  color: var(--white);
}

.portfolio-hitwizard-section,
.portfolio-offerings-section {
  padding: 104px 0 112px;
}

.portfolio-hitwizard-section {
  scroll-margin-top: 88px;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(17, 21, 15, 0.035) 1px, transparent 1px), var(--paper);
  background-size: 46px 100%;
}

.honest-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: clamp(40px, 7vw, 90px);
  margin-bottom: 46px;
}

.honest-section-heading .section-kicker {
  max-width: 720px;
  line-height: 1.45;
}

.honest-section-heading h2 {
  max-width: 820px;
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6.5vw, 86px);
  font-weight: 400;
  line-height: 0.92;
  text-wrap: balance;
}

.honest-section-heading > p {
  margin: 0 0 5px;
  color: rgba(17, 21, 15, 0.67);
  font-size: 20px;
  line-height: 1.4;
}

.portfolio-hitwizard-product {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(44px, 7vw, 86px);
  align-items: center;
  padding: clamp(34px, 5vw, 66px);
  background: #fdf8e9;
  border: 1px solid rgba(17, 21, 15, 0.2);
  box-shadow: 20px 22px 0 rgba(17, 21, 15, 0.07);
}

.portfolio-hitwizard-summary > span {
  color: var(--clay-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-hitwizard-summary h3 {
  margin: 12px 0 28px;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 400;
  line-height: 0.95;
}

.portfolio-capability-list {
  display: grid;
  border-top: 1px solid var(--paper-line);
}

.portfolio-capability-list > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-line);
}

.portfolio-capability-list svg {
  margin-top: 3px;
  color: var(--turf-dark);
}

.portfolio-capability-list p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.portfolio-capability-list b {
  font-size: 17px;
}

.portfolio-capability-list span {
  color: rgba(17, 21, 15, 0.64);
  font-size: 15px;
}

.portfolio-hitwizard-summary .actions {
  align-items: center;
  margin-top: 28px;
}

.hitwizard-demo-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}

.hitwizard-demo-action svg {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 8px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
}

.portfolio-offerings-section {
  color: var(--chalk);
  background: #11150f;
}

.portfolio-offerings-section .section-kicker {
  color: var(--gold);
}

.portfolio-offerings-section .honest-section-heading > p {
  color: rgba(244, 239, 225, 0.6);
}

.portfolio-offering-list {
  border-top: 1px solid rgba(244, 239, 225, 0.16);
}

.portfolio-offering-list article {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.65fr) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 154px;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(244, 239, 225, 0.16);
}

.portfolio-offering-list article > span {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portfolio-offering-list h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.98;
}

.portfolio-offering-list p {
  margin: 0;
  color: rgba(244, 239, 225, 0.62);
  font-size: 16px;
  line-height: 1.4;
}

.portfolio-offering-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .simple-portfolio-hero-grid,
  .portfolio-hitwizard-product {
    grid-template-columns: 1fr;
  }

  .simple-portfolio-copy,
  .simple-portfolio-feature {
    max-width: 760px;
  }

  .honest-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .honest-section-heading > p {
    max-width: 680px;
  }

  .portfolio-offering-list article {
    grid-template-columns: 130px minmax(220px, 0.7fr) minmax(280px, 1fr);
  }

  .portfolio-offering-list article > a {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  .mobile-hitwizard-link {
    grid-template-columns: minmax(90px, auto) 1fr auto;
  }

  .simple-portfolio-hero,
  .portfolio-hitwizard-section,
  .portfolio-offerings-section {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .simple-portfolio-hero-grid {
    gap: 48px;
  }

  .simple-portfolio-copy h1 {
    font-size: clamp(54px, 15vw, 68px);
  }

  .simple-portfolio-copy .actions {
    display: grid;
  }

  .simple-portfolio-feature {
    min-height: 390px;
    padding: 26px;
    box-shadow: 10px 12px 0 var(--clay);
  }

  .simple-portfolio-feature b {
    font-size: 62px;
  }

  .honest-section-heading h2 {
    font-size: 54px;
  }

  .portfolio-hitwizard-product {
    padding: 26px 20px;
    box-shadow: 10px 12px 0 rgba(17, 21, 15, 0.07);
  }

  .portfolio-hitwizard-summary h3 {
    font-size: 44px;
  }

  .portfolio-hitwizard-summary .actions {
    align-items: flex-start;
    display: grid;
  }

  .portfolio-offering-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .portfolio-offering-list article > a {
    grid-column: auto;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-popover-feature::before,
  .simple-portfolio-feature::before {
    transition: none;
  }
}

/* Focused homepage advisory */
.home-advisory {
  position: relative;
  scroll-margin-top: 92px;
  padding: 120px 0 132px;
  overflow: hidden;
  color: var(--chalk);
  background:
    linear-gradient(90deg, rgba(244, 239, 225, 0.035) 1px, transparent 1px) 0 0 / 82px 82px,
    linear-gradient(rgba(244, 239, 225, 0.035) 1px, transparent 1px) 0 0 / 82px 82px,
    #11150f;
}

.home-advisory::before {
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - var(--wrap)) / 2));
  width: 112px;
  height: 6px;
  content: "";
  background: var(--clay);
}

.home-advisory-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(64px, 8vw, 124px);
  align-items: start;
}

.home-advisory-copy .eyebrow {
  max-width: 500px;
  margin: 0 0 24px;
  color: var(--gold);
}

.home-advisory-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: clamp(68px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.025em;
}

.home-advisory-lead {
  max-width: 590px;
  margin: 36px 0 0;
  color: rgba(244, 239, 225, 0.7);
  font-size: 18px;
  line-height: 1.55;
}

.home-advisory-uses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 46px 0 0;
  list-style: none;
  border-top: 1px solid rgba(244, 239, 225, 0.15);
}

.home-advisory-uses li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding-right: 14px;
  color: rgba(244, 239, 225, 0.88);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(244, 239, 225, 0.15);
}

.home-advisory-uses li:nth-child(odd) {
  border-right: 1px solid rgba(244, 239, 225, 0.15);
}

.home-advisory-uses li:nth-child(even) {
  padding-left: 18px;
}

.home-advisory-uses svg {
  flex: 0 0 auto;
  color: var(--turf-light);
}

.home-advisory-boundary {
  margin: 22px 0 0;
  color: rgba(244, 239, 225, 0.48);
  font-size: 13px;
}

.home-advisory-boundary a {
  color: rgba(244, 239, 225, 0.82);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 225, 0.3);
  text-underline-offset: 3px;
}

.home-advisory-form {
  position: relative;
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4.2vw, 54px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(17, 21, 15, 0.22);
  border-radius: 3px;
  box-shadow: 16px 16px 0 var(--clay);
}

.home-advisory-form header {
  max-width: 560px;
  margin-bottom: 8px;
}

.home-advisory-form header span {
  display: block;
  margin-bottom: 11px;
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-advisory-form h3 {
  margin: 0;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 0.94;
}

.home-advisory-fields {
  display: grid;
  gap: 18px;
}

.home-advisory-fields-paired {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-advisory-fields label,
.home-advisory-context {
  display: grid;
  gap: 8px;
}

.home-advisory-fields label > span,
.home-advisory-context > span {
  color: rgba(17, 21, 15, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.home-advisory-fields input,
.home-advisory-fields select,
.home-advisory-context textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(17, 21, 15, 0.2);
  border-radius: 2px;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.home-advisory-context textarea {
  min-height: 154px;
  resize: vertical;
  line-height: 1.45;
}

.home-advisory-context textarea::placeholder {
  color: rgba(17, 21, 15, 0.42);
}

.home-advisory-fields input:focus,
.home-advisory-fields select:focus,
.home-advisory-context textarea:focus {
  background: #fff;
  border-color: var(--turf);
  box-shadow: 0 0 0 3px rgba(47, 157, 98, 0.14);
}

.home-advisory-submit {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 2px;
}

.home-advisory-submit .btn {
  flex: 0 0 auto;
}

.home-advisory-submit .btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.home-advisory-submit small {
  max-width: 240px;
  color: rgba(17, 21, 15, 0.5);
  font-size: 11px;
  line-height: 1.4;
}

.home-advisory-form .form-message {
  margin: 0;
}

@media (max-width: 1040px) {
  .home-advisory-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-advisory-copy {
    max-width: 780px;
  }

  .home-advisory-form {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .home-advisory {
    scroll-margin-top: 72px;
    padding: 84px 0 100px;
  }

  .home-advisory::before {
    left: 20px;
    width: 78px;
  }

  .home-advisory-copy h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .home-advisory-lead {
    margin-top: 28px;
    font-size: 16px;
  }

  .home-advisory-uses {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .home-advisory-uses li:nth-child(odd) {
    border-right: 0;
  }

  .home-advisory-uses li:nth-child(even) {
    padding-left: 0;
  }

  .home-advisory-form {
    gap: 20px;
    margin-right: 10px;
    padding: 28px 20px;
    box-shadow: 10px 10px 0 var(--clay);
  }

  .home-advisory-fields-paired {
    grid-template-columns: 1fr;
  }

  .home-advisory-submit {
    display: grid;
  }

  .home-advisory-submit .btn {
    width: 100%;
  }

  .home-advisory-submit small {
    max-width: none;
  }
}
