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

/*
 * ADI Prep Ireland — marketing and legal pages
 * Palette drawn from the app brand: deep teal backgrounds with gold accents.
 */

:root {
    --ap-night: #07171a;
    --ap-night-surface: #0c2426;
    --ap-night-raised: #113538;
    --ap-teal: #0b6b5d;
    --ap-teal-strong: #0a5250;
    --ap-mint: #6bd0ba;
    --ap-gold: #e8b84b;
    --ap-gold-soft: #f2cf78;
    --ap-cream: #f7f4eb;
    --ap-text: #f9fbfb;
    --ap-text-secondary: #d6ece8;
    --ap-text-muted: #9cc5bf;
    --ap-border: rgba(232, 184, 75, 0.18);
    --ap-panel-border: rgba(107, 208, 186, 0.18);
    --ap-shadow: 0 24px 64px rgba(2, 12, 13, 0.42);

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

    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(232, 184, 75, 0.10), transparent 24%),
        radial-gradient(circle at top left, rgba(107, 208, 186, 0.10), transparent 28%),
        linear-gradient(180deg, #081417 0%, var(--ap-night) 100%);
    color: var(--ap-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(--ap-gold-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

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

h1,
h2,
h3,
h4 {
    margin: 0 0 0.55em;
    color: var(--ap-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(232, 184, 75, 0.08);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 0.9em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ap-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 107, 93, 0.16);
    border: 1px solid rgba(107, 208, 186, 0.18);
    color: var(--ap-text-secondary);
    font-size: 14px;
    font-weight: 600;
}

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

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

.ap-btn:hover,
.ap-btn:focus {
    background: var(--ap-gold-soft);
    color: #111513;
}

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

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

.ap-btn--ghost:hover,
.ap-btn--ghost:focus {
    background: var(--ap-cream);
    color: #111513;
}

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

.ap-disclaimer {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: var(--ap-radius);
    border: 1px solid var(--ap-border);
    background: rgba(12, 36, 38, 0.72);
    color: var(--ap-text-secondary);
}

.ap-disclaimer strong {
    color: var(--ap-gold-soft);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.ap-outline-card {
    background: rgba(7, 23, 26, 0.78);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius);
    padding: 24px;
}

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

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

.ap-free-pill,
.ap-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;
}

.ap-free-pill {
    background: rgba(107, 208, 186, 0.18);
    color: var(--ap-mint);
}

.ap-premium-pill {
    background: rgba(232, 184, 75, 0.14);
    color: var(--ap-gold-soft);
}

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

.ap-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(12, 36, 38, 0.7);
    border: 1px solid rgba(107, 208, 186, 0.14);
}

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

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

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

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

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

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

.ap-pricing {
    padding: 56px 0;
    background: rgba(12, 36, 38, 0.92);
    border-top: 1px solid var(--ap-border);
    border-bottom: 1px solid var(--ap-border);
    text-align: center;
}

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

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

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

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

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

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

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

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

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

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

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

.ap-page-hero {
    padding: 64px 0 48px;
    background: linear-gradient(180deg, rgba(12, 36, 38, 0.95), rgba(7, 23, 26, 0.96));
    border-bottom: 1px solid var(--ap-border);
}

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

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

.ap-toc {
    padding: 18px 20px;
    margin-bottom: 32px;
    border-radius: var(--ap-radius);
    border: 1px solid var(--ap-border);
    background: rgba(12, 36, 38, 0.78);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .ap-btn {
        transition: none;
    }
}

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

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

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

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

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

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

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

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