/* rundere.app — tokens mirror design/tokens/tokens.css in rundere-server (semantic subset). */
@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url("/assets/fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --rd-bg: #F4F6F9;
  --rd-surface: #FFFFFF;
  --rd-border: #CBD3DD;
  --rd-text: #0F2135;
  --rd-text-secondary: #44536A;
  --rd-text-muted: #5E6E82;
  --rd-accent: #1F57B0;
  --rd-on-accent: #FFFFFF;
  --rd-hairline: rgba(15, 33, 53, .10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --rd-bg: #0A1624;
    --rd-surface: #0F2135;
    --rd-border: #22405F;
    --rd-text: #E6EAF0;
    --rd-text-secondary: #AAB6C4;
    --rd-text-muted: #8594A6;
    --rd-accent: #7FB2FF;
    --rd-on-accent: #0A1624;
    --rd-hairline: rgba(170, 182, 196, .14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rd-bg);
  color: var(--rd-text);
  font: 400 17px/26px "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--rd-accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--rd-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Coming-soon banner (Runway = "next up" / notice signal) */
:root { --rd-highlight: #8A5C08; --rd-highlight-fill: rgba(242, 181, 68, .16); }
@media (prefers-color-scheme: dark) { :root { --rd-highlight: #F2B544; --rd-highlight-fill: rgba(242, 181, 68, .12); } }
.soon-banner { background: var(--rd-highlight-fill); border-bottom: 1px solid var(--rd-hairline); }
.soon-banner .wrap { padding-top: 10px; padding-bottom: 10px; font-size: 14px; line-height: 20px; color: var(--rd-text-secondary); text-align: center; }
.soon-banner strong { color: var(--rd-highlight); }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--rd-hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.site-header img { height: 28px; width: auto; display: block; }
.site-header nav { display: flex; gap: 20px; font: 600 14px/20px "Figtree", system-ui, sans-serif; }
.site-header nav a { color: var(--rd-text-secondary); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--rd-text); }

.site-footer { border-top: 1px solid var(--rd-hairline); margin-top: 64px; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; font-size: 13px; line-height: 18px; color: var(--rd-text-muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--rd-text-muted); }


/* Type */
h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; color: var(--rd-text); }
h1 { font-weight: 300; font-size: 40px; line-height: 48px; margin: 48px 0 8px; }
h2 { font-weight: 400; font-size: 28px; line-height: 36px; margin: 48px 0 12px; }
h3 { font-weight: 400; font-size: 20px; line-height: 28px; margin: 32px 0 8px; }
p, li { color: var(--rd-text-secondary); }
strong { color: var(--rd-text); font-weight: 600; }
.meta { font-size: 13px; line-height: 18px; color: var(--rd-text-muted); margin: 0 0 32px; }
.overline { font: 600 12px/16px "Figtree", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-text-muted); }

.card {
  background: var(--rd-surface);
  border: 1px solid var(--rd-hairline);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}
.card h2:first-child, .card h3:first-child { margin-top: 0; }

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

/* Landing */
.hero { text-align: center; padding: 72px 0 24px; }
img.lockup { display: block; width: 200px; height: auto; margin: 0 auto; }
img.lockup-sm { width: 160px; margin-bottom: 8px; }
@media (prefers-color-scheme: dark) {
  img.lockup { filter: drop-shadow(0 0 14px rgba(169, 204, 255, .35)); }
}
.hero .tagline { font: 300 28px/36px "Outfit", system-ui, sans-serif; color: var(--rd-text); margin: 32px 0 8px; }
.say {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; margin-top: 8px;
  border: 1px solid var(--rd-border); border-radius: 999px;
  background: transparent; color: var(--rd-text-secondary);
  font: 500 15px/22px "Figtree", system-ui, sans-serif; cursor: pointer;
}
.say:hover { color: var(--rd-text); border-color: var(--rd-text-muted); }
.say svg { width: 18px; height: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 40px 0; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 4px; font-size: 20px; }
.features p { margin: 0; font-size: 15px; line-height: 22px; }

.card.ai { margin: 40px 0; }
.card.ai h2 { margin: 4px 0 12px; }
.card.ai li { margin-bottom: 8px; }
.card.ai p:last-child { margin-bottom: 0; }

/* Callback page */
.center-page { text-align: center; padding-top: 96px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  background: var(--rd-accent); color: var(--rd-on-accent);
  font: 600 15px/22px "Figtree", system-ui, sans-serif; text-decoration: none;
}

@media (max-width: 480px) {
  h1 { font-size: 32px; line-height: 40px; }
  .site-header nav { gap: 14px; }
}
