/* Generated by rb03_build_static_site_v2.sh. Copy is draft and requires user approval before packaging. */
:root {
  color-scheme: dark light;
  --rb-primary: #14ECED;
  --rb-secondary: #AF69EE;
  --rb-accent: #DFA1F6;
  --rb-bg: #080A0D;
  --rb-bg-deep: #020314;
  --rb-surface: #111820;
  --rb-surface-alt: #13222A;
  --rb-text: #F8F4FA;
  --rb-muted: #A9B8C5;
  --rb-muted-2: #748392;
  --rb-border: #123F45;
  --rb-success: #14ECED;
  --rb-warning: #AF69EE;
  --rb-danger: #FF6B6B;
  --rb-focus: #14ECED;
  --shadow-card: 0 24px 80px rgba(0,0,0,.32);
  --radius-sm: .75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--rb-text);
  background: radial-gradient(circle at top left, color-mix(in srgb, var(--rb-primary) 22%, transparent), transparent 34rem), linear-gradient(180deg, var(--rb-bg), var(--rb-bg-deep));
  line-height: 1.6;
}
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; border-radius: 999px; background: var(--rb-text); color: var(--rb-bg); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--rb-focus); outline-offset: 3px; }
.container { width: min(100% - 2rem, 1120px); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, 780px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: color-mix(in srgb, var(--rb-bg) 84%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--rb-border) 22%, transparent); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; }
.site-nav { display: flex; gap: .35rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--rb-muted); padding: .65rem .8rem; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rb-text); background: color-mix(in srgb, var(--rb-surface-alt) 66%, transparent); }
.nav-toggle { display: none; border: 1px solid color-mix(in srgb, var(--rb-border) 42%, transparent); background: var(--rb-surface); color: var(--rb-text); border-radius: 999px; padding: .65rem .9rem; }
.hero { padding: clamp(4rem, 9vw, 7rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { margin: 0 0 1rem; color: var(--rb-primary); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.07em; margin: 0; }
.lead { font-size: clamp(1.12rem, 2.2vw, 1.45rem); color: var(--rb-muted); max-width: 64ch; }
.cta-row { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.15rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--rb-primary); color: var(--rb-bg-deep); }
.button-secondary { background: color-mix(in srgb, var(--rb-surface) 80%, transparent); color: var(--rb-text); border-color: color-mix(in srgb, var(--rb-border) 48%, transparent); }
.hero-visual, .surface-card, .feature-card, .app-card, .policy-section, .contact-card { border: 1px solid color-mix(in srgb, var(--rb-border) 38%, transparent); background: color-mix(in srgb, var(--rb-surface) 88%, transparent); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.hero-visual { padding: clamp(1rem, 3vw, 1.5rem); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-header { max-width: 760px; margin-bottom: 1.5rem; }
.section-header h2 { margin: 0 0 .5rem; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.section-header p, .muted { color: var(--rb-muted); }
.trust-strip { display: flex; flex-wrap: wrap; gap: .7rem; }
.trust-pill { border: 1px solid color-mix(in srgb, var(--rb-border) 45%, transparent); background: color-mix(in srgb, var(--rb-primary) 12%, transparent); color: var(--rb-text); border-radius: 999px; padding: .55rem .8rem; font-weight: 700; font-size: .92rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card, .app-card, .policy-section, .contact-card { padding: clamp(1.2rem, 3vw, 1.8rem); }
.feature-panel { padding: clamp(1.5rem, 4vw, 2.25rem); }
.app-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.app-icon { width: 64px; height: 64px; border-radius: 1.2rem; }
.card-title { margin: 0 0 .4rem; font-size: 1.3rem; line-height: 1.2; }
.status-badge { display: inline-flex; margin-top: .75rem; border-radius: 999px; padding: .35rem .65rem; background: color-mix(in srgb, var(--rb-accent) 18%, transparent); color: var(--rb-text); font-weight: 800; font-size: .82rem; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose p, .prose li { color: var(--rb-muted); }
.prose a { color: var(--rb-secondary); }
.site-footer { border-top: 1px solid color-mix(in srgb, var(--rb-border) 24%, transparent); padding: 2.5rem 0; color: var(--rb-muted); }
.footer-inner { display: grid; gap: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-nav a { color: var(--rb-muted); }
@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 76px; flex-direction: column; align-items: stretch; padding: .75rem; border: 1px solid color-mix(in srgb, var(--rb-border) 42%, transparent); border-radius: 1.2rem; background: var(--rb-surface); }
  .site-nav.is-open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
}

/* RB07C_BRAND_REFRESH_START */

/* rb07c brand visual refresh v2: Railburn teal/purple premium studio treatment. */
body {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, #14ECED 18%, transparent), transparent 28rem),
    radial-gradient(circle at 86% 12%, color-mix(in srgb, #AF69EE 16%, transparent), transparent 30rem),
    linear-gradient(180deg, #080A0D, #020314);
}
.site-header {
  background: color-mix(in srgb, #080A0D 86%, transparent);
  border-bottom-color: color-mix(in srgb, #123F45 52%, transparent);
}
.brand-link { gap: .9rem; min-width: 0; }
.brand-lockup {
  display: block;
  width: clamp(9.2rem, 15vw, 12rem);
  max-width: 46vw;
  height: auto;
  filter: drop-shadow(0 0 18px color-mix(in srgb, #14ECED 24%, transparent));
}
.brand-mark { display: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: color-mix(in srgb, #49177C 24%, #111820 76%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #14ECED 16%, transparent);
}
.hero { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(320px, .88fr); }
.eyebrow { color: #14ECED; }
h1 { max-width: 11ch; }
.lead { color: color-mix(in srgb, #A9B8C5 92%, #F8F4FA 8%); }
.button-primary {
  background: linear-gradient(135deg, #14ECED, #09C7CD);
  color: #020314;
  box-shadow: 0 16px 38px color-mix(in srgb, #14ECED 20%, transparent);
}
.button-primary:hover { transform: translateY(-1px); }
.button-secondary {
  background: color-mix(in srgb, #111820 72%, transparent);
  border-color: color-mix(in srgb, #14ECED 34%, transparent);
}
.hero-visual.brand-hero-card {
  position: relative;
  min-height: clamp(22rem, 42vw, 34rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-color: color-mix(in srgb, #14ECED 24%, transparent);
  background:
    radial-gradient(circle at 35% 18%, color-mix(in srgb, #14ECED 18%, transparent), transparent 24rem),
    radial-gradient(circle at 70% 76%, color-mix(in srgb, #AF69EE 18%, transparent), transparent 22rem),
    linear-gradient(145deg, color-mix(in srgb, #13222A 84%, transparent), color-mix(in srgb, #020314 94%, transparent));
}
.hero-visual.brand-hero-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, #14ECED 12%, transparent), transparent 34%, color-mix(in srgb, #AF69EE 10%, transparent));
  pointer-events: none;
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(14px); opacity: .75; }
.hero-orb-cyan { width: 13rem; height: 13rem; left: 12%; top: 10%; background: color-mix(in srgb, #14ECED 22%, transparent); }
.hero-orb-purple { width: 15rem; height: 15rem; right: 10%; bottom: 8%; background: color-mix(in srgb, #AF69EE 20%, transparent); }
.railburn-hero-flask {
  position: relative;
  z-index: 1;
  width: min(72%, 330px);
  max-height: 31rem;
  object-fit: contain;
  filter: drop-shadow(0 26px 54px rgba(0,0,0,.46)) drop-shadow(0 0 32px color-mix(in srgb, #AF69EE 18%, transparent));
}
.trust-strip { justify-content: center; }
.trust-pill {
  background: color-mix(in srgb, #111820 74%, transparent);
  border-color: color-mix(in srgb, #14ECED 30%, transparent);
}
.trust-pill:nth-child(even) { border-color: color-mix(in srgb, #AF69EE 34%, transparent); }
.hero-visual, .surface-card, .feature-card, .app-card, .policy-section, .contact-card {
  background: linear-gradient(180deg, color-mix(in srgb, #111820 88%, transparent), color-mix(in srgb, #020314 18%, #111820 82%));
  border-color: color-mix(in srgb, #14ECED 22%, transparent);
}
.feature-card, .app-card, .surface-card { box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.app-card {
  position: relative;
  overflow: hidden;
}
.app-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  right: -5rem;
  top: -5rem;
  background: radial-gradient(circle, color-mix(in srgb, #AF69EE 13%, transparent), transparent 68%);
  pointer-events: none;
}
.status-badge {
  background: color-mix(in srgb, #AF69EE 22%, transparent);
  border: 1px solid color-mix(in srgb, #AF69EE 34%, transparent);
}
.footer-brand { display: inline-flex; align-items: center; gap: .65rem; }
.footer-mark { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 10px color-mix(in srgb, #14ECED 24%, transparent)); }
@media (max-width: 760px) {
  .brand-lockup { width: clamp(8.2rem, 42vw, 10rem); }
  .hero-visual.brand-hero-card { min-height: 20rem; }
  .railburn-hero-flask { width: min(56%, 230px); }
}

/* RB07C_BRAND_REFRESH_END */

/* rb07f-final-visual-polish:start */
/* Final narrow polish: header legibility, hero rhythm, trust-pill spacing, app-card treatment. */
:root {
  --rb-bg: #080A0D;
  --rb-bg-deep: #020314;
  --rb-surface: #111820;
  --rb-surface-raised: #13222A;
  --rb-border: #123F45;
  --rb-cyan: #14ECED;
  --rb-cyan-hover: #09C7CD;
  --rb-purple: #AF69EE;
  --rb-purple-deep: #49177C;
  --rb-lilac: #DFA1F6;
  --rb-text: #F8F4FA;
  --rb-muted: #A9B8C5;
}

html { background: var(--rb-bg-deep); }
body {
  background:
    radial-gradient(circle at 15% 0%, rgba(20, 236, 237, 0.15), transparent 27rem),
    radial-gradient(circle at 83% 7%, rgba(175, 105, 238, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--rb-bg) 0%, var(--rb-bg-deep) 100%);
}

.site-header,
.header,
.topbar {
  min-height: 78px;
  backdrop-filter: blur(16px);
}

.site-header .brand,
.site-header .brand-link,
.header .brand,
.header .brand-link,
.topbar .brand,
.topbar .brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
}

.site-header img[src*="railburn-header-lockup"],
.header img[src*="railburn-header-lockup"],
.topbar img[src*="railburn-header-lockup"],
.brand img[src*="railburn-header-lockup"],
.brand-link img[src*="railburn-header-lockup"],
.railburn-lockup {
  width: clamp(170px, 18vw, 244px) !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 14px rgba(20, 236, 237, 0.14));
}

.hero,
.hero-section,
.home-hero {
  padding-top: clamp(3rem, 6vw, 5.4rem) !important;
  padding-bottom: clamp(2.4rem, 5vw, 4.1rem) !important;
}

.hero .container,
.hero-grid,
.home-hero .container,
.hero-inner {
  column-gap: clamp(2.4rem, 6vw, 6rem) !important;
  row-gap: clamp(2rem, 5vw, 3.3rem) !important;
  align-items: center !important;
}

.hero h1,
.home-hero h1 {
  letter-spacing: -0.055em;
}

.hero-visual,
.hero-art,
.brand-hero-card,
.flask-hero-card {
  box-shadow:
    0 36px 92px rgba(0, 0, 0, 0.40),
    0 0 0 1px rgba(20, 236, 237, 0.24),
    inset 0 1px 0 rgba(248, 244, 250, 0.045);
}

.hero-visual img[src*="railburn-flask-hero"],
.hero-art img[src*="railburn-flask-hero"],
.brand-hero-card img[src*="railburn-flask-hero"],
img[src*="railburn-flask-hero"] {
  max-height: clamp(270px, 36vw, 420px);
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 42px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 28px rgba(20, 236, 237, 0.13));
}

.trust-strip,
.trust-pills,
.pill-row,
.privacy-strip,
.badge-row {
  margin-top: clamp(1.15rem, 2.7vw, 2.1rem) !important;
  margin-bottom: clamp(2.8rem, 6vw, 5rem) !important;
}

.trust-strip .pill,
.trust-pills .pill,
.trust-strip .trust-pill,
.trust-pills .trust-pill,
.pill-row .pill,
.privacy-strip .pill,
.badge-row .pill {
  border-color: rgba(20, 236, 237, 0.38) !important;
  background: rgba(17, 24, 32, 0.74) !important;
  color: var(--rb-text) !important;
}

.app-card,
.app-feature-card,
.product-card {
  grid-template-columns: minmax(0, 1fr) !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(175, 105, 238, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(19, 34, 42, 0.94), rgba(17, 24, 32, 0.96)) !important;
  border-color: rgba(20, 236, 237, 0.26) !important;
}

.app-card .app-icon,
.app-card .app-icon-wrap,
.app-card .app-media,
.app-card .app-thumb,
.app-card .product-media,
.app-feature-card .app-icon,
.product-card .app-icon,
.product-card .app-media {
  display: none !important;
}

.status,
.status-badge,
.coming-soon,
.badge-status {
  background: rgba(175, 105, 238, 0.20) !important;
  border-color: rgba(223, 161, 246, 0.34) !important;
  color: #F8F4FA !important;
}

.footer-brand,
.site-footer .brand,
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer img[src*="railburn-flask-icon"],
.footer img[src*="railburn-flask-icon"],
footer img[src*="railburn-flask-icon"] {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(20, 236, 237, 0.14));
}

@media (max-width: 760px) {
  .site-header img[src*="railburn-header-lockup"],
  .header img[src*="railburn-header-lockup"],
  .topbar img[src*="railburn-header-lockup"],
  .brand img[src*="railburn-header-lockup"],
  .brand-link img[src*="railburn-header-lockup"] {
    width: clamp(140px, 46vw, 184px) !important;
    max-height: 52px !important;
  }
  .hero,
  .hero-section,
  .home-hero {
    padding-top: 2.25rem !important;
  }
  .trust-strip,
  .trust-pills,
  .pill-row,
  .privacy-strip,
  .badge-row {
    margin-top: 1rem !important;
    margin-bottom: 2.6rem !important;
  }
}
/* rb07f-final-visual-polish:end */


/* RB08B_MULTI_APP_EXPANSION_START */
.multi-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}
.multi-app-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.2rem);
}
.app-art-link {
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(20,236,237,.12), transparent 40%), rgba(2,3,20,.55);
  border: 1px solid rgba(20,236,237,.20);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.app-card-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.app-card-content {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.app-card-content h3 { margin: 0; }
.app-card-content p { margin: 0; }
.app-card-content p:last-child { margin-top: auto; padding-top: .5rem; }
.app-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .25rem 0 .2rem;
}
.app-card-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .18rem .52rem;
  border-radius: 999px;
  border: 1px solid rgba(20,236,237,.22);
  color: var(--rb-muted);
  background: rgba(2,3,20,.36);
  font-size: .78rem;
  font-weight: 700;
}
.apps-catalog-hero .page-hero-inner { max-width: 760px; }
.app-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.app-detail-art {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(20,236,237,.26);
  background: radial-gradient(circle at 18% 18%, rgba(20,236,237,.12), transparent 40%), radial-gradient(circle at 82% 82%, rgba(175,105,238,.16), transparent 42%), rgba(17,24,32,.78);
  box-shadow: var(--shadow-card), var(--shadow-glow-purple);
  overflow: hidden;
}
.app-detail-art img {
  display: block;
  width: 100%;
  height: auto;
}
.app-copy-panel { margin-bottom: clamp(1rem, 2vw, 1.35rem); }
.policy-content h2 + p { margin-top: .45rem; }
@media (max-width: 860px) {
  .multi-app-grid { grid-template-columns: 1fr; }
  .multi-app-card { max-width: 560px; }
  .app-card-art { max-height: 260px; object-fit: contain; background: rgba(2,3,20,.30); }
  .app-detail-grid { grid-template-columns: 1fr; }
  .app-detail-art { max-width: 360px; }
}
/* RB08B_MULTI_APP_EXPANSION_END */

/* RB08D_FINAL_MULTI_APP_POLISH_START */
/* Final narrow multi-app polish: permissions package companion. */
.apps-catalog-hero {
  padding-top: clamp(3.2rem, 7vw, 5.8rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}
.apps-catalog-hero .page-hero-inner {
  max-width: min(760px, 100%) !important;
}
.apps-catalog-hero h1 {
  max-width: 11.5ch !important;
  font-size: clamp(3.35rem, 7.2vw, 6.4rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.06em !important;
}
.apps-catalog-hero .lede {
  max-width: 56rem !important;
}
.multi-app-card .app-art-link {
  min-height: 0;
}
.multi-app-card .app-card-art {
  background: rgba(2,3,20,.34);
}
.app-card-chips span {
  line-height: 1.15;
}
@media (max-width: 760px) {
  .apps-catalog-hero h1 {
    max-width: 10.5ch !important;
    font-size: clamp(3rem, 15vw, 4.6rem) !important;
  }
  .apps-catalog-hero {
    padding-top: 2.8rem !important;
  }
}
/* RB08D_FINAL_MULTI_APP_POLISH_END */

