@import url("./gentoo-tokens.css");

:root {
  --conny-section-pad-y: clamp(56px, 8vw, 112px);
  --conny-section-pad-x: clamp(20px, 4vw, 48px);
  --conny-content-max: 1120px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(15,32,39,0.04), rgba(15,32,39,0) 420px),
    var(--gl-bg);
  color: var(--gl-text);
  font-family: var(--gl-font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--gl-brand); text-decoration: none; }
a:hover { color: var(--gl-brand-strong); }

h1,
h2,
h3 {
  font-family: var(--gl-font-display);
  margin: 0 0 0.55em;
  color: var(--gl-brand-strong);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(30px, 3vw, 42px); }
h3 { font-size: 21px; }
p {
  margin: 0 0 1em;
  color: var(--gl-text-2);
  overflow-wrap: break-word;
}

.site-nav,
.section-inner,
.hero {
  max-width: var(--conny-content-max);
  margin: 0 auto;
  padding-left: var(--conny-section-pad-x);
  padding-right: var(--conny-section-pad-x);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  background: transparent;
  border-bottom: 1px solid rgba(15,32,39,0.12);
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand { gap: 10px; font-weight: 800; color: var(--gl-brand-strong); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 35%, rgba(0,230,118,0.38), transparent 22px),
    radial-gradient(circle at 35% 62%, rgba(255,48,119,0.20), transparent 18px),
    var(--gl-brand-strong);
  color: var(--gl-surface);
  font-size: 15px;
  font-weight: 900;
  font-family: var(--gl-font-mono);
}
.brand-name {
  font-family: var(--gl-font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.byline {
  color: var(--gl-arctic);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-links { gap: 24px; }
.nav-links a { color: var(--gl-text-2); font-size: 15px; font-weight: 700; }
.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--gl-brand-strong);
  color: var(--gl-surface) !important;
  box-shadow: inset 0 0 0 1px rgba(244,247,246,0.18);
}

.hero {
  max-width: min(1240px, calc(100% - 32px));
  margin-top: 16px;
  padding-top: clamp(52px, 7vw, 96px);
  padding-bottom: clamp(64px, 8vw, 104px);
  border: 1px solid rgba(244,247,246,0.20);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 16%, rgba(0,230,118,0.18), transparent 82px),
    radial-gradient(circle at 74% 18%, rgba(255,48,119,0.12), transparent 126px),
    linear-gradient(135deg, rgba(244,247,246,0.10), transparent 26%),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(244,247,246,0.035) 78px 79px),
    var(--gl-icebreaker);
  box-shadow: 0 28px 70px rgba(15,32,39,0.24);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(24px, 6vw, 86px);
  bottom: clamp(20px, 4vw, 56px);
  width: min(34vw, 420px);
  height: min(19vw, 210px);
  border-top: 1px solid rgba(244,247,246,0.28);
  border-right: 1px solid rgba(244,247,246,0.18);
  clip-path: polygon(0 36%, 48% 36%, 60% 52%, 100% 52%, 100% 100%, 0 100%);
  opacity: 0.75;
}

.hero::before {
  content: "";
  position: absolute;
  right: clamp(46px, 10vw, 150px);
  top: clamp(38px, 5vw, 70px);
  width: clamp(92px, 15vw, 168px);
  aspect-ratio: 1;
  border: 1px solid rgba(244,247,246,0.35);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 0 31%, rgba(244,247,246,0.82) 32% 36%, transparent 37% 100%),
    linear-gradient(45deg, transparent 0 43%, rgba(0,230,118,0.72) 44% 47%, transparent 48% 100%),
    radial-gradient(circle at 50% 50%, rgba(244,247,246,0.75) 0 5%, transparent 6%),
    conic-gradient(from 24deg, rgba(0,230,118,0.54), rgba(244,247,246,0.30), rgba(255,48,119,0.38), rgba(0,121,104,0.54), rgba(0,230,118,0.54));
  clip-path: polygon(50% 3%, 78% 24%, 72% 63%, 50% 96%, 28% 63%, 22% 24%);
  opacity: 0.88;
}

