:root {
  --cream: #F7F4FC; --ink: #111014; --soft: #5E5A66; --line: #E6E1EE;
  --pink: #FF3D8B; --pink-shadow: #C2185B; --pink-text: #C8185E;
  --bubblegum: #FF9ECF; --bubblegum-s: #E0629F; --lavender: #B9A3FF; --lavender-s: #8A6CF0;
  --mint: #7EE8B5; --mint-s: #3FC28B; --lemon: #FFE45C; --lemon-s: #D9B800;
  --peach: #FFB38A; --peach-s: #E0875A; --sky: #8CCBFF; --sky-s: #4BA3EE;
  --gutter: clamp(20px, 5vw, 72px);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-weight: 700; line-height: 1.45; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink-text); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(36px, 6vw, 64px); }
p { margin: 0; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
.top nav { display: flex; gap: 18px; font-size: 15px; font-weight: 800; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover { color: var(--ink); }
.top-end { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 14px; font-weight: 900; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 13px; }
.lang:hover { background: var(--lemon); }
.lang + .lang { margin-left: -10px; }
.top.over { position: absolute; inset: 0 0 auto; z-index: 5; }
.top.over nav a { color: rgba(17,16,20,.78); }
.top.over nav a:hover { color: var(--ink); }

/* Download: "coming soon" until site.js has a link, then Apple's badge */
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.soon { display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--pink); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink-shadow); font-size: 18px; font-weight: 900; }
.badge { display: none; }
.badge img { height: 56px; width: auto; }
.has-link .soon { display: none; }
.has-link .badge { display: inline-block; transition: transform .16s ease; }
.has-link .badge:hover { transform: translateY(-2px); }
.note { font-size: 14px; font-weight: 800; color: var(--soft); }

/* Every section is a full screen in its own colour, so the colour change is the edge. */
.screen > .wrap, .top.over, .wide .wrap { width: min(1440px, 100%); padding-inline: var(--gutter); }
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 64px; }
.bg-sky { background: var(--sky); } .bg-bubblegum { background: var(--bubblegum); } .bg-lemon { background: var(--lemon); }
.bg-mint { background: var(--mint); } .bg-lavender { background: var(--lavender); }
.bg-sky, .bg-bubblegum, .bg-lemon, .bg-mint, .bg-lavender { --soft: rgba(17,16,20,.78); --pink-text: var(--ink); }

/* Words on one side, a phone standing on the section's bottom edge on the other. */
.split { padding-block: 0; }
.split .wrap { flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; }
.split .copy { align-self: center; padding-block: 84px 40px; }
.split .stage { align-self: end; width: min(100%, 600px, calc((100vh - 96px) * .64)); width: min(100%, 600px, calc((100svh - 96px) * .64)); }
.tight { padding-block: 40px 20px; }

/* Hero */
.hero h1 { font-size: clamp(48px, min(7vw, 13vh), 104px); }
.tilt { display: inline-block; transform: rotate(-2.5deg); background: var(--pink); border: 3px solid var(--ink); border-radius: 18px; padding: .02em .22em .1em; box-shadow: 0 6px 0 var(--pink-shadow); margin-top: .1em; }
.lede { font-size: clamp(19px, 2.4vw, 23px); color: var(--soft); max-width: 30em; margin: 26px 0 28px; }
.hero .download { margin-bottom: 26px; }

