/* -- OWN YOUR VALUE -- PUNCH!media -- */

:root {
  --red:    #861b21;
  --teal:   #861b21;
  --orange: #ef7a22;
  --charcoal: #3f3f3f;
  --paper:  #ffffff;
  --ink:    #2f2f2f;
  --mid:    #555555;
  --light:  #f4f1ed;
  --border: #e2ddd8;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --font-brand: 'Open Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-brand);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

.sans { font-family: var(--font-brand); }

/* -- LAYOUT -- */
.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* -- HEADER -- */
.site-header {
  text-align: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.site-header .logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.site-header h1 {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.site-header .subhead {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto;
}

/* -- PANELS -- */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .panel { padding: 24px 20px; }
}

.hidden { display: none !important; }

/* -- INPUT PANEL -- */
.input-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  display: block;
  margin-bottom: 8px;
}
#value-form label[for="user-input"] { color: var(--red); }

textarea#user-input,
textarea#credible-signal {
  width: 100%;
  min-height: 110px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-brand);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  resize: vertical;
  transition: border-color 0.2s;
  line-height: 1.55;
}

textarea#user-input:focus,
textarea#credible-signal:focus {
  outline: none;
  border-color: var(--teal);
}

textarea[readonly] {
  background: #f7f5f3;
  cursor: default;
}

textarea#user-input::placeholder,
textarea#credible-signal::placeholder {
  color: #aaa;
  font-style: italic;
}

.char-hint {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.82rem;
  color: var(--mid);
  margin-top: 6px;
  min-height: 20px;
  transition: color 0.2s;
}

.char-hint.warn { color: var(--red); }

/* -- CHIP SELECTORS -- */
.chip-section {
  margin-top: 24px;
}

.chip-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.84rem;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--mid);
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.chip.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* -- BUTTONS -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  width: 100%;
  margin-top: 24px;
}

.btn-primary:hover:not(:disabled) {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(134,27,33,0.12), 0 8px 24px rgba(134,27,33,0.34);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-teal {
  background: var(--red);
  color: var(--white);
}

.btn-teal:hover:not(:disabled) {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(134,27,33,0.12), 0 8px 24px rgba(134,27,33,0.34);
}

.btn-teal:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary:active:not(:disabled),
.btn-teal:active:not(:disabled) {
  background: var(--orange);
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(239,122,34,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--mid);
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  padding: 10px 18px;
}

.btn-ghost:hover {
  border-color: var(--mid);
  color: var(--ink);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

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

/* -- TASTE PANEL -- */
.taste-intro {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.84rem;
  color: var(--mid);
  margin-bottom: 28px;
  text-align: center;
}

/* ARCHETYPE CARD */
.archetype-card {
  background: linear-gradient(135deg, #fdf7f7 0%, #fff 100%);
  border: 1.5px solid rgba(134,27,33,0.18);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  position: relative;
}

.archetype-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: var(--radius) 0 0 var(--radius);
}

.archetype-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 6px;
}

.archetype-name {
  font-size: 1.35rem;
  font-weight: normal;
  color: var(--red);
  margin-bottom: 10px;
  line-height: 1.3;
}

.archetype-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.93rem;
  color: var(--mid);
  line-height: 1.6;
}

/* READER VIEW */
.reader-view-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 20px;
}

.reader-view-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 8px;
}

.reader-view-text {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.7;
}

/* ASPIRATION CARD */
.aspiration-card {
  background: linear-gradient(135deg, #fdf7f7 0%, #fff 100%);
  border: 1.5px solid rgba(134,27,33,0.2);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 28px;
  position: relative;
}

.aspiration-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: var(--radius) 0 0 var(--radius);
}

.aspiration-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 6px;
}

.aspiration-text {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
}

/* -- GATE -- */
.gate-section {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 4px;
}

.gate-headline {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.gate-subline {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  margin-bottom: 20px;
}

.gate-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

input[type="email"] {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s;
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--teal);
}