.hero-inner { max-width: 900px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 11px;
  border: 1px solid rgba(244,247,246,0.22);
  border-radius: 999px;
  background: rgba(244,247,246,0.08);
  color: var(--gl-aurora);
  font-family: var(--gl-font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.hero .lede {
  color: var(--gl-glacier);
}

.lede {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: 20px;
  color: var(--gl-brand-grey);
  overflow-wrap: anywhere;
}

.hero-ctas,
.form-actions,
.footer-inner,
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--gl-border-strong);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary,
.btn-small {
  background: var(--gl-arctic);
  color: var(--gl-surface);
  border-color: var(--gl-arctic);
}

.btn-primary:hover,
.btn-small:hover {
  background: var(--gl-aurora);
  color: var(--gl-icebreaker);
}

.btn-ghost {
  background: rgba(244,247,246,0.10);
  color: var(--gl-glacier);
  border-color: rgba(244,247,246,0.35);
}

.hero .btn-ghost:hover {
  background: rgba(244,247,246,0.18);
  color: var(--gl-glacier);
}

.pricing,
.free-tool,
.account-section {
  padding: var(--conny-section-pad-y) 0;
  background: var(--gl-brand-paper);
  border-top: 1px solid var(--gl-border);
  border-bottom: 1px solid var(--gl-border);
}

.pricing { background: var(--gl-surface); }
.free-tool { background: var(--gl-surface); }
.account-section { background: var(--gl-brand-paper); }
.section-lede { max-width: 640px; margin-bottom: 32px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.tier,
.sample,
.not,
.cta-band,
.account-card,
.prompt-box,
.output-card {
  background: var(--gl-surface);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  padding: 22px;
  box-shadow: var(--gl-shadow-sm);
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.account-card {
  max-width: 680px;
}

.account-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--gl-arctic);
  cursor: pointer;
  font: 700 13px/1 var(--gl-font-mono);
}

.discount-strip {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
}

.discount-pill {
  padding: 10px 12px;
  border: 1px solid rgba(0,121,104,0.26);
  border-radius: var(--gl-radius);
  background: rgba(0,230,118,0.08);
  color: var(--gl-text-2);
  font-size: 13px;
}

.discount-pill strong {
  color: var(--gl-arctic);
  font-family: var(--gl-font-mono);
}

.discount-pill.locked {
  border-style: dashed;
  background: rgba(15,32,39,0.04);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.prompt-box,
.output-card,
.tier.featured {
  border-color: rgba(0,121,104,0.34);
}


.tier .amount {
  color: var(--gl-icebreaker);
  font-size: 40px;
  font-weight: 900;
  font-family: var(--gl-font-display);
}

.tier.featured {
  box-shadow: 0 0 0 2px rgba(0,230,118,0.14), var(--gl-shadow-sm);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,121,104,0.12);
  color: var(--gl-arctic);
  font-size: 12px;
  font-weight: 900;
  font-family: var(--gl-font-mono);
  text-transform: uppercase;
}

.tier .unit { color: var(--gl-text-3); }
.tier ul { margin: 12px 0 0; padding: 0; list-style: none; }
.tier li { padding: 8px 0; border-top: 1px solid var(--gl-border); color: var(--gl-text-2); }
.tier li:first-child { border-top: 0; }

.enhancer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  min-width: 0;
}

.prompt-box,
.output-card {
  min-width: 0;
}

.prompt-box textarea { min-height: 160px; }

.check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 12px 0 0;
  color: var(--gl-text-2);
  font-family: var(--gl-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
}

.check-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.verify-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gl-border);
}

.code-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.code-actions input {
  width: 118px;
  font-family: var(--gl-font-mono);
  letter-spacing: 0.08em;
}

.output-card {
  background:
    linear-gradient(135deg, rgba(0,230,118,0.08), transparent 38%),
    var(--gl-icebreaker);
}

/* CONNY-OUTPUT-POLISH-2026-07-08 — the enhanced prompt is the hero: brand
   panel instead of a bare 300px void (Paul: "lots of white space"). Height
   now fits the content; the panel makes it read as the deliverable. */
.output-card pre {
  /* Fixed height: the staged reveal never shifts layout; long prompts get
     the scrollbar instead of growing the card. */
  height: 340px;
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--gl-brand-strong);
  font: 14.5px/1.6 var(--gl-font-mono);
  background: var(--gl-brand-soft);
  border: 1px solid rgba(27, 168, 216, 0.45);
  border-left: 4px solid var(--gl-brand);
  border-radius: var(--gl-radius);
}

/* CONNY-STAGED-REVEAL — result sections rise in from the bottom up */
.reveal {
  opacity: 0;
  transform: translateY(7px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in { transition: none; }
}

.output-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  min-height: 20px;
}

.output-ctas { margin-top: 14px; }

/* CONNY-SKELETON — while haiku works, ghost sections "build upward" under
   the shimmering prompt panel, staggered as the run progresses */
#thinking-skeleton {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

/* The id selector's display:grid beats the UA [hidden] rule — without this
   override the ghost bars NEVER disappear (Paul caught them stuck live). */
#thinking-skeleton[hidden] { display: none; }

.skel {
  height: 14px;
  border-radius: 6px;
  opacity: 0;
  background: linear-gradient(100deg, var(--gl-surface-2) 35%, var(--gl-brand-soft) 50%, var(--gl-surface-2) 65%);
  background-size: 200% 100%;
  animation: conny-thinking 1.4s linear infinite, skel-in 0.45s ease forwards;
}

.skel.s1 { width: 55%; animation-delay: 0s, 0.5s; }
.skel.s2 { width: 82%; animation-delay: 0s, 1.4s; }
.skel.s3 { width: 68%; animation-delay: 0s, 2.3s; }

@keyframes skel-in {
  to { opacity: 1; }
}

/* CONNY-SPOTLIGHT — "see your free coaching" glow pulse on the card */
.upsell-coach.spotlight {
  animation: coach-glow 1.25s ease-in-out 2;
}

