/* ==========================================================
   TAPPHIRE
   Public Website — Shared Components

   File:
   css/components.css

   Purpose:
   - Accessibility utilities
   - Navigation states
   - Shared button refinements
   - Reusable cards and labels
   - Shared content patterns
   - Page intro patterns
   - Request Access / Contact form components
   - Legal / Trust Library components
   - Component interaction states

   Global visual styling:
   css/style.css

   Viewport responsive overrides:
   css/responsive.css
========================================================== */


/* ==========================================================
   1. ACCESSIBILITY UTILITIES
========================================================== */

.visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   2. HEADER COMPONENT STATES
========================================================== */

.site-header.is-scrolled {
    box-shadow:
        0 1px 0 rgba(17, 24, 39, 0.03),
        0 8px 28px rgba(17, 24, 39, 0.04);
}


/* Current page */

.nav-list a[aria-current="page"] {
    color: var(--brand-blue);
}


.nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
}


/* Mobile menu animated state */

.mobile-menu-button.is-active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}


.mobile-menu-button.is-active .menu-line:nth-child(2) {
    opacity: 0;
}


.mobile-menu-button.is-active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ==========================================================
   3. BUTTON COMPONENT DETAILS
========================================================== */

.button {
    position: relative;

    user-select: none;

    -webkit-tap-highlight-color: transparent;
}


.button-small {
    min-height: 42px;

    padding: 10px 16px;

    font-size: 0.88rem;
}


.button-large {
    min-height: 56px;

    padding: 16px 26px;

    font-size: 1rem;
}


.button[aria-disabled="true"],
.button:disabled {
    cursor: not-allowed;

    opacity: 0.55;

    transform: none;
}


/* ==========================================================
   4. TEXT LINK COMPONENT
========================================================== */

.text-link span[aria-hidden="true"] {
    display: inline-block;

    transition: transform var(--transition-fast);
}


@media (hover: hover) and (pointer: fine) {

    .text-link:hover span[aria-hidden="true"] {
        transform: translateX(2px);
    }

}


/* ==========================================================
   5. CARD COMPONENT DETAILS
========================================================== */

.feature-card,
.trust-card,
.access-card {
    isolation: isolate;
}


.feature-card h3,
.trust-card h3,
.access-card h3 {
    margin-bottom: 14px;
}


/* Decorative sapphire accent */

.feature-card::before,
.access-card::before {
    content: "";

    position: absolute;

    top: -1px;
    right: -1px;
    left: -1px;

    height: 3px;

    background: var(--brand-blue);

    border-radius:
        var(--radius-medium)
        var(--radius-medium)
        0
        0;

    opacity: 0;

    pointer-events: none;

    transition: opacity var(--transition-base);
}


@media (hover: hover) and (pointer: fine) {

    .feature-card:hover::before,
    .access-card:hover::before {
        opacity: 1;
    }

}


/* ==========================================================
   6. NUMBER LABEL COMPONENT
========================================================== */

.card-number,
.workflow-number,
.architecture-number {
    font-variant-numeric: tabular-nums;
}


/* ==========================================================
   7. STATEMENT / CALLOUT COMPONENT
========================================================== */

.statement-block {
    position: relative;
}


/*
   The actual sapphire left border is defined in style.css.
   Do not duplicate it here.
*/


/* ==========================================================
   8. CHECK LIST COMPONENT
========================================================== */

.check-list li {
    min-height: 24px;
}


.check-list li + li {
    padding-top: 4px;
}


/* ==========================================================
   9. ARCHITECTURE COMPONENT
========================================================== */

.architecture-system {
    position: relative;
}


.architecture-node,
.architecture-core {
    position: relative;

    z-index: 2;
}


/* Restrained inner border — not a gradient */

.architecture-core::before {
    content: "";

    position: absolute;

    inset: 10px;

    pointer-events: none;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: calc(var(--radius-medium) - 4px);
}


.architecture-core-brand,
.architecture-core-text {
    position: relative;

    z-index: 1;
}


