@import url('/branding/design-system/rabbi-on-demand.css');

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 94, 94, 0.055) 1px, transparent 0) 0 0 / 30px 30px,
    linear-gradient(180deg, var(--rod-cream) 0%, var(--rod-bg) 54%, var(--rod-paper) 100%);
  font-family: var(--rod-font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }

.material-symbols-outlined {
  font-family: var(--rod-font-icon);
  font-weight: normal;
  font-style: normal;
  font-size: 21px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 236, 0.9);
  border-bottom: 1px solid rgba(233, 220, 196, 0.8);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar .rod-logo-mark {
  width: clamp(86px, 12vw, 116px);
}

.phone-header .rod-logo-mark {
  width: clamp(72px, 20vw, 94px);
}

.brand-mark,
.rod-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 182, 144, 0.18);
  flex: 0 0 auto;
}

.rod-mark {
  font-family: var(--rod-font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: var(--rod-font-heading);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy {
  min-width: 0;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 245, 220, 0.78);
  border: 1px solid rgba(201, 182, 144, 0.46);
  font-size: 13px;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.top-link:hover,
.top-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 94, 94, 0.25);
  box-shadow: 0 10px 22px rgba(0, 94, 94, 0.06);
  background: rgba(255, 245, 220, 0.96);
  outline: none;
}

.top-link .material-symbols-outlined {
  color: var(--teal);
  font-size: 20px;
}

.journey-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.phone-frame,
.result-panel,
.side-card {
  border: 1px solid rgba(215, 195, 156, 0.84);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.phone-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
}

.phone-header .brand strong { font-size: 20px; }
.phone-header .brand-subtitle {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.phone-body { padding: 20px 22px 22px; }

.hero-copy {
  position: relative;
  margin: 0 0 22px;
  padding: clamp(26px, 4vw, 38px) clamp(22px, 4vw, 34px);
  overflow: hidden;
  text-align: left;
  border-radius: 20px;
  background:
    radial-gradient(circle at 76% 18%, rgba(239, 189, 93, 0.3), transparent 28%),
    linear-gradient(150deg, rgba(255, 253, 248, 0.94), rgba(255, 241, 216, 0.58) 58%, rgba(237, 245, 241, 0.66));
  border: 1px solid rgba(233, 220, 196, 0.58);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -34%;
  width: 76%;
  height: 72%;
  border-radius: 50%;
  background: rgba(0, 94, 94, 0.06);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: 0;
}

h1, h2, h3 {
  font-family: var(--rod-font-heading);
}

h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

#page-title {
  color: var(--ink);
}

.lead {
  margin: 13px auto 0;
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.welcome-note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.welcome-note p {
  margin: 0;
}

.welcome-note strong {
  display: block;
  color: var(--ink);
  font-family: var(--rod-font-heading);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.18;
}

.path-list {
  display: grid;
  gap: 13px;
}

.path-card {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(233, 220, 196, 0.9);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.9));
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 94, 94, 0.035);
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 94, 94, 0.38);
  box-shadow: 0 12px 26px rgba(0, 94, 94, 0.075);
  outline: none;
}

.path-card:hover .arrow,
.path-card:focus-visible .arrow {
  transform: translateX(3px);
}

.path-card:hover .path-icon,
.path-card:focus-visible .path-icon {
  transform: translateY(-1px) scale(1.03);
}

.path-card.active {
  color: var(--navy);
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(237, 245, 241, 0.98), rgba(255, 253, 248, 0.96));
  border-color: rgba(0, 94, 94, 0.48);
  box-shadow: 0 18px 36px rgba(0, 94, 94, 0.16), 0 0 0 4px rgba(0, 94, 94, 0.055);
}

.path-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #214f49;
  background:
    radial-gradient(circle at 72% 22%, rgba(239, 189, 93, 0.22), transparent 30%),
    var(--teal-soft);
  flex: 0 0 auto;
  border: 1px solid rgba(0, 94, 94, 0.16);
  overflow: hidden;
  transition: transform 250ms ease, background 250ms ease, border-color 250ms ease;
}

.path-icon::before {
  content: "";
  position: absolute;
  inset: auto 8px 8px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 94, 94, 0.12);
}

.path-reconnect .path-icon::before,
.path-unsure .path-icon::before {
  height: 16px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(90deg, rgba(0, 94, 94, 0.12), rgba(239, 189, 93, 0.34));
}

.path-difficult .path-icon::before {
  inset: 28px 9px 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(201, 182, 144, 0.2);
  box-shadow: 12px -7px 0 rgba(0, 94, 94, 0.12);
}

