/* Shared Railora UI: fonts, tokens (namespaced --ui-* so it can sit next to board.css / landing.css), components. Pages migrate onto it one at a time. */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-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;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/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: 400 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/spline-sans-mono-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: "Spline Sans Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/spline-sans-mono-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;
}

:root {
  --ui-bg: #FAF5EF;
  --ui-panel: #FFFFFF;
  --ui-ink: #1B1410;
  --ui-ink-2: #6B5E54;
  --ui-ink-3: #786C62;
  --ui-line: #EDE4DA;
  --ui-copper: #B56A3A;
  --ui-copper-deep: #96552C;
  --ui-copper-soft: rgba(181, 106, 58, 0.12);
  --ui-green: #007A46;
  --ui-amber: #A85408;
  --ui-red: #D70015;
  --ui-radius: 20px;
  --ui-shadow: 0 1px 2px rgba(76, 50, 31, 0.06), 0 12px 32px rgba(76, 50, 31, 0.08);
  --ui-display: "Bricolage Grotesque", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ui-body: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ui-mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
body.ui-page {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(221, 148, 96, 0.18), transparent 70%),
    radial-gradient(40rem 24rem at -10% 10%, rgba(181, 106, 58, 0.08), transparent 70%), var(--ui-bg);
  color: var(--ui-ink);
  font-family: var(--ui-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
.ui-page a { color: inherit; }
.ui-page h1, .ui-page h2, .ui-page h3 { font-family: var(--ui-display); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.ui-page h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; }
.ui-page h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 750; }
.ui-page h3 { font-size: 18px; font-weight: 700; }
.ui-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--ui-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-copper); }
.ui-fresh { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ui-panel); border: 1px solid var(--ui-line); color: var(--ui-ink-2); letter-spacing: 0; text-transform: none; }
.ui-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ui-green); box-shadow: 0 0 0 3px rgba(0, 122, 70, 0.15); }
.ui-muted { color: var(--ui-ink-2); margin: 4px 0 0; font-size: 14px; }
.ui-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ui-line); background: var(--ui-panel); color: var(--ui-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ui-chip:hover { border-color: var(--ui-copper); }
.ui-chip.is-on, .ui-page a.ui-chip.is-on { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ui-line); background: var(--ui-panel); color: var(--ui-ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.ui-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.ui-btn-primary, .ui-page a.ui-btn-primary { background: var(--ui-ink); border-color: var(--ui-ink); color: #fff; }
.ui-btn-primary:hover { background: var(--ui-copper-deep); border-color: var(--ui-copper-deep); }
.ui-alert { margin: 16px 0; padding: 14px 18px; border-radius: 14px; background: #FFF4E8; border: 1px solid #F3D3B5; color: var(--ui-ink); }
.ui-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ui-faq details { border: 1px solid var(--ui-line); border-radius: 16px; background: var(--ui-panel); margin-top: 10px; }
.ui-faq summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ui-faq summary::-webkit-details-marker { display: none; }
.ui-faq summary::after { content: "+"; color: var(--ui-ink-3); font-weight: 400; }
.ui-faq details[open] summary::after { content: "–"; }
.ui-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ui-ink-2); }
:focus-visible { outline: 3px solid rgba(181, 106, 58, 0.55); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