.gate-row .btn {
  white-space: nowrap;
  padding: 13px 22px;
}

.gate-trust {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 10px;
  text-align: center;
}

/* -- RESULT PANEL -- */
.result-section {
  margin-bottom: 28px;
}

.section-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 8px;
}

.section-content {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.7;
}

/* HIGHLIGHT (unique value) */
.highlight-section {
  background: var(--light);
  border-radius: var(--radius);
  padding: 22px 26px;
  border-left: 4px solid var(--red);
}

.highlight-section .section-eyebrow {
  color: var(--red);
}

/* SHIFTS / ACTION STEPS */
.shifts-list {
  list-style: none;
  counter-reset: shift-counter;
  margin-top: 4px;
}

.shifts-list li {
  counter-increment: shift-counter;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.6;
}

.shifts-list li:last-child { border-bottom: none; }

.shifts-list li::before {
  content: counter(shift-counter);
  min-width: 26px;
  height: 26px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* BEFORE / AFTER */
.before-after-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

@media (max-width: 560px) {
  .before-after-wrap { grid-template-columns: 1fr; }
}

.before-block, .after-block {
  border-radius: 10px;
  padding: 18px 20px;
}

.before-block {
  background: #faf5f5;
  border: 1px solid rgba(134,27,33,0.12);
}

.after-block {
  background: #fdf7f7;
  border: 1.5px solid rgba(134,27,33,0.25);
}

.card-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

.before-block .card-label { color: var(--red); }
.after-block .card-label  { color: var(--red); }

.card-text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink);
}

/* Reveal animation for after card */
@keyframes card-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes card-glow {
  0%   { box-shadow: 0 0 0 0 rgba(134,27,33,0); }
  50%  { box-shadow: 0 0 0 4px rgba(134,27,33,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(134,27,33,0); }
}

.after-block.reveal {
  animation: card-rise 0.5s ease forwards, card-glow 1.2s ease 0.3s;
}

/* -- SHARE SECTION -- */
.share-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
  text-align: center;
}

.share-prompt {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 14px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -- CTA SECTION -- */
.cta-section {
  background: linear-gradient(135deg, #fdf7f7 0%, #fff 100%);
  border: 1.5px solid rgba(134,27,33,0.15);
  border-radius: var(--radius);
  padding: 32px 36px;
  text-align: center;
  margin-top: 8px;
}

.cta-section h3 {
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.cta-section p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 22px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.start-over-wrap {
  margin-top: 20px;
  text-align: center;
}

/* -- ERROR PANEL -- */
.error-panel {
  text-align: center;
  padding: 40px;
}

.error-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.error-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: normal;
}

.error-panel p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 20px;
}

/* -- PROOF BAND -- */
.proof-band {
  background: var(--light);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 28px;
  text-align: center;
}

.proof-band p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
}

.proof-band strong {
  color: var(--ink);
  font-weight: 600;
}

/* -- FOOTER -- */
.site-footer {
  text-align: center;
  padding: 46px 24px;
  border-top: 0;
  margin-top: 40px;
  background: var(--charcoal);
}

.site-footer p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto 22px;
}

/* -- RESPONSIVE -- */
@media (max-width: 480px) {
  .site-header h1 { font-size: 1.55rem; }
  .gate-row { flex-direction: column; }
  .gate-row .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

/* -- 2026 CLARITY CHECK EXPERIENCE -- */
body,
body * {
  font-family: var(--font-brand) !important;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(134, 27, 33, 0.05), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(134, 27, 33, 0.04), transparent 30rem),
    var(--paper);
}

.topbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.brand-link { display: inline-flex; align-items: center; }
.topbar .logo { width: auto; height: 76px; display: block; }
.topbar nav { display: flex; align-items: center; gap: 36px; }
.topbar nav a {
  color: #5e5a57;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}
.topbar nav a:hover,
.topbar nav a:focus-visible { color: var(--red); }

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 64px;
  padding: 70px 0 62px;
}

.kicker, .section-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--red);
}

