/* StudyLife.ie — "Poster" direction */

/* Fonts are served from this site (not Google), so no visitor data leaves it.
   Both are open-source under the SIL Open Font License; see assets/fonts/NOTICE.txt. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/bricolage-grotesque-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ground: #2B2BD9;
  --lemon: #F4E04D;
  --ink: #111114;
  --paper: #FAFAF6;
  --lilac: #E4E3FB;
  --line: #E4E3EC;
  --line-strong: #CFCFDC;
  --muted: #45454F;
  --body: #2E2E36;
  --red: #B3261E;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.55; }
a { color: var(--ink); }
a:hover { color: var(--ground); }
:focus-visible { outline: 3px solid var(--ground); outline-offset: 2px; }
.band :focus-visible, .dark :focus-visible { outline-color: var(--lemon); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }

/* layout */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.wrap.narrow { max-width: 880px; }
.band { background: var(--ground); color: #FFFFFF; }
.band a { color: #FFFFFF; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* header and footer */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; color: #FFFFFF; padding: 10px 0; }
.logo span { color: var(--lemon); }
.logo:hover { color: #FFFFFF; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.btn) { padding: 12px 0; }
.nav a:hover { color: var(--lemon); }
.site-foot { background: var(--ink); color: #C8C8D0; font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; }
.site-foot a { color: #FFFFFF; padding: 12px 0; }
.site-foot a:hover { color: var(--lemon); }
.site-foot .logo { font-size: 22px; padding: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; min-height: 56px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-lemon, .band a.btn-lemon, .btn-lemon:hover, .band a.btn-lemon:hover { background: var(--lemon); color: var(--ink); }
.btn-ground, .btn-ground:hover { background: var(--ground); color: #FFFFFF; }
.btn-outline, .btn-outline:hover { background: #FFFFFF; color: var(--ink); border: 2px solid var(--ink); padding: 14px 26px; }
.btn-outline-white, .btn-outline-white:hover { background: none; color: #FFFFFF; border: 2px solid #FFFFFF; padding: 14px 26px; }
.btn-small { padding: 12px 22px; min-height: 48px; font-size: 16px; }
.btn-text { background: none; border: 0; padding: 12px 4px; min-height: 44px; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 12px 4px; min-height: 48px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.btn svg, .btn-back svg { flex: none; }

/* type */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.h-xl { font-size: clamp(60px, 9.4vw, 148px); line-height: 0.9; letter-spacing: -0.045em; }
.h-lg { font-size: clamp(48px, 6.4vw, 96px); line-height: 0.92; letter-spacing: -0.045em; }
.h-md { font-size: clamp(38px, 4.6vw, 68px); }
.h-sm { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lemon); }
.soft { color: #E6E6FB; }
.softer { color: #DADAF8; font-size: 15px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.lemon { color: var(--lemon); }

/* ------------------------------------------------ homepage */
.home-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.home-hero h1 { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; }
.home-hero .side { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 24px; font-size: 20px; }
.strip { background: var(--lemon); }
.strip p { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 22px; padding-bottom: 22px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.section { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-direction: column; gap: 48px; }
.tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tile { flex: 1 1 340px; min-height: 260px; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: #FFFFFF; border: 2px solid var(--ink); }
.tile span { font-size: 15px; font-weight: 600; color: var(--ground); }
.tile p { font-family: var(--display); font-size: 32px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.tile.dark { background: var(--ink); color: #FFFFFF; }
.tile.dark span { color: var(--lemon); }
.tile.lilac { background: var(--lilac); border-color: var(--lilac); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.split > .text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.split > .art { flex: 1 1 380px; display: flex; justify-content: center; padding: 24px 0; }
.ticket { position: relative; width: 100%; max-width: 440px; background: var(--lemon); color: var(--ink); border-radius: 18px; transform: rotate(-4deg); }
.ticket .top { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.ticket .top small { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ticket .top strong { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.ticket .tear { border-top: 3px dashed var(--ink); margin: 0 28px; position: relative; }
.ticket .tear::before, .ticket .tear::after { content: ""; position: absolute; top: -17px; width: 32px; height: 32px; border-radius: 50%; background: var(--ground); }
.ticket .tear::before { left: -44px; }
.ticket .tear::after { right: -44px; }
.ticket .bottom { padding: 24px 32px 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 14px; font-weight: 600; }
.ticket .bottom b { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 0.04em; }
.steps { display: flex; flex-wrap: wrap; gap: 40px; }
.steps > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.steps .num { width: 64px; height: 64px; border-radius: 50%; background: var(--lemon); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 30px; font-weight: 800; }
.steps h3 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { color: var(--muted); }

/* ------------------------------------------------ privacy page */
.page-hero { display: flex; flex-direction: column; gap: 20px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 900px; }
.doc { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.toc { flex: 0 1 260px; display: flex; flex-direction: column; font-weight: 600; font-size: 16px; }
.toc span { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; }
.toc a { text-decoration: none; padding: 10px 0; border-top: 1px solid #DADAE6; }
.toc a:first-of-type { border-top: 2px solid var(--ink); }
.toc a:last-of-type { border-bottom: 1px solid #DADAE6; }
.doc-body { flex: 1 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 56px; }
.doc-body section { display: flex; flex-direction: column; gap: 14px; }
.doc-body section > p, .doc-body li { color: var(--body); }
.doc-body h3 { font-size: 20px; font-weight: 700; margin-top: 12px; }
.doc-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.sec-head { display: flex; align-items: center; gap: 14px; }
.sec-head .num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lemon); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; font-weight: 800; }
.sec-head h2 { font-family: var(--display); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.box { border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.box.lilac { background: var(--lilac); }
.box.ground { background: var(--ground); color: #FFFFFF; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.box h2, .box .big { font-family: var(--display); font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.dots { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.dots li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.dots li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ground); }
.band .dots li { color: #FFFFFF; }
.band .dots li::before { background: var(--lemon); width: 12px; height: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; }
.fact { flex: 1 1 220px; background: #FFFFFF; border: 2px solid var(--ink); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--display); font-size: 22px; font-weight: 800; }
.fact span { font-size: 16px; color: var(--body); }
.fact.light { border-color: #DADAE6; padding: 16px 18px; }
.fact.light b { font-family: var(--text); font-size: 18px; font-weight: 700; }
.fact.light small { font-size: 14px; font-weight: 600; color: var(--ground); }
.gift-banner { background: var(--ink); color: #FFFFFF; border-radius: 20px; padding: clamp(20px, 3vw, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-weight: 600; }
.gift-banner .chip25 { flex: none; width: 88px; height: 60px; border-radius: 10px; background: var(--lemon); color: var(--ink); display: flex; align-items: center; justify-content: center; transform: rotate(-4deg); font-family: var(--display); font-size: 24px; font-weight: 800; }
.gift-banner p { flex: 1 1 300px; color: #FFFFFF; }
.note { background: var(--lilac); border-radius: 16px; padding: 18px 20px; color: var(--body); }

/* ------------------------------------------------ invitation page */
.invite-page { min-height: 100vh; }
.invite-main { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: clamp(24px, 5vw, 64px); padding-bottom: 96px; }
.invite-main > .pitch { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.invite-main h1 { font-size: clamp(56px, 7vw, 112px); line-height: 0.9; letter-spacing: -0.045em; display: flex; flex-direction: column; }
.panel { flex: 1 1 520px; max-width: 600px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.panel a { color: var(--ink); }
.panel a:hover { color: var(--ground); }
.panel :focus-visible { outline-color: var(--ground); }
.panel form, .panel .stack { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-weight: 600; }
.code-input { width: 100%; font-family: var(--display); font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: 0.06em; padding: 14px 20px; min-height: 72px; border: 3px solid var(--ink); border-radius: 16px; background: #FFFFFF; color: var(--ink); }
.code-input[aria-invalid="true"] { border-color: var(--red); }
.error { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--red); }
.rule { padding-top: 20px; border-top: 2px solid var(--line); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--lemon); border-radius: 999px; font-weight: 700; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #FFFFFF; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ground); }

/* ------------------------------------------------ survey */
.survey-hero { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; padding-bottom: 48px; }
.survey-hero h1 { font-family: var(--display); font-size: clamp(44px, 5.6vw, 80px); line-height: 0.92; font-weight: 800; letter-spacing: -0.04em; }
.survey-hero h1:focus { outline: none; }
.survey-hero > p { max-width: 620px; font-size: 19px; color: #E6E6FB; }
.progress { display: flex; flex-direction: column; gap: 12px; }
.progress .labels { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; color: #E6E6FB; }
.segs { display: flex; gap: 6px; }
.segs span { flex: 1 1 0; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.28); }
.segs span.on { background: var(--lemon); }
.survey-main { display: flex; flex-direction: column; gap: 16px; padding-top: 40px; padding-bottom: 96px; }
.card { background: #FFFFFF; border: 2px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.card.big { border-radius: 24px; padding: clamp(24px, 4vw, 40px); gap: 20px; }
.card.dark { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.card.lilac { background: var(--lilac); border-color: var(--lilac); }
.q { font-family: var(--display); font-size: 22px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.hint { font-size: 16px; color: var(--muted); }
.q-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.out { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ground); }
.range { width: 100%; height: 32px; accent-color: var(--ground); }
.ends { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.input, .select { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; min-height: 56px; border: 2px solid var(--ink); border-radius: 14px; background: #FFFFFF; color: var(--ink); }
.select.short { max-width: 360px; }
textarea.input { resize: vertical; }
.money { display: flex; align-items: stretch; max-width: 220px; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #FFFFFF; }
.money span { display: flex; align-items: center; padding: 0 14px; background: var(--lemon); font-weight: 700; }
.money input { flex-grow: 1; min-width: 0; font: inherit; font-size: 18px; padding: 14px 12px; min-height: 52px; border: 0; background: #FFFFFF; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 18px; min-height: 48px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; background: #FFFFFF; color: var(--ink); border: 2px solid var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--ground); color: #FFFFFF; border-color: var(--ground); }
.chip.day { min-width: 72px; min-height: 56px; border-radius: 16px; font-size: 17px; font-weight: 700; padding: 10px 14px; }
.chip.count { width: 64px; height: 64px; padding: 0; border-radius: 18px; font-family: var(--display); font-size: 26px; font-weight: 800; }
.lock-note { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.trail { display: flex; flex-wrap: wrap; gap: 8px; }
.trail span { padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; background: #FFFFFF; border: 2px solid var(--line-strong); }
.trail span.done { background: var(--lilac); border-color: var(--lilac); }
.trail span.now { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.classes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.class-row { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: #EEEEFD; }
.class-row .line { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
.class-row .name { align-self: center; min-width: 84px; font-family: var(--display); font-size: 20px; font-weight: 800; }
.class-row .time { display: flex; flex-direction: column; gap: 4px; }
.class-row .time label { font-size: 14px; font-weight: 600; }
.class-row select { font: inherit; font-size: 18px; padding: 10px 12px; min-height: 48px; min-width: 132px; border: 2px solid var(--ink); border-radius: 12px; background: #FFFFFF; color: var(--ink); cursor: pointer; }
.class-row select:disabled { background: #EDEDF2; color: #8A8A96; border-color: #D5D5DE; cursor: not-allowed; opacity: 1; }
.class-row select[aria-invalid="true"] { border-color: var(--red); }
.class-row .dur { flex-grow: 1; align-self: center; font-size: 16px; font-weight: 700; color: var(--ground); }
.class-row.locked { background: #F3F3F7; }
.class-row.locked .name, .class-row.locked label { color: #8A8A96; }
.class-row .why { font-size: 15px; font-weight: 600; color: #5A5A66; }
.class-row .error { font-size: 15px; }
.daybar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; border: 2px solid var(--ink); }
.daybar .seg { flex-basis: 0; min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; border-right: 2px solid #FFFFFF; overflow: hidden; white-space: nowrap; background: var(--ground); color: #FFFFFF; }
.daybar .seg.break { background: var(--lemon); color: var(--ink); }
.daybar .seg:last-child { border-right: 0; }
.bar-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.balance-out { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.balance-out output { font-family: var(--display); font-size: 64px; line-height: 1; font-weight: 800; color: var(--lemon); }
.balance-out output small { font-size: 28px; color: #FFFFFF; }
.balance-out span { font-size: 18px; font-weight: 700; }
.card.dark .q { font-size: 26px; font-weight: 800; }
.card.dark .range { accent-color: var(--lemon); }
.card.dark .ends { color: #C8C8D0; }
.survey-nav { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.survey-nav .buttons { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.survey-nav p { text-align: right; font-size: 15px; color: var(--muted); }
.survey-nav p.error { justify-content: flex-end; }
.reward { flex-direction: row; flex-wrap: wrap; gap: 32px 40px; align-items: center; }
.reward .art { flex: 0 1 280px; display: flex; justify-content: center; padding: 12px 0; }
.giftcard { width: 100%; max-width: 280px; aspect-ratio: 1.6; background: var(--lemon); border: 2px solid var(--ink); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); }
.giftcard small { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.giftcard strong { font-family: var(--display); font-size: 64px; line-height: 0.9; font-weight: 800; letter-spacing: -0.03em; }
.giftcard span { font-size: 16px; font-weight: 700; }
.reward .text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.code-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; align-self: stretch; }
.gift-code { flex: 1 1 260px; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 18px; border: 2px dashed var(--ink); border-radius: 14px; background: var(--paper); font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: 0.06em; text-align: center; user-select: all; }
.copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 64px; border-radius: 14px; border: 2px solid var(--ink); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.callout { padding: 14px 18px; border-radius: 14px; background: var(--lilac); font-size: 16px; font-weight: 600; align-self: stretch; }
.callout.lemon-bg { background: var(--lemon); color: var(--ink); }
.summary { display: flex; flex-wrap: wrap; gap: 12px; }
.summary > div { flex: 1 1 180px; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; border: 2px solid var(--ink); }
.summary small { font-size: 14px; font-weight: 600; color: var(--ground); }
.summary b { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 800; }
.summary .dark { background: var(--ink); color: #FFFFFF; }
.summary .dark small { color: var(--lemon); }
.summary .lilac { background: var(--lilac); border-color: var(--lilac); }
.summary .lemon-bg { background: var(--lemon); border-color: var(--lemon); }
.summary .lemon-bg small { color: var(--ink); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .tile { min-height: 0; padding: 24px; }
  .tile p { font-size: 27px; }
  .split { gap: 32px; }
  .ticket .top strong { font-size: 34px; }
}

/* ------------------------------------------------ admin panel */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 16px; font-weight: 600; letter-spacing: 0.04em; }
.admin-main { padding-top: 40px; padding-bottom: 96px; }
.admin-login { max-width: 460px; margin: 0 auto; }
.admin-fields { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.admin-fields .field { flex: 1 1 240px; }
.admin-created { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table thead th { border-top: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.admin-table tbody th { font-weight: 700; }
.admin-table small { display: block; font-size: 13px; color: var(--muted); padding-top: 4px; white-space: nowrap; }
.admin-table .actions { white-space: nowrap; padding-right: 0; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #EDEDF2; color: var(--ink); white-space: nowrap; }
.tag.done { background: var(--ground); color: #FFFFFF; }
.tag.opened { background: var(--lilac); color: var(--ground); }
.tag.warn { background: var(--lemon); }
.link { background: none; border: 0; padding: 6px 0; margin-right: 16px; min-height: 32px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--ground); }
.link.danger { color: var(--red); margin-right: 0; }
.admin-dialog { width: min(520px, calc(100vw - 32px)); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 3vw, 28px); color: var(--ink); background: #FFFFFF; }
.admin-dialog.wide { width: min(720px, calc(100vw - 32px)); }
.admin-dialog::backdrop { background: rgba(17, 17, 20, 0.5); }
.admin-dialog form { display: flex; flex-direction: column; gap: 16px; }
.answers { margin: 16px 0 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; font-size: 16px; }
.answers dt, .answers dd { margin: 0; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.answers dt { color: var(--muted); }
.answers dd { font-weight: 600; overflow-wrap: anywhere; }
.doc-body .fineprint { font-size: 13px; color: var(--muted); }
