/* Hayda website. Calm look: cream, white and ink, with coral only on the main button and the wordmark dot. */
:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --soft: #f6ede3;
  --line: #ebdfd2;
  --text: #1e1a2b;
  --body: #3a3547;
  --muted: #6b6678;
  --coral: #ff5a36;
  --on-coral: #1e0b06;
  --ink: #1e1a2b;
  --on-ink: #fff8f1;
  --marker: #ffd2c2;
  --shadow: 0 1px 2px rgba(60, 30, 10, .05), 0 12px 32px rgba(60, 30, 10, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1120px; }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.wordmark {
  font-weight: 900; font-size: 24px; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.wordmark:hover { color: var(--text); }
.wordmark span { color: var(--coral); }
nav.site { display: flex; align-items: center; gap: 22px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
nav.site a[aria-current="page"] { font-weight: 700; }

/* Language switch */
.langs { font-size: 14px; }
.langs a { color: var(--muted); text-decoration: none; margin-right: 12px; }
.langs a[aria-current="page"] { color: var(--text); font-weight: 700; }
nav.site .langs {
  display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
nav.site .langs a { margin: 0; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
nav.site .langs a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }

/* ---- Text pages (privacy, rules, delete account) ---- */
main { padding: 48px 0 72px; }

h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 900; margin: 0 0 12px; }
h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; margin: 44px 0 12px; }
h3 { font-size: 18px; line-height: 1.3; margin: 24px 0 6px; }
/* The marker stroke under headlines, same as in the app. */
.mk {
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 92%, transparent 92%);
  border-radius: 6px; padding: 0 4px; margin: 0 -4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
p, li { color: var(--body); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 15px; }

ul { padding-left: 22px; }
li { margin: 6px 0; }

.card {
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 20px; padding: 20px 22px; margin: 20px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.button {
  display: inline-block; background: var(--coral); color: var(--on-coral);
  padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2;
}
.button:hover { color: var(--on-coral); background: #ff6d4d; }
.button.ghost { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 13px 23px; }
.button.ghost:hover { background: var(--soft); color: var(--text); }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 18px; display: inline-block; margin-bottom: 6px; text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }
footer.site p { color: var(--muted); margin: 14px 0 0; }

/* ---- Home page ---- */
.home main { padding: 0 0 24px; }
.home main > section { margin-bottom: 88px; }
.home h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 900; letter-spacing: -0.03em; margin: 0 0 32px; }
.home h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }

.hero { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; padding-top: 48px; padding-bottom: 8px; }
.hero h1 { font-size: clamp(40px, 9.5vw, 68px); line-height: 1.04; margin: 0 0 18px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Phone frames around the screenshots */
.phone {
  background: var(--ink); padding: 7px; border-radius: 34px; flex: none;
  box-shadow: 0 30px 60px rgba(60, 30, 10, .2);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }
.phones { display: flex; justify-content: center; align-items: center; gap: 12px; }
.phones .phone { width: calc((100% - 24px) / 3); max-width: 220px; padding: 5px; border-radius: 22px; }
.phones .phone img { border-radius: 17px; }
.phones .phone:nth-child(2) { transform: translateY(-18px); }

.cats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cats li {
  margin: 0; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-weight: 600; font-size: 15px; color: var(--text);
}

ol.how { list-style: none; padding: 0; margin: 0; counter-reset: h; display: grid; gap: 28px; }
ol.how li { counter-increment: h; margin: 0; padding-top: 18px; border-top: 2px solid var(--text); }
ol.how li::before {
  content: "0" counter(h); display: block; margin-bottom: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
}
ol.how p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; justify-items: center; margin-bottom: 64px; }
.split:last-child { margin-bottom: 0; }
.split .phone { width: 240px; }
.feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; width: 100%; max-width: 520px; }
.feats li { display: flex; gap: 16px; margin: 0; }
.feats p { margin: 0; color: var(--muted); }
.ico {
  flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.cities li {
  margin: 0; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
}
.cities li:first-child { background: var(--ink); border-color: var(--ink); }
.cities li:first-child h3, .cities li:first-child p { color: var(--on-ink); }
.cities li:first-child p { opacity: .8; }
.cities h3 { font-size: 22px; font-weight: 800; }
.cities p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.banner {
  border-radius: 28px; padding: 36px 28px; background: var(--ink);
  display: grid; gap: 24px; align-items: center; justify-items: start;
}
.home .banner h2 { margin: 0 0 12px; color: var(--on-ink); font-size: clamp(26px, 3.6vw, 34px); }
.banner p { color: var(--on-ink); opacity: .82; max-width: 60ch; margin: 0; }

.faq { display: grid; gap: 0; }
.faq details:first-child { border-top: 1px solid var(--line); }

.closing { text-align: center; padding-top: 8px; }
.closing .wordmark { font-size: clamp(56px, 12vw, 96px); margin: 0; line-height: 1; }
.closing .lead { margin: 14px 0 0; }
.closing .actions { justify-content: center; }

@media (max-width: 719px) {
  .hide-s { display: none; }
  .home main > section { margin-bottom: 64px; }
  .hero { padding-top: 32px; }
}
@media (max-width: 480px) {
  main { padding-top: 32px; }
  nav.site { gap: 14px; }
  nav.site a { font-size: 14px; }
}
@media (min-width: 720px) {
  ol.how { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split .phone { width: 270px; }
  .split .feats { justify-self: start; }
  .split.flip .phone { order: 2; }
  .split.flip .feats { justify-self: end; }
  .cities { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .banner { grid-template-columns: 1fr auto; padding: 48px; gap: 40px; }
  .faq { grid-template-columns: 1fr 1.8fr; gap: 48px; align-items: start; }
  .phones .phone { padding: 7px; border-radius: 32px; }
  .phones .phone img { border-radius: 25px; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1.05fr; padding-top: 72px; gap: 32px; }
  .phones { justify-content: flex-end; gap: 16px; }
  .phones .phone { width: calc((100% - 32px) / 3); }
}

/* Night colours, same as the app's dark theme. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131017; --surface: #1d1924; --soft: #262130; --line: #342e3d; --text: #f6f1ea; --body: #d8d2e0; --muted: #a9a2b6;
    --ink: #f6f1ea; --on-ink: #131017; --marker: #8c3b26;
    --shadow: none;
    color-scheme: dark;
  }
  .phone { background: #3a3445; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
  .banner, .cities li:first-child { background: var(--surface); border: 1px solid var(--line); }
  .home .banner h2, .banner p, .cities li:first-child h3, .cities li:first-child p { color: var(--text); }
}

/* ---- Live events (app.js) ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 6px; margin: 0 -20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.chip:hover { background: var(--soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.chips.small .chip { font-size: 14px; font-weight: 600; padding: 6px 14px; }
.filters { display: grid; gap: 10px; margin: 14px 0 24px; }
.search {
  font: inherit; font-size: 16px; width: 100%; max-width: 420px; padding: 12px 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.search::placeholder { color: var(--muted); }

.events { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ev {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.ev:hover { color: var(--text); border-color: var(--text); }
.poster { position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .tag {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px;
  background: #fff8f1; color: #1e1a2b; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.ev-body { padding: 16px 18px 18px; }
.ev-body p { margin: 0; }
.home .ev-body h3, .ev-body h3 { margin: 4px 0 2px; font-size: 19px; line-height: 1.25; }
.when { font-size: 14px; font-weight: 700; color: var(--text); }
.where { color: var(--muted); font-size: 15px; }
.facts { margin-top: 10px !important; font-size: 14px; font-weight: 600; color: var(--muted); }
.note { margin-top: 18px; }
.state { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: 22px; }
.state p { margin: 0 0 16px; color: var(--muted); }
.state p:last-child { margin: 0; }
button.button { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
button.button.ghost { border: 1px solid var(--line); }
.skel .poster, .skel p { background: var(--soft); border-radius: 8px; }
.skel p { height: 14px; margin: 8px 0 !important; width: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .skel { animation: pulse 1.2s ease-in-out infinite alternate; }
  @keyframes pulse { from { opacity: 1; } to { opacity: .55; } }
}

/* Event page */
main#event { padding-top: 24px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.back:hover { color: var(--text); }
.event { display: grid; gap: 24px; margin-bottom: 8px; }
.poster.big { border-radius: 24px; aspect-ratio: 16 / 10; }
.event-main h1 { font-size: clamp(30px, 6vw, 46px); margin-bottom: 16px; }
.facts-list { list-style: none; padding: 0; margin: 0; }
.facts-list li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--text); }
.facts-list li:last-child { border-bottom: 1px solid var(--line); }
#event .card h2 { margin: 0 0 6px; font-size: 20px; }
#event .card p { margin: 0 0 6px; }
#event .card .actions { margin: 14px 0 10px; }
.card.soft { background: var(--soft); box-shadow: none; }
.big-number { font-size: 22px; font-weight: 800; color: var(--text); }
.event.skel .poster { min-height: 220px; }

@media (min-width: 620px) { .events { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .events { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: 320px 1fr; align-items: center; column-gap: 16px; }
  .filters .chips:last-child { grid-column: 1 / -1; }
  .event { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
}

/* ---- Account, sign-in and going (app.js) ---- */
.account {
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; max-width: 130px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; border: 0; background: var(--ink); color: var(--on-ink);
}
.button.dark { background: var(--ink); color: var(--on-ink); }
.button.dark:hover { background: var(--ink); color: var(--on-ink); opacity: .88; }
.button:disabled { opacity: .55; cursor: default; }
.actions.second { margin-top: 12px; }
.actions.second .button { padding: 10px 18px; font-size: 15px; }
.mine {
  display: inline-block; margin: 0 0 8px !important; padding: 2px 10px; border-radius: 999px;
  background: var(--marker); color: var(--text); font-size: 12px; font-weight: 700;
}

dialog.sheet {
  width: min(440px, calc(100vw - 32px)); padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
dialog.sheet::backdrop { background: rgba(20, 16, 28, .55); }
dialog.sheet h2 { margin: 0 32px 10px 0; font-size: 24px; }
dialog.sheet p { margin: 0 0 16px; }
dialog.sheet form { display: grid; }
dialog.sheet label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
dialog.sheet input {
  font: inherit; font-size: 18px; padding: 13px 16px; margin-bottom: 14px; width: 100%;
  border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
dialog.sheet .button { width: 100%; text-align: center; }
dialog.sheet .meta { margin: 14px 0 0; font-size: 13px; }
.x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--soft); color: var(--text); font-size: 22px; line-height: 1;
}
.form-error { color: #c2260a; font-weight: 600; font-size: 15px; margin: 0 0 12px !important; }
.form-error:empty { display: none; }
.link {
  font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; cursor: pointer;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 12px 0 0; justify-self: center; display: block; margin: 0 auto;
}
.choice {
  display: grid; gap: 2px; width: 100%; text-align: left; font: inherit; cursor: pointer; margin-bottom: 10px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.choice:hover { border-color: var(--text); }
.choice[aria-pressed="true"] { border: 2px solid var(--text); padding: 13px 15px; }
.choice span { color: var(--muted); font-size: 15px; }
@media (prefers-color-scheme: dark) { .form-error { color: #ff8a70; } }

/* ---- My plans page ---- */
#account { display: inline-flex; align-items: center; gap: 18px; }
#plans { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; }
#plans h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 20px; }
#plans h2 { margin-top: 36px; }
.plans-link { white-space: nowrap; }
@media (max-width: 560px) { .home .plans-link { display: none; } } /* the language switch needs the room; the link is also in the account dialog */
@media (max-width: 420px) { #account { gap: 12px; } .account { max-width: 96px; padding: 8px 12px; } }

/* ---- Friends page ---- */
#friends { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; max-width: 720px; }
#friends h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 20px; }
#friends h2 { margin-top: 36px; font-size: 22px; }
#friends .card h2 { margin: 0 0 6px; font-size: 20px; }
#friends .card p { margin: 0 0 14px; }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-form .search { flex: 1 1 200px; }
.row-form .button { padding: 12px 22px; }
.button.small { padding: 8px 16px; font-size: 14px; }
button.button.small.ghost { padding: 7px 15px; }
.people { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.person {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 18px;
}
.who { flex: 1 1 140px; min-width: 0; display: grid; }
.who strong, .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { color: var(--muted); font-size: 14px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Event chat ---- */
.chat .chips { margin: 10px 0 6px; }
.msgs {
  list-style: none; margin: 10px 0 14px; padding: 12px; display: grid; gap: 10px; align-content: start;
  height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
}
.msg { max-width: 85%; justify-self: start; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.msg.mine-msg { justify-self: end; background: var(--soft); }
#event .card .msg p { margin: 0; }
.msg-head { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); }
.msg-head strong { color: var(--text); }
.msg-body { overflow-wrap: anywhere; white-space: pre-wrap; }
.msg-act { font: inherit; font-size: 12px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; margin-left: auto; }
.meta.warn { color: var(--text); background: var(--marker); padding: 8px 12px; border-radius: 12px; }

/* ---- About page ---- */
.about main { padding: 0 0 24px; }
.about main > section { padding-top: 56px; padding-bottom: 56px; }
.about-hero { text-align: center; padding-top: 72px !important; padding-bottom: 24px !important; }
.kicker { margin: 0; font-size: clamp(22px, 4vw, 32px); font-style: italic; color: var(--muted); }
.about-hero h1 { font-size: clamp(64px, 17vw, 168px); line-height: .95; letter-spacing: -0.05em; margin: 0; }
.about-hero h1 span { color: var(--coral); }
.label {
  margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--coral); }
.quote { margin: 0 0 28px; max-width: 22em; font-size: clamp(28px, 5vw, 46px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--text); }
.prose { max-width: 40em; }
.prose p { font-size: 18px; margin: 0 0 14px; }
.about h2 { margin: 0 0 16px; font-size: clamp(26px, 4vw, 36px); }
.values { background: var(--ink); color: var(--on-ink); }
.values-grid { display: grid; gap: 32px; }
.values-head h2, .values-head .label { color: var(--on-ink); }
.values-head p:last-child { color: var(--on-ink); opacity: .8; margin: 0; max-width: 34em; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values-list li { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--bg); color: var(--body); }
.values-list h3 { margin: 0 0 6px; font-size: 20px; color: var(--text); }
.values-list p { margin: 0; }
.two { display: grid; gap: 16px; }
.two .card { margin: 0; }
.two .card h3 { margin: 0 0 10px; font-size: 22px; }
.two .card .actions { margin-top: 18px; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--line); display: grid; gap: 28px; max-width: 44em; }
.timeline li { position: relative; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.timeline .when { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.timeline h3 { margin: 2px 0 4px; font-size: 20px; }
.timeline p { margin: 0; }
@media (min-width: 860px) {
  .values-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .values-head { position: sticky; top: 96px; }
  .two { grid-template-columns: 1fr 1fr; }
}
@media (prefers-color-scheme: dark) {
  .values { background: var(--surface); border-block: 1px solid var(--line); }
  .values-head h2, .values-head .label, .values-head p:last-child { color: var(--text); }
}

/* ---- List your event page ---- */
#submit { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; max-width: 720px; }
#submit h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 10px; }
#submit h2 { margin-top: 40px; font-size: 22px; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.form .pair { display: grid; gap: 16px; }
@media (min-width: 560px) { .form .pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 700; color: var(--text); }
.field input, .field select {
  font: inherit; font-size: 16px; padding: 12px 14px; width: 100%; min-height: 48px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.form .button { justify-self: start; }
.form-ok { margin: 0; font-weight: 600; color: var(--text); }
.form-ok:empty, .form-error:empty { display: none; }
.status { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--text); align-self: center; }
.status.approved { background: var(--marker); }
.banner .actions { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }

/* Hold room for the events list while it loads, so the sections below don't jump. */
#feed { min-height: 480px; }
main > div[lang] + div[lang] { margin-top: 48px; }