.path-community .path-icon::before,
.path-family .path-icon::before {
  inset: 30px 9px 9px;
  height: 11px;
  background: rgba(201, 182, 144, 0.22);
  box-shadow: -9px -8px 0 rgba(0, 94, 94, 0.11), 9px -8px 0 rgba(0, 94, 94, 0.11);
}

.path-lifecycle .path-icon::before {
  inset: 12px 10px 9px;
  height: auto;
  border-radius: 999px;
  border: 2px solid rgba(0, 94, 94, 0.18);
  background: transparent;
}

.path-card.active .path-icon {
  color: var(--teal);
  background:
    radial-gradient(circle at 72% 22%, rgba(239, 189, 93, 0.32), transparent 30%),
    rgba(255, 253, 248, 0.95);
  border-color: rgba(0, 94, 94, 0.24);
}

.path-icon .material-symbols-outlined {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-variation-settings: "FILL" 0;
}

.path-card strong {
  display: block;
  color: inherit;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.path-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.path-card.active small { color: var(--muted); }

.path-card .arrow {
  color: #9aa0aa;
  font-size: 20px;
  transition: transform 250ms ease, color 250ms ease;
}

.path-card.active .arrow { color: var(--teal); transform: translateX(3px); }

.recommendation-box {
  margin-top: 18px;
  padding: 17px;
  border-radius: 14px;
  background: var(--warm);
  border: 1px solid rgba(201, 182, 144, 0.13);
}

.recommendation-box h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.1;
}

.mini-recs {
  display: grid;
  gap: 12px;
}

.mini-rec {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.mini-rec strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0;
}

.mini-rec p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mobile-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-link {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.footer-link .material-symbols-outlined { font-size: 19px; margin-bottom: 3px; }
.footer-link.active { color: var(--navy); }

.result-column {
  display: grid;
  gap: 12px;
}

.result-panel {
  overflow: hidden;
}

.result-empty {
  padding: clamp(28px, 4vw, 40px);
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: start;
}

.result-empty h2,
.result-content h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.result-empty p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.how-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.how-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(233, 220, 196, 0.96);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  line-height: 1.55;
}

.how-steps li::before {
  content: counter(step);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.time-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.soft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: white;
  background: var(--navy);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.button.secondary {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}

.result-content { padding: clamp(28px, 4.4vw, 48px); }

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 241, 216, 0.74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.summary-card {
  margin-top: 22px;
  padding: clamp(20px, 3.5vw, 28px);
  border-radius: 16px;
  background: rgba(251, 247, 239, 0.82);
  border: 1px solid rgba(233, 220, 196, 0.92);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  font-size: 13px;
  font-weight: 900;
  flex: 0 0 auto;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  white-space: pre-line;
}

.reveal-step {
  opacity: 0;
  transform: translateY(12px);
  animation: revealStep 520ms ease forwards;
}

.reveal-step.delay-1 { animation-delay: 120ms; }
.reveal-step.delay-2 { animation-delay: 500ms; }
.reveal-step.delay-3 { animation-delay: 820ms; }
.reveal-step.delay-4 { animation-delay: 1120ms; }
.reveal-step.delay-5 { animation-delay: 1400ms; }

@keyframes revealStep {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.conversation-card {
  padding: clamp(28px, 4.4vw, 48px);
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.conversation-opening {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 19px;
  border: 1px solid rgba(233, 220, 196, 0.92);
  border-radius: 16px;
  background: rgba(251, 247, 239, 0.82);
}

.conversation-opening h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.conversation-opening p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.question-panel {
  padding: 22px;
  border: 1px solid rgba(233, 220, 196, 0.96);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.88);
}

.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.question-count {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.progress-track {
  height: 4px;
  width: min(180px, 45%);
  border-radius: 999px;
  background: var(--warm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 180ms ease;
}

.transition-panel {
  padding: clamp(34px, 5vw, 60px);
  min-height: 580px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.transition-panel h2 {
  margin: 0;
  max-width: 620px;
  color: var(--navy);
  font-family: var(--rod-font-heading);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.transition-panel p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.loading-line {
  position: relative;
  width: min(260px, 100%);
  height: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--warm);
  overflow: hidden;
}

.loading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: var(--teal);
  animation: loadingSlide 1.25s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(80%); }
  100% { transform: translateX(260%); }
}

.question-panel h3 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 36px);
  line-height: 1.08;
}

.question-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.answer-button {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(233, 220, 196, 0.96);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(251, 247, 239, 0.82);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.answer-button:hover,
.answer-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 94, 94, 0.32);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.answer-button.selected {
  border-color: rgba(0, 94, 94, 0.38);
  background: var(--teal-soft);
  box-shadow: 0 10px 22px rgba(0, 94, 94, 0.08);
}

.answer-button:disabled {
  cursor: default;
}

.answer-button:disabled:not(.selected) {
  opacity: 0.58;
}

.answer-button strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: 0;
}

