/* =========================================================
   FART REGISTRY
   Global Personal Gaseous Emission Authority
   Official Government Interface
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f5f6;

    color: #1b1f23;

    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
    font: inherit;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --navy: #102a43;
    --navy-dark: #081c2c;
    --navy-light: #173f5f;

    --blue: #005ea5;
    --blue-hover: #003d70;

    --white: #ffffff;

    --background: #f4f5f6;
    --panel: #ffffff;

    --text: #1b1f23;
    --text-secondary: #505a63;
    --text-muted: #6f777b;

    --border: #b1b4b6;
    --border-light: #d8dde0;

    --green: #00703c;
    --green-light: #e9f5ef;

    --yellow: #ffdd00;
    --yellow-light: #fff7bf;

    --red: #d4351c;
    --red-light: #f6e7e4;

    --max-width: 1280px;
}


/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.section-container,
.nav-container,
.footer-container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}

.site-main {
    min-height: 70vh;
}


/* =========================================================
   GOVERNMENT TOP STRIPE
   ========================================================= */

body::before {
    content: "";

    display: block;

    height: 5px;

    background: var(--blue);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--navy-dark);

    color: #ffffff;

    border-bottom: 5px solid var(--blue);
}

.nav-container {
    min-height: 96px;

    display: flex;
    align-items: center;

    gap: 38px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    font-size: 1.06rem;
    font-weight: 700;

    letter-spacing: 0.04em;

    color: #ffffff;
}

.site-logo::before {
    content: "GFR";

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-right: 14px;

    border: 2px solid #ffffff;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 6px;

    flex-wrap: wrap;
}

.main-nav a {
    display: block;

    padding: 13px 12px;

    font-size: 0.75rem;
    font-weight: 700;

    color: #ffffff;

    letter-spacing: 0.015em;

    border-bottom: 3px solid transparent;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.08);

    border-bottom-color: var(--yellow);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: #ffffff;

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

    position: relative;
}

.hero-content {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;

    padding:
        72px 0 76px;
}

.system-label {
    display: inline-block;

    margin-bottom: 25px;

    padding: 7px 11px;

    background: var(--navy);

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.07em;
}

.hero h1 {
    max-width: 950px;

    font-size: clamp(
        3.2rem,
        6vw,
        6.5rem
    );

    line-height: 0.95;

    letter-spacing: -0.045em;

    color: var(--navy-dark);

    font-weight: 700;

    text-transform: uppercase;
}

.hero-lead {
    max-width: 760px;

    margin-top: 28px;

    font-size: clamp(
        1.2rem,
        1.8vw,
        1.55rem
    );

    color: var(--text-secondary);

    line-height: 1.55;
}

.hero-reference {
    margin-top: 20px;

    padding-left: 14px;

    border-left: 4px solid var(--border);

    color: var(--text-muted);

    font-size: 0.82rem;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}

.hero-actions {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 38px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 24px;

    font-size: 0.82rem;

    font-weight: 700;

    border: 2px solid transparent;

    transition:
        background 0.15s ease,
        color 0.15s ease,
        border 0.15s ease;
}

.button-primary {
    background: var(--green);

    color: #ffffff;

    border-color: var(--green);
}

.button-primary:hover {
    background: #005a30;

    border-color: #005a30;
}