@keyframes coach-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 168, 216, 0); }
  50% { box-shadow: 0 0 0 6px rgba(27, 168, 216, 0.35), 0 0 24px rgba(27, 168, 216, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  .skel { animation: skel-in 0.01s forwards; }
  .upsell-coach.spotlight { animation: none; outline: 3px solid var(--gl-brand); }
}

/* CONNY-THINKING-2026-07-08 — shimmer + dots while haiku enhances */
.output-card pre.thinking {
  color: var(--gl-brand-grey);
  background: linear-gradient(100deg, var(--gl-brand-soft) 35%, var(--gl-surface) 50%, var(--gl-brand-soft) 65%);
  background-size: 200% 100%;
  animation: conny-thinking 1.4s linear infinite;
}

.output-card pre.thinking::after {
  content: "";
  animation: conny-dots 1.2s steps(4, end) infinite;
}

@keyframes conny-thinking {
  to { background-position: -200% 0; }
}

@keyframes conny-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

@media (prefers-reduced-motion: reduce) {
  .output-card pre.thinking { animation: none; }
  .output-card pre.thinking::after { content: "\2026"; animation: none; }
}

/* Wide results band (engines + coaching + confluence) under both boxes */
#enhancer-teaching {
  margin-top: 26px;
}

.output-card h3 { color: var(--gl-glacier); }

/* CONNY-ENHANCER-V2 — teaching panel under the enhanced prompt */
#enhancer-teaching h3 {
  margin-top: 18px;
  font-size: 15px;
}

.teaching-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--gl-brand-grey);
  font-size: 14px;
  line-height: 1.55;
}

.teaching-list li + li {
  margin-top: 6px;
}

.teaching-list strong {
  color: var(--gl-glacier);
}

/* CONNY-COACH-DRAWER-2026-07-08 — coaching folds under the deliverable;
   emphasis harmonized (medium-weight leads instead of heavy bolds). */
.teaching-list .lead {
  font-weight: 600;
  color: var(--gl-text);
}

.coach-drawer {
  margin-top: 18px;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius);
  background: var(--gl-brand-paper);
}

.coach-drawer summary {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--gl-brand-strong);
  list-style: none;
  border-radius: var(--gl-radius);
  transition: background 0.12s ease;
}

/* CONNY-DRAWER-AFFORDANCE — make "this opens" unmistakable */
.coach-drawer summary:hover {
  background: var(--gl-brand-soft);
}

.coach-drawer summary::after {
  content: "click to open \25BE";
  margin-left: auto;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gl-brand);
  white-space: nowrap;
}

.coach-drawer[open] summary::after {
  content: "close \25B4";
}

.coach-drawer summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 8px;
  color: var(--gl-brand);
  transition: transform 0.15s ease;
}

.coach-drawer[open] summary::before {
  transform: rotate(90deg);
}

.coach-drawer summary::-webkit-details-marker { display: none; }

.coach-drawer-body {
  padding: 4px 16px 14px;
  border-top: 1px solid var(--gl-border);
}

.coach-drawer-body h3 {
  margin-top: 14px;
  font-size: 15px;
}

.why-confluence {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 42, 74, 0.25);
  border-radius: var(--gl-radius);
  background:
    linear-gradient(135deg, rgba(27, 168, 216, 0.07), transparent 45%),
    var(--gl-surface);
}

.why-confluence h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.why-confluence p {
  font-size: 14px;
  margin-bottom: 8px;
}

.why-confluence .teaching-list {
  margin-bottom: 12px;
}

/* CONNY-UPSELL-FLAVORS-2026-07-08 — the two ways to buy, side by side */
.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 14px 0 10px;
}

.upsell-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--gl-border-strong);
  border-radius: var(--gl-radius);
  background: var(--gl-surface);
}

.upsell-card h4 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--gl-brand-strong);
}

.upsell-card .price {
  margin-left: 6px;
  font-family: var(--gl-font-mono);
  font-weight: 800;
  color: var(--gl-brand);
}

.upsell-tag {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gl-brand-grey);
}

.upsell-card .teaching-list {
  margin: 0 0 14px;
  font-size: 13.5px;
}

.upsell-featured {
  border: 2px solid var(--gl-brand-strong);
  background:
    linear-gradient(160deg, rgba(27, 168, 216, 0.06), transparent 55%),
    var(--gl-surface);
}

.upsell-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gl-brand-strong);
  color: var(--gl-surface);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CONNY-COACH-CARD — the free tier sits beside the paid flavors */
.upsell-coach {
  background: var(--gl-brand-paper);
}

/* CONNY-COACH-SUBS — sections fold inside the coaching card (kills the
   tall-card whitespace that stretched the whole row) */
.coach-sub {
  border-top: 1px solid var(--gl-border);
}

.coach-sub:first-of-type { border-top: 0; }

