:root {
  --bg: #fdfaf6;
  --frame: rgba(255, 255, 255, 0.88);
  --ink: #1d1d1f;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.06);
  --soft: #f5f5f7;
  --card: #ffffff;
  --accent: #0071e3;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --green: #2ed158;
  --orange: #ff9f0a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 113, 227, 0.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255, 159, 10, 0.08), transparent 40%),
    linear-gradient(180deg, #fdfaf6 0%, #f5f2ee 100%);
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  padding: 40px 24px;
  display: grid;
  place-items: center;
}

.app-frame {
  width: min(100%, 980px);
  min-height: min(940px, calc(100vh - 80px));
  background: var(--frame);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  padding: 32px 40px 48px;
  overflow: hidden;
}

.topbar {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding-bottom: 24px;
}

.brand {
  text-align: center;
}

.brand strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.brand-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1;
}

.ghost-button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  text-align: left;
  transition: color 200ms ease;
}

.ghost-button:hover {
  color: var(--ink);
}

.ghost-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.step-counter {
  justify-self: end;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.progress-rail {
  margin: 0 -40px 40px;
  height: 4px;
  background: rgba(0, 0, 0, 0.03);
}

.progress-bar {
  height: 100%;
  background: var(--ink);
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.screen {
  flex: 1;
  min-height: 0;
}

.panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.panel-enter > * {
  opacity: 0;
  animation: rise 600ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.panel-enter > *:nth-child(2) { animation-delay: 80ms; }
.panel-enter > *:nth-child(3) { animation-delay: 160ms; }
.panel-enter > *:nth-child(4) { animation-delay: 240ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  max-width: 680px;
}

.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  margin: 16px 0 0;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}

.welcome-screen,
.awesome-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.portrait-card,
.name-screen-card,
.rating-hero-card,
.summary-card,
.feature-card,
.review-card,
.price-panel,
.loading-layout,
.slider-panel,
.metric-card,
.chip-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.portrait-card {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.hero-image {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  border-radius: 20px;
}

.portrait-caption {
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  padding-top: 16px;
  font-weight: 500;
}

.avatar-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-stack.large img {
  width: 58px;
  height: 58px;
  margin-left: -16px;
}

.name-screen-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 32px;
  min-height: 360px;
}

.character-art {
  max-height: 300px;
  object-fit: contain;
  margin: 0 auto;
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.input-wrap {
  background: var(--soft);
  border-radius: 24px;
  padding: 24px;
  transition: transform 200ms ease;
}

.input-wrap:focus-within {
  transform: scale(1.02);
}

.name-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stack {
  display: grid;
  gap: 14px;
}

.option-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.option-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.option-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--soft);
  font-size: 1.2rem;
}

.option-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.option-description {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 2px;
}

.selection-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
  flex: 0 0 auto;
  transition: all 200ms ease;
}

.option-card.selected .selection-dot {
  border-color: var(--ink);
  background: var(--ink);
}

.option-card.selected .selection-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: white;
}

