:root {
  --ink: #071529;
  --brand-navy: #071426;
  --ink-2: #102642;
  --muted: #647086;
  --gold: #d39a08;
  --gold-2: #f5c44e;
  --gold-3: #fff4cb;
  --paper: rgba(255, 255, 255, 0.9);
  --pearl: #f8fbff;
  --line: rgba(91, 112, 142, 0.19);
  --soft: #eef4fb;
  --success: #49b96d;
  --danger: #9a3333;
  --shadow: 0 28px 70px rgba(8, 20, 44, 0.12);
  --radius: 28px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(211, 154, 8, 0.10), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(144, 177, 215, 0.25), transparent 34%),
    linear-gradient(115deg, #fffdf7 0%, #ffffff 45%, #eff6ff 100%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 clamp(22px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(211, 154, 8, 0.55);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  color: var(--brand-navy);
  padding: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 6px;
  font-weight: 950;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--gold);
  box-shadow: 0 12px 30px rgba(211, 154, 8, 0.16), inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}
.brand-word {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  color: var(--brand-navy);
}
.header-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-2);
  font-weight: 750;
}
.dot-track { display: inline-flex; align-items: center; gap: 8px; }
.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d9dee7;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}
.dot.done { background: var(--gold); }
.dot.active {
  background: var(--gold-2);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(211,154,8,0.72);
}

.app-shell {
  width: min(var(--max), calc(100% - 56px));
  margin: 34px auto 54px;
}

.page-card {
  position: relative;
  overflow: hidden;
  min-height: min(850px, calc(100vh - 160px));
  background: linear-gradient(145deg, rgba(255,255,255,0.91), rgba(248,251,255,0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: clamp(28px, 4vw, 54px);
}
.page-card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,196,78,0.12), transparent 66%);
  pointer-events: none;
}

.split-grid, .landing-grid, .results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}
.input-layout { grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 1fr); align-items: start; }
.results-grid { align-items: start; }
.full-row { grid-column: 1 / -1; }

.hero-copy { position: relative; z-index: 2; }
.hero-copy.compact { max-width: 560px; }
.form-column { max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: var(--ink-2);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(7,21,41,0.05);
}
.eyebrow span { color: var(--gold); font-size: 1.18rem; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.98;
}
h1 { font-size: clamp(3.6rem, 7.1vw, 6.7rem); }
h2 { font-size: clamp(3.0rem, 5.5vw, 5.6rem); }
h3 { font-size: 1.25rem; color: var(--ink); }
mark {
  color: var(--gold);
  background: linear-gradient(180deg, #f5c44e 10%, #b97d06 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  max-width: 720px;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  line-height: 1.55;
  margin-bottom: 26px;
}
.value-line {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 950;
  margin: 28px 0 34px;
}
.value-line span { color: var(--gold); }
.small-copy, .micro { color: var(--muted); line-height: 1.5; }
.micro { font-size: 0.88rem; }

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}
.space-between { justify-content: space-between; }
.vertical-buttons { display: grid; max-width: 470px; }
.btn {
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 16px 24px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { cursor: not-allowed; opacity: 0.45; box-shadow: none !important; transform: none !important; }
.btn.primary {
  color: #061323;
  background: linear-gradient(180deg, #ffe18a, #f2bd3d 58%, #dfa312);
  box-shadow: 0 18px 34px rgba(211,154,8,0.26), inset 0 1px 0 rgba(255,255,255,0.55);
  border-color: rgba(174,119,5,0.26);
}
.btn.secondary { background: rgba(255,255,255,0.78); color: var(--ink); border-color: rgba(211,154,8,0.62); }
.btn.dark { color: #fff; background: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn.danger { background: #fff8f8; color: var(--danger); border-color: rgba(154,51,51,0.28); }
.btn.small { padding: 12px 16px; border-radius: 13px; }
.btn.wide { width: 100%; justify-content: center; }
.btn span { margin-left: 22px; }

.trust-row, .summary-row, .guidance-grid, .final-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.summary-row, .guidance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-card, .summary-card, .package-card, .feedback-lock, .form-card, .pricing-panel, .score-card, .comparison-card, .recommendation-card, .upload-box {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(7,21,41,0.08), inset 0 1px 0 rgba(255,255,255,0.82);
}
.trust-card { padding: 28px; min-height: 160px; }
.trust-card h3 { margin: 0 0 10px; }
.trust-card p { color: var(--ink-2); line-height: 1.45; margin: 0; }
.icon-shield {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 22px;
  color: var(--gold);
  font-weight: 950;
  font-size: 1.65rem;
  background: radial-gradient(circle at 35% 25%, #fff, #fff6d8 62%, #f4d98c);
  border: 1px solid rgba(211,154,8,0.34);
  box-shadow: 0 18px 32px rgba(211,154,8,0.13);
}

.form-card { padding: 28px; display: grid; gap: 14px; }
.field-stack { display: grid; gap: 14px; }
label { display: grid; gap: 8px; font-weight: 850; color: var(--ink); }
.input, .textarea, .select {
  width: 100%;
  color: var(--ink);
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  box-shadow: 0 10px 22px rgba(7,21,41,0.04);
}
.textarea { min-height: 112px; line-height: 1.5; resize: vertical; }
.textarea.small { min-height: 84px; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(211,154,8,0.12); }
.two-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.extra-fields {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line);
}
.extra-fields summary { font-weight: 900; color: var(--gold); cursor: pointer; margin-bottom: 12px; }
.upload-box { padding: 18px; }
.upload-box label span { display: block; font-weight: 600; color: var(--muted); margin-top: 4px; }

.check-list { display: grid; gap: 14px; margin: 20px 0; }
.check-list.compact-checks { gap: 10px; }
.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
  font-weight: 750;
  color: var(--ink-2);
}
.check-item input { width: 21px; height: 21px; accent-color: var(--gold); margin-top: 2px; }
.check-item strong { display: block; color: var(--ink); margin-bottom: 3px; }
.dark-callout {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ink), #11365f);
  color: #fff;
  box-shadow: 0 22px 44px rgba(7,21,41,0.16);
}
.dark-callout strong { color: var(--gold-2); }
.dark-callout p { margin: 0; color: rgba(255,255,255,0.8); }
.info-note {
  width: fit-content;
  max-width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.74);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 750;
}

