/* orbitaar company pages: the same tokens, bar and footer as the app pages. */
:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --card: #ffffff;
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --link: #0066cc;
    --button: #0071e3;
    --nav-bg: rgba(255, 255, 255, 0.72);
    --hairline: rgba(0, 0, 0, 0.12);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --bg-alt: #101012;
        --card: #1c1c1e;
        --text: #f5f5f7;
        --text-2: #a1a1a6;
        --link: #2997ff;
        --nav-bg: rgba(22, 22, 23, 0.72);
        --hairline: rgba(255, 255, 255, 0.16);
    }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.47; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.sitebar { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hairline); }
.sitebar .in { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 28px; font-size: 13px; }
.sitebar a { color: var(--text); opacity: 0.8; }
.sitebar a[aria-current] { opacity: 1; font-weight: 600; }
.sitebar a.brand { opacity: 1; font-size: 21px; font-weight: 600; margin-right: auto; letter-spacing: -0.01em; }
@media (max-width: 480px) { .sitebar .in { gap: 16px; } .sitebar a.brand { font-size: 19px; } }

section { padding: 88px 22px; }
.alt { background: var(--bg-alt); }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
h1 { font-size: clamp(40px, 6.4vw, 72px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: 21px; font-weight: 600; line-height: 1.2; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); line-height: 1.4; margin-top: 16px; }
.hero { padding: 72px 22px 48px; }
.hero .lede { max-width: 620px; margin: 14px auto 0; }

.pill { display: inline-block; background: var(--button); color: #fff !important; border-radius: 980px; padding: 9px 18px; font-size: 15px; text-decoration: none !important; }
.pill:hover { filter: brightness(1.08); }

/* App tiles: icon, name, headline, buttons */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--bg-alt); border-radius: 28px; padding: 40px 28px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.alt .tile { background: var(--bg); }
.tile img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16); }
.tile .name { font-size: 15px; font-weight: 600; color: var(--text-2); margin-top: 22px; }
.tile h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin-top: 4px; }
.tile p { color: var(--text-2); font-size: 16px; margin-top: 12px; flex: 1; }
.tile .pill { margin-top: 24px; }
.tile .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 16px; font-size: 15px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* News: one row per item */
.news { margin-top: 36px; border-top: 1px solid var(--hairline); }
.news article { display: grid; grid-template-columns: 110px 1fr; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.news time { color: var(--text-2); font-size: 14px; padding-top: 3px; font-variant-numeric: tabular-nums; }
.news h3 { font-size: 19px; }
.news p { color: var(--text-2); font-size: 16px; margin-top: 6px; }
.news p a { white-space: nowrap; }
.news details summary { list-style: none; cursor: pointer; color: var(--link); font-size: 17px; text-align: center; padding: 22px 0 0; }
.news details summary::-webkit-details-marker { display: none; }
.news details[open] summary { display: none; }
@media (max-width: 600px) { .news article { grid-template-columns: 1fr; } }

/* Small cards (About, Contact) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards div { background: var(--card); border-radius: 20px; padding: 24px 24px 26px; }
.alt .cards div { background: var(--bg); }
.cards p { color: var(--text-2); font-size: 16px; margin-top: 6px; }
@media (max-width: 760px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.prose p { font-size: 19px; color: var(--text-2); line-height: 1.5; margin-top: 18px; }
.prose p b { color: var(--text); font-weight: 600; }

footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; padding: 28px 22px 40px; }
footer .in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--hairline); padding-top: 16px; }
footer a { color: var(--text-2); }
footer .copy { margin-right: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