.recommend-pill {
  margin-left: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.unit-toggle-wrap {
  display: flex;
  background: var(--soft);
  padding: 4px;
  border-radius: 14px;
  width: fit-content;
  margin: 0 auto 12px;
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all 200ms ease;
}

.toggle-btn.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.metric-card.double-input .input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card.double-input input {
  text-align: center;
}

.metric-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.metric-card input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.slider-panel {
  padding: 40px;
  text-align: center;
}

.slider-readout {
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 12px 0 20px;
}

.slider-note {
  font-size: 1.1rem;
  font-weight: 500;
}

input[type="range"] {
  height: 32px;
  -webkit-appearance: none;
  margin: 20px 0;
  width: 100%;
  background: transparent;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

input[type="range"]::-webkit-slider-thumb {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -9px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 0.5px solid rgba(0,0,0,0.04);
}

.food-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.chip-group {
  padding: 20px;
}

.chip-group h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1.5px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 500;
  transition: all 200ms ease;
}

.chip:hover {
  border-color: rgba(0, 0, 0, 0.15);
}

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

.rating-hero-card {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.rating-score {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stars {
  color: #ff9f0a;
  font-size: 1.4rem;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 20px;
}

.review-card p {
  margin: 12px 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.loading-layout {
  min-height: 680px;
  background: #000;
  color: white;
  padding: 40px;
  border-radius: 44px;
}

.loading-ring {
  width: 220px;
  height: 220px;
  border: 12px solid rgba(255, 255, 255, 0.1);
}

.loading-ring::after {
  background: conic-gradient(var(--green) calc(var(--pct) * 1%), transparent 0);
  mask: radial-gradient(circle, transparent 82px, black 83px);
}

.loading-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.plan-summary {
  padding: 28px;
}

.summary-top {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: center;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.macro-pill {
  padding: 18px;
  background: var(--soft);
}

.macro-pill strong {
  font-size: 1.8rem;
}

.paywall-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.price-panel {
  padding: 32px;
  background: #1d1d1f;
  color: white;
  border: none;
}

.price {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 16px 0;
}

.actions {
  margin-top: auto;
  padding-top: 12px;
}

.primary-button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 20px 32px;
  color: white;
  font-weight: 600;
  font-size: 1.15rem;
  background: var(--accent);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.primary-button:disabled {
  background: #e5e5ea;
  color: #a1a1a6;
  transform: none;
  filter: none;
}

.trust-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

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

.visual-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.visual-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.visual-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.visual-card-image {
  width: 100%;
  aspect-ratio: 1.2;
  background: var(--soft);
  overflow: hidden;
}

.visual-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.visual-card:hover .visual-card-image img {
  transform: scale(1.05);
}

.visual-card-info {
  padding: 20px 24px;
  position: relative;
}

.visual-card .selection-dot {
  position: absolute;
  top: 20px;
  right: 20px;
}

.social-proof-banner {
  margin-top: 24px;
  padding: 24px;
  background: var(--soft);
  border-radius: 22px;
  border-left: 4px solid var(--green);
}

.social-proof-banner p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
}

.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-container {
  text-align: center;
  max-width: 400px;
}

.loading-visual {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.loading-ring-outer {
  position: relative;
  width: 180px;
  height: 180px;
}

.loading-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--ink);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 100ms linear;
}

.loading-percentage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.loading-copy h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.loading-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.social-proof-banner {
  margin-top: 24px;
  padding: 20px;
  background: var(--soft);
  border-radius: 22px;
  border-left: 4px solid var(--green);
}

.social-proof-banner p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
}

.selection-dot.checkbox {
  border-radius: 6px;
}

.selection-dot.checkbox::after {
  border-radius: 2px;
}

/* ─── Plan Ready Screen ─────────────────────────────────────────────────── */

.results-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.weight-projection {
  padding: 32px;
  margin-bottom: 24px;
}

.weight-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.weight-point {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weight-point .label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weight-point .value {
  font-size: 1.8rem;
  font-weight: 700;
}

.weight-point .value.highlight {
  color: var(--green);
}

.weight-line {
  flex: 1;
  height: 6px;
  background: var(--soft);
  margin: 0 32px;
  border-radius: 99px;
  position: relative;
}

.line-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--line), var(--green));
  border-radius: 99px;
  opacity: 0.3;
}

.line-marker {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--green);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(46, 209, 88, 0.4);
}

