:root {
  color-scheme: light;
  --ink: #23191f;
  --muted: #76686d;
  --paper: #fff8f1;
  --paper-strong: #fffdf9;
  --rose: #d95a73;
  --rose-dark: #842842;
  --coral: #ea856f;
  --sage: #5d8f7b;
  --gold: #c99a42;
  --lavender: #766aaa;
  --plum: #33232b;
  --line: rgba(55, 35, 43, 0.13);
  --line-strong: rgba(55, 35, 43, 0.22);
  --soft-shadow: 0 18px 60px rgba(52, 31, 39, 0.14);
  --shadow: 0 34px 120px rgba(38, 22, 30, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -8%, rgba(231, 144, 128, 0.28), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(118, 106, 170, 0.18), transparent 32%),
    linear-gradient(135deg, #2f222a 0%, #7b554f 48%, #f8eee7 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

h1,
h2,
p {
  margin-top: 0;
}

.experience-shell {
  height: 100dvh;
  min-height: 0;
  width: 100%;
  max-width: 100vw;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 3vw, 34px);
  isolation: isolate;
}

.scene,
.wash,
.experience-shell::before,
.experience-shell::after {
  position: absolute;
  inset: 0;
}

.experience-shell::before {
  content: "";
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, transparent 92%);
  opacity: 0.35;
}

.experience-shell::after {
  content: "";
  z-index: -1;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 221, 212, 0.2), transparent 23%),
    radial-gradient(circle at 72% 76%, rgba(201, 154, 66, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(35, 25, 31, 0.06), rgba(35, 25, 31, 0.18));
  pointer-events: none;
}

.scene {
  z-index: -3;
  background-image: url("assets/date-night-hero.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.98) contrast(1.05) brightness(0.92);
  transform: scale(1.045);
}

.wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(28, 18, 24, 0.9) 0%, rgba(55, 34, 41, 0.66) 45%, rgba(55, 34, 41, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 248, 241, 0.02), rgba(250, 238, 231, 0.88));
}

.invite-app {
  width: min(1240px, 100%);
  max-width: 100%;
  height: min(800px, calc(100dvh - clamp(32px, 6vw, 68px)));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  border: 1px solid rgba(255, 250, 244, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
  overflow: hidden;
}

.story-panel {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  color: #fffaf4;
  background:
    linear-gradient(180deg, rgba(45, 31, 39, 0.12), rgba(28, 20, 25, 0.7)),
    linear-gradient(135deg, rgba(255, 214, 204, 0.16), rgba(118, 106, 170, 0.14)),
    rgba(41, 28, 35, 0.46);
  position: relative;
  overflow: hidden;
}

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 250, 244, 0.08), transparent 38%),
    radial-gradient(circle at 72% 18%, rgba(255, 214, 204, 0.16), transparent 28%);
  pointer-events: none;
}

.story-panel::after {
  content: "";
  width: min(220px, 42vw);
  height: 1px;
  position: absolute;
  left: clamp(28px, 5vw, 58px);
  top: clamp(96px, 17vh, 160px);
  background: linear-gradient(90deg, rgba(255, 214, 204, 0.72), rgba(201, 154, 66, 0.36), transparent);
}

.story-panel > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.panel-kicker {
  margin-bottom: 12px;
  color: #ffd2c7;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
}

.intro {
  max-width: 490px;
  color: rgba(255, 250, 244, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.live-plan {
  border: 1px solid rgba(255, 250, 244, 0.3);
  border-radius: 8px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.2), rgba(255, 250, 244, 0.08)),
    rgba(255, 250, 244, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(17, 10, 14, 0.22);
  backdrop-filter: blur(16px);
}

.live-plan p {
  margin-bottom: 8px;
  color: #ffd6cc;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-plan strong,
.live-plan span {
  display: block;
}

.live-plan strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.live-plan span {
  color: rgba(255, 250, 244, 0.78);
  line-height: 1.45;
}

.live-plan small {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  border: 1px solid rgba(255, 214, 204, 0.34);
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffe7df;
  background: rgba(255, 214, 204, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.form-stage {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(250, 243, 238, 0.95)),
    rgba(255, 250, 244, 0.94);
  position: relative;
}

.form-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 90, 115, 0.08), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(93, 143, 123, 0.1), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 44%);
  pointer-events: none;
}

