.landing-page {
  --paper: #fff4d9;
  --ink: #202018;
  --muted: #6f6548;
  --line: #d9cfae;
  --accent: #8a3c30;
  --surface: #fffcf3;
  --control: #f6eac6;
  --highlight: #ffdd4f;
  --button: #191918;
  --on-button: #fff7df;
  --pro-surface: #f6e9cb;
  background: var(--paper);
  transition: background-color 180ms ease, color 180ms ease;
}
.landing-page[data-theme="peach"] {
  --paper: #fff8f3; --ink: #6e233e; --muted: #865568; --line: #ebc3d2;
  --accent: #a02757; --surface: #fffdfb; --control: #f8dde8; --highlight: #f8c8d8;
  --button: #c93670; --on-button: #fff; --pro-surface: #f8dde8;
}
.landing-page[data-theme="star"] {
  color-scheme: dark;
  --paper: #231c39; --ink: #fff2de; --muted: #c5b5d8; --line: #6a548e;
  --accent: #7ee6ec; --surface: #32294d; --control: #403357; --highlight: #7ee6ec;
  --button: #fd78be; --on-button: #231c39; --pro-surface: #32294d;
}
.landing-page h1, .landing-page h2, .landing-page .brand {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.landing-page h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -1.8px; font-weight: 750; margin: 0; text-wrap: balance; }
.landing-page p { text-wrap: pretty; }
.landing-page button, .landing-page input { font: inherit; }
.landing-page button { cursor: pointer; }
.landing-page button:focus-visible, .landing-page input:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.landing-page a, .landing-page button { -webkit-tap-highlight-color: transparent; }
.landing-page button:active, .primary-button:active { transform: scale(.98); }
.wide-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.landing-header { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.landing-header .brand { font-size: 24px; letter-spacing: -1px; font-weight: 750; gap: 12px; }
.landing-header .brand img { border-radius: 12px; }
.landing-header nav { display: flex; gap: 32px; }
.landing-header nav a { font-size: 14px; font-weight: 550; text-decoration: none; padding-block: 14px; }
.availability { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.availability .status-dot { color: #8a6513; }
[data-theme="star"] .availability .status-dot { color: var(--highlight); }
.hero { display: grid; grid-template-columns: .98fr 1.02fr; gap: 36px; align-items: center; padding-top: 36px; padding-bottom: 80px; }
.hero-copy { padding-bottom: 8px; }
.hero-kicker { font-size: 14px; font-weight: 550; margin: 0 0 26px; display: flex; gap: 10px; align-items: center; }
.tiny-dots { font-size: 26px; color: var(--ink); line-height: 1; }
.hero h1 { font-size: clamp(52px, 6.1vw, 84px); line-height: 1.01; letter-spacing: -4px; font-weight: 800; margin: 0 0 28px; }
.hero-description { max-width: 360px; font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 32px; }
.primary-button { display: inline-flex; gap: 36px; align-items: center; justify-content: space-between; min-height: 56px; padding: 16px 25px; background: var(--button); color: var(--on-button); border-radius: 999px; font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform 180ms ease, box-shadow 180ms ease; }
.primary-button:hover { color: var(--on-button); transform: translateY(-3px); box-shadow: 0 8px 18px rgb(72 49 18 / .12); }
.primary-button span { font-size: 23px; line-height: .8; }
.try-link { display: flex; align-items: center; gap: 12px; width: fit-content; font-size: 12px; color: var(--muted); margin-top: 20px; text-decoration: none; min-height: 26px; }
.try-link:hover { color: var(--ink); }
.platform-note { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.hero-art { margin: 0; position: relative; }
.mascot-board { position: relative; width: 100%; aspect-ratio: 1; isolation: isolate; }
.mascot-board::before { content: ""; position: absolute; inset: 20% 2% 5%; background: var(--highlight); border-radius: 45% 55% 44% 56% / 57% 39% 61% 43%; transform: rotate(-7deg); z-index: -1; }
.mascot-image { width: 100%; height: auto; position: relative; z-index: 1; pointer-events: none; }
.mascot-screen { position: absolute; left: 12%; top: 56.7%; width: 76%; height: 34%; border-radius: 9%; }
.board-surface { overflow: hidden; background: #101014; position: relative; color: #ffdf64; }
.mascot-screen.board-surface { position: absolute; }
.board-surface canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.banner-fallback { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; font-family: ui-monospace, monospace; font-size: clamp(24px, 5vw, 72px); font-weight: 800; text-shadow: 0 0 16px currentColor; letter-spacing: .05em; }
.is-ready .banner-fallback { visibility: hidden; }
.hero-art figcaption { position: absolute; right: 4%; bottom: -3px; font-size: 12px; font-weight: 550; color: var(--muted); transform: rotate(-3deg); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.section-intro h2 { font-size: 34px; }
.section-intro p { max-width: 290px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.moments { padding-block: 32px 110px; }
.moment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.moment-card { border-radius: 24px; overflow: hidden; position: relative; padding: 22px; color: #292119; text-decoration: none; display: flex; flex-direction: column; min-width: 0; transition: transform 180ms ease; }
.moment-card:hover { transform: translateY(-5px); color: #292119; }
.moment-card.concert { background: #fbad92; }
.moment-card.love { background: #d6dfa8; }
.moment-card.birthday { background: #f9c3d1; }
.moment-card.airport { background: #ffe174; }
.moment-card img { width: 100%; height: 138px; object-fit: contain; margin-bottom: 28px; }
.moment-copy { display: grid; gap: 8px; }
.moment-copy strong { font-size: 17px; font-weight: 700; letter-spacing: -.4px; }
.moment-copy > span { font-size: 10px; letter-spacing: 1.2px; font-weight: 650; }
.moment-arrow { position: absolute; right: 20px; bottom: 21px; font-size: 20px; }
.playground { padding-bottom: 124px; scroll-margin-top: 40px; }
.playground-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-label { font-size: 13px; font-weight: 650; margin: 0 0 16px; }
.playground-heading > p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 3px; }
.playground-panel { background: var(--surface); border-radius: 32px; padding: 40px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.demo-display { min-width: 0; }
.demo-board { width: 100%; aspect-ratio: 2.65; border-radius: 20px; border: 8px solid #29292e; box-shadow: inset 0 0 0 2px #58565b, 0 8px 20px rgb(32 24 13 / .08); }
.display-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.display-caption > span { display: flex; align-items: center; gap: 7px; }
.motion-button { border: 0; color: var(--muted); background: none; font-size: 11px !important; min-height: 30px; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.motion-button span { margin-left: 7px; }
.demo-controls { min-width: 0; }
.message-field label, .demo-controls legend { display: block; font-size: 13px; font-weight: 650; margin-bottom: 10px; }
.message-field input { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); font-size: 16px; font-weight: 550; }
.input-meta { display: flex; justify-content: space-between; gap: 14px; font-size: 10px; color: var(--muted); margin-top: 9px; }
#message-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.demo-controls fieldset { margin: 25px 0 0; padding: 0; border: 0; min-width: 0; }
.demo-controls legend { padding: 0; }
.colour-options, .style-options { display: flex; gap: 7px; }
.colour-choice { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 1; background: none; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; min-height: 38px; font-size: 11px !important; padding: 7px 9px; }
.colour-choice > span { width: 10px; height: 10px; border: 1px solid rgb(0 0 0 / .15); border-radius: 50%; flex-shrink: 0; }
.colour-choice.sunshine > span { background: #ffdd4f; }
.colour-choice.pink > span { background: #ff75b5; }
.colour-choice.aqua > span { background: #68e4e8; }
.colour-choice[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--control); }
.style-options { padding: 4px; background: var(--control); border-radius: 10px; }
.style-options button { flex: 1; min-height: 34px; background: none; border: 0; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.style-options button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(32 24 13 / .08); }
.preview-note { max-width: 640px; color: var(--muted); font-size: 12px; line-height: 1.75; margin: 18px 0 0; }
.no-script { color: var(--muted); font-size: 14px; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.themes { display: grid; grid-template-columns: .8fr 1.55fr; gap: 90px; align-items: center; padding-bottom: 124px; scroll-margin-top: 60px; }
.theme-copy > p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 310px; margin: 24px 0 0; }
.theme-copy .theme-instruction { color: var(--ink); font-size: 13px; font-weight: 600; margin-top: 28px; }
.theme-copy .theme-current { font-size: 11px; margin-top: 8px; }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: center; }
.theme-choice { display: grid; gap: 16px; padding: 0; border: 0; text-align: left; color: var(--ink); background: none; transition: transform 180ms ease; min-width: 0; }
.theme-choice:nth-child(2) { margin-top: 62px; }
.theme-choice:nth-child(3) { margin-top: -26px; }
.theme-choice:enabled:hover { transform: translateY(-5px); }
.theme-choice:disabled { cursor: default; }
.theme-image { border-radius: 25px; display: block; position: relative; }
.theme-image img { width: 100%; height: auto; border-radius: inherit; }
.theme-choice[aria-pressed="true"] .theme-image::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--ink); border-radius: 30px; }
.theme-choice-label { font-size: 12px; font-weight: 650; display: flex; align-items: center; gap: 5px; justify-content: space-between; white-space: nowrap; }
.theme-check { visibility: hidden; font-size: 13px; }
.theme-choice[aria-pressed="true"] .theme-check { visibility: visible; }
.pro-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 56px 64px 60px; border-radius: 36px; background: var(--pro-surface); scroll-margin-top: 40px; }
.pro-art { min-width: 0; position: relative; }
.pro-illustration { width: 100%; position: relative; isolation: isolate; }
.pro-illustration img { width: 100%; height: auto; position: relative; pointer-events: none; }
.pro-sign { position: absolute; left: 14%; top: 61%; width: 73%; height: 27%; background: #141419; display: flex; justify-content: center; align-items: center; color: #ff76bb; font-size: clamp(28px, 4.5vw, 60px); font-family: ui-monospace, monospace; font-weight: 800; text-shadow: 0 0 15px #f84f9b; letter-spacing: .1em; }
.pro-sign span { font-size: .55em; margin-left: 8px; color: #ffd960; text-shadow: 0 0 15px #ffd960; }
.pro-sticker { display: block; margin-top: 18px; margin-left: 8%; font-size: 12px; font-weight: 550; transform: rotate(-5deg); }
.pro-copy > p:not(.section-label) { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 22px; }
.pro-features { display: grid; gap: 20px; margin: 28px 0 0; }
.pro-features dt { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.pro-features dd { font-size: 13px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 340px; }
.pro-copy .pro-note { font-size: 10px !important; margin-bottom: 0; }
.questions { display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; padding-block: 124px 110px; scroll-margin-top: 60px; }
.questions h2 { font-size: 37px; }
.question-list { margin: 0; }
.question-list > div { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.question-list > div:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.question-list dt { font-size: 16px; line-height: 1.5; font-weight: 650; margin-bottom: 10px; letter-spacing: -.2px; }
.question-list dd { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.landing-footer { border-top: 1px solid var(--line); padding-block: 40px 24px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.landing-footer .brand { font-size: 21px; font-weight: 750; }
.footer-brand-block p { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.landing-footer .footer-links { color: var(--muted); font-size: 12px; padding-top: 3px; }
.footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 16px; }
[hidden] { display: none !important; }

@media (min-width: 1600px) {
  .hero { padding-top: 64px; padding-bottom: 100px; }
}
@media (max-width: 1100px) {
  .wide-container { width: calc(100% - 64px); }
  .landing-header nav { gap: 20px; }
  .hero { gap: 16px; padding-block: 28px 64px; }
  .hero h1 { font-size: 66px; letter-spacing: -3.5px; }
  .hero-kicker { margin-bottom: 24px; }
  .moment-card { padding: 18px; }
  .moment-card img { height: 112px; }
  .moment-copy strong { font-size: 15px; }
  .moment-copy > span { font-size: 8px; letter-spacing: .6px; }
  .moment-arrow { right: 16px; bottom: 15px; }
  .playground-panel { gap: 32px; padding: 32px; grid-template-columns: 1.05fr 1fr; }
  .themes { gap: 44px; grid-template-columns: .75fr 1.6fr; }
  .theme-options { gap: 14px; }
  .theme-choice-label { font-size: 10px; }
  .pro-section { padding: 40px; gap: 36px; }
  .questions { gap: 50px; }
}
@media (max-width: 899px) {
  .landing-header { min-height: 88px; }
  .landing-header nav { display: none; }
  .hero h1 { font-size: 58px; }
  .hero-kicker { font-size: 12px; }
  .hero-description { font-size: 16px; }
  .hero-art figcaption { font-size: 10px; }
  .section-intro { display: block; }
  .section-intro p { max-width: 400px; margin-top: 18px; }
  .moment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment-card { padding: 22px; }
  .moment-card img { height: 135px; }
  .moment-copy strong { font-size: 18px; }
  .moment-copy > span { font-size: 10px; }
  .playground-panel { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .demo-board { aspect-ratio: 3.2; }
  .demo-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .message-field { grid-column: 1 / -1; }
  .demo-controls fieldset { margin: 0; }
  .themes { grid-template-columns: 1fr; gap: 48px; }
  .theme-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
  .theme-copy > p { margin-top: 0; }
  .theme-copy .theme-instruction { grid-column: 2; margin-top: -16px; }
  .theme-copy .theme-current { grid-column: 2; }
  .theme-options { gap: 28px; }
  .theme-choice-label { font-size: 13px; }
  .pro-section { padding: 40px 32px; gap: 30px; }
  .pro-copy h2 { font-size: 35px; }
  .pro-sign { font-size: 34px; }
  .pro-sticker { font-size: 10px; }
  .questions { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .questions h2 { font-size: 32px; }
}
@media (max-width: 599px) {
  .wide-container { width: calc(100% - 40px); }
  .landing-header { min-height: 82px; gap: 16px; }
  .landing-header .brand { font-size: 21px; gap: 10px; }
  .landing-header .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .availability { padding: 9px 11px; font-size: 10px; gap: 6px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 22px; padding-top: 8px; padding-bottom: 54px; }
  .hero-copy { padding-inline: 4px; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: clamp(46px, 13.1vw, 65px); letter-spacing: -2.8px; margin-bottom: 22px; }
  .hero-description { font-size: 16px; max-width: 310px; margin-bottom: 24px; }
  .primary-button { min-height: 52px; padding: 14px 22px; gap: 32px; font-size: 14px; }
  .platform-note { margin-top: 14px; font-size: 11px; }
  .hero-art { order: -1; width: min(88%, 300px); align-self: center; }
  .hero-art figcaption { display: none; }
  .moments { padding-block: 32px 76px; }
  .section-intro { margin-bottom: 24px; }
  .section-intro h2 { font-size: 30px; letter-spacing: -1.3px; }
  .section-intro p { font-size: 14px; margin-top: 16px; }
  .moment-grid { gap: 12px; }
  .moment-card { padding: 16px; border-radius: 20px; }
  .moment-card img { height: 112px; margin-bottom: 18px; }
  .moment-copy { gap: 7px; }
  .moment-copy strong { font-size: 14px; line-height: 1.3; letter-spacing: -.3px; }
  .moment-copy > span { font-size: 8px; letter-spacing: .35px; }
  .moment-arrow { font-size: 15px; right: 12px; bottom: 12px; }
  .playground { padding-bottom: 80px; scroll-margin-top: 25px; }
  .playground-heading { display: block; margin-bottom: 26px; }
  .playground-heading > p { font-size: 14px; margin-top: 18px; }
  .playground-heading > p br { display: none; }
  .landing-page h2 { font-size: 36px; letter-spacing: -1.4px; }
  .section-label { font-size: 12px; margin-bottom: 14px; }
  .playground-panel { padding: 20px; border-radius: 24px; gap: 28px; }
  .demo-board { aspect-ratio: 2.65; border-width: 6px; border-radius: 16px; }
  .display-caption { font-size: 9px; gap: 6px; margin-top: 12px; }
  .motion-button { font-size: 10px !important; }
  .demo-controls { display: block; }
  .demo-controls fieldset { margin-top: 24px; }
  .input-meta { font-size: 9px; }
  .colour-choice { font-size: 11px !important; padding: 8px 5px; gap: 5px; }
  .preview-note { font-size: 11px; line-height: 1.75; margin-top: 16px; }
  .themes { padding-bottom: 78px; gap: 34px; scroll-margin-top: 26px; }
  .theme-copy { display: block; }
  .theme-copy > p { font-size: 14px; max-width: 320px; margin-top: 20px; }
  .theme-copy .theme-instruction { font-size: 12px; margin-top: 20px; }
  .theme-copy .theme-current { margin-top: 8px; }
  .theme-options { gap: 14px; }
  .theme-choice { gap: 12px; }
  .theme-choice:nth-child(2) { margin-top: 36px; }
  .theme-choice:nth-child(3) { margin-top: -10px; }
  .theme-image { border-radius: 17px; }
  .theme-choice[aria-pressed="true"] .theme-image::after { inset: -4px; border-radius: 21px; }
  .theme-choice-label { font-size: 9px; line-height: 1.4; white-space: normal; align-items: start; }
  .theme-check { font-size: 10px; }
  .pro-section { grid-template-columns: 1fr; padding: 28px 24px 32px; border-radius: 26px; gap: 38px; }
  .pro-art { max-width: 320px; margin-inline: auto; }
  .pro-sign { font-size: 44px; }
  .pro-sticker { margin-top: 10px; font-size: 11px; }
  .pro-copy h2 { font-size: 36px; }
  .pro-copy > p:not(.section-label) { font-size: 14px; margin-top: 20px; }
  .pro-features { gap: 20px; margin-top: 26px; }
  .pro-features dd { font-size: 13px; }
  .questions { grid-template-columns: 1fr; padding-block: 78px 70px; gap: 34px; }
  .questions h2 { font-size: 32px; }
  .question-list dt { font-size: 15px; }
  .question-list dd { font-size: 13px; }
  .landing-footer { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
  .landing-footer .footer-links { font-size: 11px; gap: 10px 20px; padding: 0; }
  .footer-bottom { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page, .landing-page * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .landing-page { --paper: white; --ink: black; --muted: #444; --surface: white; --line: #ccc; }
  .landing-header, .demo-controls, .availability, .motion-button { display: none; }
  .wide-container { width: 100%; }
  .hero, .themes, .pro-section, .questions { break-inside: avoid; padding-block: 25px; }
}