/* ==========================================================
   10. WORKFLOW COMPONENT
========================================================== */

.workflow-item {
    overflow: hidden;

    transition:
        background-color var(--transition-base),
        border-color var(--transition-base);
}


.workflow-item::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: var(--brand-blue);

    pointer-events: none;

    transition: width var(--transition-base);
}


@media (hover: hover) and (pointer: fine) {

    .workflow-item:hover {
        background: var(--brand-blue-soft);
    }


    .workflow-item:hover::before {
        width: 100%;
    }

}


/* ==========================================================
   11. TRUST COMPONENTS
========================================================== */

.trust-card {
    position: relative;

    overflow: hidden;
}


.trust-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 0;

    background: #8db7f3;

    pointer-events: none;

    transition: height var(--transition-base);
}


@media (hover: hover) and (pointer: fine) {

    .trust-card:hover::before {
        height: 100%;
    }

}


/* ==========================================================
   12. SECTION DIVIDER
========================================================== */

.section-divider {
    width: 100%;
    height: 1px;

    margin: 0;

    background: var(--color-border);

    border: 0;
}


/* ==========================================================
   13. LABEL / BADGE
========================================================== */

.label {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 6px 11px;

    background: var(--brand-blue-soft);

    border: 1px solid #dbe7fa;

    border-radius: 999px;

    color: var(--brand-blue-dark);

    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);

    line-height: 1.2;
}


/* ==========================================================
   14. CONTENT LIST
========================================================== */

.content-list {
    display: grid;

    gap: 14px;

    padding: 0;

    list-style: none;
}


.content-list li {
    position: relative;

    padding-left: 22px;

    color: var(--color-text-secondary);

    line-height: 1.65;
}


.content-list li::before {
    content: "";

    position: absolute;

    top: 0.72em;
    left: 0;

    width: 6px;
    height: 6px;

    background: var(--brand-blue);

    border-radius: 50%;

    transform: translateY(-50%);
}


/* ==========================================================
   15. SIMPLE INFO PANEL
========================================================== */

.info-panel {
    padding: var(--space-7);

    background: var(--brand-blue-soft);

    border: 1px solid #dbe7fa;

    border-radius: var(--radius-medium);
}


.info-panel > :last-child {
    margin-bottom: 0;
}


/* ==========================================================
   16. PAGE INTRO
========================================================== */

.page-intro {
    padding-block:
        clamp(80px, 9vw, 130px)
        clamp(80px, 9vw, 120px);

    background: var(--color-white);

    border-bottom: 1px solid var(--color-border);
}


.page-intro-content {
    width: min(100%, 850px);
}


.page-intro h1 {
    max-width: 840px;
}


.page-intro-description {
    max-width: 720px;

    margin-bottom: var(--space-8);

    font-size: clamp(1.08rem, 1.4vw, 1.24rem);

    line-height: 1.7;
}


.page-intro-actions {
    display: flex;

    flex-wrap: wrap;

    gap: var(--space-4);
}


/* ==========================================================
   17. SECTION META
========================================================== */

.section-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: var(--space-5);

    color: var(--color-text-muted);

    font-size: 0.82rem;
}


.section-meta-separator {
    width: 3px;
    height: 3px;

    flex-shrink: 0;

    background: var(--color-text-muted);

    border-radius: 50%;
}


/* ==========================================================
   18. TWO-COLUMN CONTENT
========================================================== */

.content-columns {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: clamp(40px, 7vw, 90px);
}


.content-column {
    min-width: 0;
}


.content-column > :last-child {
    margin-bottom: 0;
}


/* ==========================================================
   19. POLICY LINK CARD
========================================================== */

.policy-link {
    position: relative;

    display: block;

    padding: 22px 24px;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-medium);

    transition:
        border-color var(--transition-base),
        transform var(--transition-base),
        box-shadow var(--transition-base);
}


.policy-link-title {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text-primary);

    font-weight: var(--font-weight-semibold);

    line-height: 1.4;
}