.coach-sub summary {
  display: flex;
  align-items: center;
  padding: 9px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gl-brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coach-sub summary::before {
  content: "\25B8";
  margin-right: 7px;
  color: var(--gl-brand);
  transition: transform 0.15s ease;
}

.coach-sub[open] summary::before { transform: rotate(90deg); }

.coach-sub summary::-webkit-details-marker { display: none; }

.coach-sub .teaching-list { margin: 2px 0 10px; }

/* CONNY-AGENTIC-REFERRAL — build/automate asks route to the bigger Gentoo
   products (confluence-vetted: consultative tone, visible escape hatch) */
.gentoo-referral {
  margin: 14px 0 16px;
  padding: 18px;
  border: 2px solid var(--gl-brand-strong);
  border-radius: var(--gl-radius);
  background:
    linear-gradient(160deg, rgba(13, 42, 74, 0.05), transparent 55%),
    var(--gl-surface);
}

.gentoo-referral h4 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--gl-brand-strong);
}

.gentoo-referral p { font-size: 14px; margin-bottom: 10px; }

.referral-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 12px 0;
}

.referral-option {
  padding: 14px;
  border: 1px solid var(--gl-border-strong);
  border-radius: var(--gl-radius);
  background: var(--gl-brand-paper);
}

.referral-option h5 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--gl-brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.referral-option .engine-btn { display: inline-block; text-decoration: none; }

.referral-escape {
  margin-top: 4px;
  font-size: 13px;
  text-decoration: underline;
}

/* CONNY-HISTORY — recent-enhancements drawer rows */
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--gl-border);
  font-size: 13.5px;
  color: var(--gl-text-2);
}

.history-row:first-child { border-top: 0; }

.history-date {
  margin-right: 10px;
  font-family: var(--gl-font-mono);
  font-size: 12px;
  color: var(--gl-brand-grey);
}

/* CONNY-ENHANCER-V2.1 — engine hand-off row under the result */
.engine-pick {
  margin: 16px 0 8px;
  font-size: 13px;
  color: var(--gl-brand-grey);
}

.engine-pick strong { color: var(--gl-text); }

.engine-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.engine-btn {
  padding: 7px 14px;
  border: 1px solid var(--gl-border-strong);
  border-radius: 999px;
  background: var(--gl-surface);
  color: var(--gl-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.engine-btn:hover {
  border-color: var(--gl-brand);
  color: var(--gl-brand);
}

.engine-btn-pick {
  background: var(--gl-brand-soft);
  border-color: var(--gl-brand);
  color: var(--gl-brand-strong);
}

/* CONNY-CONSENT-NOTE — the plain-English mailing-list + data-use disclaimer */
.consent-note {
  margin-top: 22px;
  padding: 14px 18px;
  border-left: 3px solid rgba(0, 230, 118, 0.5);
  background: rgba(0, 230, 118, 0.05);
  border-radius: var(--gl-radius);
  color: var(--gl-brand-grey);
  font-size: 13px;
  line-height: 1.6;
}

.consent-note a {
  color: inherit;
  text-decoration: underline;
}

.offer-grid + .offer-grid {
  margin-top: 18px;
}

.plan-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(255,72,40,0.38);
  border-radius: var(--gl-radius);
  background: rgba(255,72,40,0.06);
  color: var(--gl-brand-grey);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.intake { padding: var(--conny-section-pad-y) 0; }
.intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.conny-intake {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.full { grid-column: 1 / -1; }
label {
  display: block;
  margin-bottom: 6px;
  color: var(--gl-text-3);
  font-size: 12px;
  font-weight: 900;
  font-family: var(--gl-font-mono);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gl-border-strong);
  border-radius: var(--gl-radius);
  padding: 12px 13px;
  background: var(--gl-surface);
  color: var(--gl-text);
  font: inherit;
}

textarea { min-height: 118px; resize: vertical; }
.hint,
.trust { color: var(--gl-text-3); font-size: 13px; }
.optional-label {
  font-weight: 400;
  text-transform: none;
}
.status { grid-column: 1 / -1; font-size: 14px; }
.status.ok { color: var(--gl-done); }
.status.err { color: var(--gl-stuck); }
.not { border-style: dashed; }
.not strong { color: var(--gl-warning); }
.sample + .not,
.not + .sample {
  margin-top: 16px;
}
.trust-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gl-border);
  color: var(--gl-text-2);
}
.trust-list li:last-child { border-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--gl-border);
  background: var(--gl-surface);
}

.footer-inner {
  max-width: var(--conny-content-max);
  margin: 0 auto;
  padding: 22px var(--conny-section-pad-x);
  color: var(--gl-text-3);
}

