/* 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}

/*
 * TritonChores — marketing and legal pages
 *
 * Ported from cartheoryprep/css/cartheoryprep.css, which is itself a port of
 * adiprep's. Only the ramp differs: the deep-blue one is replaced by this app's
 * ocean teal and amber, taken from
 * Apps/TritonChores/Codebase/tritonchores/lib/theme.ts (primary #0e7490,
 * accent #b45309), lightened for a dark page so the site and the app share one
 * source of truth for brand colour.
 *
 * Token names follow the source: `--tc-teal` is the accent the blue token held,
 * `--tc-amber` the one the gold token held.
 */

:root {
    --tc-night: #07222C;
    --tc-night-surface: #0E3442;
    --tc-night-raised: #164B5D;
    --tc-teal: #45C4DB;
    --tc-amber: #f2a950;
    --tc-amber-soft: #f7c88a;
    --tc-cream: #eef7f9;
    --tc-text: #F2FAFC;
    --tc-text-secondary: #D3EAF0;
    --tc-text-muted: #91D4E4;
    --tc-border: rgba(242, 169, 80, 0.18);
    --tc-panel-border: rgba(69, 196, 219, 0.18);
    --tc-shadow: 0 24px 64px rgba(2, 12, 16, 0.42);

    --tc-max-width: 1140px;
    --tc-reading-width: 760px;
    --tc-radius: 18px;

    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(242, 169, 80, 0.10), transparent 24%),
        radial-gradient(circle at top left, rgba(69, 196, 219, 0.10), transparent 28%),
        linear-gradient(180deg, #0B2E3B 0%, var(--tc-night) 100%);
    color: var(--tc-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--tc-amber-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0 0 0.55em;
    color: var(--tc-cream);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(38px, 6vw, 74px);
}

h2 {
    font-size: clamp(29px, 4vw, 46px);
    margin-top: 2em;
}

h3 {
    font-size: clamp(22px, 3vw, 30px);
    margin-top: 1.5em;
}

h4 {
    font-size: clamp(18px, 2vw, 22px);
    margin-top: 1.25em;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

li {
    margin-bottom: 0.45em;
}

code,
pre {
    font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
    background: rgba(242, 169, 80, 0.08);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 0.9em;
}

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

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

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

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

.tc-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--tc-amber);
    color: #07222C;
    padding: 8px 12px;
    z-index: 1000;
}

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

.tc-topbar {
    background: rgba(7, 34, 44, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--tc-border);
}

.tc-topbar .tc-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.tc-brand:hover,
.tc-brand:focus {
    color: var(--tc-cream);
}

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

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

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

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

.tc-hero {
    padding: 84px 0 96px;
    position: relative;
    overflow: hidden;
}

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

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

.tc-eyebrow {
    margin: 0 0 14px;
    color: var(--tc-amber);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 700;
}

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

