/* Open Railroad Guide page — styled after the app: its map wallpaper, the dark navy panels and the coloured feature tiles. */
:root { --org-navy: #0e1a2b; --org-navy-2: #16263b; --org-blue: #2a6df4; --org-orange: #f07a2a; --org-teal: #15a38a; --org-purple: #7a3df0; --org-red: #d9332b; --org-green: #3a7d3a; }
body.theme-org { background: var(--org-navy); color: #fff; font-size: 17px; }
body.theme-org a { color: #9fc3ff; }
.org-head { position: sticky; top: 0; z-index: 50; background: rgba(14, 26, 43, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.org-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.org-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.org-brand img { border-radius: 10px; }
.org-nav { display: flex; gap: 6px; align-items: center; }
.org-nav a { color: #dfe8f5; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 0.95rem; }
.org-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.org-nav .org-pill { background: var(--org-blue); color: #fff; font-weight: 700; }
.org-by { color: #9fc3ff; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .org-nav a:not(.org-pill) { display: none; } .org-brand { font-size: 0.95rem; white-space: nowrap; gap: 8px; } .org-brand img { width: 32px; height: 32px; } .org-by { font-size: 0.82rem; } .org-head .wrap { gap: 10px; } .org-nav .org-pill { padding: 7px 10px; font-size: 0.88rem; } }
@media (max-width: 480px) { .org-by { display: none; } .org-brand { min-width: 0; } .org-brand span { overflow: hidden; text-overflow: ellipsis; } }

.org-hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: center; background: url("/assets/img/org/wallpaper.webp") center/cover; color: #fff; overflow: hidden; }
.org-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 43, 0.72), rgba(14, 26, 43, 0.35) 45%, rgba(14, 26, 43, 0.95)); }
.org-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 60px 0 40px; }
.org-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); max-width: 15ch; }
.org-hero .lede { color: #e8eef7; font-size: 1.15rem; max-width: 50ch; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.org-hero .org-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); margin-bottom: 18px; }
.org-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.org-stores .store { background: #fff; border: none; } .org-stores .store:hover { background: #eaf1ff; }
.org-phones { position: relative; display: flex; justify-content: center; align-items: end; gap: 0; min-height: 420px; }
.org-phones img { width: 46%; border-radius: 26px; border: 6px solid #0b1118; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.org-phones img:first-child { transform: translate(14%, 24px) rotate(-5deg); z-index: 1; }
.org-phones img:last-child { transform: translate(-10%, -10px) rotate(4deg); }
@media (max-width: 820px) { .org-hero .wrap { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 30px; } .org-hero { min-height: 0; } .org-phones { min-height: 0; align-items: start; } .org-phones img { width: 42%; } .org-phones img:first-child { transform: translate(8%, 10px) rotate(-4deg); } .org-phones img:last-child { transform: translate(-6%, -4px) rotate(3deg); } }

.org-section { padding: clamp(44px, 6vw, 80px) 0; }
.org-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.org-section .sub { color: #b9c6d8; max-width: 60ch; margin-bottom: 28px; }
.org-section.alt { background: var(--org-navy-2); }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tile { border-radius: 18px; padding: 18px 18px 20px; color: #fff; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: start; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); text-decoration: none; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; }
.tile b { display: block; font-size: 1.05rem; } .tile small { display: block; opacity: 0.92; font-size: 0.86rem; line-height: 1.4; margin-top: 2px; }
.tile .chip { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; background: rgba(255, 255, 255, 0.25); padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.tile.blue { background: linear-gradient(135deg, #2457d6, #3c86ff); } .tile.orange { background: linear-gradient(135deg, #d65d14, #f58d3a); } .tile.teal { background: linear-gradient(135deg, #0f8d78, #1dc0a0); } .tile.purple { background: linear-gradient(135deg, #6029d9, #8d5cff); }
.tile.navy { background: linear-gradient(135deg, #1a2b45, #2a4061); } .tile.green { background: linear-gradient(135deg, #2f6b2f, #4a9b4a); } .tile.red { background: linear-gradient(135deg, #b4281f, #e0483d); } .tile.slate { background: linear-gradient(135deg, #33415c, #4e5f82); }
.org-list { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.org-list li { break-inside: avoid; padding: 10px 0 10px 28px; position: relative; color: #dfe8f5; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.org-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--org-red); box-shadow: inset 0 0 0 3px #fff; }
.org-list b { color: #fff; }
@media (max-width: 700px) { .org-list { columns: 1; } }
.org-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; }
.org-shots img { border-radius: 22px; border: 5px solid #0b1118; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.org-styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.org-styles figure { margin: 0; text-align: center; color: #b9c6d8; font-size: 0.85rem; }
.org-styles img { border-radius: 22%; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.org-otg { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #123a63, #1b6f6f); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.org-otg p { color: #e3ecf5; }
.org-otg .stat { display: inline-block; background: rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 10px 14px; margin: 4px 8px 4px 0; font-size: 0.9rem; }
@media (max-width: 760px) { .org-otg { grid-template-columns: 1fr; } }
.org-cta { text-align: center; padding: clamp(50px, 8vw, 100px) 0; background: url("/assets/img/org/wallpaper-blueprint.webp") center/cover; position: relative; }
.org-cta::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 43, 0.72); }
.org-cta .wrap { position: relative; }
.org-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.org-cta .org-stores { justify-content: center; }
.org-foot { background: #0a1320; color: #9fb0c6; font-size: 0.9rem; padding: 28px 0; }
.org-foot a { color: #cfe0ff; }
.org-note { font-size: 0.85rem; color: #9fb0c6; }

/* legal links at the foot of the app page, and the legal documents themselves */
.org-legal-links { background: #0a1320; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 0; font-size: 0.88rem; }
.org-legal-links .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.org-legal-links span { color: #6f8096; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; }
.org-legal-links a { color: #cfe0ff; text-decoration: none; } .org-legal-links a:hover { text-decoration: underline; }
body.theme-org.legal { background: #f6f9fa; color: #10262b; }
body.theme-org.legal a { color: #1a5fb4; }
.legal-doc { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: clamp(36px, 6vw, 64px) 0 72px; font-size: 1.02rem; line-height: 1.65; }
.legal-doc .eyebrow { font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #1a5fb4; margin: 0 0 8px; font-weight: 600; }
.legal-doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.legal-doc .effective { color: #536b70; margin: 0 0 18px; font-size: 0.95rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 32px; padding: 0 0 22px; border-bottom: 1px solid #d8e3e6; }
.legal-nav a { font-size: 0.86rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid #cfe4e8; color: #0f4f5c !important; background: #fff; }
.legal-nav a[aria-current="page"] { background: #0e1a2b; border-color: #0e1a2b; color: #fff !important; }
.legal-doc h2 { font-size: 1.3rem; font-weight: 800; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal-doc p { margin: 0 0 14px; } .legal-doc ul { margin: 0 0 16px; padding-left: 1.3em; } .legal-doc li { margin-bottom: 8px; }
.legal-doc b { color: #0e1a2b; }