.hero .kicker {
  display: flex;
  align-items: center;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  letter-spacing: 0.09em;
  line-height: 1.25;
  font-weight: 700;
}


.hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  font-size: clamp(3rem, 6.3vw, 5.7rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 670px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--mid);
  font-size: 1.08rem;
  line-height: 1.75;
}
.hero-lede p + p { margin-top: 14px; }

.hero-framework {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin-top: 32px;
}
.hero-framework div {
  min-height: 126px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid rgba(134,27,33,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.76);
}
.hero-framework strong {
  color: var(--red);
  font-size: 1.55rem;
  line-height: 1;
}
.hero-framework span { color: #625e5b; font-size: 1rem; font-weight: 700; }
.hero-framework small { color: #77736f; font-size: 0.78rem; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions .btn { width: auto; margin-top: 0; }
.hero-actions .btn-ghost { padding: 14px 24px; font-size: 0.95rem; }

.credibility-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}
.credibility-line span:not(:last-child)::after { content: "•"; color: var(--orange); margin-left: 20px; }

.hero-portrait-wrap {
  position: relative;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 14% 4% 2%;
  border-radius: 50% 50% 14px 14px;
  background: #f6f2ef;
  transform: none;
}
.hero-portrait { position: relative; z-index: 1; width: min(100%, 480px); height: auto; display: block; }
.leslie-proof {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 20px 22px;
  text-align: left;
  color: var(--charcoal);
  background: var(--white);
  border-left: 5px solid var(--red);
  box-shadow: 0 8px 26px rgba(63,63,63,0.08);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.65;
}

.tool-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto 80px; }
.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.progress-step { display: flex; align-items: center; gap: 10px; color: #77736f; font-size: clamp(0.86rem, 1.4vw, 1rem); font-weight: 700; }
.progress-step span { width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: 50%; display: grid; place-items: center; background: var(--white); font-size: 0.82rem; }
.progress-step.active { color: var(--red); }
.progress-step.active span { color: var(--white); background: var(--red); border-color: var(--red); }
.progress-step.complete { color: var(--orange); }
.progress-step.complete span { color: var(--white); background: var(--orange); border-color: var(--orange); }
.progress-line { width: 78px; height: 2px; background: var(--border); margin: 0 16px; }

.tool-shell .panel { padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(226, 221, 216, 0.8); box-shadow: 0 22px 70px rgba(40, 32, 28, 0.09); }
.tool-shell .panel { border-top: 6px solid var(--red); }
#taste-panel { border-top-color: var(--orange); }
#result-panel { border-top-color: var(--red); }
.panel-heading { margin-bottom: 32px; }
.panel-heading.centered { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.panel-heading h2, .signal-section h2, .save-section h2, .cta-section h2 {
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 8px 0 12px;
}
#input-panel .panel-heading h2 { color: var(--red); }
.input-signal-section h2,
.input-signal-section label[for="credible-signal"] { color: var(--red); }
.panel-heading p:not(.section-number), .signal-section > p:not(.section-number), .save-section p, .cta-section > p {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--mid);
}
.result-email-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f7f5f2;
  border: 1px solid rgba(134, 27, 33, 0.12);
  font: 0.84rem/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
}

.result-email-status.warn {
  background: #fbf2f2;
  border-color: rgba(134, 27, 33, 0.22);
  color: var(--red);
}


fieldset { border: 0; min-width: 0; }
.chip-label span { color: #999; font-weight: 500; letter-spacing: 0; text-transform: none; }
.chip { appearance: none; }
.other-field { margin-top: 12px; }
.other-field label, .gate-grid label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--mid);
  margin-bottom: 6px;
}
input[type="text"], .other-field input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
  background: var(--paper);
  color: var(--ink);
  font: 0.95rem -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