.visual-scene {
  position: relative;
  z-index: 1;
  height: min(620px, 60vh);
  min-height: 420px;
  display: grid;
  place-items: center;
  perspective: 900px;
  filter: drop-shadow(0 36px 62px rgba(7,21,41,0.13));
}
.orbit {
  position: absolute;
  border: 1.5px solid rgba(211,154,8,0.32);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}
.orbit-a { width: 78%; height: 42%; transform: rotate(10deg); }
.orbit-b { width: 70%; height: 48%; transform: rotate(-18deg); animation-duration: 24s; }
.orb {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
}
.orb-gold { background: radial-gradient(circle at 35% 25%, #fff6bc, #d39a08 62%, #926100); box-shadow: 0 18px 35px rgba(211,154,8,0.24); }
.orb-silver { background: radial-gradient(circle at 35% 25%, #fff, #cbd4df 62%, #7d8796); box-shadow: 0 18px 35px rgba(7,21,41,0.10); }
.orb-one { width: 46px; height: 46px; top: 18%; right: 20%; animation: bob 4.8s ease-in-out infinite; }
.orb-two { width: 34px; height: 34px; top: 38%; left: 12%; animation: bob 5.8s ease-in-out infinite reverse; }
.orb-three { width: 58px; height: 58px; bottom: 22%; right: 7%; animation: bob 6.2s ease-in-out infinite; }
.glass-stage {
  position: relative;
  width: min(92%, 540px);
  height: min(92%, 520px);
  display: grid;
  place-items: center;
}
.glass-stage::after {
  content: "";
  position: absolute;
  bottom: 12%;
  width: 76%;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(7,21,41,0.14), transparent 64%);
  filter: blur(7px);
}
.glass-ring {
  position: absolute;
  bottom: 16%;
  width: 72%;
  height: 120px;
  border-radius: 50%;
  border: 12px solid rgba(255,255,255,0.62);
  box-shadow: inset 0 0 0 5px rgba(211,154,8,0.24), 0 18px 24px rgba(7,21,41,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(222,231,242,0.4));
}
.glass-card-main {
  position: relative;
  z-index: 2;
  width: 255px;
  height: 285px;
  border-radius: 34px;
  transform: rotateX(9deg) rotateY(-12deg) rotateZ(-3deg);
  background: linear-gradient(145deg, rgba(255,255,255,0.58), rgba(235,243,252,0.32));
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 30px 55px rgba(7,21,41,0.13);
  backdrop-filter: blur(9px);
}
.avatar-dot {
  position: absolute;
  left: 28px;
  top: 30px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 30%, #d7dde6, #8390a1);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.56);
}
.glass-card-main span {
  position: absolute;
  height: 10px;
  border-radius: 999px;
  background: rgba(94,112,136,0.22);
  left: 100px;
  right: 30px;
}
.glass-card-main span:nth-of-type(1) { top: 40px; }
.glass-card-main span:nth-of-type(2) { top: 68px; right: 58px; }
.glass-card-main span:nth-of-type(3) { top: 98px; right: 80px; }
.bar-set { position: absolute; right: 32px; bottom: 52px; display: flex; align-items: end; gap: 9px; }
.bar-set i { display: block; width: 20px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #ffe28d, #c88406); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); }
.bar-set i:nth-child(1) { height: 38px; }
.bar-set i:nth-child(2) { height: 58px; }
.bar-set i:nth-child(3) { height: 82px; }
.bar-set i:nth-child(4) { height: 112px; }
.glass-card-main b {
  position: absolute;
  right: 28px;
  top: 112px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffe18a, #d39a08);
  font-size: 1.4rem;
  box-shadow: 0 16px 28px rgba(211,154,8,0.22);
}
.glass-lens {
  position: absolute;
  z-index: 4;
  right: 15%;
  bottom: 20%;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.38);
  box-shadow: 0 16px 32px rgba(7,21,41,0.12), inset 0 0 0 5px rgba(211,154,8,0.28);
}
.glass-lens::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 18px;
  right: -58px;
  bottom: -25px;
  transform: rotate(45deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe18a, #c88406);
  box-shadow: 0 12px 24px rgba(211,154,8,0.18);
}
.glass-lens em { font-style: normal; font-weight: 950; color: var(--gold); font-size: 1.8rem; }
.visual-consent .glass-lens em, .visual-launch .glass-lens em { font-size: 1.45rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes orbit { to { rotate: 360deg; } }

.analysis-list { display: grid; gap: 16px; margin: 30px 0; }
.analysis-list p { display: flex; gap: 12px; align-items: center; margin: 0; color: var(--ink-2); font-weight: 850; }
.analysis-list span { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 8px rgba(211,154,8,0.14); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.72); opacity: .55; } }

.score-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px;
  max-width: 560px;
}
.score-card h3 { font-size: 1.8rem; margin-bottom: 4px; }
.score-card p { margin: 0; color: var(--muted); }
.gauge {
  --score: 70;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--gold-2) calc(var(--score) * 1%), rgba(103,119,145,0.22) 0);
  position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.gauge strong { position: relative; z-index: 2; font-size: 2.2rem; }