@media (max-width: 820px) {
  .intake-grid,
  .account-grid,
  .enhancer-grid,
  .settings-grid,
  .conny-intake { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }
  h1 { font-size: 23px; line-height: 1.18; }
  h2 {
    width: min(320px, calc(100vw - 40px));
    max-width: min(320px, calc(100vw - 40px));
    font-size: 26px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .site-nav {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .brand { min-width: 0; }
  .brand-name { font-size: 16px; }
  .nav-links { display: none; }
  .hero {
    width: auto;
    max-width: none;
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 18px;
  }
  .hero::before {
    display: none;
  }
  .hero-inner,
  .hero h1,
  .hero .lede {
    width: min(260px, calc(100vw - 72px));
    max-width: min(260px, calc(100vw - 72px));
    min-width: 0;
  }
  .hero h1,
  .hero .lede { word-break: break-word; }
  .lede { font-size: 15px; line-height: 1.55; }
  .section-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }
  .section-inner p,
  .prompt-box,
  .output-card,
  .tier,
  .plan-note,
  .conny-intake,
  .not {
    max-width: 100%;
  }
  .prompt-box {
    width: min(320px, calc(100vw - 40px));
    padding: 18px;
  }
  p {
    width: min(320px, calc(100vw - 40px));
    max-width: min(320px, calc(100vw - 40px));
  }
  .prompt-box textarea {
    width: 100%;
    max-width: 100%;
  }
}

/* GENTOO-BRAND3 — Conny keeps its function while joining Penn's visual family. */
:root {
  --conny-section-pad-y: clamp(72px, 9vw, 128px);
  --conny-section-pad-x: clamp(20px, 4.25vw, 58px);
  --conny-content-max: 1280px;
  --conny-sans: "Manrope", var(--gl-font);
  --conny-serif: "Instrument Serif", Georgia, serif;
}

html,
body {
  background: var(--gl-brand-paper);
  font-family: var(--conny-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 5% 5%, color-mix(in srgb, var(--gl-brand) 12%, transparent), transparent 26rem),
    linear-gradient(90deg, color-mix(in srgb, var(--gl-brand-strong) 3%, transparent) 1px, transparent 1px);
  background-size: auto, 80px 100%;
}

h1,
h2,
h3 {
  font-family: var(--conny-sans);
  letter-spacing: -.055em;
}

.site-nav {
  min-height: 88px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: color-mix(in srgb, var(--gl-brand-strong) 13%, transparent);
}

.brand { gap: 10px; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: block;
  border-radius: 0;
  background: transparent;
  color: initial;
  object-fit: contain;
}
.brand-name {
  font-family: var(--conny-sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.055em;
  text-transform: none;
}
.byline {
  color: var(--gl-brand-grey);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: none;
}
.nav-links a { font-size: 12px; }
.nav-cta {
  color: var(--gl-surface) !important;
  background: var(--gl-brand-strong);
  box-shadow: none;
}

.hero {
  max-width: var(--conny-content-max);
  min-height: 600px;
  margin-top: 0;
  padding-top: clamp(90px, 12vw, 155px);
  padding-bottom: clamp(85px, 11vw, 145px);
  border: 0;
  border-radius: 0;
  color: var(--gl-surface);
  background: var(--gl-brand-strong);
  box-shadow: none;
}
.hero::before {
  right: 7%;
  top: 15%;
  width: clamp(150px, 22vw, 290px);
  border: 1px solid color-mix(in srgb, var(--gl-surface) 24%, transparent);
  border-radius: 30px 30px 8px 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gl-brand) 24%, transparent), transparent);
  clip-path: none;
  transform: rotate(7deg);
}
.hero::after {
  right: 6%;
  bottom: 17%;
  width: min(38vw, 480px);
  height: 150px;
  border: 0;
  border-bottom: 3px solid var(--gl-brand);
  clip-path: none;
}
.hero h1 {
  max-width: 880px;
  color: var(--gl-surface);
  font-size: clamp(58px, 8vw, 106px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .88;
  text-transform: none;
}
.hero .lede {
  max-width: 650px;
  color: color-mix(in srgb, var(--gl-surface) 72%, transparent);
  font-size: 18px;
  line-height: 1.65;
}
.hero .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gl-brand);
  background: transparent;
  font-size: 9px;
  letter-spacing: .16em;
}
.hero .btn-primary {
  color: var(--gl-brand-strong);
  background: var(--gl-surface);
}
.hero .btn-ghost {
  border-color: color-mix(in srgb, var(--gl-surface) 28%, transparent);
  color: var(--gl-surface);
  background: transparent;
}

.free-tool,
.pricing,
.account-section,
.ask { background: transparent; }
.section-inner { max-width: var(--conny-content-max); }
.section-inner > h2,
.enhancer-grid h2 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: .95;
}
.section-inner > .eyebrow,
.enhancer-grid .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gl-brand-grey);
  background: transparent;
  font-size: 9px;
  letter-spacing: .15em;
}

.prompt-box,
.upsell-card,
.tier,
.account-card,
.intake-form,
.brief-card {
  border-color: color-mix(in srgb, var(--gl-brand-strong) 13%, transparent) !important;
  border-radius: 22px !important;
  background: var(--gl-surface) !important;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--gl-brand-strong) 10%, transparent) !important;
}
.prompt-box { padding: clamp(22px, 4vw, 38px); }

input,
select,
textarea {
  border-color: var(--gl-border-strong) !important;
  border-radius: 13px !important;
  color: var(--gl-brand-strong) !important;
  background: var(--gl-brand-paper) !important;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gl-brand) !important;
  outline: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gl-brand) 12%, transparent);
}

