:root {
  color-scheme: light;
  --paper: #f7f0e8;
  --paper-deep: #eee4d9;
  --ink: #292421;
  --muted: #675f59;
  --faint: #8f857d;
  --line: rgba(41, 36, 33, 0.14);
  --accent: #e76648;
  --accent-dark: #c74d33;
  --accent-soft: #f5d8cd;
  --white: #fffdf9;
  --danger: #a23b31;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #dcd2c7;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #dcd2c7;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.screen h1[tabindex="-1"]:focus,
.modal-sheet[tabindex="-1"]:focus {
  outline: none;
}

.prototype-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 20px 54px;
}

.prototype-label {
  position: fixed;
  right: 18px;
  bottom: 13px;
  margin: 0;
  color: rgba(41, 36, 33, 0.58);
  font-size: 11px;
  letter-spacing: 0.015em;
}

.app-shell {
  position: relative;
  width: min(100%, 460px);
  min-height: min(820px, calc(100svh - 56px));
  overflow: hidden;
  border: 1px solid rgba(41, 36, 33, 0.12);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(46, 35, 27, 0.18);
  isolation: isolate;
}

.screen {
  min-height: min(820px, calc(100svh - 56px));
  display: flex;
  flex-direction: column;
  padding: max(28px, env(safe-area-inset-top)) 24px max(22px, env(safe-area-inset-bottom));
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--paper);
}

.home-screen::after {
  content: "";
  position: absolute;
  right: -88px;
  bottom: 118px;
  z-index: -1;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(231, 102, 72, 0.24);
  border-radius: 50%;
  box-shadow:
    -68px 18px 0 -1px var(--paper),
    -68px 18px 0 0 rgba(231, 102, 72, 0.24);
  transform: rotate(-16deg);
}

@keyframes soft-pop {
  0% { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.74; }
  50% { transform: scale(1.04); opacity: 1; }
}

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.privacy-mark,
.step-mark,
.room-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.04em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.privacy-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.back-button,
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  transition: background 160ms ease, transform 160ms ease;
}

.back-button:hover,
.icon-button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.display,
.title,
.question-title,
.result-number {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.052em;
}

.display {
  max-width: 9ch;
  font-size: clamp(47px, 13vw, 66px);
  line-height: 0.95;
  text-wrap: balance;
}

.title {
  max-width: 12ch;
  font-size: clamp(37px, 10vw, 51px);
  line-height: 0.98;
  text-wrap: balance;
}

.question-title {
  max-width: 15ch;
  font-size: 38px;
  line-height: 1.02;
  text-wrap: balance;
}

.question-title.is-long {
  max-width: 17ch;
  font-size: 32px;
  line-height: 1.06;
}