.projection-text {
  text-align: center;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.result-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.result-icon {
  font-size: 1.5rem;
  background: var(--soft);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.result-data {
  display: flex;
  flex-direction: column;
}

.result-data .label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.result-data .value {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2px 0;
}

.result-data .sub {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
}

.feature-list-card {
  padding: 24px;
}

.feature-list-card h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.coach-note {
  padding: 24px;
  margin-top: 24px;
  background: var(--accent-soft);
  border-color: var(--accent);
}

.coach-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.coach-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.coach-head div {
  display: flex;
  flex-direction: column;
}

.coach-head strong {
  font-size: 0.95rem;
}

.coach-head .sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.coach-note p {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink);
}

.plan-cta {
  text-align: center;
  margin-top: 32px;
}

.guarantee-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
  
  .weight-line {
    margin: 0 16px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Paywall Screen ────────────────────────────────────────────────────── */

/* ─── Paywall ──────────────────────────────────────────────────────────────── */

.paywall-screen {
  gap: 0;
  padding: 0 !important;
  position: relative;
}

.delivery-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #555;
  background: #f0f7f0;
  border-radius: 8px;
  padding: 10px 12px;
}

.feature-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #555;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
}

.timer-banner {
  background: #e8000d;
  color: white;
  padding: 11px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.timer-digits {
  font-family: monospace;
  font-size: 1.15rem;
  background: rgba(0,0,0,0.25);
  padding: 2px 8px;
  border-radius: 5px;
  letter-spacing: 0.05em;
}

/* Header */
.pw-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line);
}

.pw-avatar {
  width: 80px;
  height: 100px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  flex-shrink: 0;
}

.pw-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 6px;
}

.pw-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
}

.pw-subtitle {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Card */
.pw-card {
  margin: 24px 32px 32px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.pw-card-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pw-badge-off {
  background: #22c55e;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.pw-badge-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
}

.pw-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.pw-price-hero {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.pw-per-day-big {
  font-size: 4rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pw-per-day-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 4px;
}

.pw-price-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pw-price-orig {
  font-size: 1rem;
  font-weight: 600;
  color: #bbb;
  text-decoration: line-through;
}

.pw-price-arrow {
  font-size: 0.85rem;
  color: #bbb;
}

.pw-price-now {
  font-size: 1.1rem;
  font-weight: 800;
  color: #22c55e;
}

.pw-price-note {
  font-size: 0.78rem;
  color: #aaa;
  font-weight: 500;
}

.pw-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 16px 0;
}

.pw-features {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: grid;
  gap: 10px;
}

.pw-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.pw-check {
  color: #22c55e;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.pw-promo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

.pw-promo-label {
  font-size: 0.8rem;
  color: #555;
}

.pw-promo-code {
  font-family: monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: #16a34a;
  letter-spacing: 0.05em;
}

.pw-cta-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: white;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 17px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 150ms ease, transform 150ms ease;
  margin-bottom: 16px;
}

.pw-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.pw-trust-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .pw-header {
    padding: 20px 20px 18px;
  }
  .pw-card {
    margin: 16px 16px 24px;
    padding: 20px 18px 18px;
  }
  .pw-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 860px) {
  .app-shell {
    padding: 0;
  }

  .app-frame {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 16px 20px 24px;
  }

  .topbar {
    padding-bottom: 12px;
  }

  .progress-rail {
    margin-bottom: 24px;
  }

  .panel {
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-top: 12px;
  }

  .welcome-screen,
  .name-screen-card,
  .food-groups,
  .plan-grid,
  .paywall-layout,
  .awesome-screen {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welcome-visual, .awesome-visual {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .portrait-card {
    padding: 8px;
  }

  .hero-image {
    aspect-ratio: 16/10;
    max-height: 140px;
  }

  .portrait-caption {
    font-size: 0.85rem;
    padding-top: 8px;
  }

  .social-proof-banner {
    margin-top: 12px;
    padding: 12px;
  }

  .social-proof-banner p {
    font-size: 0.9rem;
  }

  .avatar-proof {
    margin-top: 12px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .avatar-proof {
    justify-content: center;
  }

  .actions {
    padding-top: 8px;
  }

  .primary-button {
    padding: 16px 24px;
  }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.app-footer {
  margin-top: auto;
  padding-top: 48px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 24px;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-links {
  margin-bottom: 12px;
}

.app-footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
}

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

.app-footer p {
  margin-top: 8px;
  opacity: 0.6;
}