.policy-link-description {
    display: block;

    margin: 0;

    color: var(--color-text-secondary);

    font-size: 0.9rem;

    line-height: 1.55;
}


.policy-link:focus-visible {
    border-color: var(--brand-blue);
}


@media (hover: hover) and (pointer: fine) {

    .policy-link:hover {
        border-color: #bfd0e8;

        transform: translateY(-2px);

        box-shadow: var(--shadow-small);
    }

}


/* ==========================================================
   20. FOOTER COMPONENT DETAILS
========================================================== */

.footer-column a {
    position: relative;
}


.footer-column a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -3px;
    left: 0;

    height: 1px;

    background: currentColor;

    opacity: 0;

    transform: scaleX(0);

    transform-origin: right;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}


.footer-column a[aria-current="page"] {
    color: var(--color-white);
}


@media (hover: hover) and (pointer: fine) {

    .footer-column a:hover::after {
        opacity: 0.55;

        transform: scaleX(1);

        transform-origin: left;
    }

}


/* ==========================================================
   21. CURRENT YEAR
========================================================== */

#current-year {
    font-variant-numeric: tabular-nums;
}


/* ==========================================================
   22. NOSCRIPT MESSAGE
========================================================== */

.noscript-message {
    padding: 12px var(--container-padding);

    background: #fff8e6;

    border-bottom: 1px solid #e8d8ab;

    color: #5c4813;

    font-size: 0.9rem;

    text-align: center;
}


/* ==========================================================
   23. REQUEST ACCESS / CONTACT FORM
========================================================== */


/* ----------------------------------------------------------
   FORM CONTAINER
---------------------------------------------------------- */

.access-form {
    width: 100%;
    max-width: 960px;

    margin-inline: auto;
}


/* ----------------------------------------------------------
   FORM SECTIONS
---------------------------------------------------------- */

.form-section {
    margin: 0;

    padding: 32px 0;

    border: 0;
    border-bottom: 1px solid var(--border);
}


.form-section:first-child {
    padding-top: 0;
}


.form-section:last-of-type {
    border-bottom: 0;
}


.form-section legend {
    width: 100%;

    margin-bottom: 20px;

    padding: 0;

    color: var(--text-primary);

    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);

    line-height: 1.3;
}


/* ----------------------------------------------------------
   FORM GRID
---------------------------------------------------------- */

.form-grid {
    display: grid;

    gap: 24px;
}


.form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* ----------------------------------------------------------
   FORM FIELD
---------------------------------------------------------- */

.form-field {
    display: flex;

    min-width: 0;

    flex-direction: column;

    gap: 8px;
}


.form-field label {
    color: var(--text-primary);

    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);

    line-height: 1.4;
}


/* ----------------------------------------------------------
   INPUT / SELECT / TEXTAREA
---------------------------------------------------------- */

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    min-height: 48px;

    padding: 12px 14px;

    color: var(--text-primary);

    background: var(--white);

    border: 1px solid var(--border-strong);

    border-radius: var(--radius-small);

    font: inherit;

    line-height: 1.5;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}


.form-field textarea {
    min-height: 160px;

    resize: vertical;
}


.form-field select {
    cursor: pointer;
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);

    opacity: 1;
}


/* ----------------------------------------------------------
   FIELD HOVER
---------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .form-field input:hover,
    .form-field select:hover,
    .form-field textarea:hover {
        border-color: var(--brand-blue);
    }

}


/* ----------------------------------------------------------
   FIELD FOCUS

   Do not remove the global focus-visible outline.
---------------------------------------------------------- */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand-blue);

    box-shadow:
        0 0 0 3px rgba(15, 82, 186, 0.12);
}


/* ----------------------------------------------------------
   INVALID FIELD

   Do not visually claim server rejection.
---------------------------------------------------------- */

.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
    border-color: var(--border-strong);
}


/* ----------------------------------------------------------
   HELPER TEXT
---------------------------------------------------------- */

.form-helper {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.875rem;

    line-height: 1.6;
}