.tc-tag-list {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tc-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(30, 98, 120, 0.16);
    border: 1px solid rgba(69, 196, 219, 0.18);
    color: var(--tc-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

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

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 0;
    background: var(--tc-amber);
    color: #07222C;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.12s ease, background 0.15s ease;
}

.tc-btn:hover,
.tc-btn:focus {
    background: var(--tc-amber-soft);
    color: #07222C;
}

.tc-btn:active {
    transform: scale(0.98);
}

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

.tc-btn--ghost:hover,
.tc-btn--ghost:focus {
    background: var(--tc-cream);
    color: #07222C;
}

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

.tc-disclaimer {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: var(--tc-radius);
    border: 1px solid var(--tc-border);
    background: rgba(14, 52, 66, 0.72);
    color: var(--tc-text-secondary);
}

.tc-disclaimer strong {
    color: var(--tc-amber-soft);
}

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

.tc-hero-art {
    width: 100%;
    max-width: 360px;
    border-radius: 34px;
    border: 1px solid var(--tc-panel-border);
    box-shadow: var(--tc-shadow);
}

.tc-section {
    padding: 0 0 88px;
}

.tc-section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
    color: var(--tc-text-secondary);
}

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

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

    .tc-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tc-card {
    background: rgba(14, 52, 66, 0.86);
    border: 1px solid var(--tc-panel-border);
    border-radius: var(--tc-radius);
    padding: 24px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.tc-card h3,
.tc-card h4 {
    margin-top: 0;
}

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

.tc-card p:last-child,
.tc-card ul:last-child {
    margin-bottom: 0;
}

.tc-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 860px) {
    .tc-split {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tc-outline-card {
    background: rgba(7, 34, 44, 0.78);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 24px;
}

.tc-outline-card h3 {
    margin-top: 0;
}

.tc-outline-card ul {
    margin-bottom: 0;
}

.tc-free-pill,
.tc-premium-pill {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/*
 * Opaque fills, not translucent ones. ADI Prep uses rgba() here, which means the
 * effective contrast depends on whatever the pill happens to sit on: the same pill
 * measures 5.51:1 on the page ground but 3.86:1 on `--tc-night-raised`, i.e. it
 * silently drops below AA inside a raised card. Pinning the fill makes the pairing
 * ground-independent and measurable. Verified: 5.51:1 and 7.02:1.
 */
.tc-free-pill {
    background: #123C4B;
    color: var(--tc-teal);
}

.tc-premium-pill {
    background: #2E2519;
    color: var(--tc-amber-soft);
}

.tc-breakdown {
    display: grid;
    gap: 14px;
}

.tc-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(14, 52, 66, 0.7);
    border: 1px solid rgba(69, 196, 219, 0.14);
}

.tc-breakdown-row strong {
    color: var(--tc-cream);
}

.tc-breakdown-label {
    color: var(--tc-text-secondary);
}

.tc-breakdown-value {
    color: var(--tc-amber-soft);
    font-weight: 700;
    white-space: nowrap;
}

.tc-flow-step {
    display: grid;
    gap: 14px;
}

.tc-step-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(242, 169, 80, 0.14);
    color: var(--tc-amber-soft);
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.tc-note {
    margin-top: 18px;
    color: var(--tc-text-muted);
    font-size: 15px;
}

.tc-pricing {
    padding: 56px 0;
    background: rgba(14, 52, 66, 0.92);
    border-top: 1px solid var(--tc-border);
    border-bottom: 1px solid var(--tc-border);
    text-align: center;
}

.tc-pricing strong {
    color: var(--tc-amber-soft);
}

.tc-stores {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tc-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    min-width: 220px;
    border-radius: 14px;
    border: 1px solid var(--tc-panel-border);
    background: rgba(22, 75, 93, 0.9);
    color: var(--tc-cream);
    text-decoration: none;
    text-align: left;
    line-height: 1.2;
}

.tc-store-badge:hover,
.tc-store-badge:focus {
    color: var(--tc-cream);
    border-color: var(--tc-amber);
}

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

.tc-store-badge strong {
    display: block;
    font-size: 17px;
    color: var(--tc-cream);
}

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

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

.tc-store-badge--disabled {
    opacity: 0.72;
    cursor: default;
}

.tc-store-badge--disabled:hover,
.tc-store-badge--disabled:focus {
    border-color: var(--tc-panel-border);
}

.tc-pricing-disclaimer {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--tc-text-muted);
    font-size: 15px;
}

.tc-page-hero {
    padding: 64px 0 48px;
    background: linear-gradient(180deg, rgba(14, 52, 66, 0.95), rgba(7, 34, 44, 0.96));
    border-bottom: 1px solid var(--tc-border);
}

.tc-meta {
    color: var(--tc-text-muted);
    font-size: 15px;
}

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

.tc-toc {
    padding: 18px 20px;
    margin-bottom: 32px;
    border-radius: var(--tc-radius);
    border: 1px solid var(--tc-border);
    background: rgba(14, 52, 66, 0.78);
}

.tc-toc strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

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

/*
 * Data table. No other subsite has one - this app's privacy policy sets out
 * what is processed, why, and who in the household can see it, and that is a
 * three-column fact rather than prose. The wrapper is what keeps a wide table
 * scrolling inside itself instead of scrolling the page sideways on a phone.
 */
.tc-table-wrap {
    overflow-x: auto;
    margin: 22px 0;
    border: 1px solid var(--tc-panel-border);
    border-radius: var(--tc-radius);
    background: var(--tc-night-surface);
}

.tc-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tc-table th,
.tc-table td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--tc-panel-border);
}

.tc-table thead th {
    color: var(--tc-amber);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.tc-table tbody tr:last-child th,
.tc-table tbody tr:last-child td {
    border-bottom: 0;
}

.tc-table td:first-child {
    color: var(--tc-text);
    font-weight: 600;
}

.tc-footer {
    margin-top: 64px;
    padding: 56px 0 32px;
    background: rgba(7, 34, 44, 0.92);
    border-top: 1px solid var(--tc-border);
    color: var(--tc-text-secondary);
    font-size: 15px;
}

.tc-pricing + .tc-footer {
    margin-top: 0;
}

.tc-footer a {
    color: var(--tc-text-secondary);
    text-decoration: none;
}

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

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

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

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

.tc-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tc-footer li {
    margin-bottom: 8px;
}

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

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

    .tc-btn {
        transition: none;
    }
}

@media print {
    body {
        background: white;
        color: black;
    }

    .tc-topbar,
    .tc-footer,
    .tc-page-hero {
        background: white;
        color: black;
    }

    .tc-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. */

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

.tc-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;
}

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

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

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