/* A real Dayzie ticket */
.ticket { display: flex; align-items: stretch; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--shadow, var(--ink)); background: var(--fill, #fff); overflow: hidden; }
.ticket .stub { flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; border-right: 3px dashed rgba(17,16,20,.28); text-align: center; }
.ticket .big { font-size: 40px; font-weight: 900; line-height: 1; }
.ticket .unit { font-size: 12px; font-weight: 900; letter-spacing: .1em; margin-top: 4px; }
.ticket .body { padding: 16px 18px; min-width: 0; }
.ticket h3 { font-size: 21px; line-height: 1.12; letter-spacing: -0.01em; }
.ticket p { font-size: 15px; font-weight: 700; margin-top: 5px; color: rgba(17,16,20,.72); }
.live { max-width: 400px; }
.bubblegum { --fill: var(--bubblegum); --shadow: var(--bubblegum-s); } .lavender { --fill: var(--lavender); --shadow: var(--lavender-s); }
.mint { --fill: var(--mint); --shadow: var(--mint-s); } .lemon { --fill: var(--lemon); --shadow: var(--lemon-s); }
.peach { --fill: var(--peach); --shadow: var(--peach-s); } .sky { --fill: var(--sky); --shadow: var(--sky-s); }

/* Phones */
/* Cut so only the top 70% of the phone shows; it always sits on an edge. */
.phone { position: relative; border: 6px solid var(--ink); border-bottom: 0; border-radius: 46px 46px 0 0; overflow: hidden; background: var(--ink); aspect-ratio: 660 / 1004; }
.phone img { border-radius: 40px 40px 0 0; width: 100%; }
.stage { position: relative; width: min(340px, 78vw); margin: 0 auto; }
.sticker { position: absolute; line-height: 1; user-select: none; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 7px 8px rgba(17,16,20,.16)); animation: bob 4.2s ease-in-out infinite; z-index: 2; }
.s1 { font-size: 76px; top: 7%; right: -13%; rotate: 10deg; }
.s2 { font-size: 64px; top: 42%; left: -14%; rotate: -12deg; animation-delay: -1.4s; }
.s3 { font-size: 70px; bottom: 9%; right: -11%; rotate: -8deg; animation-delay: -2.6s; }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.kicker { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-text); margin-bottom: 12px; }
.intro { font-size: 19px; color: var(--soft); max-width: 34em; margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.steps .ticket { flex-direction: column; }
.steps .stub { width: auto; padding: 30px 6px; border-right: 0; border-bottom: 3px dashed rgba(17,16,20,.28); }
.steps .big { font-size: 84px; }
.steps .body { padding: 24px 24px 30px; }
.steps h3 { font-size: 28px; }
.steps p { font-size: 18px; margin-top: 8px; }

/* Gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(var(--gutter), calc((100vw - 1440px) / 2 + 72px)) 30px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: none; width: min(76vw, clamp(250px, calc((100vh - 380px) * .62 + 32px), 380px)); width: min(76vw, clamp(250px, calc((100svh - 380px) * .62 + 32px), 380px)); margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px 16px 0; background: var(--fill); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 6px 0 var(--shadow); overflow: hidden; }
.gallery figcaption { font-size: 24px; font-weight: 900; line-height: 1.08; letter-spacing: -0.01em; min-height: 2.2em; }
.gallery .phone { border-radius: 34px 34px 0 0; border-width: 4px; border-bottom: 0; }
.gallery .phone img { border-radius: 30px 30px 0 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.features .stub { width: 76px; font-size: 34px; }

/* Safety */
.safe { background: #fff; border: 3px solid var(--ink); border-radius: 34px; box-shadow: 0 8px 0 var(--mint-s); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px 40px; }
.safe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 18px; }
.safe li { display: flex; gap: 12px; align-items: flex-start; }
.safe svg { flex: none; width: 26px; height: 26px; margin-top: 1px; }

/* Final call */
.final { --footer: 88px; min-height: calc(100vh - var(--footer)); min-height: calc(100svh - var(--footer)); text-align: center; }
.final h2 { font-size: clamp(44px, 8vw, 88px); }
.final .download { justify-content: center; margin-top: 30px; }

/* Footer */
footer { padding: 26px 0 38px; font-size: 15px; font-weight: 800; color: var(--soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; } footer a:hover { color: var(--ink); text-decoration: underline; }

/* Text pages */
.doc { max-width: 720px; padding: 22px 0 64px; }
.doc h1 { font-size: clamp(42px, 8vw, 64px); margin-bottom: 10px; }
.doc .updated { color: var(--soft); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 27px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 18px; font-weight: 600; color: #2E2B33; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 7px; }
.doc a { color: var(--pink-text); font-weight: 800; }
.callout { background: var(--lemon); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--lemon-s); padding: 18px 20px; margin: 22px 0; }
.callout p { color: var(--ink); font-weight: 700; }

/* Contact form */
.form { background: #fff; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 0 6px 0 var(--lavender-s); padding: 22px 20px; margin: 22px 0 8px; display: grid; gap: 8px; scroll-margin-top: 14px; }
.doc .form h2 { margin: 0 0 2px; }
.form label { font-size: 15px; font-weight: 900; margin-top: 10px; }
.form input, .form select, .form textarea { width: 100%; font: 700 17px/1.4 var(--font); color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .trap { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.send { justify-self: start; margin-top: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--pink); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink-shadow); font: 900 18px var(--font); color: var(--ink); cursor: pointer; }
.send:disabled { opacity: .55; cursor: default; }
.doc .form .status { font-weight: 800; color: var(--ink); min-height: 1.4em; margin-top: 8px; }
.doc .form .fine { font-size: 14px; color: var(--soft); margin: 0; }

@media (max-height: 799px) and (min-width: 861px) { .live { display: none; } }

@media (max-width: 860px) {
  .screen { padding-block: 48px; }
  .split { padding-block: 0; }
  .split .wrap { display: flex; flex-direction: column; gap: 22px; }
  .split .copy { align-self: stretch; padding-block: 84px 0; }
  /* The phone takes whatever height is left, then runs off the section's edge. */
  .split .stage { flex: 1 1 0; align-self: center; width: min(76vw, 320px); min-height: 220px; }
  .split .phone { position: absolute; inset: 0; aspect-ratio: auto; }
  .live { display: none; }
  .safe { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  /* Eight tickets don't fit one screen, so they scroll sideways in two pages of four. */
  .features { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: 84vw; gap: 14px; margin: 24px -20px 0; padding: 0 20px 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; }
  .features::-webkit-scrollbar { display: none; }
  .features .ticket { scroll-snap-align: start; }
  .features .body { padding: 11px 14px; }
  .features h3 { font-size: 18px; }
  .features p { font-size: 14px; margin-top: 3px; line-height: 1.3; }
  .features .stub { width: 60px; font-size: 28px; }
  .tight { padding-block: 28px 12px; }
  .steps .ticket { flex-direction: row; }
  .steps .stub { width: 84px; padding: 14px 6px; border-bottom: 0; border-right: 3px dashed rgba(17,16,20,.28); }
  .steps .big { font-size: 44px; }
  .steps .body { padding: 14px 16px; }
  .steps h3 { font-size: 21px; }
  .steps p { font-size: 15px; margin-top: 5px; }
  .final { --footer: 169px; }
  .top nav { display: none; }
  .s1 { right: -6%; font-size: 62px; } .s2 { left: -6%; font-size: 54px; } .s3 { right: -5%; font-size: 58px; }
}