/* ----------------------------------------------------------
   CHOICE GRID
---------------------------------------------------------- */

.choice-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
}


/* ----------------------------------------------------------
   CHECKBOX / RADIO CONTROL
---------------------------------------------------------- */

.choice-control {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    min-height: 48px;

    padding: 14px 16px;

    color: var(--text-primary);

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-small);

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}


.choice-control input[type="checkbox"],
.choice-control input[type="radio"] {
    width: 18px;
    height: 18px;

    flex: 0 0 auto;

    margin: 2px 0 0;

    accent-color: var(--brand-blue);

    cursor: pointer;
}


.choice-control span {
    display: block;

    color: var(--text-secondary);

    font-size: 0.925rem;

    line-height: 1.55;
}


/* Checked state */

.choice-control:has(input:checked) {
    background: var(--brand-blue-light);

    border-color: var(--brand-blue);
}


.choice-control:has(input:checked) span {
    color: var(--text-primary);
}


/* Keyboard focus */

.choice-control:has(input:focus-visible) {
    border-color: var(--brand-blue);

    box-shadow:
        0 0 0 3px rgba(15, 82, 186, 0.12);
}


@media (hover: hover) and (pointer: fine) {

    .choice-control:hover {
        background: var(--surface-blue);

        border-color: var(--brand-blue);
    }

}


/* ----------------------------------------------------------
   CONSENT
---------------------------------------------------------- */

.consent-list {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.consent-control {
    padding: 18px;
}


.consent-control span {
    line-height: 1.65;
}


/* ----------------------------------------------------------
   POLICY NOTE
---------------------------------------------------------- */

.form-policy-note {
    margin: 20px 0 0;

    color: var(--text-muted);

    font-size: 0.875rem;

    line-height: 1.65;
}


.form-policy-note a {
    color: var(--brand-blue);

    font-weight: var(--font-weight-semibold);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


@media (hover: hover) and (pointer: fine) {

    .form-policy-note a:hover {
        color: var(--brand-blue-dark);
    }

}


/* ----------------------------------------------------------
   FORM ACTIONS
---------------------------------------------------------- */

.form-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

    margin-top: 32px;
}


/* ----------------------------------------------------------
   FORM STATUS
---------------------------------------------------------- */

.form-status {
    min-height: 24px;

    margin-top: 16px;

    color: var(--text-secondary);

    font-size: 0.925rem;

    line-height: 1.6;
}


/* ----------------------------------------------------------
   AUTOFILL
---------------------------------------------------------- */

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);

    transition: background-color 9999s ease-in-out 0s;
}


/* ==========================================================
   24. LEGAL / TRUST LIBRARY
========================================================== */


/* ----------------------------------------------------------
   LEGAL HERO
---------------------------------------------------------- */

.legal-hero {
    padding: 96px 0 64px;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}


.legal-hero-content {
    max-width: 900px;
}


.legal-hero h1 {
    max-width: 760px;

    margin: 14px 0 18px;

    font-size: clamp(2.75rem, 5vw, 3.5rem);

    line-height: 1.05;
}


.legal-updated {
    margin: 0 0 28px;

    color: var(--text-muted);

    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);

    line-height: 1.5;
}


.legal-intro {
    max-width: 820px;
}


.legal-intro p {
    margin: 0 0 18px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.8;
}


.legal-intro p:last-child {
    margin-bottom: 0;
}


.legal-intro a {
    color: var(--brand-blue);

    font-weight: var(--font-weight-semibold);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


@media (hover: hover) and (pointer: fine) {

    .legal-intro a:hover {
        color: var(--brand-blue-dark);
    }

}


/* ----------------------------------------------------------
   LEGAL CONTENT WRAPPER
---------------------------------------------------------- */

.legal-content-section {
    padding: 72px 0 96px;

    background: var(--white);
}


.legal-layout {
    display: grid;

    grid-template-columns:
        minmax(220px, 280px)
        minmax(0, 760px);

    align-items: start;

    justify-content: space-between;

    gap: 72px;
}


/* ----------------------------------------------------------
   LEGAL PAGE INDEX
---------------------------------------------------------- */

.legal-index {
    position: sticky;

    top: 112px;

    min-width: 0;

    padding: 24px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);
}