.gauge.big { width: 150px; height: 150px; }
.gauge.big strong { font-size: 3rem; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.metric-card {
  background: linear-gradient(145deg, #102642, #061529);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 35px rgba(7,21,41,0.18);
  display: grid;
  justify-items: center;
  text-align: center;
}
.metric-card h3 { color: #fff; font-size: 1rem; }
.metric-card p { color: var(--gold-2); font-weight: 900; margin: 8px 0 0; }
.metric-card.green .gauge { background: conic-gradient(#6bd879 calc(var(--score) * 1%), rgba(103,119,145,0.22) 0); }
.metric-card.green p { color: #6bd879; }
.metric-card .gauge { width: 104px; height: 104px; }
.metric-card .gauge::before { background: #102642; }
.metric-card .gauge strong { color: #fff; }
.summary-card { padding: 26px; }
.summary-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 14px; }
.summary-card li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.45; }
.summary-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--gold); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; }
.summary-row .summary-card:nth-child(2) li::before { content: "!"; background: transparent; color: var(--gold); border: 1px solid var(--gold); }

.before-layout { align-items: center; }
.comparison-column { max-width: 720px; }
.comparison-card { padding: 18px; margin: 16px 0; }
.before-after-pair { display: grid; grid-template-columns: 1fr auto 1.1fr; align-items: stretch; gap: 18px; }
.before-after-pair > div { padding: 16px; border-radius: 15px; background: rgba(255,255,255,0.75); border: 1px solid var(--line); }
.before-after-pair > div:last-child { border-color: rgba(211,154,8,0.42); background: #fffdf4; }
.before-after-pair span { display: inline-flex; font-size: .78rem; color: var(--gold); font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.before-after-pair b { align-self: center; color: var(--muted); font-size: 1.5rem; }
.before-after-pair p { color: var(--ink-2); line-height: 1.5; }
.before-after-pair small { color: var(--muted); line-height: 1.45; }

.review-page { padding-top: 36px; }
.review-hero, .final-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, .8fr); gap: 34px; align-items: center; }
.review-hero .visual-scene, .final-hero .visual-scene { min-height: 260px; height: 320px; }
.recommendation-list { display: grid; gap: 16px; margin-top: 24px; }
.recommendation-card {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
}
.rec-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 950;
  font-size: 1.35rem;
  background: radial-gradient(circle at 35% 25%, #fff, #fff8e5 62%, #f1ddaa);
  border: 1px solid rgba(211,154,8,0.34);
}
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status-row h3 { margin: 0; }
.status-badge, .pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 900;
  color: #73510b;
  background: rgba(211,154,8,0.12);
}
.status-badge.accepted, .status-badge.edited { color: #157145; background: rgba(73,185,109,0.12); }
.status-badge.skipped { color: var(--danger); background: rgba(154,51,51,0.10); }
.rec-copy p { color: var(--ink-2); line-height: 1.45; margin: 8px 0 0; }
.rec-copy details { margin-top: 10px; }
.rec-copy summary { color: var(--gold); font-weight: 900; cursor: pointer; }
.recommendation-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; margin-top: 12px; }
.recommendation-detail > div, .recommendation-detail label { background: rgba(248,251,255,0.8); border: 1px solid var(--line); border-radius: 14px; padding: 13px; }
.edit-area { width: 100%; min-height: 130px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; color: var(--ink); line-height: 1.5; }
.rec-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; }
.profile-guidance { margin-top: 22px; }
.profile-guidance summary { cursor: pointer; color: var(--gold); font-weight: 950; margin-bottom: 16px; }

.pricing-panel { max-width: 520px; padding: 28px; }
.pricing-panel > p { text-align: center; color: var(--ink-2); font-weight: 850; }
.coupon {
  width: fit-content;
  margin: 12px auto 26px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px dashed var(--gold);
  color: var(--gold);
  font-weight: 950;
  letter-spacing: .04em;
  background: #fffaf0;
}
.price-line { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; color: var(--ink-2); font-weight: 800; border-bottom: 1px solid var(--line); }
.price-line strong { color: var(--ink); font-size: 1.35rem; }
.price-line.total strong { color: var(--gold); font-size: 3rem; }

.final-page { min-height: auto; }
.final-grid { grid-template-columns: 1.25fr .88fr; margin-top: 20px; align-items: start; }
.package-card, .feedback-lock { padding: 24px; }
.side-stack { display: grid; gap: 18px; }
.package-item { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; margin: 14px 0; background: rgba(255,255,255,0.68); }
.package-item h4 { margin-bottom: 6px; }
.package-item h4 span { color: var(--gold); }
.package-item p { color: var(--ink-2); line-height: 1.45; margin: 0; }
.feedback-lock { background: #fff9e8; border-color: rgba(211,154,8,0.30); }
.final-output {
  display: block;
  white-space: pre-wrap;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  max-height: 520px;
  overflow: auto;
  line-height: 1.5;
  color: var(--ink-2);
}
.complete-page { display: grid; gap: 24px; }


.report-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}
.report-chip {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.report-chip span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.report-chip strong { color: var(--ink); font-size: 1rem; }
.report-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.report-section-title h3 { margin: 0; }
.empty-package,
.skipped-report {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(211,154,8,0.24);
  background: rgba(255,249,232,0.76);
  color: var(--ink-2);
  line-height: 1.5;
}
.skipped-report { margin-top: 16px; }
.skipped-report strong { display: block; color: var(--ink); margin-bottom: 6px; }
.skipped-report ul { margin: 8px 0 0; padding-left: 20px; }
.report-actions-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7,21,41,0.44);
  backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(7,21,41,0.28);
  padding: 34px;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-weight: 950;
  font-size: 1.4rem;
}
.modal-card h2 { font-size: 2rem; letter-spacing: -0.04em; }
.modal-card ul { color: var(--muted); line-height: 1.6; }

@media (max-width: 1040px) {
  .app-shell { width: min(100% - 28px, var(--max)); }
  .split-grid, .landing-grid, .results-grid, .input-layout, .review-hero, .final-hero, .final-grid { grid-template-columns: 1fr; }
  .visual-scene { min-height: 320px; height: 380px; order: -1; }
  .hero-copy.compact, .form-column { max-width: none; }
  .trust-row, .metric-row, .guidance-grid, .summary-row, .report-summary { grid-template-columns: 1fr; }
  .recommendation-card { grid-template-columns: 58px 1fr; }
  .rec-actions { grid-column: 1 / -1; justify-content: start; }
  .before-after-pair { grid-template-columns: 1fr; }
  .before-after-pair b { justify-self: center; rotate: 90deg; }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; gap: 12px; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  .header-progress { width: 100%; justify-content: space-between; gap: 10px; font-size: .9rem; }
  .dot-track { gap: 5px; }
  .dot { width: 8px; height: 8px; }
  .page-card { padding: 22px 16px; border-radius: 22px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .button-row .btn { width: 100%; }
  .two-fields, .score-card { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr; }
  .visual-scene { min-height: 270px; height: 310px; }
  .glass-card-main { scale: .78; }
  .glass-lens { scale: .78; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-word { font-size: 1.45rem; }
}

/* v2.1.1 quick fix: ensure modal overlay stays hidden until explicitly opened. */
.modal-backdrop[hidden] {
  display: none !important;
}


/* Tallentin v2.1.3 mandatory gate additions */
.verified-panel {
  border: 1px solid rgba(31, 138, 91, 0.25);
  background: rgba(234, 248, 241, 0.92);
  border-radius: 20px;
  padding: 14px 16px;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(7, 20, 38, 0.06);
}
.verified-panel strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1f8a5b;
  margin-bottom: 4px;
}
.verified-panel p {
  margin: 0;
  font-weight: 800;
  word-break: break-word;
}
.verified-panel.slim {
  margin: 12px 0 16px;
  padding: 11px 13px;
}
code {
  background: rgba(7, 20, 38, 0.08);
  color: var(--navy);
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 0.92em;
}

/* Tallentin v2.1.5 Copy Decision Engine additions */
.bulk-panel {
  border: 1px solid rgba(214, 161, 31, 0.28);
  background: rgba(255, 244, 214, 0.55);
  border-radius: 22px;
  padding: 16px;
  margin: 18px 0;
}
.bulk-panel strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}
.bulk-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}
.bulk-select {
  align-self: start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
}
.recommendation-card.accepted {
  border-color: rgba(31, 138, 91, 0.36);
  background: linear-gradient(180deg, rgba(234,248,241,0.55), rgba(255,255,255,0.94));
}

