:root {
  color-scheme: light;
  --cp-bg: #f7f4ef;
  --cp-bg-elevated: #fcfbf8;
  --cp-surface: #ffffff;
  --cp-surface-soft: #f5f5f5;
  --cp-border: #dedede;
  --cp-border-strong: #919191;
  --cp-text: #242424;
  --cp-text-muted: #5c5c5c;
  --cp-text-soft: #6f6f6f;
  --cp-accent: #b11f4b;
  --cp-accent-hover: #9a1a41;
  --cp-accent-soft: rgba(177, 31, 75, 0.08);
  --cp-accent-fg: #ffffff;
  --cp-success: #16a34a;
  --cp-danger: #dc2626;
  --cp-warning: #f59e0b;
  --cp-link: #0078d4;
  --cp-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --cp-overlay: rgba(255, 255, 255, 0.8);
  --cp-panel: rgba(255, 255, 255, 0.86);
  --cp-panel-strong: rgba(255, 255, 255, 0.96);
  --cp-sheen: rgba(255, 255, 255, 0.55);
  --cp-highlight: rgba(177, 31, 75, 0.12);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --cp-bg: #3d3b3a;
  --cp-bg-elevated: #343231;
  --cp-surface: #292929;
  --cp-surface-soft: #2e2e2e;
  --cp-border: #474747;
  --cp-border-strong: #5f5f5f;
  --cp-text: #dedede;
  --cp-text-muted: #919191;
  --cp-text-soft: #b0b0b0;
  --cp-accent: #fd8ea1;
  --cp-accent-hover: #fb7b91;
  --cp-accent-soft: rgba(253, 142, 161, 0.14);
  --cp-accent-fg: #1a1a1a;
  --cp-success: #4ade80;
  --cp-danger: #f87171;
  --cp-warning: #fbbf24;
  --cp-link: #4da6ff;
  --cp-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --cp-overlay: rgba(41, 41, 41, 0.88);
  --cp-panel: rgba(41, 41, 41, 0.72);
  --cp-panel-strong: rgba(41, 41, 41, 0.96);
  --cp-sheen: rgba(255, 255, 255, 0.04);
  --cp-highlight: rgba(253, 142, 161, 0.12);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cp-bg); color: var(--cp-text); font: 16px/1.6 "Segoe UI", Aptos, Calibri, -apple-system, BlinkMacSystemFont, sans-serif; }