.button-secondary {
    background: #ffffff;

    color: var(--blue);

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

.button-secondary:hover {
    background: #eef5fa;

    color: var(--blue-hover);

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


/* =========================================================
   REGISTRY STATUS
   ========================================================= */

.registry-status {
    background: var(--green-light);

    border-bottom: 1px solid #9cc9b3;
}

.status-box {
    min-height: 82px;

    display: flex;

    align-items: center;

    gap: 16px;
}

.status-indicator {
    position: relative;

    width: 16px;
    height: 16px;

    background: var(--green);

    border-radius: 50%;

    flex-shrink: 0;
}

.status-box strong {
    display: block;

    font-size: 0.83rem;

    color: #084c31;

    letter-spacing: 0.025em;
}

.status-box p {
    margin-top: 2px;

    color: #345a49;

    font-size: 0.88rem;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.intro-section,
.notice-section,
.warning-preview {
    padding: 82px 0;
}

.intro-section {
    background: var(--background);

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

.section-heading {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 24px;

    margin-bottom: 45px;
}

.section-number {
    font-size: 0.8rem;

    font-weight: 700;

    color: var(--text-muted);

    padding-top: 5px;
}

.section-label {
    display: block;

    margin-bottom: 9px;

    color: var(--blue);

    font-size: 0.72rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.section-heading h2,
.warning-content h2,
.official-notice h2 {
    color: var(--navy-dark);

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

    line-height: 1.05;

    letter-spacing: -0.03em;

    font-weight: 700;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.intro-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.intro-grid article {
    background: #ffffff;

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

    border-top: 5px solid var(--navy);

    min-height: 255px;

    padding: 28px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.intro-grid article:hover {
    border-color: var(--blue);

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);
}

.intro-grid h3 {
    color: var(--navy);

    margin-bottom: 16px;

    font-size: 1.12rem;

    font-weight: 700;
}

.intro-grid p {
    color: var(--text-secondary);

    font-size: 0.94rem;

    line-height: 1.65;
}


/* =========================================================
   OFFICIAL NOTICE
   ========================================================= */

.notice-section {
    background: #ffffff;

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

.official-notice {
    max-width: 1050px;

    padding: 36px 40px;

    background: var(--yellow-light);

    border: 1px solid #d6bd00;

    border-left: 8px solid var(--yellow);
}

.notice-code {
    display: inline-block;

    margin-bottom: 18px;

    color: #594d00;

    font-size: 0.76rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.official-notice h2 {
    font-size: clamp(
        1.8rem,
        3vw,
        3.2rem
    );

    max-width: 850px;
}

.official-notice p {
    margin-top: 22px;

    max-width: 850px;

    color: #4d4a36;

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   WARNING / ARCHIVED COMMUNICATION
   ========================================================= */

.warning-preview {
    background: #e8edf1;

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

.warning-content {
    max-width: 850px;

    padding-left: 30px;

    border-left: 6px solid var(--navy);
}

.warning-content p {
    margin-top: 18px;

    max-width: 720px;

    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.65;
}

.text-link {
    display: inline-block;

    margin-top: 28px;

    color: var(--blue);

    font-size: 0.9rem;

    font-weight: 700;

    text-decoration: underline;

    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--blue-hover);

    text-decoration-thickness: 2px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--navy-dark);

    color: #ffffff;

    border-top: 7px solid var(--blue);
}

.footer-container {
    padding:
        50px 0 42px;
}

.footer-brand {
    font-size: 1.1rem;

    font-weight: 700;

    letter-spacing: 0.04em;
}

.footer-meta {
    display: flex;

    gap: 22px;

    flex-wrap: wrap;

    margin-top: 15px;

    color: #c4cbd0;

    font-size: 0.75rem;
}

.footer-meta span + span::before {
    content: "•";

    margin-right: 22px;

    color: #ffffff;
}

.footer-disclaimer {
    max-width: 880px;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.2);

    color: #b9c1c6;

    font-size: 0.72rem;

    font-weight: 700;

    line-height: 1.6;

    text-transform: uppercase;

    letter-spacing: 0.035em;
}

.footer-copyright {
    margin-top: 14px;

    color: #8f9aa1;

    font-size: 0.75rem;
}


/* =========================================================
   FORM ELEMENTS - FOR FUTURE PAGES
   ========================================================= */

input,
select,
textarea {
    width: 100%;

    padding: 11px 12px;

    background: #ffffff;

    color: var(--text);

    border: 2px solid #505a5f;

    border-radius: 0;
}

input:not([type="radio"]):not([type="checkbox"]):focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--yellow);

    outline-offset: 0;

    border-color: #0b0c0c;
}

label {
    display: block;

    margin-bottom: 7px;

    font-weight: 700;

    color: var(--text);
}


/* =========================================================
   TABLES
   ========================================================= */

table {
    width: 100%;

    border-collapse: collapse;

    background: #ffffff;
}

th,
td {
    padding: 14px;

    text-align: left;

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

th {
    background: #e8edf1;

    color: var(--navy-dark);

    font-size: 0.82rem;

    font-weight: 700;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus,
button:focus {
    outline: 3px solid var(--yellow);

    outline-offset: 3px;
}

::selection {
    background: var(--yellow);

    color: #000000;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .nav-container {
        flex-direction: column;

        align-items: flex-start;

        padding: 20px 0;

        gap: 14px;
    }

    .main-nav {
        justify-content: flex-start;

        width: 100%;
    }

    .intro-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    .section-container,
    .nav-container,
    .footer-container,
    .hero-content {
        width: calc(100% - 32px);
    }

    .hero-content {
        padding:
            54px 0;
    }

    .hero h1 {
        font-size:
            clamp(
                2.9rem,
                14vw,
                5rem
            );
    }

    .main-nav {
        display: grid;

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

        gap: 0;
    }

    .main-nav a {
        border-top:
            1px solid rgba(255,255,255,0.14);

        border-bottom: 0;

        padding:
            11px 8px;
    }

    .section-heading {
        grid-template-columns:
            1fr;

        gap: 8px;
    }

    .intro-section,
    .notice-section,
    .warning-preview {
        padding:
            60px 0;
    }

    .official-notice {
        padding:
            28px 25px;
    }
}


@media (max-width: 520px) {

    .intro-grid {
        grid-template-columns:
            1fr;
    }

    .intro-grid article {
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .main-nav {
        grid-template-columns:
            1fr;
    }

    .warning-content {
        padding-left: 20px;
    }

    .footer-meta {
        flex-direction: column;

        gap: 5px;
    }

    .footer-meta span + span::before {
        display: none;
    }
}
/* =========================================================
   INTERNAL PAGES
   ========================================================= */

.page-header {
    padding: 48px 0 55px;

    background: #ffffff;

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

.breadcrumb {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 32px;

    color: var(--text-secondary);

    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--blue);

    text-decoration: underline;

    text-underline-offset: 3px;
}

.breadcrumb a:hover {
    color: var(--blue-hover);
}

.page-reference {
    display: inline-block;

    margin-bottom: 14px;

    padding: 6px 9px;

    background: var(--navy);

    color: #ffffff;

    font-size: 0.69rem;
    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.page-header h1 {
    max-width: 950px;

    color: var(--navy-dark);

    font-size: clamp(
        2.8rem,
        5vw,
        5.2rem
    );

    line-height: 1;

    letter-spacing: -0.04em;
}

.page-intro {
    max-width: 820px;

    margin-top: 24px;

    color: var(--text-secondary);

    font-size: 1.2rem;

    line-height: 1.65;
}


/* =========================================================
   CONTENT LAYOUT
   ========================================================= */

.content-section {
    padding: 65px 0 90px;

    background: var(--background);
}

.content-layout {
    display: grid;

    grid-template-columns:
        230px minmax(0, 850px);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.content-sidebar {
    position: sticky;

    top: 25px;

    border-left: 4px solid var(--border);

    padding-left: 18px;
}

.sidebar-title {
    margin-bottom: 13px;

    color: var(--text);

    font-size: 0.82rem;
    font-weight: 700;
}

.content-sidebar a {
    display: block;

    padding: 7px 0;

    color: var(--blue);

    font-size: 0.84rem;

    line-height: 1.35;
}

.content-sidebar a:hover {
    color: var(--blue-hover);

    text-decoration: underline;
}


/* =========================================================
   MAIN REGULATORY CONTENT
   ========================================================= */

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

.gov-summary-box {
    margin-bottom: 55px;

    padding: 30px 34px;

    background: #ffffff;

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

    border-top: 6px solid var(--blue);
}

.gov-summary-box h2 {
    margin-bottom: 15px;

    color: var(--navy-dark);

    font-size: 1.45rem;
}

.gov-summary-box p {
    max-width: 720px;

    margin-top: 11px;

    color: var(--text-secondary);

    line-height: 1.7;
}

.regulation-block {
    padding: 0 0 55px;

    margin-bottom: 55px;

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

.regulation-number {
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.regulation-block h2 {
    margin-bottom: 22px;

    color: var(--navy-dark);

    font-size: clamp(
        1.8rem,
        3vw,
        2.65rem
    );

    line-height: 1.1;

    letter-spacing: -0.025em;
}

.regulation-block > p {
    max-width: 770px;

    margin: 0 0 18px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.75;
}


/* =========================================================
   OFFICIAL LISTS
   ========================================================= */

.official-list {
    max-width: 730px;

    margin: 22px 0 27px 23px;
}

.official-list li {
    margin-bottom: 11px;

    padding-left: 7px;

    color: var(--text-secondary);

    line-height: 1.6;
}

.official-list li::marker {
    color: var(--navy);

    font-weight: 700;
}


/* =========================================================
   INFO / WARNING BOXES
   ========================================================= */

.info-box,
.warning-box,
.example-box {
    max-width: 760px;

    margin-top: 28px;

    padding: 22px 25px;

    background: #ffffff;

    border-left: 6px solid var(--blue);
}

.info-box strong,
.warning-box strong {
    display: block;

    margin-bottom: 6px;

    color: var(--navy-dark);
}

.info-box p,
.warning-box p,
.example-box p {
    color: var(--text-secondary);

    line-height: 1.65;
}

.warning-box {
    background: var(--yellow-light);

    border-left-color: var(--yellow);
}

.example-box {
    background: #e8edf1;

    border-left-color: var(--navy);
}

.example-label {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.example-box p + p {
    margin-top: 14px;
}


/* =========================================================
   DEADLINE TABLE
   ========================================================= */

.deadline-table {
    max-width: 760px;

    margin-top: 30px;

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

    background: #ffffff;
}

.deadline-row {
    display: grid;

    grid-template-columns:
        1fr 170px;

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

.deadline-row:last-child {
    border-bottom: 0;
}

.deadline-row span,
.deadline-row strong {
    padding: 13px 15px;
}

.deadline-row strong {
    border-left: 1px solid var(--border-light);

    color: var(--navy-dark);
}

.deadline-head {
    background: var(--navy);

    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 700;
}

.deadline-head span:last-child {
    border-left: 1px solid rgba(255,255,255,0.2);
}


/* =========================================================
   EMISSION CLASSES
   ========================================================= */

.classification-grid {
    display: grid;

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

    gap: 14px;

    margin-top: 30px;
}

.classification-grid article {
    padding: 23px;

    background: #ffffff;

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

.class-code {
    display: inline-block;

    margin-bottom: 13px;

    padding: 5px 8px;

    background: var(--green);

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;
}

.class-danger {
    background: var(--red);
}

.classification-grid h3 {
    margin-bottom: 8px;

    color: var(--navy-dark);
}

.classification-grid p {
    color: var(--text-secondary);

    font-size: 0.91rem;

    line-height: 1.6;
}


/* =========================================================
   NEXT PAGE
   ========================================================= */

.next-step-box {
    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 22px;

    padding: 30px;

    background: var(--navy-dark);

    color: #ffffff;
}

.next-step-box > span {
    padding-top: 4px;

    color: #aebbc4;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.next-step-box h2 {
    margin-bottom: 8px;

    font-size: 1.45rem;
}

.next-step-box p {
    max-width: 620px;

    color: #c3cdd3;

    line-height: 1.6;
}

.next-step-box a {
    display: inline-block;

    margin-top: 17px;

    color: #ffffff;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-color: var(--yellow);

    text-decoration-thickness: 3px;

    text-underline-offset: 5px;
}


/* =========================================================
   INTERNAL PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .content-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .content-sidebar {
        position: static;

        display: grid;

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

        gap: 3px 20px;
    }

    .sidebar-title {
        grid-column: 1 / -1;
    }

}

@media (max-width: 560px) {

    .page-header {
        padding: 38px 0 44px;
    }

    .page-intro {
        font-size: 1.05rem;
    }

    .content-section {
        padding: 45px 0 65px;
    }

    .content-sidebar {
        grid-template-columns: 1fr;
    }

    .classification-grid {
        grid-template-columns: 1fr;
    }

    .deadline-row {
        grid-template-columns:
            1fr 110px;
    }

    .deadline-row span,
    .deadline-row strong {
        padding: 11px;
    }

    .next-step-box {
        grid-template-columns: 1fr;

        gap: 7px;
    }

}


/* =========================================================
   TEMPORAL PURSUIT DEPARTMENT NOTICE
   ========================================================= */

.pursuit-notice {
    padding: 32px 0 10px;
    background: #eef1f3;
}

.pursuit-notice-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 30px 34px;
    background: #ffffff;
    border: 1px solid #b1b4b6;
    border-left: 7px solid var(--red);
    box-shadow: 0 3px 10px rgba(11, 12, 12, 0.08);
}

.pursuit-notice-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 9px;
    color: #ffffff;
    background: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pursuit-notice-reference {
    margin-bottom: 10px;
    color: #505a5f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pursuit-notice h2 {
    margin: 0 0 16px;
    color: var(--navy-dark);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.pursuit-notice p {
    max-width: 850px;
    margin: 0 0 12px;
    color: #354550;
    line-height: 1.65;
}

.pursuit-notice-source {
    margin-top: 18px;
    color: #6f777b;
    font-size: 0.73rem;
    letter-spacing: 0.05em;
}

.pursuit-notice-action {
    min-width: 265px;
    align-self: center;
}

.pursuit-notice-button {
    display: flex;
    width: 100%;
    min-height: 54px;
    padding-inline: 22px;
    color: #ffffff;
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    text-align: center;
}

.pursuit-notice-button:hover,
.pursuit-notice-button:focus {
    color: #ffffff;
    background: var(--red);
    border-color: var(--red);
}

.footer-related-system {
    margin: 18px 0;
    color: #b7c9d6;
    font-size: 0.82rem;
}

.footer-related-system a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 760px) {
    .pursuit-notice {
        padding-top: 22px;
    }

    .pursuit-notice-panel {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }

    .pursuit-notice-action {
        min-width: 0;
    }
}
/* =========================================================
   PENALTIES PAGE
   ========================================================= */

.penalty-table {
    margin-top: 30px;

    background: #ffffff;

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

    overflow: hidden;
}

.penalty-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        150px
        90px;

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

.penalty-row:last-child {
    border-bottom: 0;
}

.penalty-row > span,
.penalty-row > strong {
    padding: 14px 16px;

    display: flex;
    align-items: center;
}

.penalty-row > strong {
    border-left: 1px solid var(--border-light);

    color: var(--navy-dark);
}

.penalty-head {
    background: var(--navy-dark);

    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 700;
}

.penalty-head span + span {
    border-left: 1px solid rgba(255,255,255,0.18);
}

.points-grid {
    display: grid;

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

    gap: 14px;

    margin-top: 30px;
}

.points-grid article {
    padding: 24px;

    background: #ffffff;

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

.points-value {
    display: inline-block;

    min-width: 60px;

    margin-bottom: 13px;

    padding: 5px 9px;

    background: var(--navy);

    color: #ffffff;

    font-size: 0.76rem;
    font-weight: 700;

    text-align: center;
}

.points-danger {
    background: var(--red);
}

.points-grid h3 {
    margin-bottom: 7px;

    color: var(--navy-dark);
}

.points-grid p {
    color: var(--text-secondary);

    font-size: 0.91rem;

    line-height: 1.6;
}

@media (max-width: 620px) {

    .penalty-row {
        grid-template-columns:
            1fr 100px 65px;
    }

    .penalty-row > span,
    .penalty-row > strong {
        padding: 11px 8px;

        font-size: 0.82rem;
    }

    .points-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-menu-toggle {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .site-header {
        position: relative;
    }

    .nav-container {
        position: relative;

        min-height: 72px;

        padding: 10px 0;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        gap: 15px;
    }

    .site-logo {
        font-size: 0.92rem;
    }

    .site-logo::before {
        width: 40px;
        height: 40px;

        margin-right: 10px;

        font-size: 0.68rem;
    }


    /* HAMBURGER */

    .mobile-menu-toggle {
        width: 46px;
        height: 46px;

        flex-shrink: 0;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 5px;

        padding: 0;

        background: transparent;

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

        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 22px;
        height: 2px;

        background: #ffffff;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }


    /* HAMBURGER -> X */

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* MENU CLOSED */

    .main-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: var(--navy-dark);

        border-top:
            1px solid rgba(255,255,255,0.15);

        border-bottom:
            5px solid var(--blue);

        box-shadow:
            0 8px 18px rgba(0,0,0,0.22);

        z-index: 1000;
    }


    /* MENU OPEN */

    .main-nav.mobile-menu-open {
        display: block;
    }


    /* LINKS */

    .main-nav a {
        display: block;

        width: 100%;

        padding: 12px 16px;

        border-top: 0;

        border-bottom:
            1px solid rgba(255,255,255,0.12);

        font-size: 0.78rem;

        line-height: 1.25;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a:hover {
        background:
            rgba(255,255,255,0.08);

        border-bottom-color:
            rgba(255,255,255,0.12);
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .site-logo {
        font-size: 0.82rem;
    }

    .site-logo::before {
        width: 36px;
        height: 36px;

        margin-right: 8px;

        font-size: 0.62rem;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   DAILY EMISSION ALERT SYSTEM
   ========================================================= */

.daily-alert-global {
    padding: 30px 0 34px;
    background: #ffffff;
    border-bottom: 6px solid var(--green);
}

.daily-alert-global.global-yellow { border-bottom-color: var(--yellow); }
.daily-alert-global.global-amber { border-bottom-color: #f47738; }
.daily-alert-global.global-red { border-bottom-color: var(--red); }
.daily-alert-global.global-critical { border-bottom-color: #0b0c0c; }

.daily-global-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
}

.daily-small-label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.daily-global-top strong {
    color: var(--navy-dark);
    font-size: 2.2rem;
    line-height: 1;
}

.global-green .daily-global-top strong { color: var(--green); }
.global-yellow .daily-global-top strong { color: #756400; }
.global-amber .daily-global-top strong { color: #b64b17; }
.global-red .daily-global-top strong { color: var(--red); }
.global-critical .daily-global-top strong { color: #0b0c0c; }

.daily-global-date {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: right;
}

.daily-global-date span {
    color: var(--text-muted);
}

.daily-global-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 27px;
    border: 1px solid var(--border);
    background: #f4f5f6;
}

.daily-global-stats > div {
    min-width: 0;
    padding: 18px 20px;
    border-right: 1px solid var(--border);
}

.daily-global-stats > div:last-child {
    border-right: 0;
}

.daily-global-stats span {
    display: block;
    min-height: 34px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.daily-global-stats strong {
    display: block;
    margin-top: 7px;
    color: var(--navy-dark);
    font-size: 1.3rem;
}

.daily-global-message {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.daily-alerts-section {
    padding: 65px 0 90px;
    background: var(--background);
}

.daily-alerts-heading {
    max-width: 820px;
    margin-bottom: 35px;
}

.daily-alerts-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.daily-alerts-heading h2 {
    color: var(--navy-dark);
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.daily-alerts-heading p {
    margin-top: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.daily-alert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.daily-alert-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 8px solid var(--green);
}

.daily-alert-card.level-yellow { border-top-color: var(--yellow); }
.daily-alert-card.level-amber { border-top-color: #f47738; }
.daily-alert-card.level-red { border-top-color: var(--red); }
.daily-alert-card.level-critical { border-top-color: #0b0c0c; }

.daily-alert-card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 26px 22px;
}

.daily-alert-level {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.065em;
}

.level-yellow .daily-alert-level { color: #756400; }
.level-amber .daily-alert-level { color: #b64b17; }
.level-red .daily-alert-level { color: var(--red); }
.level-critical .daily-alert-level { color: #0b0c0c; }

.daily-alert-card h2 {
    color: var(--navy-dark);
    font-size: clamp(1.6rem, 2.7vw, 2.35rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.daily-country {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.daily-index {
    min-width: 82px;
    text-align: right;
}

.daily-index span {
    display: block;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.daily-index strong {
    display: block;
    margin-top: 2px;
    color: var(--navy-dark);
    font-size: 2.2rem;
    line-height: 1;
}

.daily-alert-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: #f4f5f6;
}

.daily-alert-metrics > div {
    padding: 14px 20px;
}

.daily-alert-metrics > div + div {
    border-left: 1px solid var(--border-light);
}

.daily-alert-metrics span {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.daily-alert-metrics strong {
    display: block;
    margin-top: 4px;
    color: var(--navy-dark);
    font-size: 1.05rem;
}

.daily-alert-copy {
    padding: 23px 26px 25px;
}

.daily-copy-label {
    display: block;
    margin: 18px 0 6px;
    color: var(--navy);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.daily-copy-label:first-child {
    margin-top: 0;
}

.daily-alert-copy p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.daily-alert-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 26px;
    background: var(--navy-dark);
    color: #c4cbd0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.daily-alert-note {
    max-width: 850px;
    margin-top: 45px;
    padding: 24px 27px;
    background: #ffffff;
    border-left: 6px solid var(--blue);
}

.daily-alert-note strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-dark);
}

.daily-alert-note p {
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 850px) {
    .daily-global-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .daily-global-stats > div:nth-child(2) {
        border-right: 0;
    }

    .daily-global-stats > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .daily-alert-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .daily-global-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .daily-global-date {
        text-align: left;
    }

    .daily-global-stats {
        grid-template-columns: 1fr;
    }

    .daily-global-stats > div,
    .daily-global-stats > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .daily-global-stats > div:last-child {
        border-bottom: 0;
    }

    .daily-alert-card-head {
        padding: 21px 20px 19px;
    }

    .daily-alert-metrics {
        grid-template-columns: 1fr;
    }

    .daily-alert-metrics > div + div {
        border-left: 0;
        border-top: 1px solid var(--border-light);
    }

    .daily-alert-copy {
        padding: 20px;
    }

    .daily-alert-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 20px;
    }
}

/* =========================================================
   REGISTRATION FORM
   ========================================================= */

.registry-form {
    max-width: 100%;
}

.registry-form .form-group {
    max-width: 760px;
    margin-top: 28px;
}

.registry-form .form-row {
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.registry-form .form-row .form-group {
    margin-top: 0;
}

.registry-form .form-hint {
    display: block;
    margin: -2px 0 9px;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.5;
}

.registry-form input[type="radio"],
.registry-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    padding: 0;
    margin: 0;
    border: 0;
    flex: 0 0 18px;
    accent-color: var(--blue);
}

.registry-form input[type="radio"]:focus,
.registry-form input[type="checkbox"]:focus {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.registry-form .form-fieldset {
    max-width: 760px;
    margin: 28px 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.registry-form .form-fieldset legend {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    padding: 0;
    color: var(--text);
    font-weight: 700;
    line-height: 1.45;
}

.registry-form .radio-line {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 5px;
    padding: 4px 0;
    color: var(--text);
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
}

.registry-form .radio-line input[type="radio"],
.registry-form .radio-line input[type="checkbox"] {
    margin: 0;
}

/* Emission classification */

.registry-form .classification-grid {
    max-width: 760px;
}

.registry-form .classification-option {
    display: grid;
    grid-template-columns: 20px auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 7px;
    align-items: start;

    margin: 0;
    padding: 18px;

    background: #ffffff;
    border: 1px solid var(--border-light);

    color: var(--text);
    cursor: pointer;
}

.registry-form .classification-option:hover {
    border-color: var(--blue);
}

.registry-form .classification-option input[type="radio"] {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 5px;
}

.registry-form .classification-option .class-code {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
}

.registry-form .classification-option strong {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    line-height: 1.35;
}

.registry-form .classification-option > span:not(.class-code) {
    grid-column: 2 / -1;
    grid-row: 2;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
}

/* Final declaration checkboxes */

.registry-form .declaration-box {
    max-width: 760px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;
    align-items: start;

    margin: 16px 0 0;
    padding: 17px 18px;

    background: #ffffff;
    border: 1px solid var(--border-light);

    cursor: pointer;
}

.registry-form .declaration-box input[type="checkbox"] {
    margin-top: 3px;
}

.registry-form .declaration-box span {
    min-width: 0;
    font-weight: 400;
    line-height: 1.55;
}

@media (max-width: 560px) {

    .registry-form .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .registry-form .form-fieldset,
    .registry-form .form-group,
    .registry-form .form-row,
    .registry-form .classification-grid,
    .registry-form .declaration-box {
        max-width: 100%;
    }

    .registry-form .classification-grid {
        grid-template-columns: 1fr;
    }
}
.language-selector {
    align-items: center;
    display: flex;
    gap: 7px;
    margin-left: auto;
    padding: 7px 10px;
}

.language-selector label {
    color: #425563;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.language-selector select {
    background: #fff;
    border: 1px solid #8596a5;
    color: #102a43;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 8px;
}

@media (max-width: 760px) {
    .language-selector {
        box-sizing: border-box;
        margin-left: 0;
        padding: 12px 16px;
        width: 100%;
    }

    .language-selector select {
        flex: 1;
    }
}