.answer-button span:last-child {
  color: var(--muted);
  font-size: 20px;
}

.listening-note {
  min-height: 20px;
  margin-top: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.listening-note.show {
  opacity: 1;
  transform: translateY(0);
}

.conversation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.text-button {
  min-height: 40px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stage-card {
  min-height: 316px;
  padding: 18px;
  border: 1px solid rgba(233, 220, 196, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.stage-card.primary {
  border-color: rgba(201, 182, 144, 0.34);
  background: linear-gradient(180deg, var(--rod-paper) 0%, var(--rod-gold-soft) 100%);
  box-shadow: 0 18px 34px rgba(201, 182, 144, 0.09);
  grid-column: 1 / -1;
  min-height: 0;
  padding: 26px;
}

.stage-card.primary h4 {
  font-size: clamp(23px, 3vw, 32px);
}

.commitment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 241, 216, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.commitment .material-symbols-outlined {
  font-size: 16px;
}

.stage-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-label .material-symbols-outlined {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 241, 216, 0.82);
  font-size: 17px;
}

.stage-card h4 {
  margin: 15px 0 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.24;
  letter-spacing: 0;
}

.stage-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.stage-card .button {
  width: 100%;
  border-radius: 10px;
}

.note-row {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(201, 182, 144, 0.18);
  background: rgba(255, 248, 235, 0.78);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.note-row label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

textarea,
.concierge-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

textarea:focus,
.concierge-input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 94, 94, 0.1);
}

.feedback {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(233, 220, 196, 0.9);
  background: rgba(255, 253, 248, 0.74);
  text-align: center;
}

.feedback h3 {
  margin: 0;
  font-size: 23px;
}

.feedback p {
  margin: 7px auto 13px;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.feedback-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
  background: white;
  cursor: pointer;
}

.side-card {
  padding: 22px 24px;
  box-shadow: none;
  background: rgba(255, 253, 248, 0.72);
}

.side-card.safety-net {
  position: relative;
  overflow: hidden;
  border-color: rgba(233, 220, 196, 0.72);
  background:
    linear-gradient(150deg, rgba(255, 253, 248, 0.96), rgba(255, 241, 216, 0.52) 62%, rgba(237, 245, 241, 0.62));
}

.side-card.safety-net::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -38%;
  width: 64%;
  height: 82%;
  border-radius: 50%;
  background: rgba(0, 94, 94, 0.06);
  pointer-events: none;
}

.side-card.safety-net > * {
  position: relative;
  z-index: 1;
}

.side-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.side-card p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.side-card .soft-actions {
  margin-top: 18px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.principle {
  padding: 13px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.principle .material-symbols-outlined {
  display: block;
  color: var(--gold);
  font-size: 19px;
  margin-bottom: 7px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 94, 94, 0.32);
  backdrop-filter: blur(10px);
}

.concierge-modal {
  width: min(100%, 560px);
  max-height: min(92dvh, 720px);
  overflow: auto;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(215, 195, 156, 0.94);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(0, 94, 94, 0.24);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.modal-top h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.02;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: white;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.concierge-modal p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.concierge-form {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.concierge-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.context-note {
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid rgba(0, 94, 94, 0.14);
  background: var(--teal-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.form-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.confirmation-panel {
  padding-top: 8px;
  text-align: left;
}

@media (max-width: 980px) {
  .journey-shell {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 100%;
  }

  .stage-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .result-empty {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .page,
  .topbar-inner {
    width: min(100% - 18px, 1180px);
  }

  .topbar-inner {
    min-height: 60px;
    justify-content: flex-end;
  }

  .topbar .brand {
    display: none;
  }

  .phone-header {
    display: flex;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand-subtitle,
  .top-link span:last-child {
    display: none;
  }

  .phone-header .brand-subtitle {
    display: block;
  }

  .phone-frame,
  .result-panel,
  .side-card {
    border-radius: 13px;
  }

  .phone-body,
  .result-content,
  .result-empty,
  .side-card {
    padding: 18px 14px;
  }

  h1 {
    margin: 0 auto;
    max-width: 350px;
    font-size: 31px;
  }

  .hero-copy {
    margin: -2px -8px 18px;
    padding: 24px 14px 22px;
    text-align: center;
  }

  .welcome-note {
    max-width: 340px;
    margin: 14px auto 0;
  }

  .welcome-note strong {
    font-size: 21px;
    line-height: 1.1;
  }

  .result-empty h2,
  .result-content h2 {
    font-size: 34px;
  }

  .summary-card,
  .note-row,
  .conversation-opening {
    grid-template-columns: 1fr;
  }

  .note-row .button {
    width: 100%;
  }
}