a { color: var(--cp-accent); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--cp-accent); }
.container { max-width: 1120px; padding: 0 32px; margin: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--cp-border); }
.brand { font-weight: 800; letter-spacing: .1em; text-decoration: none; color: var(--cp-text); }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.1; letter-spacing: -.045em; margin: 12px 0 24px; overflow-wrap: anywhere; }
h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.025em; }
.compact { font-size: 21px; margin: 8px 0 12px; }
p { overflow-wrap: anywhere; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cp-text-muted); margin: 0; }
.lead { font-size: 20px; color: var(--cp-text-muted); max-width: 580px; }
.note, .small { color: var(--cp-text-muted); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--cp-accent); border-radius: .625rem; background: var(--cp-accent); color: var(--cp-accent-fg); font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--cp-accent-hover); }
.button.secondary { background: var(--cp-surface); color: var(--cp-text); border-color: var(--cp-border); }
.button.secondary:hover { background: var(--cp-surface-soft); }
.button:disabled { background: var(--cp-surface-soft); color: var(--cp-text-muted); border-color: var(--cp-border); cursor: not-allowed; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--cp-border); border-radius: 16px; background: var(--cp-surface); }
.card p { margin-bottom: 0; }
.section { padding: 48px 0; border-bottom: 1px solid var(--cp-border); }
.section-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head .button { flex-shrink: 0; }
.two { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.side { background: var(--cp-accent-soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 20px; }
.field > label, legend { display: block; font-size: 15px; font-weight: 650; margin-bottom: 8px; }
input:not([type="radio"], [type="checkbox"], [type="hidden"]), select, textarea { width: 100%; border: 1px solid var(--cp-border-strong); border-radius: .625rem; padding: 12px; min-height: 48px; background: var(--cp-surface); color: var(--cp-text); }
textarea { resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--cp-accent); width: 18px; height: 18px; flex-shrink: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--cp-danger); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
fieldset:disabled { color: var(--cp-text-muted); }
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px; border: 1px solid var(--cp-border); border-radius: .625rem; background: var(--cp-surface); cursor: pointer; }
.choices .choice { flex: 1; min-width: 136px; }
.night { background: var(--cp-surface-soft); padding: 16px; border-radius: .625rem; }
.night .row { margin-top: 12px; }
.notice { margin: 16px 0; padding: 16px; border: 1px solid var(--cp-border); border-radius: .625rem; background: var(--cp-accent-soft); overflow-wrap: anywhere; }
.notice.error { border-color: var(--cp-danger); background: var(--cp-surface); }
.notice.success { border-color: var(--cp-success); }
.field-error { display: block; color: var(--cp-danger); font-size: 14px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { padding: 20px; background: var(--cp-surface); border: 1px solid var(--cp-border); border-radius: 16px; }
.metric strong { display: block; font-size: 32px; line-height: 1.2; }
.table-wrap { overflow-x: auto; padding: 0; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--cp-border); }
th { background: var(--cp-surface-soft); white-space: nowrap; }
td .buttons { gap: 8px; margin: 0; }
td .button { padding: 8px 12px; font-size: 13px; }
caption { text-align: left; padding: 16px; color: var(--cp-text-muted); }
.narrow { max-width: 600px; margin: auto; }
details { padding: 16px 0; border-bottom: 1px solid var(--cp-border); }
summary { font-weight: 650; cursor: pointer; min-height: 44px; padding: 8px 0; }
footer { font-size: 13px; color: var(--cp-text-muted); padding: 32px 0 48px; }
code, pre, #settings { font-family: Consolas, "Courier New", Courier, monospace; }
.skip { position: absolute; left: 16px; top: -80px; padding: 12px; background: var(--cp-surface); z-index: 2; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
[hidden] { display: none !important; }
body[data-page="landing"] .container { max-width: 1240px; }
body[data-page="landing"] .brand { font-size: 20px; letter-spacing: -.04em; }
body[data-page="landing"] .top { border-bottom: 2px solid var(--cp-text); }
.celebration-hero { padding: 48px 0 0; }
.hero-heading { position: relative; }
.hero-heading .eyebrow { color: var(--cp-text); }
.hero-heading h1 { font-size: clamp(64px, 9vw, 112px); font-weight: 900; line-height: .94; letter-spacing: -.075em; margin: 24px 0 16px; }
.hero-heading h1 span { color: var(--cp-accent); }
.hero-refrain { font-size: clamp(24px, 3.4vw, 40px); font-weight: 650; letter-spacing: -.04em; margin: 16px 0 32px; }
.headline-rule { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--cp-text); border-bottom: 1px solid var(--cp-text); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.celebration-stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; margin: 24px 0 0; align-items: stretch; }
.friends-photo { display: flex; flex-direction: column; margin: 0; min-width: 0; border: 1px solid var(--cp-border); background: var(--cp-surface); border-radius: 16px; overflow: hidden; }
.friends-photo img { display: block; width: 100%; height: auto; flex: 1; min-height: 0; object-fit: cover; object-position: 55% 50%; }
.friends-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 13px; font-weight: 650; }
.friends-photo figcaption span:last-child { color: var(--cp-text-muted); font-size: 11px; letter-spacing: .12em; }
.birthday-ticket { display: flex; flex-direction: column; padding: 28px; background: var(--cp-text); color: var(--cp-bg); border-radius: 16px; min-width: 0; }
.birthday-ticket .eyebrow { color: var(--cp-bg); opacity: .75; font-size: 10px; letter-spacing: .11em; }
.ticket-names { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.05; letter-spacing: -.05em; margin: 16px 0 24px; }
.ticket-age { display: flex; justify-content: space-between; align-items: center; font-size: clamp(64px, 7vw, 92px); font-weight: 900; letter-spacing: -.07em; line-height: 1; padding-bottom: 24px; }
.ticket-plus { font-size: .46em; font-weight: 400; }
.ticket-date { padding: 24px 0; border-top: 1px dashed var(--cp-border-strong); border-bottom: 1px dashed var(--cp-border-strong); }
.ticket-date p { margin: 8px 0 0; font-size: 13px; }
.ticket-date .ticket-date-number { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; letter-spacing: -.03em; }
.ticket-action { margin-top: auto; padding-top: 24px; }
.ticket-action .button { width: 100%; justify-content: space-between; }
.ticket-status { margin: 0 0 12px; font-size: 13px; line-height: 1.55; }
.ticket-link { display: flex; align-items: center; justify-content: space-between; color: var(--cp-bg); font-weight: 650; min-height: 44px; padding: 8px 0; text-decoration-thickness: 1px; }
.friendship-story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 80px 0; border-bottom: 2px solid var(--cp-text); }
.friendship-story h2, .section-label h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.055em; margin: 16px 0 0; }
.story-copy p:first-child { margin-top: 0; font-size: 24px; line-height: 1.45; letter-spacing: -.025em; }
.story-copy p { color: var(--cp-text-muted); }
.story-copy .story-signature { color: var(--cp-text); font-weight: 800; margin-top: 28px; }
.story-signature span { font-weight: 400; color: var(--cp-text-muted); margin-left: 12px; }
.celebration-info, .celebration-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; padding: 64px 0; border-bottom: 1px solid var(--cp-border); }
.practical-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--cp-border); }
.practical-item:first-child { padding-top: 0; }
.practical-item:last-child { border-bottom: 0; padding-bottom: 0; }
.item-number { color: var(--cp-accent); font-size: 13px; letter-spacing: .08em; font-weight: 800; padding-top: 2px; }
.practical-item h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.03em; margin: 8px 0; }
.practical-item p:last-child { color: var(--cp-text-muted); margin: 0; }
.celebration-faq details:first-child { padding-top: 0; }
.celebration-faq details:last-child { border-bottom: 0; }
.celebration-faq details p { color: var(--cp-text-muted); }
.celebration-closing { padding: 64px 48px; background: var(--cp-accent); color: var(--cp-accent-fg); border-radius: 16px; margin: 24px 0 0; }
.celebration-closing .eyebrow { color: var(--cp-accent-fg); }
.celebration-closing h2 { font-size: clamp(40px, 6.5vw, 80px); line-height: .98; letter-spacing: -.065em; margin: 24px 0; }
.celebration-closing p { max-width: 520px; }
.celebration-closing .closing-date { font-weight: 700; font-size: 20px; margin: 32px 0 0; }
.celebration-closing .button { margin-top: 16px; background: var(--cp-accent-fg); color: var(--cp-accent); border-color: var(--cp-accent-fg); }
.celebration-privacy { margin: 48px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--cp-border); max-width: 760px; }
.celebration-privacy h2 { font-size: 18px; }
.celebration-privacy p { font-size: 14px; color: var(--cp-text-muted); }
@media (min-width: 721px) and (max-width: 960px) {
  .celebration-stage { grid-template-columns: 1fr; }
  .birthday-ticket { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .birthday-ticket > .eyebrow { grid-column: 1 / -1; }
  .ticket-names { grid-column: 1; }
  .ticket-age { grid-column: 1; grid-row: 3; justify-content: start; gap: 20px; }
  .ticket-date { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .ticket-action { grid-column: 1 / -1; }
  .friendship-story, .celebration-info, .celebration-faq { gap: 32px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .top { padding: 16px 0; gap: 12px; }
  nav { gap: 16px; }
  .grid, .two { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .section-head { display: block; }
  .card { padding: 20px; }
  .table-wrap { padding: 0; }
  .lead { font-size: 18px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .row { gap: 12px; }
  .buttons .button { flex: 1; }
  .celebration-hero { padding-top: 32px; }
  .hero-heading h1 { font-size: clamp(42px, 10vw, 68px); margin: 20px 0 16px; letter-spacing: -.065em; }
  .hero-refrain { font-size: 23px; margin: 16px 0 24px; }
  .hero-heading .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .headline-rule { font-size: 9px; letter-spacing: .08em; gap: 8px; }
  .headline-rule span:last-child { display: none; }
  .celebration-stage { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .friends-photo figcaption { font-size: 12px; padding: 12px; }
  .birthday-ticket { padding: 24px; }
  .ticket-names { font-size: 36px; }
  .ticket-age { font-size: clamp(64px, 20vw, 100px); justify-content: start; gap: 24px; padding-bottom: 20px; }
  .ticket-date .ticket-date-number { font-size: 28px; }
  .friendship-story { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .story-copy p:first-child { font-size: 22px; }
  .celebration-info, .celebration-faq { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .practical-item { gap: 16px; }
  .practical-item h3 { font-size: 21px; }
  .celebration-closing { padding: 40px 24px; }
  .celebration-closing h2 { font-size: 46px; }
  .celebration-privacy { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