.btn,
.btn-small,
.engine-btn,
.quote-action {
  border-color: transparent !important;
  border-radius: 999px !important;
  color: var(--gl-surface) !important;
  background: var(--gl-brand-strong) !important;
  box-shadow: none !important;
}
.btn:hover,
.btn-small:hover,
.engine-btn:hover {
  color: var(--gl-surface) !important;
  background: var(--gl-brand) !important;
  transform: translateY(-1px);
}

.upsell-card.upsell-featured,
.tier.featured {
  border-color: var(--gl-brand) !important;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--gl-brand) 15%, transparent) !important;
}
.upsell-badge,
.badge {
  color: var(--gl-brand-strong) !important;
  background: var(--gl-brand-soft) !important;
}
.price,
.amount { color: var(--gl-brand-strong) !important; }

.why-confluence,
.gentoo-referral {
  border-radius: 20px !important;
  border-color: color-mix(in srgb, var(--gl-brand-strong) 14%, transparent) !important;
  background: var(--gl-brand-soft) !important;
}
.coach-sub summary::before { color: var(--gl-brand); }
.site-footer {
  color: color-mix(in srgb, var(--gl-surface) 68%, transparent);
  background: var(--gl-brand-strong);
}
.site-footer .brand-mark { filter: brightness(0) invert(1); }

@media (max-width: 720px) {
  .site-nav { min-height: 70px; }
  .byline { display: none; }
  .hero {
    min-height: 520px;
    margin-inline: -1px;
    padding-inline: 22px;
  }
  .hero h1 { font-size: clamp(52px, 16vw, 75px); }
  .hero::before { right: -50px; opacity: .5; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brand-mark { width: 39px; height: 39px; }
}

/* GENTOO-BRAND4 — one Gentoo shell, with Conny's identity inside the workbench. */
.page-shell {
  width: min(var(--conny-content-max), calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--gl-brand-strong) 12%, transparent);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gl-brand-strong);
}

.gentoo-symbol {
  width: 43px;
  height: 43px;
  display: block;
  object-fit: contain;
}

.gentoo-wordmark {
  display: grid;
  line-height: .86;
}

.gentoo-wordmark strong {
  color: var(--gl-brand-strong);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.gentoo-wordmark > span {
  margin-top: 7px;
  color: var(--gl-brand-grey);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .35em;
  text-transform: uppercase;
}

.family-nav {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--gl-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--gl-surface) 78%, transparent);
  box-shadow: var(--gl-shadow-sm);
}

.family-nav a,
.family-soon {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--gl-text-3);
  font-size: 12px;
  font-weight: 700;
}

.family-nav a:hover { color: var(--gl-brand-strong); }
.family-nav a[aria-current="page"] {
  color: var(--gl-surface);
  background: var(--gl-brand-strong);
  box-shadow: var(--gl-shadow-sm);
}
.family-soon { opacity: .58; }
.family-soon small {
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-signal,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gl-brand);
  box-shadow: 0 0 0 4px var(--gl-brand-soft);
}

.family-nav a[aria-current="page"] .nav-signal {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gl-brand) 22%, transparent);
}

.header-link {
  justify-self: end;
  color: var(--gl-brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.intro {
  padding-block: clamp(54px, 8vw, 100px) 40px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 54px;
}

.intro .eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gl-brand-grey);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.intro .status-dot { margin-right: 8px; }
.intro h1 {
  margin: 0;
  color: var(--gl-brand-strong);
  font-size: clamp(48px, 6.5vw, 86px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .92;
  text-transform: none;
}
.intro h1 em {
  color: var(--gl-brand);
  font-family: var(--conny-serif);
  font-weight: 400;
}
.intro-copy {
  max-width: 440px;
  margin: 0;
  color: var(--gl-text-2);
  font-size: 17px;
  line-height: 1.65;
}

.free-tool {
  padding: 0 0 var(--conny-section-pad-y);
  border: 0;
  background: transparent;
}

.conny-workbench {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gl-brand-strong) 13%, transparent);
  border-radius: 30px 30px 8px 30px;
  background: var(--gl-surface);
  box-shadow: 0 28px 90px color-mix(in srgb, var(--gl-brand-strong) 14%, transparent);
}

.workbench-head {
  min-height: 78px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--gl-border);
}

.agent-id {
  display: flex;
  align-items: center;
  gap: 11px;
}
.agent-mark {
  width: 41px;
  height: 41px;
  display: block;
  flex: 0 0 auto;
}
.agent-id > span { display: grid; }
.agent-id strong {
  color: var(--gl-brand-strong);
  font-size: 14px;
}
.agent-id small {
  margin-top: 2px;
  color: var(--gl-text-3);
  font-size: 12px;
}
.session-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gl-text-3);
  font-size: 12px;
}
.session-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gl-done);
}

