[hidden] {
    display: none !important;
}

:root {
    --brand-obsidian: #07111F;
    --brand-navy: #0B1F33;
    --brand-blue: #1769FF;
    --brand-blue-hover: #1052CC;
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-fine: #E2E8F0;
    --error-red: #DC2626;
    --white: #FFFFFF;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 2px;
}

.sr-only {
    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;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--brand-blue);
    color: var(--white);
    padding: 10px 20px;
    z-index: 9999;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: clamp(60px, 8vw, 100px) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--brand-obsidian);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.max-w-800-mx-auto {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.bg-dark h2 {
    color: var(--white);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
}

.bg-dark h3 {
    color: var(--white);
}

.eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.eyebrow-blue {
    color: var(--brand-blue);
}

.bg-dark .eyebrow,
.bg-dark .eyebrow-blue {
    color: #4DA3FF;
}

.subheadline {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.supporting-text {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.text-muted-light {
    color: #CBD5E1;
}

.text-sm-muted {
    font-size: 0.85rem;
    color: #94A3B8;
}

.section-title-mb {
    margin-bottom: 48px;
}

#solutions,
#parts-sourcing,
#documentation,
#technical-support,
#maintenance-intelligence,
#how-it-works,
#about,
#request-support {
    scroll-margin-top: 100px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.25rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(23, 105, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--brand-blue-hover);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--brand-navy);
    color: var(--brand-navy);
}

.btn-secondary:hover {
    background-color: var(--brand-navy);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary-sm {
    padding: 0.5rem 1rem;
}

.final-cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.final-cta .btn-secondary:hover {
    background-color: var(--white);
    color: var(--brand-obsidian);
}

.btn-full {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.site-header {
    border-bottom: 1px solid var(--border-fine);
    background: rgba(255, 255, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.primary-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.primary-nav a:hover {
    color: var(--brand-blue);
}

.nav-cta-btn {
    padding: 0.65rem 1.5rem !important;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-navy);
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.icon-hidden {
    display: none;
}

.hero.grid-2 {
    min-height: 85vh;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    padding-right: 24px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-tagline-sub {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hero-image-pending {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    background: linear-gradient(
        135deg,
        #07111F 0%,
        #0B1F33 55%,
        #102A46 100%
    );
    color: #FFFFFF;
    text-align: center;
}

.hero-image-pending span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #4DA3FF;
}

.hero-image-pending p {
    max-width: 420px;
    color: #CBD5E1;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border-fine);
    border-radius: 12px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.mt-32-self-start {
    margin-top: 32px;
    align-self: flex-start;
}

.exchange-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exchange-list li {
    position: relative;
    padding-left: 24px;
    font-weight: 500;
}

.exchange-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
}

.process-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border-fine);
    margin-bottom: 8px;
    line-height: 1;
}

.process-disclaimer {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 24px auto 0 auto;
    font-style: italic;
}

.doc-text-side {
    padding-right: 24px;
}

.doc-technical-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 24px 0;
}

.doc-technical-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.doc-technical-list li.text-muted-light {
    color: #CBD5E1;
}

.doc-technical-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--brand-blue);
}

.doc-graphics-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.limitation-box {
    padding: 32px;
    background: #FEF2F2;
    border: 1px solid #F87171;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #991B1B;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.limitation-dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #E2E8F0;
}

.pafis-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.pafis-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.pafis-subtitle {
    font-size: 0.85rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 4px;
}

.pafis-body {
    padding: 32px;
    color: #CBD5E1;
}

.founder-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.quick-rfq-bar {
    padding: 24px 0;
    border-top: 1px solid var(--border-fine);
    border-bottom: 1px solid var(--border-fine);
}

.quick-rfq-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.quick-rfq-inner label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.quick-rfq-input-group {
    display: flex;
    gap: 12px;
    flex-grow: 1;
    max-width: 600px;
}

.quick-rfq-input-group input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-fine);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.portal-help-box {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-fine);
    border-radius: 8px;
    margin: 24px 0;
}

.portal-alt-contact {
    font-size: 0.9rem;
    font-weight: 600;
}

.portal-alt-contact a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.portal-form-side form {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--border-fine);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

fieldset {
    border: none;
}

.fieldset-mt {
    margin-top: 32px;
}

legend {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy);
    border-bottom: 1px solid var(--border-fine);
    width: 100%;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.req-star {
    color: var(--error-red);
    margin-left: 3px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background-color: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: var(--error-red);
}

.form-help-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-group input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.checkbox-group-multi {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.checkbox-group-multi label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    min-height: 44px;
    padding: 8px 0;
}

.checkbox-group-multi input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.historical-data-group {
    border: 0;
    padding: 0;
    margin: 0;
}

.historical-data-group > legend {
    width: auto;
    padding: 0;
    margin-bottom: 8px;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.checkbox-label-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-main);
    font-weight: 400 !important;
    cursor: pointer;
}

.form-submit-container {
    margin-top: 16px;
}

.form-error-banner {
    background-color: #FEF2F2;
    color: var(--error-red);
    padding: 16px;
    border: 1px solid #F87171;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-error-banner a {
    color: #991B1B;
    text-decoration: underline;
}

