/* Self-hosted fonts (SIL OFL), subset latin + latin-ext — replaces the Google Fonts stylesheet. */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/space-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:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(/assets/fonts/space-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:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-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:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/inter-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}

/*
 * TritonFire — marketing & legal pages
 * Night-sky palette drawn from the app itself (deep navy #050816 background,
 * firework gold / pink / electric-blue accents). Structural classes use the
 * tf- prefix and mirror the shared layout of the other Triton app subsites.
 */

:root {
    --tf-night: #050816;
    --tf-night-surface: #0b1226;
    --tf-night-raised: #10214f;
    --tf-gold: #fbbf24;
    --tf-gold-dim: #d97706;
    --tf-pink: #f472b6;
    --tf-blue: #60a5fa;
    --tf-cream: #f8fafc;

    --tf-text: #f8fafc;
    --tf-text-secondary: #cbd5e1;
    --tf-text-muted: #8f9bb3;
    --tf-border: rgba(148, 163, 184, 0.18);

    --tf-max-width: 1120px;
    --tf-reading-width: 720px;
    --tf-radius: 16px;

    color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--tf-night);
    color: var(--tf-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 720px) {
    body { font-size: 16px; }
}

a {
    color: var(--tf-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover, a:focus {
    color: var(--tf-cream);
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--tf-cream);
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(36px, 7vw, 72px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 2em; }
h3 { font-size: clamp(22px, 3vw, 28px); margin-top: 1.5em; }
h4 { font-size: clamp(18px, 2vw, 22px); margin-top: 1.25em; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

code, pre {
    font-family: ui-monospace, 'SF Mono', Consolas, 'Liberation Mono', monospace;
    background: rgba(148, 163, 184, 0.12);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 0.9em;
}

hr {
    border: 0;
    border-top: 1px solid var(--tf-border);
    margin: 2em 0;
}

/* Layout shell */

.tf-shell {
    max-width: var(--tf-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 720px) {
    .tf-shell { padding: 0 48px; }
}

@media (min-width: 1024px) {
    .tf-shell { padding: 0 80px; }
}

/* Skip link */

.tf-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--tf-gold);
    color: var(--tf-night);
    padding: 8px 12px;
    z-index: 1000;
}

.tf-skip:focus { left: 8px; top: 8px; }

/* Top bar */

.tf-topbar {
    background: var(--tf-night-surface);
    color: var(--tf-cream);
    padding: 16px 0;
    border-bottom: 1px solid var(--tf-border);
}

.tf-topbar .tf-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tf-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--tf-cream);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tf-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.tf-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tf-nav a {
    color: var(--tf-text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.tf-nav a:hover, .tf-nav a:focus, .tf-nav a[aria-current="page"] {
    color: var(--tf-cream);
}

/* Page hero (legal/support pages) */

.tf-page-hero {
    background: linear-gradient(180deg, var(--tf-night-surface), var(--tf-night));
    padding: 64px 0 48px;
}

.tf-page-hero .tf-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 600;
    color: var(--tf-gold);
    margin: 0 0 12px;
}

.tf-page-hero .tf-meta {
    color: var(--tf-text-muted);
    font-size: 15px;
    margin-top: 8px;
}

/* Long-form reading column */

.tf-prose {
    max-width: var(--tf-reading-width);
    margin: 0 auto;
    padding: 48px 0 96px;
}

.tf-prose h2 { margin-top: 2em; }
.tf-prose h3 { margin-top: 1.5em; }

.tf-prose ol > li::marker { color: var(--tf-text-muted); }

.tf-toc {
    background: var(--tf-night-surface);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 16px 20px;
    margin-bottom: 32px;
}

.tf-toc strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
}

.tf-toc ol { margin: 0; padding-left: 1.2em; }

/* Buttons */

.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--tf-gold);
    color: var(--tf-night);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    min-height: 48px;
}

.tf-btn:hover, .tf-btn:focus { background: var(--tf-gold-dim); color: var(--tf-night); }
.tf-btn:active { transform: scale(0.98); }

.tf-btn--ghost {
    background: transparent;
    color: var(--tf-cream);
    border: 1.5px solid var(--tf-cream);
}

.tf-btn--ghost:hover, .tf-btn--ghost:focus { background: var(--tf-cream); color: var(--tf-night); }

/* Cards / grid */