.conny-workbench .section-inner {
  max-width: none;
  margin: 0;
  padding: 0;
}
.conny-workbench .enhancer-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 0;
  align-items: stretch;
}
.conny-workbench .enhancer-grid > div:first-child {
  padding: clamp(32px, 4.25vw, 56px);
}
.conny-workbench .enhancer-grid h2 {
  max-width: 570px;
  font-size: clamp(42px, 5.2vw, 68px);
}
.conny-workbench .prompt-box {
  width: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.conny-workbench .output-card {
  padding: clamp(32px, 4.25vw, 56px);
  border: 0;
  border-left: 1px solid color-mix(in srgb, var(--gl-surface) 13%, transparent);
  border-radius: 0;
  color: var(--gl-surface);
  background: color-mix(in srgb, var(--gl-brand-strong) 95%, var(--gl-brand));
  box-shadow: none;
}
.conny-workbench .output-head {
  min-height: 44px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.conny-workbench .output-head strong {
  display: block;
  color: var(--gl-surface);
  font-size: 19px;
  letter-spacing: -.025em;
}
.conny-workbench .output-card .panel-kicker {
  color: color-mix(in srgb, var(--gl-surface) 52%, transparent);
}
.conny-workbench .output-card pre {
  height: 430px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--gl-surface) 15%, transparent);
  border-left: 3px solid var(--gl-brand);
  border-radius: 15px;
  color: color-mix(in srgb, var(--gl-surface) 84%, transparent);
  background: color-mix(in srgb, var(--gl-surface) 6%, transparent);
}
.conny-workbench .output-card .hint,
.conny-workbench .output-card .engine-pick {
  color: color-mix(in srgb, var(--gl-surface) 68%, transparent);
}
.conny-workbench .output-card .engine-btn,
.conny-workbench .output-card .btn-small {
  color: var(--gl-brand-strong) !important;
  background: var(--gl-surface) !important;
}

.site-footer {
  min-height: 100px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid color-mix(in srgb, var(--gl-brand-strong) 12%, transparent);
  color: var(--gl-text-3);
  background: transparent;
  font-size: 12px;
}
.site-footer .gentoo-symbol { filter: none; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}
.site-footer nav a:hover { color: var(--gl-brand); }

@media (max-width: 880px) {
  .page-shell { width: min(100% - 28px, 720px); }
  .site-header { grid-template-columns: 1fr auto; }
  .family-nav { display: none; }
  .intro { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy { max-width: 600px; }
  .conny-workbench .enhancer-grid { grid-template-columns: 1fr; }
  .conny-workbench .output-card {
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--gl-surface) 13%, transparent);
  }
}

@media (max-width: 560px) {
  .page-shell { width: 100%; }
  .site-header,
  .intro,
  .site-footer { width: auto; margin-inline: 16px; }
  .site-header { min-height: 64px; }
  .gentoo-symbol { width: 39px; height: 39px; }
  .gentoo-wordmark strong { font-size: 16px; }
  .header-link { font-size: 0; white-space: nowrap; }
  .header-link::after { content: "How it works"; font-size: 12px; }
  .intro { padding-block: 34px 24px; }
  .intro h1 { font-size: clamp(43px, 12vw, 58px); }
  .intro-copy { font-size: 15px; }
  .conny-workbench {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
  .workbench-head { min-height: 64px; padding: 11px 16px; }
  .session-state { font-size: 0; }
  .session-state::after { content: "Private"; font-size: 11px; }
  .conny-workbench .enhancer-grid > div:first-child,
  .conny-workbench .output-card { padding: 28px 18px; }
  .conny-workbench .enhancer-grid h2 { font-size: clamp(38px, 12vw, 52px); }
  .conny-workbench .output-card pre { height: 340px; }
  .site-footer {
    min-height: 150px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
  .site-footer nav { justify-content: flex-start; }
}

/* CONNY-RESULT-SYSTEM-2026-09-04 — one restrained component language from
   prompt result to account history to downloadable report. Pills now convey
   state or choice; primary actions remain visually distinct. */
.result-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--gl-surface) 18%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--gl-surface) 70%, transparent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.result-state i,
.engine-signal {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gl-surface) 34%, transparent);
}

.result-state.is-ready {
  border-color: color-mix(in srgb, var(--gl-brand) 52%, transparent);
  color: var(--gl-surface);
  background: color-mix(in srgb, var(--gl-brand) 13%, transparent);
}

.result-state.is-ready i,
.engine-btn-pick .engine-signal { background: var(--gl-brand); }