.legal-index-title {
    margin: 0 0 16px;

    color: var(--text-primary);

    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);

    letter-spacing: 0.04em;

    text-transform: uppercase;
}


.legal-index-list {
    margin: 0;

    padding-left: 20px;
}


.legal-index-list li {
    margin-bottom: 10px;

    color: var(--text-muted);

    font-size: 0.875rem;

    line-height: 1.45;
}


.legal-index-list li:last-child {
    margin-bottom: 0;
}


.legal-index-list a {
    color: var(--text-secondary);

    text-decoration: none;

    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast);
}


.legal-index-list a:focus-visible {
    color: var(--brand-blue);
}


@media (hover: hover) and (pointer: fine) {

    .legal-index-list a:hover {
        color: var(--brand-blue);

        text-decoration: underline;

        text-underline-offset: 3px;
    }

}


/* ----------------------------------------------------------
   LEGAL BODY
---------------------------------------------------------- */

.legal-body {
    width: 100%;

    min-width: 0;
}


/* ----------------------------------------------------------
   LEGAL SECTIONS
---------------------------------------------------------- */

.legal-section {
    padding: 0 0 44px;

    margin: 0 0 44px;

    border-bottom: 1px solid var(--border);

    scroll-margin-top: 120px;
}


/*
   A final normal legal section does not need a divider.
   A final callout must retain its complete bordered box.
*/

.legal-section:last-child {
    margin-bottom: 0;
}


.legal-section:last-child:not(.legal-callout) {
    padding-bottom: 0;

    border-bottom: 0;
}


.legal-section h2 {
    margin: 0 0 20px;

    color: var(--text-primary);

    font-size: clamp(1.5rem, 2vw, 2rem);

    line-height: 1.25;
}


.legal-section h3 {
    margin: 30px 0 12px;

    color: var(--text-primary);

    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);

    line-height: 1.4;
}


.legal-section p {
    margin: 0 0 16px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.8;
}


.legal-section p:last-child {
    margin-bottom: 0;
}


.legal-section strong {
    color: var(--text-primary);

    font-weight: var(--font-weight-bold);
}


.legal-section a {
    color: var(--brand-blue);

    font-weight: var(--font-weight-semibold);

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


@media (hover: hover) and (pointer: fine) {

    .legal-section a:hover {
        color: var(--brand-blue-dark);
    }

}


/* ----------------------------------------------------------
   LEGAL LISTS
---------------------------------------------------------- */

.legal-list {
    margin: 18px 0 0;

    padding-left: 22px;
}


.legal-list li {
    margin-bottom: 10px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.75;
}


.legal-list li:last-child {
    margin-bottom: 0;
}


.legal-list li::marker {
    color: var(--brand-blue);
}


/* ----------------------------------------------------------
   LEGAL CALLOUT
---------------------------------------------------------- */

.legal-callout {
    padding: 28px 30px;

    margin-bottom: 44px;

    background: var(--surface-blue);

    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-blue);

    border-radius: var(--radius-medium);
}


.legal-callout h2 {
    margin-top: 0;
}


.legal-callout p:last-child,
.legal-callout .legal-list:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   LEGAL INLINE ACTIONS
---------------------------------------------------------- */

.legal-inline-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 24px;
}


.legal-inline-actions .button {
    text-decoration: none;
}


/* ----------------------------------------------------------
   RELATED POLICIES
---------------------------------------------------------- */

.legal-related {
    width: 100%;
}


.legal-related-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.legal-related-grid .policy-link {
    min-height: 160px;
}


.legal-related-grid .policy-link-title {
    margin-bottom: 8px;

    font-size: 1rem;
    font-weight: var(--font-weight-bold);

    line-height: 1.4;
}