.file-name-display {
    font-size: 0.85rem;
    color: var(--brand-blue);
    margin-top: 6px;
    font-weight: 500;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 24px;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-subheadline {
    color: #CBD5E1;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer {
    padding: 60px 0 30px;
    font-size: 0.875rem;
    color: #94A3B8;
}

.footer-top {
    border-bottom: 1px solid #1E293B;
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-address {
    color: #94A3B8;
}

.footer-nav-links {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    align-items: center;
}

.footer-nav-links a:hover {
    color: var(--white);
}

.footer-legal {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #94A3B8;
    border-top: 1px solid #1E293B;
    padding-top: 24px;
}

.footer-copyright {
    margin-top: 32px;
    color: #94A3B8;
    font-size: 0.813rem;
}

.mb-24 {
    margin-bottom: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-16 {
    margin-top: 16px;
}

.text-6xl {
    font-size: 6rem;
    margin-bottom: 0;
    line-height: 1;
}

.grid-2,
.hero,
.hero > *,
.bento-grid,
.bento-grid > *,
.portal-grid,
.portal-grid > *,
.portal-info-side,
.portal-form-side,
.portal-form-side form,
.portal-form-side fieldset,
.form-grid,
.form-group,
.doc-text-side,
.doc-graphics-side,
.about-content,
.about-content-extended,
.footer-top,
.footer-top > * {
    min-width: 0;
    max-width: 100%;
}

.portal-form-side form {
    width: 100%;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea,
.quick-rfq-input-group input,
input[type="file"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

input[type="file"] {
    overflow: hidden;
}

input[type="file"]::file-selector-button {
    min-height: 44px;
    margin-right: 12px;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--border-fine);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--brand-navy);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.checkbox-label-text,
.portal-alt-contact,
.legal-content,
.footer-legal,
.file-name-display,
.supporting-text,
.subheadline,
.bento-card p,
.process-step p,
.limitation-box p {
    overflow-wrap: anywhere;
    word-break: normal;
}

.logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
}

.logo img {
    width: min(220px, 58vw);
    height: auto;
}

.mobile-toggle {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

@media (max-width: 1160px) {
    .mobile-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100vw;
        padding: 24px;
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        background: var(--white);
        border-top: 1px solid var(--border-fine);
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 999;
        transition:
            transform 0.3s ease,
            opacity 0.2s ease,
            visibility 0s linear 0.3s;
    }

    .primary-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        transition:
            transform 0.3s ease,
            opacity 0.2s ease,
            visibility 0s;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .primary-nav a:not(.btn),
    .primary-nav button:not(.btn) {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.65rem 0;
        font-size: 1.05rem;
    }

    .primary-nav .btn {
        width: 100%;
        min-height: 48px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 1180px) {
    .process-grid-four {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 700px) {
    .process-grid-four {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 960px) {
    .bento-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero.grid-2,
    .portal-grid,
    .about-section .grid-2,
    .technical-support .grid-2,
    .parts-sourcing .grid-2,
    .documentation .grid-2 {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hero.grid-2 {
        min-height: auto;
        gap: 32px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-visual {
        min-height: clamp(360px, 62vw, 500px);
    }

    .process-step {
        padding: 24px;
        border: 1px solid var(--border-fine);
        border-radius: 12px;
    }

    .portal-grid {
        gap: 40px;
    }

    .doc-text-side {
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-pad {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-title-mb {
        margin-bottom: 32px;
    }

    .grid-2,
    .bento-grid,
    .form-grid,
    .footer-top {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .form-full {
        grid-column: 1 !important;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .quick-rfq-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-rfq-input-group {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .quick-rfq-input-group .btn {
        width: 100%;
        min-height: 48px;
    }

    .bento-card,
    .limitation-box,
    .pafis-body {
        padding: 24px;
    }

    .portal-form-side form {
        padding: 28px 18px;
    }

    .form-grid {
        gap: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        min-height: 46px;
    }

    .form-group textarea {
        min-height: 112px;
    }

    .checkbox-group {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }

    .checkbox-group input {
        width: 20px;
        height: 20px;
        margin: 2px 0 0;
    }

    .footer-top {
        gap: 24px;
        text-align: center;
    }

    .footer-nav-links {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .legal-content {
        width: 100%;
    }

    .site-header .header-inner {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(2.25rem, 10vw, 2.75rem);
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(1.75rem, 8vw, 2.15rem);
        line-height: 1.15;
    }

    .section-pad {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .hero.grid-2 {
        padding-top: 36px;
        padding-bottom: 40px;
    }

    .hero-visual {
        min-height: clamp(320px, 90vw, 420px);
    }

    .hero-tagline-sub {
        line-height: 1.7;
    }

    .bento-card,
    .limitation-box,
    .pafis-body {
        padding: 22px;
    }

    .portal-form-side form {
        padding: 24px 16px;
        border-radius: 10px;
    }

    .portal-help-box {
        padding: 18px;
    }

    .logo img {
        width: min(190px, 54vw);
    }

    .legal-content h1 {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .site-header .btn-secondary {
        padding: 0.55rem 0.75rem !important;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .text-6xl {
        font-size: clamp(4rem, 20vw, 6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.confirmation-container {
    max-width: 600px;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .confirmation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .legal-header-inner {
        height: auto;
        min-height: 80px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .legal-header-inner {
        gap: 10px;
    }

    .legal-header-inner .logo img {
        width: min(170px, 50vw);
    }
}

/* Official SkyTech logo */

.site-header .logo img {
    width: 190px !important;
    height: auto !important;
    max-height: 72px;
    object-fit: contain;
}

.site-header .header-inner {
    min-height: 92px;
    height: auto;
}

.footer-logo {
    display: block;
    width: 230px !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain;
    background-color: #FFFFFF;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .site-header .logo img {
        width: 160px !important;
        height: auto !important;
        max-height: 64px;
    }

    .site-header .header-inner {
        min-height: 82px;
    }

    .footer-logo {
        width: 210px !important;
        margin-left: auto;
        margin-right: auto;
    }
}