.lead {
  max-width: 32ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-privacy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.spacer {
  flex: 1;
  min-height: 30px;
}

.home-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-meta div {
  padding: 14px 8px 14px 0;
}

.home-meta div + div {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.home-meta strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.home-meta span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.primary-button,
.secondary-button,
.text-button,
.answer-button,
.filter-button,
.pack-action,
.danger-button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.primary-button,
.secondary-button,
.danger-button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 760;
  padding: 14px 18px;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.primary-button {
  background: var(--accent);
  color: #fffaf5;
  box-shadow: 0 10px 26px rgba(199, 77, 51, 0.2);
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
  box-shadow: none;
  transform: none;
}

.secondary-button {
  margin-top: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.secondary-button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.text-button {
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  padding: 10px 0;
  text-decoration: underline;
  text-decoration-color: rgba(41, 36, 33, 0.22);
  text-underline-offset: 4px;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.form-block {
  margin-top: 36px;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.text-field {
  width: 100%;
  height: 58px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 29px;
  padding: 0;
}

.text-field::placeholder {
  color: var(--faint);
}

.text-field:focus {
  border-color: var(--accent);
}

.field-note,
.microcopy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.room-link {
  margin-top: 34px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.room-link-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.room-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.room-link-value {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  padding: 9px 12px;
}

.status-list {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.status-person {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 690;
}

.avatar-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 12px;
}

.status-value {
  color: var(--muted);
  font-size: 12px;
}

.question-screen .topbar {
  margin-bottom: 20px;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin: 0 0 29px;
}

.progress-segment {
  height: 3px;
  border-radius: 99px;
  background: rgba(41, 36, 33, 0.13);
  transition: background 220ms ease, transform 220ms ease;
}

.progress-segment.done {
  background: var(--accent);
}

.progress-segment.current {
  background: var(--accent);
  transform: scaleY(1.8);
}

.answer-list {
  display: grid;
  gap: 9px;
  margin-top: 28px;
}

.answer-button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.34);
  color: var(--ink);
  padding: 13px 15px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.answer-button:hover {
  border-color: rgba(231, 102, 72, 0.45);
  transform: translateY(-1px);
}

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

.answer-marker {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 36, 33, 0.28);
  border-radius: 50%;
  transition: border-color 160ms ease, background 160ms ease;
}

.answer-marker::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.answer-button.selected .answer-marker {
  border-color: var(--accent);
}

.answer-button.selected .answer-marker::after {
  opacity: 1;
  transform: scale(1);
}

.answer-copy {
  font-size: 13px;
  font-weight: 620;
  line-height: 1.35;
}

.discuss-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
  padding: 10px 2px;
  text-align: left;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(41, 36, 33, 0.18);
  transition: background 180ms ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(41, 36, 33, 0.2);
  transition: transform 180ms ease;
}

.discuss-toggle.active {
  color: var(--ink);
}

.discuss-toggle.active .switch {
  background: var(--accent);
}

.discuss-toggle.active .switch::after {
  transform: translateX(14px);
}

.question-actions {
  margin-top: 22px;
}

.review-stats,
.result-summary {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.review-stats {
  grid-template-columns: repeat(3, 1fr);
}

.result-summary {
  grid-template-columns: repeat(4, 1fr);
}

.review-stats div,
.result-summary div {
  min-width: 0;
  padding: 15px 8px 15px 0;
}

.review-stats div + div,
.result-summary div + div {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.review-stats strong,
.result-summary strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.review-stats span,
.result-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.lock-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lock-symbol {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 12px;
}

.waiting-visual {
  position: relative;
  width: 178px;
  height: 150px;
  margin: 30px auto 36px;
}

.waiting-circle {
  position: absolute;
  top: 18px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  animation: breathe 2.2s ease-in-out infinite;
}

.waiting-circle:first-child {
  left: 0;
  background: var(--accent);
  opacity: 0.82;
}

.waiting-circle:last-child {
  right: 0;
  border: 1px solid rgba(41, 36, 33, 0.34);
  background: var(--paper);
  animation-delay: 0.35s;
}

.waiting-check {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
}

.waiting-bar {
  height: 5px;
  margin-top: 25px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(41, 36, 33, 0.12);
}

.waiting-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 260ms ease;
}

.result-screen .topbar {
  margin-bottom: 27px;
}

.result-number {
  color: var(--accent);
  font-size: 86px;
  line-height: 0.82;
  animation: soft-pop 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.result-heading {
  margin: 11px 0 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.result-explainer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.filter-row {
  display: flex;
  gap: 6px;
  margin: 24px -24px 0;
  overflow-x: auto;
  padding: 0 24px 8px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  padding: 8px 12px;
}

.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.result-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.result-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  animation: soft-pop 240ms ease both;
}

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

.result-question {
  margin: 0;
  font-size: 13px;
  font-weight: 740;
  line-height: 1.38;
}

.result-tag {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 760;
  padding: 6px 8px;
}

.result-tag.match {
  background: rgba(41, 36, 33, 0.07);
  color: var(--muted);
}

.result-tag.close {
  background: rgba(41, 36, 33, 0.11);
  color: var(--ink);
}

.answer-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 15px;
}

.answer-comparison div {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.answer-comparison small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
}

.answer-comparison span {
  display: block;
  font-size: 12px;
  font-weight: 640;
  line-height: 1.35;
}

.result-discuss-note {
  margin: 11px 0 0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 690;
}

.result-top-action {
  margin-top: 18px;
}

.result-actions {
  margin-top: 24px;
  padding-bottom: max(2px, env(safe-area-inset-bottom));
}

.conversation-card {
  margin-top: 34px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.conversation-instruction {
  max-width: 39ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.conversation-question {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.conversation-prompt {
  margin-top: 25px;
}

.conversation-prompt-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.prompt-block {
  margin: 0;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  padding-left: 15px;
}

.pack-list {
  margin-top: 30px;
  border-top: 1px solid var(--ink);
}

.pack-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.pack-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--paper-deep);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
}

.pack-copy strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.pack-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.pack-action {
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 760;
  padding: 8px 10px;
}

.pack-action.selected {
  background: var(--accent-soft);
}

.delete-link {
  align-self: center;
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
  text-decoration-color: rgba(41, 36, 33, 0.22);
  text-underline-offset: 4px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: rgba(41, 36, 33, 0.32);
  backdrop-filter: blur(5px);
  animation: modal-fade 180ms ease both;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  width: 100%;
  border-radius: 22px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 18px 60px rgba(41, 36, 33, 0.2);
  animation: sheet-up 220ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

@keyframes sheet-up {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-sheet h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.modal-sheet p {
  margin: 11px 0 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.danger-button {
  background: var(--danger);
  color: #fff;
}

.toast-region {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translateX(-50%);
}

.toast {
  min-width: 210px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 680;
  padding: 11px 16px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(41, 36, 33, 0.25);
  animation: toast-in 220ms ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.empty-state {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(231, 102, 72, 0.3);
  outline-offset: 3px;
}

/* Public landing */

body.landing-active {
  overflow-x: clip;
  background: var(--paper);
}

body.landing-active .prototype-stage {
  display: block;
  min-height: 100svh;
  padding: 0;
}

body.landing-active .prototype-label {
  display: none;
}

.app-shell.landing-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  overflow: clip;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.landing-page {
  min-height: 100svh;
  overflow: clip;
  background: var(--paper);
}

.landing-page h1[tabindex="-1"]:focus {
  outline: none;
}

.landing-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background: #d8c7b6;
}

.landing-hero-image,
.landing-hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 63% 28%;
  animation: landing-image-in 1400ms cubic-bezier(0.2, 0.76, 0.24, 1) both;
}

.landing-hero-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(247, 240, 232, 0.98) 0%, rgba(247, 240, 232, 0.9) 31%, rgba(247, 240, 232, 0.22) 62%, rgba(41, 36, 33, 0.08) 100%),
    linear-gradient(0deg, rgba(41, 36, 33, 0.28), transparent 38%);
}

@keyframes landing-image-in {
  from { transform: scale(1.06); filter: saturate(0.82); }
  to { transform: scale(1); filter: saturate(1); }
}

@keyframes landing-copy-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.landing-nav,
.landing-hero-copy,
.landing-intro-grid,
.landing-process-inner,
.landing-conversation-grid,
.landing-privacy-inner,
.landing-final-inner {
  width: min(100%, 1320px);
  margin-inline: auto;
}

.landing-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: max(28px, env(safe-area-inset-top)) clamp(24px, 6vw, 88px) 20px;
  animation: landing-copy-in 700ms 80ms ease both;
}

.landing-nav-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.landing-nav-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(41, 36, 33, 0.1);
  border-radius: 999px;
  background: rgba(247, 240, 232, 0.7);
  color: rgba(41, 36, 33, 0.72);
  backdrop-filter: blur(9px);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.landing-nav-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 60px clamp(24px, 6vw, 88px) clamp(46px, 7vh, 82px);
}

.landing-kicker,
.landing-section-number {
  margin: 0;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-kicker {
  color: var(--accent-dark);
  animation: landing-copy-in 700ms 160ms ease both;
}

.landing-wordmark {
  max-width: 6ch;
  margin: 17px 0 0;
  font-family: var(--serif);
  font-size: clamp(78px, 10vw, 148px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.71;
  animation: landing-copy-in 780ms 220ms cubic-bezier(0.2, 0.78, 0.2, 1) both;
}

.landing-promise {
  margin: clamp(32px, 5vh, 54px) 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  animation: landing-copy-in 720ms 310ms ease both;
}

.landing-hero-lead {
  max-width: 43ch;
  margin: 17px 0 0;
  color: rgba(41, 36, 33, 0.76);
  font-size: 14px;
  line-height: 1.58;
  animation: landing-copy-in 720ms 370ms ease both;
}

.landing-explore {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  border: 0;
  border-bottom: 1px solid rgba(41, 36, 33, 0.5);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 740;
  padding: 0 0 7px;
  animation: landing-copy-in 720ms 430ms ease both;
  transition: gap 180ms ease, border-color 180ms ease;
}

.landing-explore:hover {
  gap: 18px;
  border-color: var(--accent);
}

.landing-section {
  padding: clamp(90px, 12vw, 170px) clamp(24px, 6vw, 88px);
}

.landing-intro {
  background: var(--paper);
}

.landing-intro-grid,
.landing-conversation-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.landing-section-copy h2,
.landing-process-header h2,
.landing-conversation-copy h2,
.landing-privacy h2,
.landing-final h2 {
  margin: 19px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.landing-section-copy h2,
.landing-conversation-copy h2 {
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.98;
}

.landing-section-copy > p:last-child,
.landing-conversation-copy > p:last-child {
  max-width: 46ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.landing-section-number {
  color: var(--accent-dark);
}

.landing-question-scene {
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(30px, 5vw, 72px);
}

.landing-question-ui {
  width: min(100%, 480px);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.32);
  padding: 30px;
  transform: rotate(-2deg);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.landing-question-scene:hover .landing-question-ui {
  transform: rotate(0deg) translateY(-6px);
}

.landing-ui-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-ui-label {
  margin: 42px 0 10px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-question-ui h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.landing-answer-list {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}

.landing-answer-list span {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  padding: 12px 14px 12px 42px;
}

.landing-answer-list span::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(41, 36, 33, 0.3);
  border-radius: 50%;
}

.landing-answer-list span.selected {
  border-color: var(--accent);
  background: var(--white);
  color: var(--ink);
  font-weight: 660;
}

.landing-answer-list span.selected::after {
  content: "";
  position: absolute;
  left: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-discuss-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
}

.landing-discuss-line i {
  width: 28px;
  height: 17px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset -12px 0 0 2px var(--white);
}

.landing-process {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(92px, 12vw, 170px) clamp(24px, 6vw, 88px);
}

.landing-process-header {
  max-width: 1000px;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.landing-process .landing-section-number {
  color: #f38a70;
}

.landing-process-header h2 {
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.88;
}

.landing-process-step {
  display: grid;
  grid-template-columns: 74px minmax(260px, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  border-top: 1px solid rgba(247, 240, 232, 0.18);
  padding: clamp(46px, 6vw, 78px) 0;
}

.landing-process-step:last-child {
  border-bottom: 1px solid rgba(247, 240, 232, 0.18);
}

.landing-step-index {
  align-self: start;
  color: #f38a70;
  font-family: var(--serif);
  font-size: 30px;
}

.landing-step-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.landing-step-copy p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(247, 240, 232, 0.68);
  font-size: 14px;
  line-height: 1.62;
}

.landing-link-visual,
.landing-lock-visual,
.landing-result-visual {
  min-height: 190px;
  align-self: stretch;
}

.landing-link-visual {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-inline: clamp(10px, 4vw, 50px);
}

.landing-person-dot {
  width: clamp(76px, 8vw, 112px);
  height: clamp(76px, 8vw, 112px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 32px;
}

.landing-person-dot.outline {
  border: 1px solid rgba(247, 240, 232, 0.5);
  background: transparent;
}

.landing-link-line {
  position: relative;
  height: 1px;
  background: rgba(247, 240, 232, 0.34);
}

.landing-link-line i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(247, 240, 232, 0.34);
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.landing-link-line i::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-lock-visual {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(247, 240, 232, 0.22);
  border-bottom: 1px solid rgba(247, 240, 232, 0.22);
  padding: 28px 0;
}

.landing-lock-visual > span {
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1;
  text-align: center;
}

.landing-lock-visual > i {
  position: relative;
  width: 32px;
  height: 26px;
  justify-self: center;
  border-radius: 7px;
  background: var(--accent);
}

.landing-lock-visual > i::before {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 19px;
  width: 16px;
  height: 14px;
  border: 2px solid var(--accent);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.landing-lock-visual small {
  grid-column: 1 / -1;
  color: rgba(247, 240, 232, 0.6);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.landing-result-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247, 240, 232, 0.25);
  border-bottom: 1px solid rgba(247, 240, 232, 0.25);
}

.landing-result-visual span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  color: rgba(247, 240, 232, 0.62);
  font-size: 11px;
  padding: 25px 18px;
}

.landing-result-visual span + span {
  border-left: 1px solid rgba(247, 240, 232, 0.2);
}

.landing-result-visual strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.85;
}

.landing-result-visual span:last-child strong {
  color: #f38a70;
}

.landing-conversation {
  background: var(--paper-deep);
}

.landing-prompt-visual {
  position: relative;
  margin: 0;
  background: var(--accent);
  color: #fff8f1;
  padding: clamp(48px, 7vw, 92px);
}

.landing-prompt-visual::before {
  content: "“";
  position: absolute;
  top: 12px;
  right: 28px;
  color: rgba(255, 248, 241, 0.18);
  font-family: var(--serif);
  font-size: 190px;
  line-height: 1;
}

.landing-prompt-visual span {
  position: relative;
  display: block;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.landing-prompt-visual p {
  position: relative;
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 66px);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.landing-privacy {
  background: #3a312c;
  color: var(--paper);
  padding: clamp(100px, 13vw, 190px) clamp(24px, 6vw, 88px);
}

.landing-privacy h2 {
  max-width: 10ch;
  color: var(--paper);
  font-size: clamp(66px, 10vw, 142px);
  line-height: 0.82;
}

.landing-privacy .landing-section-number {
  color: #f38a70;
}

.landing-privacy-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(60px, 9vw, 120px);
  border-top: 1px solid rgba(247, 240, 232, 0.24);
  border-bottom: 1px solid rgba(247, 240, 232, 0.24);
}

.landing-privacy-facts p {
  min-width: 0;
  margin: 0;
  padding: clamp(26px, 4vw, 48px) 20px 36px 0;
}

.landing-privacy-facts p + p {
  border-left: 1px solid rgba(247, 240, 232, 0.2);
  padding-left: clamp(18px, 4vw, 46px);
}

.landing-privacy-facts strong,
.landing-privacy-facts span {
  display: block;
}

.landing-privacy-facts strong {
  color: #f38a70;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 500;
  line-height: 0.85;
}

.landing-privacy-facts span {
  margin-top: 15px;
  color: rgba(247, 240, 232, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

.landing-privacy-note {
  max-width: 55ch;
  margin: 32px 0 0 auto;
  color: rgba(247, 240, 232, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.landing-final {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: clamp(96px, 12vw, 170px) clamp(24px, 6vw, 88px);
}

.landing-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-final-brand {
  margin: 0 0 60px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.landing-final h2 {
  max-width: 12ch;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
}

.landing-final-inner > p:not(.landing-final-brand):not(.landing-section-number) {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.landing-actions {
  width: min(100%, 430px);
  margin-top: 46px;
}

.landing-actions .primary-button,
.landing-actions .secondary-button {
  min-height: 62px;
  border-radius: 19px;
  font-size: 15px;
}

.landing-final small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.landing-reveal {
  opacity: 1;
  transform: none;
}

.landing-motion-ready .landing-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.76, 0.24, 1);
}

.landing-motion-ready .landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 840px) {
  .landing-nav {
    padding-inline: 22px;
  }

  .landing-nav-name {
    font-size: 21px;
  }

  .landing-nav-note {
    max-width: 17ch;
    justify-content: flex-end;
    font-size: 9px;
    text-align: right;
  }

  .landing-hero-copy {
    justify-content: flex-start;
    padding: clamp(70px, 11vh, 112px) 22px 40px;
  }

  .landing-hero-image {
    object-position: 55% center;
  }

  .landing-hero-wash {
    background:
      linear-gradient(180deg, rgba(247, 240, 232, 0.98) 0%, rgba(247, 240, 232, 0.88) 28%, rgba(247, 240, 232, 0.18) 64%, rgba(41, 36, 33, 0.58) 100%),
      linear-gradient(90deg, rgba(247, 240, 232, 0.72), transparent 76%);
  }

  .landing-wordmark {
    font-size: clamp(68px, 20vw, 102px);
  }

  .landing-promise {
    max-width: 19ch;
    margin-top: 28px;
    font-size: clamp(23px, 6.3vw, 32px);
  }

  .landing-hero-lead {
    max-width: 29ch;
    margin-top: 14px;
    font-size: 13px;
  }

  .landing-explore {
    position: absolute;
    left: 22px;
    bottom: max(30px, env(safe-area-inset-bottom));
    border-color: rgba(255, 248, 241, 0.52);
    color: #fff8f1;
  }

  .landing-intro-grid,
  .landing-conversation-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .landing-question-scene {
    min-height: auto;
    margin-inline: -24px;
    padding: 48px 24px;
  }

  .landing-question-ui {
    border-radius: 28px;
    padding: 24px;
  }

  .landing-process-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
  }

  .landing-step-copy {
    grid-column: 2;
  }

  .landing-link-visual,
  .landing-lock-visual,
  .landing-result-visual {
    grid-column: 1 / -1;
    min-height: 150px;
    margin-top: 24px;
  }

  .landing-result-visual span {
    padding-inline: 10px;
  }

  .landing-prompt-visual {
    margin-inline: -24px;
  }
}

@media (max-width: 560px) {
  .landing-nav-note {
    max-width: 14ch;
  }

  .landing-kicker {
    font-size: 10px;
  }

  .landing-hero-copy {
    padding-top: 52px;
  }

  .landing-wordmark {
    font-size: clamp(66px, 22vw, 90px);
    line-height: 0.74;
  }

  .landing-promise {
    font-size: 23px;
  }

  .landing-section-copy h2,
  .landing-conversation-copy h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .landing-question-ui h3 {
    font-size: 29px;
  }

  .landing-process-header h2,
  .landing-final h2 {
    font-size: clamp(51px, 15vw, 70px);
  }

  .landing-step-copy h3 {
    font-size: 31px;
  }

  .landing-result-visual {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-result-visual strong {
    font-size: 48px;
  }

  .landing-result-visual span {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .landing-prompt-visual p {
    font-size: 36px;
  }

  .landing-privacy h2 {
    font-size: clamp(61px, 18vw, 82px);
  }

  .landing-privacy-facts {
    grid-template-columns: 1fr;
  }

  .landing-privacy-facts p,
  .landing-privacy-facts p + p {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 22px;
    align-items: end;
    border-left: 0;
    border-top: 1px solid rgba(247, 240, 232, 0.18);
    padding: 24px 0;
  }

  .landing-privacy-facts p:first-child {
    border-top: 0;
  }

  .landing-privacy-facts strong {
    font-size: 68px;
  }

  .landing-privacy-facts span {
    margin: 0 0 6px;
  }

  .landing-privacy-note {
    margin-left: 0;
  }

  .landing-final-brand {
    margin-bottom: 44px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    background: var(--paper);
  }

  .prototype-stage {
    display: block;
    padding: 0;
  }

  .prototype-label {
    display: none;
  }

  .app-shell {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .screen {
    min-height: 100svh;
  }

  .question-title {
    font-size: 34px;
  }

  .question-title.is-long {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Compact interactive landing */

.compact-landing {
  color: var(--ink);
}

.compact-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background: #53463d;
}

.compact-hero-image,
.compact-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compact-hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 64% 42%;
  filter: saturate(0.88) contrast(1.04);
  animation: landing-image-in 1200ms cubic-bezier(0.2, 0.76, 0.24, 1) both;
}

.compact-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(30, 25, 22, 0.82) 0%, rgba(30, 25, 22, 0.54) 48%, rgba(30, 25, 22, 0.15) 100%),
    linear-gradient(0deg, rgba(30, 25, 22, 0.88) 0%, rgba(30, 25, 22, 0.08) 58%);
}

.compact-nav {
  width: min(100%, 1180px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 34px 0;
  color: #fffaf4;
}

.compact-brand {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.compact-private {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-private i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff795c;
  box-shadow: 0 0 0 5px rgba(255, 121, 92, 0.14);
}

.compact-hero-copy {
  width: min(100%, 1180px);
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0 auto;
  padding: 72px 34px max(34px, env(safe-area-inset-bottom));
  color: #fffaf4;
  animation: landing-copy-in 700ms 120ms ease both;
}

.compact-kicker {
  margin: 0 0 18px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.compact-kicker.accent {
  color: var(--accent-dark);
}

.compact-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 104px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-wrap: balance;
}

.compact-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}

.compact-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.compact-primary,
.compact-secondary,
.compact-result-button {
  min-height: 56px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 27px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.compact-primary {
  background: var(--accent);
  color: #fff;
}

.compact-secondary {
  border-color: rgba(255, 250, 244, 0.42);
  background: rgba(255, 250, 244, 0.08);
  color: #fffaf4;
  backdrop-filter: blur(12px);
}

.compact-primary:hover,
.compact-secondary:hover,
.compact-result-button:hover,
.compact-option:hover {
  transform: translateY(-2px);
}

.compact-primary:active,
.compact-secondary:active,
.compact-result-button:active,
.compact-option:active {
  transform: translateY(0);
}

.compact-try-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 244, 0.5);
  background: transparent;
  color: rgba(255, 250, 244, 0.9);
  cursor: pointer;
  padding: 0 0 5px;
  font-size: 13px;
  font-weight: 720;
}

.compact-try-link span {
  color: #ff8a70;
  font-size: 17px;
}

.compact-sample {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 88% 13%, rgba(231, 102, 72, 0.1), transparent 24%),
    var(--paper);
  padding: 72px 24px max(34px, env(safe-area-inset-bottom));
}

.compact-sample-inner {
  width: min(100%, 760px);
}

.compact-sample h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5.3vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.compact-options {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.compact-option {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(41, 36, 33, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.58);
  color: var(--ink);
  cursor: pointer;
  padding: 13px 18px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.compact-option > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(41, 36, 33, 0.18);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-option.selected {
  border-color: var(--accent);
  background: #fffaf5;
  box-shadow: 0 10px 30px rgba(93, 56, 40, 0.1);
  font-weight: 750;
}

.compact-option.selected > span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.compact-sample-result {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  border-radius: 22px;
  background: var(--ink);
  color: #fffaf4;
  padding: 22px;
  animation: compact-result-in 260ms cubic-bezier(0.2, 0.76, 0.24, 1) both;
}

.compact-sample-result[hidden] {
  display: none;
}

@keyframes compact-result-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.compact-result-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 22px;
  font-weight: 800;
}

.compact-sample-result p {
  margin: 0 0 3px;
  color: rgba(255, 250, 244, 0.62);
  font-size: 12px;
}

.compact-sample-result h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.compact-sample-result small {
  color: rgba(255, 250, 244, 0.64);
  line-height: 1.35;
}

.compact-result-button {
  min-height: 50px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}

.compact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
}

.compact-facts span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent-dark);
  font-weight: 900;
}

@media (max-width: 720px) {
  .compact-nav {
    padding: max(18px, env(safe-area-inset-top)) 20px 0;
  }

  .compact-brand {
    font-size: 21px;
  }

  .compact-private {
    max-width: 16ch;
    justify-content: flex-end;
    font-size: 9px;
    text-align: right;
  }

  .compact-hero-image {
    object-position: 58% center;
  }

  .compact-hero-shade {
    background:
      linear-gradient(180deg, rgba(30, 25, 22, 0.18) 0%, rgba(30, 25, 22, 0.35) 32%, rgba(30, 25, 22, 0.94) 78%, rgba(30, 25, 22, 0.98) 100%),
      linear-gradient(90deg, rgba(30, 25, 22, 0.4), rgba(30, 25, 22, 0.08));
  }

  .compact-hero-copy {
    padding: 88px 20px max(22px, env(safe-area-inset-bottom));
  }

  .compact-kicker {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .compact-hero h1 {
    max-width: 350px;
    font-size: clamp(47px, 13.3vw, 58px);
    line-height: 0.92;
  }

  .compact-lead {
    max-width: 34ch;
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.42;
  }

  .compact-actions {
    width: 100%;
    display: grid;
    gap: 9px;
    margin-top: 21px;
  }

  .compact-primary,
  .compact-secondary {
    width: 100%;
    min-height: 52px;
  }

  .compact-try-link {
    align-self: center;
    margin-top: 15px;
    font-size: 12px;
  }

  .compact-sample {
    align-items: start;
    padding: max(72px, calc(env(safe-area-inset-top) + 24px)) 20px max(28px, env(safe-area-inset-bottom));
  }

  .compact-sample h2 {
    max-width: 12ch;
    font-size: clamp(38px, 10.5vw, 44px);
  }

  .compact-options {
    margin-top: 27px;
  }

  .compact-option {
    min-height: 64px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .compact-sample-result {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .compact-result-mark {
    width: 40px;
    height: 40px;
  }

  .compact-sample-result h3 {
    font-size: 24px;
  }

  .compact-result-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .compact-facts {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    margin-top: 22px;
    font-size: 11px;
    white-space: nowrap;
  }

  .compact-facts span::before {
    content: "";
    margin: 0;
  }

  .compact-facts span + span::before {
    content: "·";
    margin: 0 8px;
    color: var(--accent-dark);
  }
}

@media (max-height: 720px) and (max-width: 720px) {
  .compact-hero-copy {
    padding-top: 50px;
  }

  .compact-hero h1 {
    font-size: 44px;
  }

  .compact-lead {
    margin-top: 13px;
    font-size: 14px;
  }

  .compact-actions {
    margin-top: 15px;
  }

  .compact-primary,
  .compact-secondary {
    min-height: 46px;
  }

  .compact-try-link {
    margin-top: 10px;
  }
}