/* Tallentin v2.1.7 Full Fix Pass — Copy Decision and Delivery UX refinement */
.refined-review-page { padding-top: 38px; }
.review-command-card,
.delivery-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,250,239,.86));
  box-shadow: 0 18px 50px rgba(7,20,38,.08);
}
.review-command-card h2 { max-width: 980px; }
.review-meter {
  min-width: 132px;
  aspect-ratio: 1;
  border-radius: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(145deg, #071426, #102642);
  color: #fff;
  box-shadow: 0 18px 40px rgba(7,20,38,.18);
}
.review-meter strong { display: block; font-size: 2.2rem; letter-spacing: -.04em; }
.review-meter span { color: var(--gold-2); font-weight: 900; font-size: .82rem; text-transform: uppercase; }
.refined-bulk-panel { margin: 20px 0 26px; }
.refined-rec-card {
  display: block;
  padding: 0;
  overflow: hidden;
}
.rec-card-header {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.78);
}
.rec-title-block { display: flex; gap: 14px; align-items: center; min-width: 0; }
.rec-title-block h3 { margin: 0 0 4px; }
.rec-title-block p { margin: 0; color: var(--ink-2); line-height: 1.45; }
.small-icon { width: 44px; height: 44px; border-radius: 15px; font-size: 1rem; flex: 0 0 auto; }
.copy-comparison-grid {
  display: grid;
  grid-template-columns: minmax(220px,.85fr) minmax(320px,1.35fr);
  gap: 14px;
  padding: 18px 22px;
}
.copy-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248,251,255,.84);
  padding: 16px;
}
.copy-panel strong { display: block; color: var(--ink); margin-bottom: 10px; }
.copy-panel p { color: var(--ink-2); line-height: 1.55; margin: 0; white-space: pre-wrap; }
.recommended-panel { background: #fffef8; border-color: rgba(214,161,31,.32); }
.why-panel { grid-column: 1 / -1; background: rgba(255,255,255,.88); }
.refined-rec-actions {
  justify-content: flex-start;
  padding: 0 22px 22px;
  border-top: 0;
}
.refined-rec-actions .btn { min-width: 156px; }
.edit-area { min-height: 180px; font-size: .95rem; line-height: 1.55; }
.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
  gap: 22px;
  margin-top: 22px;
}
.polished-report-preview { padding: 24px; }
.raw-package-view { margin-top: 18px; }
.raw-package-view summary { cursor: pointer; color: var(--gold); font-weight: 950; }
.raw-package-view .final-output { max-height: 360px; margin-top: 14px; }
.delivery-side .summary-card { padding: 22px; }

@media (max-width: 1040px) {
  .review-command-card,
  .delivery-hero-card,
  .delivery-grid,
  .rec-card-header,
  .copy-comparison-grid { grid-template-columns: 1fr; }
  .review-meter { width: 120px; min-width: 120px; aspect-ratio: 1; }
  .rec-card-header { align-items: start; }
  .refined-rec-actions .btn { width: 100%; }
}
