/* Offer Analyzer: Virginia's v13 design. */

/* Login screen: her big Olivia graphic next to the login (her pick, 16 Oct 2026). */
.login-split { max-width: 1120px; margin: 0 auto; padding: 48px 24px 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.login-split[hidden] { display: none; }
.login-graphic { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(51,10,10,0.18); display: block; }
.login-split .login-box { max-width: none; }
@media (max-width: 820px) { .login-split { grid-template-columns: 1fr; gap: 28px; padding: 24px 16px 48px; } }
.input-section { background: var(--cream); padding: 52px 40px 48px; border-bottom: 1px solid var(--peach); display: flex; flex-direction: column; align-items: center; }
.input-inner { width: 100%; max-width: 760px; }
.input-section h1 { font-size: 28px; margin-bottom: 8px; line-height: 1.3; }
.input-section .lead { margin-bottom: 36px; }
.usage { font-size: 12.5px; color: var(--mid); margin: -24px 0 28px; }

.field-group { margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: 12px; color: var(--mid); margin: -2px 0 8px; line-height: 1.5; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-row select { width: auto; min-width: 74px; padding-right: 28px; font-weight: 600; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237A4A3A'/%3E%3C/svg%3E") no-repeat right 12px center; }
.price-row input { width: 140px; }

/* format grid and choice pills */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.format-option, .choice {
  display: flex; align-items: center; gap: 10px; background: white; border: 1.5px solid var(--peach);
  border-radius: 8px; padding: 11px 14px; cursor: pointer; transition: border-color 0.15s, background 0.15s; user-select: none;
  font-size: 12.5px; line-height: 1.3;
}
.format-option:hover, .choice:hover { border-color: var(--fire); }
.format-option:has(input:checked), .choice:has(input:checked) { border-color: var(--fire); background: #FFF2EE; }
.format-option input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--fire); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice { position: relative; justify-content: center; text-align: center; }

/* toggle */
.toggle-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; cursor: pointer; user-select: none; }
.toggle-switch { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
.toggle-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.toggle-track { position: absolute; inset: 0; background: var(--score-low); border-radius: 20px; transition: background 0.2s; }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: white; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-switch input:checked ~ .toggle-track { background: var(--fire); }
.toggle-switch input:checked ~ .toggle-thumb { transform: translateX(16px); }
.toggle-label { font-size: 12.5px; color: var(--mid); line-height: 1.4; }
.toggle-label strong { color: var(--dark); font-weight: 600; }
.pitch-suggest-box { margin-top: 10px; background: #FFF2EE; border: 1.5px dashed var(--fire); border-radius: 8px; padding: 12px 16px; font-size: 12.5px; color: var(--mid); line-height: 1.6; font-style: italic; }
textarea:disabled { opacity: 0.4; }

/* social proof */
.social-proof-options { display: flex; flex-direction: column; gap: 10px; }
.sp-option { display: flex; align-items: flex-start; gap: 12px; background: white; border: 1.5px solid var(--peach); border-radius: 8px; padding: 12px 16px; cursor: pointer; transition: border-color 0.15s, background 0.15s; user-select: none; position: relative; }
.sp-option:hover { border-color: var(--fire); }
.sp-option input { position: absolute; opacity: 0; pointer-events: none; }
.sp-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--peach); flex-shrink: 0; margin-top: 2px; transition: all 0.15s; background: white; }
.sp-option:has(input:checked) { border-color: var(--fire); background: #FFF2EE; }
.sp-option:has(input:checked) .sp-radio { border-color: var(--fire); background: var(--fire); box-shadow: inset 0 0 0 3px white; }
.sp-option.warning:has(input:checked) { border-color: var(--score-mid); background: #FFFBF0; }
.sp-option.warning:has(input:checked) .sp-radio { border-color: var(--score-mid); background: var(--score-mid); }
.sp-text { font-size: 13px; color: var(--dark); line-height: 1.5; }

.analyze-btn { margin-top: 32px; }
.error-banner { max-width: 760px; margin: 20px auto; }

/* loading */
.loading { text-align: center; padding: 48px 40px; }
.loading p { font-size: 14px; color: var(--mid); }
.loading .slow { font-size: 12px; margin-top: 6px; opacity: 0.8; }

/* results */
.results-section { padding: 48px 40px; max-width: 900px; margin: 0 auto; }
.gauge-headline { font-family: "DM Serif Display", Georgia, serif; font-size: 36px; text-align: center; margin-bottom: 8px; }
.gauge-full { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
.gauge-label { font-family: "Lato", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); margin-bottom: 16px; }
.gauge-container-full { width: 100%; max-width: 560px; }
#gaugeFill { transition: stroke-dashoffset 1.6s cubic-bezier(0.4,0,0.2,1); }

.verdict-box { background: var(--dark); border-radius: 12px; padding: 32px 40px; color: white; margin-bottom: 40px; }
.verdict-tag { display: inline-block; font-family: "Lato", sans-serif; background: var(--fire); color: white; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.verdict-title { font-family: "DM Serif Display", Georgia, serif; font-size: 20px; margin: 12px 0; color: var(--peach); line-height: 1.3; }
.verdict-text { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.8); }

.section-title { font-family: "DM Serif Display", Georgia, serif; font-size: 20px; margin: 12px 0 6px; }
.section-subtitle { font-family: "Lato", sans-serif; font-size: 12px; color: var(--mid); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.categories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.categories-grid .category-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 8px); }
.category-card { background: white; border-radius: 10px; padding: 20px 22px; border: 1.5px solid var(--cream); }
.cat-name { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; margin-bottom: 12px; }
.cat-score-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cat-bar-track { flex: 1; height: 6px; background: var(--cream); border-radius: 10px; overflow: hidden; }
.cat-bar-fill { height: 100%; border-radius: 10px; }
.color-red { background: #B8210C; } .color-orange { background: #E8A44A; } .color-yellow { background: #D4B84A; } .color-green { background: #6BAE75; }
.cat-pts { font-size: 12px; font-weight: 700; min-width: 34px; text-align: right; }
.cat-strengths, .cat-improve-items { display: flex; flex-direction: column; gap: 6px; }
.cat-strengths { margin-top: 12px; }
.cat-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.5; }
.cat-item.improve { color: var(--mid); }
.cat-check { color: #6BAE75; font-size: 14px; font-weight: 900; flex-shrink: 0; line-height: 1.4; }
.cat-minus { color: var(--fire); font-size: 14px; font-weight: 900; flex-shrink: 0; line-height: 1.4; }
.cat-improve { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--cream); }
.cat-improve-label { font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fire); margin-bottom: 6px; }
.cat-warning { margin-top: 12px; background: #FFFBF0; border-left: 3px solid var(--score-mid); padding: 10px 12px; font-size: 12px; line-height: 1.55; color: #7A5A20; border-radius: 0 6px 6px 0; }
.cat-tip { margin-top: 10px; font-size: 12px; color: var(--mid); line-height: 1.5; }
.cat-tip strong { color: var(--dark); }

.pitch-box { background: #FFF2EE; border: 1.5px dashed var(--fire); border-radius: 10px; padding: 20px 24px; margin-bottom: 32px; }
.pitch-box .eyebrow { font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fire); margin-bottom: 8px; }
.pitch-box p { font-size: 15px; line-height: 1.6; font-style: italic; }

.strengths-box { background: white; border-radius: 12px; padding: 28px 32px; border: 1.5px solid var(--cream); margin-bottom: 20px; }
.strengths-title { font-family: "DM Serif Display", Georgia, serif; font-size: 20px; margin: 12px 0 20px; }
.strengths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.strength-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.check { color: #6BAE75; font-size: 18px; font-weight: 900; flex-shrink: 0; line-height: 1.3; }

.action-block { background: linear-gradient(135deg, var(--fire) 0%, var(--deep-fire) 100%); border-radius: 12px; padding: 32px 36px; color: white; }
.action-eyebrow { font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.action-title { font-family: "DM Serif Display", Georgia, serif; font-size: 22px; margin: 12px 0; line-height: 1.3; }
.action-text { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.88); max-width: 560px; }
.gaps-in-action { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.gaps-title { font-family: "DM Serif Display", Georgia, serif; font-size: 20px; margin: 12px 0 14px; }
.gap-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.9); margin-bottom: 10px; }
.gap-dot { color: rgba(255,255,255,0.6); flex-shrink: 0; font-weight: 700; }

.blueprint-card { margin-top: 20px; }
.again { text-align: center; margin-top: 36px; }

@media (max-width: 640px) {
  .field-row, .format-grid, .categories-grid, .strengths-grid { grid-template-columns: 1fr; }
  .categories-grid .category-card:last-child:nth-child(odd) { max-width: none; }
  .input-section, .results-section { padding: 32px 16px; }
  .verdict-box, .action-block { padding: 24px 20px; }
  .gauge-headline { font-size: 28px; }
}