.tf-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 720px) {
    .tf-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .tf-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.tf-card {
    background: var(--tf-night-surface);
    border: 1px solid var(--tf-border);
    border-radius: var(--tf-radius);
    padding: 24px;
}

.tf-card h3 { margin-top: 0; }

.tf-card-icon {
    font-size: 32px;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

/* Hero */

.tf-hero {
    background:
        radial-gradient(ellipse 60% 40% at 75% 12%, rgba(251, 191, 36, 0.14), transparent),
        radial-gradient(ellipse 45% 35% at 20% 25%, rgba(244, 114, 182, 0.10), transparent),
        radial-gradient(ellipse 50% 40% at 55% 45%, rgba(96, 165, 250, 0.08), transparent),
        linear-gradient(180deg, var(--tf-night-raised), var(--tf-night));
    color: var(--tf-cream);
    padding: 80px 0 96px;
    position: relative;
    overflow: hidden;
}

.tf-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .tf-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.tf-hero-media {
    display: flex;
    justify-content: center;
}

.tf-hero-shot {
    width: 100%;
    max-width: 300px;
    border-radius: 30px;
    border: 1px solid var(--tf-border);
    box-shadow: 0 24px 64px rgba(2, 6, 23, 0.6);
}

.tf-hero h1 { color: var(--tf-cream); }

.tf-hero .tf-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 600;
    color: var(--tf-gold);
    margin: 0 0 12px;
}

.tf-hero .tf-lede {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--tf-text-secondary);
    max-width: 640px;
}

.tf-hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tf-hero-meta {
    margin-top: 16px;
    color: var(--tf-text-muted);
    font-size: 15px;
}

/* Pricing strip */

.tf-pricing {
    background: var(--tf-night-surface);
    color: var(--tf-cream);
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--tf-border);
}

.tf-pricing strong { color: var(--tf-gold); }

/* Store badges */

.tf-stores {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tf-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--tf-night-raised);
    border: 1px solid var(--tf-border);
    color: var(--tf-cream);
    text-decoration: none;
    text-align: left;
    line-height: 1.2;
}

.tf-store-badge:hover, .tf-store-badge:focus { border-color: var(--tf-gold); color: var(--tf-cream); }
.tf-store-badge--pending { opacity: 0.58; cursor: default; }
.tf-store-badge--pending:hover, .tf-store-badge--pending:focus { border-color: var(--tf-border); color: var(--tf-cream); }

.tf-store-badge small { display: block; font-size: 12px; color: var(--tf-text-muted); }
.tf-store-badge strong { font-size: 17px; }

.tf-store-glyph {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.tf-store-glyph svg {
    display: block;
}

/* Screenshot figures */

.tf-figure {
    margin: 0;
    text-align: center;
}

.tf-figure figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--tf-text-muted);
}

.tf-shot {
    width: 100%;
    max-width: 300px;
    border-radius: 24px;
    border: 1px solid var(--tf-border);
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.45);
}

/* Footer */

.tf-footer {
    background: var(--tf-night-surface);
    color: var(--tf-text-secondary);
    padding: 56px 0 32px;
    margin-top: 64px;
    font-size: 15px;
    border-top: 1px solid var(--tf-border);
}

/* When the Pricing strip sits directly above the footer, the two dark bands
   should meet flush. */
.tf-pricing + .tf-footer {
    margin-top: 0;
}

.tf-footer a { color: var(--tf-text-secondary); text-decoration: none; }
.tf-footer a:hover, .tf-footer a:focus { color: var(--tf-cream); text-decoration: underline; }

.tf-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 720px) {
    .tf-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.tf-footer h4 {
    color: var(--tf-cream);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
}

.tf-footer ul { list-style: none; padding: 0; margin: 0; }
.tf-footer li { margin-bottom: 8px; }

.tf-footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--tf-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: var(--tf-text-muted);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tf-btn { transition: none; }
}

/* Print */

@media print {
    .tf-topbar, .tf-footer, .tf-page-hero { background: white; color: black; }
    .tf-prose { padding: 0; }
}

/* TritonApps social profiles in the footer bar. Colour is inherited from the
   footer text so each subsite theme styles these without its own palette. */

.tf-footer-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tf-footer-social a:hover,
.tf-footer-social a:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .tf-footer-social a {
        transition: none;
    }

    .tf-footer-social a:hover,
    .tf-footer-social a:focus-visible {
        transform: none;
    }
}