.progress-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 4vw, 44px) 12px;
}

.progress-header p {
  margin-bottom: 2px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-header h2 {
  margin: 0;
  color: rgba(35, 25, 31, 0.94);
  font-size: 0.98rem;
}

.step-dots {
  display: flex;
  gap: 8px;
}

.step-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(55, 35, 43, 0.14);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.step-dots button.done {
  background: var(--sage);
}

.step-dots button.active {
  width: 36px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--coral), var(--gold));
  box-shadow: 0 10px 22px rgba(217, 90, 115, 0.2);
}

.progress-track {
  position: relative;
  z-index: 1;
  height: 4px;
  margin: 0 clamp(18px, 4vw, 44px);
  border-radius: 999px;
  background: rgba(55, 35, 43, 0.1);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--coral), var(--gold));
  transition: width 260ms ease;
}

.panel-window {
  position: relative;
  z-index: 1;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  display: grid;
  align-items: start;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: clamp(18px, 3vw, 32px) clamp(18px, 3.4vw, 40px);
}

.step-panel {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.step-panel h2 {
  max-width: 690px;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.panel-copy {
  max-width: 650px;
  color: rgba(80, 65, 72, 0.78);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.5;
}

.answer-grid,
.choice-grid,
.vibe-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.vibe-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.answer-card,
.choice-card,
.vibe-option {
  min-height: 112px;
  border: 1px solid rgba(55, 35, 43, 0.12);
  border-radius: 8px;
  display: grid;
  align-content: space-between;
  gap: 9px;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 244, 0.96)),
    var(--paper-strong);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 30px rgba(80, 41, 50, 0.055);
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.answer-card::before,
.choice-card::before,
.vibe-option::before {
  content: "";
  height: 3px;
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(90deg, var(--rose), var(--coral), var(--gold), var(--sage));
  opacity: 0;
  transition: opacity 180ms ease;
}

.answer-card {
  min-height: 150px;
}

.answer-card small {
  color: var(--rose-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-card span,
.choice-card span,
.vibe-option span {
  color: rgba(80, 65, 72, 0.78);
  font-size: clamp(0.84rem, 1.15vw, 0.96rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.answer-card strong,
.choice-card strong,
.vibe-option strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.55vw, 1.4rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.answer-card.standout {
  border-color: rgba(217, 93, 112, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 240, 236, 0.96), rgba(255, 253, 249, 0.92)),
    #fff0ec;
}

.choice-card {
  border-top: 0;
}

.choice-card::before {
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0));
}

.answer-card:hover,
.choice-card:hover,
.place-option:hover,
.vibe-option:hover,
.day-tile:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 46px rgba(64, 37, 38, 0.12);
}

.choice-card.active,
.vibe-option.active,
.place-option.active,
.day-tile.active {
  border-color: rgba(217, 90, 115, 0.56);
  background:
    linear-gradient(145deg, rgba(255, 239, 235, 0.98), rgba(255, 252, 248, 0.98)),
    #fff0ec;
  box-shadow:
    inset 0 0 0 2px rgba(217, 90, 115, 0.09),
    0 18px 46px rgba(132, 40, 66, 0.11);
}

.answer-card:hover::before,
.choice-card:hover::before,
.vibe-option:hover::before,
.choice-card.active::before,
.vibe-option.active::before {
  opacity: 1;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

.day-tile {
  min-height: 76px;
  border: 1px solid rgba(55, 35, 43, 0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  gap: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 244, 0.96)),
    var(--paper-strong);
  color: var(--ink);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(80, 41, 50, 0.045);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.day-tile span,
.day-tile small {
  color: rgba(80, 65, 72, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.day-tile strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
}

.field-row {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.field-row label {
  color: rgba(80, 65, 72, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
}

.date-input,
.text-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(55, 35, 43, 0.13);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  padding: 0 14px;
  outline: 0;
  box-shadow: 0 10px 22px rgba(80, 41, 50, 0.05);
}

.date-input:focus,
.text-input:focus {
  border-color: rgba(217, 90, 115, 0.7);
  box-shadow: 0 0 0 4px rgba(217, 90, 115, 0.12);
}

.time-groups {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.time-group {
  border: 1px solid rgba(55, 35, 43, 0.11);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(145px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(250, 242, 236, 0.66)),
    rgba(255, 253, 249, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 12px 28px rgba(80, 41, 50, 0.045);
}

.time-group > div:first-child {
  display: grid;
  align-content: center;
  gap: 4px;
}

.time-group strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.time-group span {
  color: rgba(80, 65, 72, 0.76);
  font-size: 0.78rem;
  line-height: 1.25;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 7px;
}

.segmented-control button,
.place-option {
  min-height: 44px;
  border: 1px solid rgba(55, 35, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.segmented-control button.active {
  border-color: rgba(95, 146, 124, 0.74);
  background: linear-gradient(135deg, var(--sage), #4d7d71);
  color: #fff;
  box-shadow: 0 14px 30px rgba(95, 146, 124, 0.24);
}

.step-date .panel-window {
  padding-top: clamp(14px, 2vw, 22px);
}

.step-date .step-panel h2 {
  max-width: 560px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

.step-date .panel-copy {
  margin-bottom: 0;
}

.step-date .calendar-grid {
  gap: 6px;
  margin-top: 14px;
}

.step-date .day-tile {
  min-height: 66px;
  gap: 0;
}

.step-date .day-tile span,
.step-date .day-tile small {
  font-size: 0.64rem;
}

.step-date .day-tile strong {
  font-size: 1.25rem;
}

.step-date .field-row {
  margin-top: 10px;
}

.step-date .date-input {
  min-height: 42px;
}

.step-date .time-groups {
  gap: 7px;
  margin-top: 10px;
}

.step-date .time-group {
  grid-template-columns: minmax(112px, 0.26fr) minmax(0, 1fr);
  padding: 8px;
}

.step-date .time-group strong {
  font-size: 0.96rem;
}

.step-date .time-group span {
  display: none;
}

.step-date .segmented-control {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}

.step-date .segmented-control button {
  min-height: 40px;
  font-size: 0.86rem;
}

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

.place-option {
  min-height: 78px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(80, 41, 50, 0.05);
}

.final-panel {
  text-align: left;
}

.final-message {
  max-width: 720px;
  color: rgba(80, 65, 72, 0.78);
  font-size: clamp(0.95rem, 1.2vw, 1.04rem);
  line-height: 1.5;
  border-left: 4px solid rgba(217, 91, 120, 0.54);
  padding-left: 16px;
}

.ticket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  border: 1px solid rgba(255, 214, 204, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 214, 204, 0.22);
  box-shadow: 0 24px 64px rgba(55, 25, 33, 0.2);
}

.ticket div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(53, 38, 46, 0.98), rgba(31, 22, 28, 0.98)),
    #2d2224;
  color: #fffaf4;
}

.ticket span {
  color: #ffd6cc;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.final-actions,
.panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-nav {
  position: relative;
  z-index: 3;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(18px, 4vw, 44px);
  border-top: 1px solid rgba(55, 35, 43, 0.1);
  background: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(14px);
}

.primary-action,
.secondary-action,
.ghost-action {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.primary-action {
  border: 0;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: #fff;
  box-shadow: 0 18px 42px rgba(132, 40, 66, 0.28);
}

.secondary-action {
  border: 1px solid rgba(132, 40, 66, 0.26);
  background: rgba(255, 240, 236, 0.86);
  color: var(--rose-dark);
}

.ghost-action {
  border: 1px solid rgba(55, 35, 43, 0.13);
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
}

.primary-action:hover,
.secondary-action:hover,
.ghost-action:hover:not(:disabled) {
  translate: 0 -2px;
}

.primary-action:hover {
  box-shadow: 0 22px 48px rgba(156, 47, 72, 0.34);
}

.slide-fade-enter-active,
.slide-fade-leave-active {
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.slide-fade-enter-from {
  opacity: 0;
  transform: translateX(18px);
}

.slide-fade-leave-to {
  opacity: 0;
  transform: translateX(-18px);
}

.print-card {
  display: none;
}

@page {
  size: letter;
  margin: 0.35in;
}

@media print {
  html,
  body,
  #app {
    width: auto;
    height: auto;
    overflow: visible;
    background: #fff;
  }

  body {
    min-width: 0;
  }

  .experience-shell {
    width: auto;
    height: auto;
    min-height: 0;
    display: block;
    padding: 0;
    overflow: visible;
    background: #fff;
  }

  .experience-shell::before,
  .experience-shell::after,
  .scene,
  .wash,
  .invite-app {
    display: none;
  }

  .print-card {
    width: 7.6in;
    min-height: 9.4in;
    display: grid;
    align-content: space-between;
    gap: 0.16in;
    border: 1px solid rgba(132, 40, 66, 0.24);
    border-radius: 8px;
    padding: 0.5in;
    color: #23191f;
    background:
      radial-gradient(circle at 16% 10%, rgba(255, 206, 198, 0.55), transparent 30%),
      radial-gradient(circle at 88% 18%, rgba(255, 229, 217, 0.48), transparent 28%),
      linear-gradient(135deg, rgba(255, 240, 236, 0.94), rgba(255, 253, 249, 0.99) 48%, rgba(255, 244, 241, 0.96)),
      #fffdf9;
    box-shadow: none;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
  }

  .print-card::after {
    content: "";
    position: absolute;
    inset: 0.16in;
    border: 1px solid rgba(132, 40, 66, 0.16);
    border-radius: 8px;
    pointer-events: none;
  }

  .print-card::before {
    content: "Will you go on a date with me?";
    height: auto;
    display: block;
    border-radius: 999px;
    padding: 0.09in 0.16in;
    color: #fffdf9;
    background: linear-gradient(90deg, #842842, #d95a73, #ea856f);
    font-size: 9pt;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
  }

  .print-card > * {
    position: relative;
    z-index: 1;
  }

  .print-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.2in;
  }

  .print-eyebrow {
    margin: 0;
    color: #842842;
    font-size: 9.5pt;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .print-mark {
    margin: 0;
    border: 1px solid rgba(132, 40, 66, 0.18);
    border-radius: 999px;
    padding: 0.07in 0.13in;
    color: #842842;
    background: rgba(255, 255, 255, 0.52);
    font-size: 9pt;
    font-weight: 800;
  }

  .print-card h2 {
    margin: 0;
    max-width: 8ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 68pt;
    line-height: 0.9;
    letter-spacing: 0;
    color: #2b1c23;
  }

  .print-question {
    margin: 0;
    color: #842842;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22pt;
    line-height: 1.35;
  }

  .print-love-line {
    margin: 0;
    max-width: 5.8in;
    color: rgba(35, 25, 31, 0.7);
    font-size: 12.5pt;
    line-height: 1.5;
  }

  .print-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.13in;
    margin: 0.12in 0;
  }

  .print-details div {
    min-height: 0.9in;
    display: grid;
    align-content: center;
    gap: 0.08in;
    border: 1px solid rgba(132, 40, 66, 0.16);
    border-radius: 8px;
    padding: 0.16in;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 244, 0.7)),
      rgba(255, 255, 255, 0.74);
  }

  .print-details span {
    color: #842842;
    font-size: 8.5pt;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .print-details strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17pt;
    line-height: 1.08;
    color: #2b1c23;
  }

  .print-note {
    margin: 0;
    border: 1px solid rgba(132, 40, 66, 0.16);
    border-left: 5px solid rgba(217, 90, 115, 0.62);
    border-radius: 8px;
    padding: 0.17in;
    color: rgba(35, 25, 31, 0.72);
    background: rgba(255, 255, 255, 0.52);
    font-size: 13pt;
    line-height: 1.45;
  }

  .print-signoff {
    margin: 0;
    color: #842842;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24pt;
    text-align: right;
  }
}

@media (max-width: 980px) {
  body {
    overflow: auto;
  }

  .experience-shell {
    height: auto;
    min-height: 100dvh;
    place-items: stretch;
    padding: 0;
    overflow: visible;
  }

  .invite-app {
    height: auto;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .story-panel {
    min-height: 42vh;
    justify-content: end;
    gap: 28px;
  }

  .story-panel::after {
    top: clamp(88px, 15vh, 140px);
  }

  h1 {
    max-width: 12ch;
  }

  .form-stage {
    min-height: 58vh;
    overflow: visible;
  }

  .panel-window {
    overflow: visible;
    padding-bottom: 18px;
  }

  .panel-nav {
    position: sticky;
    bottom: 0;
    border-top: 1px solid rgba(58, 31, 42, 0.1);
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .experience-shell {
    min-height: 0;
    padding: 12px;
  }

  .invite-app {
    height: calc(100dvh - 24px);
  }

  .story-panel {
    padding: 28px;
  }

  h1 {
    font-size: clamp(2.6rem, 5.7vw, 5.2rem);
  }

  .intro {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .live-plan {
    padding: 14px;
  }

  .progress-header {
    padding-top: 16px;
    padding-bottom: 10px;
  }

  .panel-window {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .step-panel h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
  }

  .panel-copy {
    line-height: 1.35;
  }

  .choice-grid,
  .vibe-grid {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }

  .choice-card,
  .vibe-option {
    min-height: 96px;
    padding: 12px;
  }

  .choice-card span,
  .vibe-option span {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .choice-card strong,
  .vibe-option strong {
    font-size: clamp(1rem, 1.35vw, 1.24rem);
  }

  .calendar-grid {
    gap: 6px;
  }

  .day-tile {
    min-height: 68px;
  }

  .time-group {
    grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  }

  .panel-nav {
    padding-block: 12px;
  }
}

@media (max-width: 680px) {
  body {
    min-width: 0;
  }

  .story-panel,
  .panel-window {
    padding-inline: 16px;
  }

  .progress-header,
  .panel-nav {
    padding-inline: 16px;
  }

  .progress-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .progress-header > div:first-child {
    min-width: 0;
  }

  .progress-track {
    margin-inline: 16px;
  }

  .step-panel h2,
  .step-date .step-panel h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.4vw, 2.55rem);
    line-height: 1.02;
  }

  .panel-copy {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .step-dots {
    gap: 6px;
  }

  .step-dots button {
    width: 9px;
    height: 9px;
  }

  .step-dots button.active {
    width: 24px;
  }

  .answer-grid,
  .place-list,
  .ticket {
    grid-template-columns: 1fr;
  }

  .choice-grid,
  .vibe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .answer-card,
  .choice-card,
  .vibe-option {
    min-height: 108px;
  }

  .choice-card,
  .vibe-option {
    padding: 13px;
  }

  .choice-card strong,
  .vibe-option strong {
    font-size: clamp(1rem, 4.4vw, 1.18rem);
  }

  .choice-card span,
  .vibe-option span {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .calendar-grid,
  .step-date .calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .day-tile,
  .step-date .day-tile {
    min-height: 70px;
    padding: 8px 4px;
  }

  .day-tile span,
  .day-tile small,
  .step-date .day-tile span,
  .step-date .day-tile small {
    font-size: 0.62rem;
  }

  .day-tile strong,
  .step-date .day-tile strong {
    font-size: 1.2rem;
  }

  .date-input,
  .text-input {
    min-width: 0;
  }

  .time-group {
    grid-template-columns: 1fr;
  }

  .segmented-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-block: 12px;
  }

  .panel-nav .primary-action,
  .panel-nav .ghost-action {
    width: 100%;
  }

  .final-actions {
    display: grid;
  }
}

@media (max-width: 430px) {
  .calendar-grid,
  .step-date .calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-grid,
  .vibe-grid {
    grid-template-columns: 1fr;
  }
}
