/* ==========================================================================
   UniFluent — resource guide pages
   --------------------------------------------------------------------------
   Shared by the four guides (academic-vocabulary, academic-writing,
   living-in-uk, pre-arrival-checklist) and their locale clones; replaces
   the per-file inline <style> blocks (extracted 2026-08, restyled to the
   dark brand). Load order: brand.css first, then this.

   Same conventions as article.css: 900px breakpoint to agree with the
   navbar, logical properties for the RTL clones, body copy brighter than
   --uf-text-dim for long-form reading.
   ========================================================================== */

:root {
    --gd-measure: 900px;
    --gd-body: rgba(224, 224, 232, 0.88);
    --gd-accent: var(--uf-indigo-soft, #8b8dff);
    --gd-good: #6ee7a0;
    --gd-bad: #f8867e;
    --gd-warn: #fbbf6e;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.guide-hero {
    position: relative;
    padding: clamp(7rem, 16vh, 9.5rem) clamp(1.25rem, 4vw, 2rem) clamp(2.75rem, 7vh, 4rem);
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(85, 87, 232, 0.28), transparent 70%),
        var(--uf-ink, #0a0a0b);
    color: var(--uf-text, #f4f4f7);
    overflow-x: clip;
}

.guide-hero-content {
    max-width: var(--gd-measure);
    margin: 0 auto;
}

.guide-hero .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.guide-hero .breadcrumb a {
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
    text-decoration: none;
}

.guide-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.guide-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    border-radius: 999px;
    background: rgba(139, 141, 255, 0.1);
    color: var(--gd-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.guide-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    font-size: 0.92rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.guide-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero image (some guides place one under the hero) */

.hero-image-container {
    max-width: var(--gd-measure);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    position: relative;
    z-index: 10;
}

.hero-image {
    width: 100%;
    height: clamp(240px, 40vw, 400px);
    object-fit: cover;
    border-radius: var(--uf-radius, 20px);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Body container — the old white .guide-card becomes an ink panel
   -------------------------------------------------------------------------- */

.guide-container {
    max-width: var(--gd-measure);
    margin: 0 auto;
    padding: clamp(2rem, 5vh, 3rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 8vh, 4.5rem);
}

.guide-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.guide-content {
    color: var(--gd-body);
}

.guide-intro {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--gd-body);
    margin-bottom: 2rem;
}

.guide-content p,
.content-section p {
    margin-bottom: 1.4rem;
    font-size: 1.04rem;
    line-height: 1.8;
    color: var(--gd-body);
}

.guide-content a {
    color: var(--gd-accent);
}

.content-section {
    margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.content-section h3 {
    font-size: clamp(1.2rem, 1.9vw, 1.4rem);
    margin: 2rem 0 1rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.25rem;
    max-width: none;
    text-align: start;
}

.section-icon {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(85, 87, 232, 0.14);
    border: 1px solid rgba(139, 141, 255, 0.2);
    color: var(--gd-accent);
    font-size: 1.1rem;
}

.section-header h2 {
    font-size: clamp(1.45rem, 2.4vw, 1.8rem);
    margin: 0;
}

/* --------------------------------------------------------------------------
   TOC
   -------------------------------------------------------------------------- */

.toc {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.toc h2 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 0.5rem 1.5rem;
}

.toc a {
    color: var(--gd-accent);
    text-decoration: none;
    font-size: 0.98rem;
}

.toc a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Example boxes — good / bad / tip carry their own accent
   -------------------------------------------------------------------------- */

.example-box {
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    border-inline-start: 3px solid var(--uf-indigo, #5557e8);
    border-radius: var(--uf-radius-sm, 12px);
    background: var(--uf-ink-panel, #14141c);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.example-box.good {
    border-inline-start-color: var(--gd-good);
    background: rgba(110, 231, 160, 0.07);
}

.example-box.bad {
    border-inline-start-color: var(--gd-bad);
    background: rgba(248, 134, 126, 0.07);
}

.example-box.tip {
    border-inline-start-color: var(--uf-indigo, #5557e8);
    background: rgba(85, 87, 232, 0.09);
}

.example-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: var(--gd-accent);
}

.example-box.good .example-label { color: var(--gd-good); }
.example-box.bad .example-label { color: var(--gd-bad); }
.example-box.tip .example-label { color: var(--gd-accent); }

.example-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gd-body);
}

/* --------------------------------------------------------------------------
   Structure diagram (academic-writing)
   -------------------------------------------------------------------------- */

.structure-diagram {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.essay-structure {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.structure-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.structure-number {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--uf-indigo, #5557e8);
    color: #fff;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
}

.structure-content h4 {
    margin: 0 0 0.35rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--uf-text, #f4f4f7);
}

.structure-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

/* --------------------------------------------------------------------------
   Tables — citation (writing) and cost (living in UK)
   -------------------------------------------------------------------------- */

.citation-table,
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    overflow: hidden;
}

.citation-table th,
.cost-table th {
    background: rgba(85, 87, 232, 0.16);
    color: var(--uf-text, #f4f4f7);
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    text-align: start;
    padding: 0.8rem 1rem;
}

.citation-table td,
.cost-table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    color: var(--gd-body);
}

.citation-table tr:nth-child(even),
.cost-table tr:nth-child(even) {
    background: rgba(206, 206, 215, 0.025);
}

/* Tables need their own scroll on phones rather than stretching the page */
.table-scroll,
.structure-diagram {
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Vocabulary (academic-vocabulary)
   -------------------------------------------------------------------------- */

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.75rem;
}

.category-btn {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    background: rgba(206, 206, 215, 0.05);
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.25s var(--uf-ease, ease), color 0.25s var(--uf-ease, ease);
}

.category-btn:hover {
    background: rgba(206, 206, 215, 0.1);
    color: var(--uf-text, #f4f4f7);
}

.category-btn.active {
    background: var(--uf-indigo, #5557e8);
    border-color: transparent;
    color: #fff;
}

.vocab-section {
    margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.vocab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.vocab-card {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.25rem;
    transition: transform 0.3s var(--uf-ease, ease), border-color 0.3s var(--uf-ease, ease);
}

.vocab-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 141, 255, 0.35);
}

.vocab-word {
    font-family: var(--flow-display, var(--uf-serif, serif));
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--uf-text, #f4f4f7);
    margin-bottom: 0.2rem;
}

.vocab-pronunciation {
    font-size: 0.85rem;
    color: var(--uf-text-faint, rgba(206, 206, 215, 0.42));
    margin-bottom: 0.45rem;
}

.vocab-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gd-accent);
    background: rgba(139, 141, 255, 0.12);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.6rem;
}

.vocab-definition {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gd-body);
    margin-bottom: 0.6rem;
}

.vocab-example {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
    border-inline-start: 2px solid rgba(139, 141, 255, 0.3);
    padding-inline-start: 0.8rem;
}

.vocab-example strong,
.vocab-card strong {
    color: var(--uf-text, #f4f4f7);
}

.vocab-card span {
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.search-box {
    position: relative;
    margin: 0 0 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.85rem 1.1rem 0.85rem 2.8rem;
    padding-inline-start: 2.8rem;
    padding-inline-end: 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    background: var(--uf-ink-panel, #14141c);
    color: var(--uf-text, #f4f4f7);
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: var(--uf-text-faint, rgba(206, 206, 215, 0.42));
}

.search-box input:focus {
    outline: none;
    border-color: rgba(139, 141, 255, 0.5);
}

.search-box i {
    position: absolute;
    inset-inline-start: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--uf-text-faint, rgba(206, 206, 215, 0.42));
}

.awl-note {
    background: rgba(85, 87, 232, 0.09);
    border: 1px solid rgba(139, 141, 255, 0.18);
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.awl-note h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--gd-accent);
}

.awl-note p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gd-body);
}

/* --------------------------------------------------------------------------
   Key points / info cards (living-in-uk, shared)
   -------------------------------------------------------------------------- */

.key-points {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.key-points h4 {
    margin: 0 0 0.8rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gd-accent);
}

.key-points ul {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.key-points li {
    margin-bottom: 0.45rem;
    color: var(--gd-body);
}

.info-card {
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    border-inline-start: 3px solid var(--uf-indigo, #5557e8);
    border-radius: var(--uf-radius-sm, 12px);
    background: var(--uf-ink-panel, #14141c);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.info-card h4 {
    margin: 0 0 0.5rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gd-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card.tip { border-inline-start-color: var(--gd-good); background: rgba(110, 231, 160, 0.06); }
.info-card.tip h4 { color: var(--gd-good); }

.info-card.warning { border-inline-start-color: var(--gd-warn); background: rgba(251, 191, 110, 0.06); }
.info-card.warning h4 { color: var(--gd-warn); }

.info-card.emergency { border-inline-start-color: var(--gd-bad); background: rgba(248, 134, 126, 0.07); }
.info-card.emergency h4 { color: var(--gd-bad); }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.info-box {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.25rem;
}

.info-box h4 {
    margin: 0 0 0.5rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1rem;
    color: var(--uf-text, #f4f4f7);
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.transport-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.transport-card {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.3s var(--uf-ease, ease), border-color 0.3s var(--uf-ease, ease);
}

.transport-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 141, 255, 0.35);
}

.transport-card i {
    font-size: 1.6rem;
    color: var(--gd-accent);
    margin-bottom: 0.8rem;
}

.transport-card h4 {
    margin: 0 0 0.4rem;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1rem;
    color: var(--uf-text, #f4f4f7);
}

.transport-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

/* --------------------------------------------------------------------------
   Checklist (pre-arrival)
   -------------------------------------------------------------------------- */

.checklist-section {
    margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.checklist-intro {
    color: var(--gd-body);
    margin-bottom: 1.25rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.25s var(--uf-ease, ease), background-color 0.25s var(--uf-ease, ease);
}

.checklist-item:hover {
    border-color: rgba(139, 141, 255, 0.35);
}

.checklist-item.checked {
    background: rgba(110, 231, 160, 0.05);
    border-color: rgba(110, 231, 160, 0.25);
}

.checkbox {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 26px;
    height: 26px;
    margin-top: 0.1rem;
    border-radius: 8px;
    border: 1.5px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
    background: transparent;
    color: transparent;
    transition: background-color 0.25s var(--uf-ease, ease), color 0.25s var(--uf-ease, ease);
}

.checklist-item.checked .checkbox {
    background: var(--gd-good);
    border-color: var(--gd-good);
}

.checklist-item.checked .checkbox i {
    color: #0a0a0b;
}

.item-content {
    flex: 1;
}

.item-title {
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 1rem;
    color: var(--uf-text, #f4f4f7);
    margin-bottom: 0.25rem;
}

.checklist-item.checked .item-title {
    text-decoration: line-through;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.item-description {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.item-tag {
    display: inline-block;
    flex: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.tag-essential { background: rgba(248, 134, 126, 0.14); color: var(--gd-bad); }
.tag-recommended { background: rgba(139, 141, 255, 0.14); color: var(--gd-accent); }
.tag-optional { background: rgba(206, 206, 215, 0.1); color: var(--uf-text-dim, rgba(206, 206, 215, 0.66)); }

.progress-tracker {
    position: sticky;
    top: 72px;
    z-index: 50;
    background: var(--uf-ink-raised, #101016);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius-sm, 12px);
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
}

.progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(206, 206, 215, 0.1);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--uf-indigo, #5557e8), var(--gd-good));
    transition: width 0.35s var(--uf-ease, ease);
}

.progress-text {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

/* --------------------------------------------------------------------------
   Download + CTA
   -------------------------------------------------------------------------- */

.download-section {
    background: var(--uf-ink-panel, #14141c);
    border: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    border-radius: var(--uf-radius, 20px);
    padding: 2rem;
    margin: 2.5rem 0 0;
    text-align: center;
}

.download-section h3 {
    margin: 0 0 0.5rem;
}

.download-section p {
    margin: 0 auto 1.25rem;
    max-width: 480px;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    background: var(--uf-paper, #ceced7);
    color: #101014;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s var(--uf-ease, ease), background-color 0.3s var(--uf-ease, ease);
}

.btn-download:hover {
    background: #fff;
    transform: translateY(-2px);
}

.cta-section {
    background:
        radial-gradient(70% 100% at 50% 100%, rgba(123, 63, 168, 0.35), transparent 70%),
        var(--uf-ink-raised, #101016);
    border-block: 1px solid var(--uf-hairline-soft, rgba(206, 206, 215, 0.07));
    padding: clamp(3.5rem, 9vh, 5rem) clamp(1.25rem, 4vw, 2rem);
    text-align: center;
    color: var(--uf-text, #f4f4f7);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--uf-text-dim, rgba(206, 206, 215, 0.66));
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--uf-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s var(--uf-ease, ease),
                background-color 0.3s var(--uf-ease, ease),
                box-shadow 0.3s var(--uf-ease, ease);
}

.btn-white {
    background: var(--uf-paper, #ceced7);
    color: #101014;
}

.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.btn-outline {
    background: rgba(206, 206, 215, 0.06);
    color: var(--uf-text, #f4f4f7);
    border: 1px solid var(--uf-hairline, rgba(206, 206, 215, 0.14));
}

.btn-outline:hover {
    background: rgba(206, 206, 215, 0.12);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .guide-hero h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .citation-table,
    .cost-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .progress-tracker {
        top: 64px;
    }
}

@media (max-width: 560px) {
    .guide-content p,
    .content-section p {
        font-size: 1rem;
    }

    .checklist-item {
        flex-wrap: wrap;
    }

    .item-tag {
        margin-inline-start: 42px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