.legal-related-grid .policy-link-description {
    font-size: 0.9rem;

    line-height: 1.65;
}


/* ----------------------------------------------------------
   LEGAL LINK FOCUS
---------------------------------------------------------- */

.legal-intro a:focus-visible,
.legal-section a:focus-visible,
.legal-index-list a:focus-visible {
    outline: 3px solid rgba(15, 82, 186, 0.22);

    outline-offset: 3px;

    border-radius: 2px;
}


/* ----------------------------------------------------------
   LEGAL TYPOGRAPHY SAFETY
---------------------------------------------------------- */

.legal-body,
.legal-intro,
.legal-index,
.legal-related {
    overflow-wrap: anywhere;
}


/* ----------------------------------------------------------
   LEGAL TABLE SUPPORT
---------------------------------------------------------- */

.legal-table-wrapper {
    width: 100%;

    margin: 24px 0;

    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: var(--radius-medium);

    -webkit-overflow-scrolling: touch;
}


.legal-table {
    width: 100%;

    min-width: 640px;

    background: var(--white);

    border-collapse: collapse;
}


.legal-table th,
.legal-table td {
    padding: 14px 16px;

    text-align: left;

    vertical-align: top;

    border-bottom: 1px solid var(--border);

    font-size: 0.925rem;

    line-height: 1.6;
}


.legal-table th {
    background: var(--surface);

    color: var(--text-primary);

    font-weight: var(--font-weight-bold);
}


.legal-table td {
    color: var(--text-secondary);
}


.legal-table tr:last-child td {
    border-bottom: 0;
}


/* ----------------------------------------------------------
   LEGAL DEFINITION LIST
---------------------------------------------------------- */

.legal-definitions {
    margin: 22px 0 0;
}


.legal-definitions dt {
    margin-top: 20px;

    color: var(--text-primary);

    font-weight: var(--font-weight-bold);

    line-height: 1.5;
}


.legal-definitions dt:first-child {
    margin-top: 0;
}


.legal-definitions dd {
    margin: 6px 0 0;

    color: var(--text-secondary);

    line-height: 1.75;
}


/* ----------------------------------------------------------
   LEGAL NOTE
---------------------------------------------------------- */

.legal-note {
    margin: 22px 0;

    padding: 18px 20px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-small);
}


.legal-note p {
    margin: 0;
}


/* ==========================================================
   25. INTERACTION CAPABILITY SAFETY
========================================================== */

@media (hover: none) {

    .feature-card,
    .access-card,
    .trust-card,
    .policy-link,
    .workflow-item {
        transform: none;
    }


    .feature-card::before,
    .access-card::before {
        opacity: 0;
    }


    .trust-card::before {
        height: 0;
    }

}


/* ==========================================================
   26. FORCED COLOURS / HIGH CONTRAST
========================================================== */

@media (forced-colors: active) {

    .info-panel,
    .policy-link,
    .legal-index,
    .legal-callout,
    .legal-note,
    .legal-table-wrapper,
    .form-field input,
    .form-field select,
    .form-field textarea,
    .choice-control {
        border: 1px solid CanvasText;
    }


    .choice-control:has(input:checked) {
        border: 2px solid Highlight;
    }


    .check-list li::before {
        border: 1px solid CanvasText;
    }


    .legal-callout {
        border-left: 4px solid CanvasText;
    }

}


/* ==========================================================
   27. PRINT — LEGAL CONTENT
========================================================== */

@media print {

    .site-header,
    .site-footer {
        display: none;
    }


    .legal-hero {
        padding-top: 24px;
        padding-bottom: 24px;
    }


    .legal-content-section {
        padding: 24px 0;
    }


    .legal-layout {
        display: block;
    }


    .legal-index {
        display: none;
    }


    .legal-section {
        break-inside: avoid;
    }


    .legal-callout {
        background: transparent;

        border: 1px solid #000;
    }


    .legal-inline-actions,
    .legal-related,
    .final-cta {
        display: none;
    }

}