input:focus { outline: 2px solid rgba(134, 27, 33, 0.18); border-color: var(--red); }
.privacy-line { margin-top: 12px; font: 0.76rem/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #777; }
.privacy-line a, .consent-row a { color: var(--teal); }

.private-share {
  border: 1px solid var(--border);
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 30px 0 46px;
}
.private-share h3 { font-weight: 400; font-size: 1.12rem; margin-bottom: 4px; }
.private-share p { font: 0.85rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--mid); }
.private-share .share-buttons { flex: 0 0 auto; }
.private-share .btn { padding: 10px 14px; font-size: 0.8rem; }

.signal-section { border-top: 1px solid var(--border); padding-top: 42px; }
.signal-section textarea { margin-top: 4px; }
.prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 18px 0 22px; }
.prompt-grid span { padding: 10px 12px; background: #f7f5f2; border-radius: 7px; font: 0.78rem/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--red); font-weight: 700; }
.gate-section { margin-top: 36px; padding: 32px; background: linear-gradient(135deg, #fdf7f7, #fff); border: 1px solid rgba(134, 27, 33, 0.22); border-radius: var(--radius); }
.gate-section h2 { font-weight: 400; margin-bottom: 6px; }
.gate-section > p { font: 0.9rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--mid); }
.gate-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 12px; margin: 22px 0 16px; }
.gate-grid input { width: 100%; }
.consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 13px 0; font: 0.76rem/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--mid); }
.consent-row input { width: 17px; height: 17px; accent-color: var(--teal); margin-top: 2px; }
.gate-section .btn { width: 100%; margin-top: 16px; }

.evidence-card { padding: 22px 0; border-bottom: 1px solid var(--border); }
.signal-result { margin-bottom: 14px; }
.pitch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0; }
.pitch-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pitch-card:first-child { border-top: 4px solid var(--orange); }
.pitch-card:last-child { border-top: 4px solid var(--red); }
.ai-boundary { background: #f4f1ed; border-radius: var(--radius); padding: 25px 28px; font: 0.94rem/1.72 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--mid); }
.ai-boundary strong { color: var(--ink); }
.save-section { margin: 34px 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.save-section .btn { flex: 0 0 auto; }
.cta-section { margin-top: 0; }
.cta-section .btn-primary { width: auto; margin-top: 0; }
.ai-leslie-line { color: var(--ink) !important; font-size: 1rem !important; }
.investment-line { font-size: 0.76rem !important; color: #777 !important; margin-bottom: 0 !important; }
.error-panel .btn { width: auto; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .credibility-line { justify-content: center; }
  .hero-portrait { max-width: 400px; }
  .hero-portrait-wrap { order: -1; max-height: 360px; overflow: hidden; align-items: flex-start; }
  .hero-portrait-wrap::before { inset: 12% 18% 0; }
  .private-share, .save-section { flex-direction: column; align-items: stretch; }
  .private-share .share-buttons { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .topbar { width: min(100% - 28px, 1180px); min-height: 72px; }
  .topbar { padding: 18px 0; gap: 12px; }
  .topbar .logo { height: 46px; }
  .topbar nav { gap: 14px; }
  .topbar nav a { font-size: 0.78rem; }
  .hero, .tool-shell { width: min(100% - 28px, 900px); }
  .hero { min-height: auto; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .credibility-line { flex-direction: column; gap: 5px; }
  .credibility-line span::after { content: none !important; }
  .progress-step { font-size: 0; gap: 0; }
  .progress-step span { font-size: 0.75rem; }
  .progress-line { width: 46px; }
  .prompt-grid, .gate-grid, .pitch-grid { grid-template-columns: 1fr; }
  .hero-framework { grid-template-columns: 1fr; }
  .hero-framework div { min-height: auto; padding: 18px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .private-share .share-buttons { flex-direction: column; }
  .private-share .btn { width: 100%; }
}

@media print {
  .topbar, .hero, .progress, #input-panel, #taste-panel, #error-panel, .start-over-wrap, .private-share, .save-section .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .tool-shell { width: 100%; margin: 0; }
  #result-panel { display: block !important; box-shadow: none; border: 0; padding: 0; }
  .pitch-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
