/* Party Activity Scheduler — "bunting timetable": warm paper, aubergine ink, raspberry, tangerine, leaf, lemon. */
@font-face { font-family: "Bree Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/bree-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #faf6f1;
  --card: #ffffff;
  --sunk: #f1eae2;
  --ink: #2b2130;
  --soft: #5f5563;
  --line: #e5dcd3;
  --brand: #b4235a;
  --brand-dark: #8e1b47;
  --blush: #f8dde7;
  --tangerine: #e36a1e;
  --active: #a84a10;
  --active-tint: #fce6d6;
  --leaf: #3f7d4e;
  --calm: #2f6e42;
  --calm-tint: #ddeedf;
  --lemon: #f2c94c;
  --display: "Bree Serif", Georgia, "Times New Roman", serif;
  --text: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.narrow-text { max-width: 640px; }
.kicker { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 0.6em; }
.lead { font-size: 1.12rem; color: var(--soft); }
.small { font-size: 0.88rem; color: var(--soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.bunting { display: block; width: 100%; height: 44px; color: var(--ink); }

/* Header */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.brand img { border-radius: 10px; flex: none; }
.nav { list-style: none; display: flex; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 10px 2px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { max-width: 12ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 22px; }
.link-arrow { font-weight: 600; text-decoration: none; padding: 10px 0; }
.link-arrow::after { content: " ↓"; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.9rem; font-weight: 500; }

.hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; gap: 0; }
.ticket { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px 18px; margin-top: 48px; margin-right: -36px; box-shadow: 0 14px 34px rgba(43, 33, 48, 0.12); }
.ticket-bunting { margin: 0 -22px 6px; width: calc(100% + 44px); }
.ticket-title { font-family: var(--display); font-size: 1.35rem; margin: 0; line-height: 1.2; }
.ticket-note { font-size: 0.82rem; color: var(--soft); margin: 2px 0 10px; }
.timetable { list-style: none; margin: 0; padding: 0; }
.timetable li { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 0.92rem; }
.tt-time { font-weight: 600; font-variant-numeric: tabular-nums; width: 3.1em; flex: none; }
.tt-what { flex: 1; min-width: 0; }
.tt-end { color: var(--brand-dark); font-weight: 600; }
.tag { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 8px; border-radius: 6px; flex: none; }
.tag-active { background: var(--active-tint); color: var(--active); }
.tag-calm { background: var(--calm-tint); color: var(--calm); }

.shot { margin: 0; }
.shot img { width: 100%; border-radius: 22px; border: 10px solid var(--card); box-shadow: 0 18px 40px rgba(43, 33, 48, 0.16); background: var(--card); }
.hero-shot { transform: translateY(0); }

/* Google Play button */
.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 22px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.2; }
.play:hover { background: var(--brand-dark); color: #fff; }
.play-small { font-size: 0.75rem; letter-spacing: 0.04em; }
.play-big { font-weight: 600; font-size: 1.1rem; }
.play-soon { background: var(--sunk); color: var(--soft); border: 1.5px dashed #b9aeb9; cursor: default; }

/* Tools */
.tools { padding: 72px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool { display: grid; grid-template-columns: 1.1fr 0.7fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px dashed var(--line); }
.tool:first-of-type { border-top: 0; }
.tool-flip .tool-copy { order: 2; }
.tool .shot { max-width: 280px; justify-self: center; width: 100%; }
.tool-time { display: inline-flex; align-items: center; gap: 10px; background: var(--brand-dark); color: #fff; border-radius: 999px; padding: 4px 16px 4px 6px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tool-time span { background: var(--lemon); color: var(--ink); border-radius: 999px; padding: 2px 10px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12px solid var(--brand); }
.tool:nth-of-type(2) .ticks li::before { border-top-color: var(--tangerine); }
.tool:nth-of-type(3) .ticks li::before { border-top-color: var(--leaf); }
.tool:nth-of-type(4) .ticks li::before { border-top-color: #c9a227; }

/* Games */
.games { padding: 72px 0; }
.games-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.games-col { border-radius: var(--radius); padding: 24px 26px; }
.games-col h3 { margin-bottom: 0.4em; }
.games-col ul { margin: 0; padding-left: 1.1em; }
.games-col li { padding: 3px 0; }
.games-active { background: var(--active-tint); color: #5c2a08; }
.games-active h3 { color: var(--active); }
.games-calm { background: var(--calm-tint); color: #1f3f29; }
.games-calm h3 { color: var(--calm); }

/* More */
.more { padding: 72px 0; background: var(--ink); color: #f3ecf1; }
.more h2 { color: #fff; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.more-card .shot { max-width: 280px; margin: 0 auto 18px; }
.more-card .shot img { border-color: #3d3142; box-shadow: none; }
.more-card h3 { color: var(--lemon); }
.more-card p { color: #e1d6de; }

/* Trust */
.trust { padding: 72px 0; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 28px 0 0; }
.trust-list div { border-top: 2px solid var(--ink); padding: 16px 0 22px; }
.trust-list dt { font-family: var(--display); font-size: 1.3rem; margin-bottom: 4px; }
.trust-list dd { margin: 0; color: var(--soft); }

/* Download */
.download { background: var(--brand); color: #fff; padding: 56px 0; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.download h2 { color: #fff; max-width: 20ch; }
.download p { margin: 0; color: var(--blush); }
.download a:not(.play) { color: #fff; }
.download .play-soon { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); }

/* Pages */
.page { padding: 48px 0 72px; }
.page-bunting { max-width: 360px; margin: 0 0 22px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-family: var(--display); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.steps h2 { font-size: 1.35rem; margin-bottom: 0.25em; }
.faq-title { margin-top: 1.2em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; min-height: 48px; }
.faq details p { padding: 0 18px 14px; margin: 0; color: var(--soft); }
.contact { margin-top: 36px; padding: 24px; background: var(--blush); border-radius: var(--radius); }
.contact h2 { font-size: 1.5rem; }

/* Footer */
.foot { background: var(--card); border-top: 1px solid var(--line); padding-bottom: 28px; }
.foot-bunting { height: 34px; max-width: 760px; margin: 0 auto; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; padding-top: 18px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 10px; flex: none; }
.foot-name { font-family: var(--display); font-size: 1.15rem; margin: 0; }
.foot-small { margin: 0; font-size: 0.85rem; color: var(--soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: 8px 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { max-width: none; }
  .tool { grid-template-columns: 1fr; gap: 28px; }
  .tool-flip .tool-copy { order: 0; }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 32px 0 48px; }
  .hero-visual { grid-template-columns: 1fr; }
  .ticket { margin: 0; }
  .hero-shot { max-width: 260px; margin: -28px auto 0; position: relative; z-index: 2; }
  .games-cols, .trust-list { grid-template-columns: 1fr; }
  .tools, .games, .more, .trust { padding: 48px 0; }
  .steps li { padding-left: 56px; }
  .brand { font-size: 1.05rem; }
}
