/* ODMERA website. Hand-written; no framework. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter.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: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/spacegrotesk.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: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/jetbrainsmono.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; }

/* Layout: one dark page, like the app at night. The logo's blue-to-orange arc is the one bold move,
   drawn large around an example event card. Everything else is quiet text. */
:root {
  --bg: #0A0F1C; --panel: #101828; --panel2: #151F33; --line: #22304A;
  --text: #E9EEF6; --sub: #8A97B0; --faint: #7A88A6;
  --blue: #3B8CFF; --amber: #FF9B3D; --green: #3DDC97;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; letter-spacing: .06em; font-size: 17px; }
nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
nav a { color: var(--sub); text-decoration: none; }
nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 56px; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 700; }
.hero h1 .o { color: var(--amber); }
.hero h1.why-tag { margin-top: 0; font-family: inherit; font-size: 19px; line-height: 1.55; letter-spacing: 0; font-weight: 600; }
.hero p.lede { color: var(--sub); font-size: 18px; max-width: 32em; margin: 22px 0 0; }
.status { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--sub); border-left: 2px solid var(--line); padding-left: 14px; }
.status b { color: var(--text); font-weight: 600; }

/* The arc stage */
.stage { position: relative; max-width: 440px; width: 100%; justify-self: center; padding: 92px 22px 0; }
.stage svg.arc { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; overflow: visible; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.card h3 { font-size: 20px; margin-top: 6px; }
.card .when { color: var(--sub); font-size: 13.5px; margin-top: 2px; }
.rsvp { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.rsvp span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rsvp .y b { color: var(--green); } .rsvp .m b { color: var(--amber); } .rsvp .n b { color: var(--sub); }
.rows { margin-top: 14px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.row .v { min-width: 0; }
.row .s { font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.decided { color: var(--green); font-weight: 600; }
.example-note { margin-top: 10px; font-size: 12px; color: var(--faint); text-align: center; }

section.block { padding-block: 56px; border-top: 1px solid var(--line); }
.block-head { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.block-head > * { min-width: 0; }
.block h2 { font-size: 26px; letter-spacing: -0.01em; }
.block .intro { color: var(--sub); margin: 10px 0 0; font-size: 15px; }

dl.features { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
dl.features div { padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
dt { font-family: var(--display); font-weight: 600; font-size: 17px; }
dd { margin: 4px 0 0; color: var(--sub); font-size: 15px; }

ul.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
ul.promises li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
ul.promises li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--blue); }
ul.promises li b { display: block; font-weight: 600; }
ul.promises li span { color: var(--sub); font-size: 15px; }

ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
ol.steps li::before { content: counter(s); font-family: var(--mono); color: var(--faint); font-size: 13px; }
ol.steps .st { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.st.done { color: var(--green); } .st.now { color: var(--amber); } .st.next { color: var(--faint); }
ol.steps small { display: block; color: var(--sub); font-size: 14px; }

.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.company div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.company .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); display: block; }
.company .v { font-size: 15.5px; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--sub); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 40px; }
  .block-head { grid-template-columns: 1fr; gap: 18px; }
  dl.features { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  nav { gap: 14px; }
  .row { grid-template-columns: 70px 1fr; }
  .row .s { grid-column: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .arc .glint { animation: glint 2.4s .6s cubic-bezier(.45,0,.2,1) both; }
  @keyframes glint { from { stroke-dashoffset: 60; opacity: 1; } 85% { opacity: 1; } to { stroke-dashoffset: -440; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .arc .glint { display: none; } }


.trip { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.trip img { width: 100%; max-width: 460px; height: auto; border-radius: 28px; justify-self: center; display: block; }
.trip p { color: var(--sub); margin: 14px 0 0; max-width: 30em; }
@media (max-width: 820px) { .trip { grid-template-columns: 1fr; gap: 28px; } }

.om-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--om-ink, currentColor); }
.om-mark { height: 32px; width: auto; display: block; flex: none; }
.om-word { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .04em; display: inline-block; transform: skewX(-8deg); line-height: 1; }
.om-o { color: #2F8CFF; } .om-a { color: #FF8A1F; }

.why-tag { margin: 18px 0 0; max-width: 34em; font-size: 19px; font-weight: 600; line-height: 1.55; padding-left: 14px; border-left: 3px solid; border-image: linear-gradient(#2F8CFF, #FF8A1F) 1; }
.pc { font-weight: 700; white-space: nowrap; } .pc-p { color: #2F8CFF; } .pc-c { color: #F07A12; }

.ghost { position: fixed; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.ghost picture { display: contents; }
.ghost img { display: block; width: auto; height: auto; max-width: min(94vw, 1100px); max-height: 90vh; max-height: 90svh; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); opacity: .16; filter: none; }

.co-line { font-size: 12.5px; line-height: 1.6; min-width: 0; }
.co-ph { font-style: italic; }

.om-glint { stroke-dasharray: 11 300; stroke-dashoffset: 11; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .om-glint { animation: om-glint 1.5s .55s cubic-bezier(.45,0,.2,1) 1 both; }
  @keyframes om-glint { 0% { stroke-dashoffset: 11; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -89; opacity: 0; } }
}

/* Privacy, terms and 404 pages */
.page { max-width: 720px; padding-block: 56px 72px; }
.page h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.01em; }
.page h2 { font-size: 20px; margin-top: 34px; }
.page p, .page li { color: var(--sub); }
.stores { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.stores img { display: block; height: 48px; width: auto; }
.page .note { margin-top: 18px; padding: 12px 14px; border-left: 2px solid var(--amber); background: var(--panel); color: var(--text); font-size: 15px; }


/* ---- Version 2 (17 Oct 2026): web app buttons, more pages, accessibility ---- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--amber); color: #0A0F1C;
  font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.top-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; }
nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
/* Buttons: just bigger than their words, never stretched. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-height: 48px;
  padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn-main { background: #3B8CFF; color: #0A0F1C; }
.btn-main:hover { background: #5C9FFF; }
.btn-soft { border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.btn-soft:hover { border-color: var(--sub); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.coming { margin-top: 18px; color: var(--sub); font-size: 15px; }
.coming b { color: var(--text); font-weight: 600; }
.more { margin-top: 16px; }
.page p, .page li { line-height: 1.65; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 6px 0; }
.page .actions { margin-top: 22px; }
.page .updated { font-size: 14px; color: var(--faint); }
.page h3 { font-size: 17px; margin-top: 22px; }
.card .card-title { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 6px 0 0; }
.hero p.taps { margin: 18px 0 0; font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--text); max-width: 26em; }
.story { max-width: 38em; }
.story p { margin: 0 0 14px; color: var(--sub); }
.story p:first-child { color: var(--text); font-size: 18px; }
.story p:last-child { margin-bottom: 0; }
.qa { margin: 0; }
.qa dt { margin-top: 22px; }
.qa dd { margin-top: 6px; font-size: 16px; }
@media (max-width: 640px) {
  header.top .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .top-right { gap: 4px 16px; }
  nav { gap: 4px 16px; }
}

/* ---- Version 5 (3 Nov 2026): feel-good, stands out, still plain to use ---- */
.hero h1.why-tag { font-family: var(--display); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -0.01em; font-weight: 700; padding-left: 18px; border-left-width: 4px; }
.hero p.taps { font-size: clamp(19px, 2.2vw, 23px); margin-top: 20px; }
.btn { transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn-main { box-shadow: 0 6px 18px rgba(59,140,255,.28); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.paidbar { display: block; height: 6px; margin-top: 7px; max-width: 180px; border-radius: 6px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; }
.paidbar i { display: block; height: 100%; width: 58%; border-radius: 6px; background: var(--green); }
.story-band { border-top: 0; padding-block: 8px 56px; }
.story-panel { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px clamp(18px, 4vw, 44px) 32px; max-width: 860px; margin-inline: auto; }
.story-panel::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2F8CFF, #FF8A1F); }
.story-panel h2 { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.story-panel .story { max-width: 40em; margin-top: 14px; }
.story-panel .story p.story-lead { font-family: var(--display); font-size: clamp(22px, 2.8vw, 28px); line-height: 1.3; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.close-band { text-align: center; }
.close-inner { display: flex; flex-direction: column; align-items: center; }
.close-line { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; }
.close-line span { color: var(--amber); }
.close-band .actions { justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .rise > div:first-child > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .rise > div:first-child > *:nth-child(2) { animation-delay: .08s; }
  .rise > div:first-child > *:nth-child(3) { animation-delay: .16s; }
  .rise > div:first-child > *:nth-child(4) { animation-delay: .24s; }
  .rise > div:first-child > *:nth-child(5) { animation-delay: .32s; }
  .rise .card { animation: rise .8s .2s cubic-bezier(.2,.8,.2,1) both; }
  .rise .rsvp span { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
  .rise .rsvp span:nth-child(1) { animation-delay: .7s; } .rise .rsvp span:nth-child(2) { animation-delay: .8s; } .rise .rsvp span:nth-child(3) { animation-delay: .9s; }
  .rise .decided { background: linear-gradient(90deg, rgba(61,220,151,.18), rgba(61,220,151,0)) no-repeat; background-size: 0 100%; animation: sweep 1.1s 1.1s cubic-bezier(.2,.8,.2,1) both; border-radius: 4px; }
  .paidbar i { animation: fill 1.4s 1.3s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes sweep { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
  @keyframes fill { from { width: 0; } to { width: 58%; } }
}