.offer-heading {
  min-height: 30px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-chip,
.brief-type {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--gl-border);
  border-radius: 999px;
  color: var(--gl-brand-grey);
  background: var(--gl-brand-paper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.offer-chip-featured,
.brief-type {
  border-color: color-mix(in srgb, var(--gl-brand) 34%, transparent);
  color: var(--gl-brand-strong);
  background: var(--gl-brand-soft);
}

.upsell-card .price {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.02em;
}

.conny-workbench .engine-row { gap: 9px; }

.conny-workbench .output-card .engine-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px !important;
  border: 1px solid color-mix(in srgb, var(--gl-surface) 24%, transparent) !important;
  color: color-mix(in srgb, var(--gl-surface) 88%, transparent) !important;
  background: color-mix(in srgb, var(--gl-surface) 7%, transparent) !important;
}

.conny-workbench .output-card .engine-btn:hover,
.conny-workbench .output-card .engine-btn:focus-visible {
  border-color: color-mix(in srgb, var(--gl-brand) 72%, transparent) !important;
  color: var(--gl-surface) !important;
  background: color-mix(in srgb, var(--gl-brand) 16%, transparent) !important;
}

.conny-workbench .output-card .engine-btn-pick {
  border-color: var(--gl-brand) !important;
  color: var(--gl-brand-strong) !important;
  background: var(--gl-surface) !important;
}

.engine-btn small {
  padding-left: 2px;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .68;
}

.conny-workbench .output-card .btn-small {
  min-height: 40px;
  padding-inline: 17px;
  color: var(--gl-brand-strong) !important;
  background: var(--gl-surface) !important;
}

.conny-workbench .output-card .btn-small:hover {
  color: var(--gl-brand-strong) !important;
  background: var(--gl-brand-soft) !important;
}

.engine-btn:disabled,
.btn-small:disabled {
  cursor: wait;
  opacity: .62;
  transform: none !important;
}

.history-row {
  min-height: 66px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--gl-border);
  border-radius: 14px;
  background: var(--gl-surface);
}

.history-row:first-child { border-top: 1px solid var(--gl-border); }
.history-meta { min-width: 0; display: grid; gap: 5px; }
.history-title { color: var(--gl-text-2); line-height: 1.4; }
.history-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.history-row .history-action {
  min-height: 34px;
  padding: 7px 12px !important;
  border: 1px solid var(--gl-border-strong) !important;
  color: var(--gl-brand-strong) !important;
  background: var(--gl-surface) !important;
}

.history-row .history-action-primary {
  border-color: var(--gl-brand-strong) !important;
  color: var(--gl-surface) !important;
  background: var(--gl-brand-strong) !important;
}

.discount-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-color: color-mix(in srgb, var(--gl-done) 26%, transparent);
  border-radius: 14px;
  color: var(--gl-text-2);
  background: var(--gl-done-bg);
}

.discount-pill strong {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--gl-surface);
  background: var(--gl-done);
  font-size: 10px;
  letter-spacing: .06em;
}

.discount-pill.locked {
  border-style: solid;
  background: var(--gl-brand-paper);
  opacity: .76;
}

.discount-pill.locked strong { background: var(--gl-brand-grey); }

.report-preview-card {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border: 1px solid color-mix(in srgb, var(--gl-brand-strong) 14%, transparent);
  border-radius: 22px;
  color: var(--gl-surface);
  background: var(--gl-brand-strong);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--gl-brand-strong) 14%, transparent);
}

.report-preview-card .eyebrow {
  color: color-mix(in srgb, var(--gl-brand) 82%, var(--gl-surface));
}

.report-preview-card h3 {
  margin: 8px 0 9px;
  color: var(--gl-surface);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -.045em;
}

.report-preview-card p {
  max-width: 700px;
  margin: 0;
  color: color-mix(in srgb, var(--gl-surface) 72%, transparent);
}

.report-preview-actions,
.report-meta {
  display: grid;
  gap: 10px;
}

.report-meta {
  gap: 2px;
  color: var(--gl-surface);
  font-size: 12px;
}

.report-meta small {
  color: color-mix(in srgb, var(--gl-surface) 58%, transparent);
}

.report-preview-card .btn-small {
  width: max-content;
  color: var(--gl-brand-strong) !important;
  background: var(--gl-surface) !important;
}

@media (max-width: 720px) {
  .output-head { align-items: flex-start; }
  .result-state { font-size: 0; padding-inline: 9px; }
  .result-state::after { content: "Ready"; font-size: 10px; }
  .report-preview-card { grid-template-columns: 1fr; gap: 22px; }
  .history-row { align-items: flex-start; flex-direction: column; }
  .history-actions { width: 100%; justify-content: flex-start; }
}

/* CONNY-RHYTHM-V1 — keep the workbench compact and connect it to pricing. */
:root { --conny-section-pad-y: clamp(64px, 7vw, 94px); }

.free-tool { padding-bottom: clamp(38px, 4vw, 56px); }
.pricing {
  padding-top: clamp(58px, 6vw, 82px);
  padding-bottom: var(--conny-section-pad-y);
}

.prompt-box .form-actions {
  margin-top: 16px;
  column-gap: 16px;
  row-gap: 12px;
  align-items: flex-start;
}

.prompt-box .form-actions .hint {
  flex-basis: 100%;
  max-width: 560px;
  margin: 0;
  line-height: 1.5;
}

.prompt-box .btn-small {
  min-height: 46px;
  padding: 12px 21px;
}

.conny-workbench .output-card pre { height: 370px; }
.consent-note { margin-top: 18px; margin-bottom: 0; }

@media (max-width: 560px) {
  :root { --conny-section-pad-y: 58px; }
  .free-tool { padding-bottom: 34px; }
  .pricing { padding-top: 52px; }
  .prompt-box .btn-small { width: 100%; }
  .conny-workbench .output-card pre { height: 310px; }
}
