:root {
  --font-family: "Lato", sans-serif;
  --font-size-base: 18px;
  --line-height-base: 1.39;

  --max-w: 1420px;
  --space-x: 1.16rem;
  --space-y: 1.5rem;
  --gap: 2.14rem;

  --radius-xl: 1.17rem;
  --radius-lg: 0.87rem;
  --radius-md: 0.67rem;
  --radius-sm: 0.32rem;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.18);
  --shadow-md: 0 8px 26px rgba(0,0,0,0.23);
  --shadow-lg: 0 22px 58px rgba(0,0,0,0.29);

  --overlay: rgba(0, 0, 0, 0.5);
  --anim-duration: 160ms;
  --anim-ease: cubic-bezier(0.2,0.8,0.2,1);
  --random-number: 2;

  --brand: #1B4332;
  --brand-contrast: #FFFFFF;
  --accent: #40916C;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F8F9FA;
  --neutral-300: #DEE2E6;
  --neutral-600: #6C757D;
  --neutral-800: #343A40;
  --neutral-900: #212529;

  --bg-page: #FFFFFF;
  --fg-on-page: #212529;

  --bg-alt: #F8F9FA;
  --fg-on-alt: #343A40;

  --surface-1: #FFFFFF;
  --surface-2: #F8F9FA;
  --fg-on-surface: #212529;
  --border-on-surface: #DEE2E6;

  --surface-light: #F8F9FA;
  --fg-on-surface-light: #495057;
  --border-on-surface-light: #E9ECEF;

  --bg-primary: #1B4332;
  --fg-on-primary: #FFFFFF;
  --bg-primary-hover: #2D6A4F;
  --ring: #40916C;

  --bg-accent: #D8F3DC;
  --fg-on-accent: #1B4332;
  --bg-accent-hover: #2D6A4F;

  --link: #1B4332;
  --link-hover: #2D6A4F;

  --gradient-hero: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
  --gradient-accent: linear-gradient(90deg, #40916C 0%, #52B788 100%);

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: rgba(255,255,255,0.06);
  --chip-bg: rgba(255,255,255,0.68);
  --input-placeholder: rgba(255,255,255,0.55);
}
body{margin:0;padding:0;font-family:var(--font-family);box-sizing: border-box;}
*{box-sizing:border-box;}

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.intro-flag-c11 {
        padding: clamp(3.8rem, 8vw, 6.8rem) var(--space-x);
        background: linear-gradient(160deg, var(--bg-primary), var(--bg-primary-hover));
        color: var(--fg-on-primary);
    }

    .intro-flag-c11__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 1rem;
    }

    .intro-flag-c11__left, .intro-flag-c11__right {
        padding: 1.1rem;
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .intro-flag-c11__tag {
        display: inline-flex;
        padding: .4rem .75rem;
        border-radius: 999px;
        background: var(--chip-bg);
    }

    .intro-flag-c11__left h1 {
        margin: .8rem 0 0;
        font-size: clamp(2.5rem, 5vw, 4.6rem);
        line-height: 1;
    }

    .intro-flag-c11__left p {
        margin: .9rem 0 0;

    }

    .intro-flag-c11__right {
        display: grid;
        align-content: center;
        gap: .65rem;
    }

    .intro-flag-c11__right div {
        font-size: clamp(2.8rem, 5vw, 4rem);
        font-weight: 700;
    }

    .intro-flag-c11__right span {
        color: rgba(255, 255, 255, .82);
    }

    @media (max-width: 860px) {
        .intro-flag-c11__wrap {
            grid-template-columns: 1fr;
        }
    }

.next-strip-l2 {
        padding: clamp(3rem, 7vw, 5.6rem) var(--space-x);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .next-strip-l2__wrap {
        max-width: var(--max-w);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        align-items: end;
        flex-wrap: wrap;
    }

    .next-strip-l2__wrap p {
        margin: 0;
        color: var(--neutral-600);
    }

    .next-strip-l2__wrap h2 {
        margin: .5rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .next-strip-l2__wrap a {
        display: inline-flex;
        min-height: 2.8rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        text-decoration: none;
    }

    .next-strip-l2__actions {
        max-width: var(--max-w);
        margin: 1rem auto 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        gap: .75rem;
    }

    .next-strip-l2__actions a {
        display: block;
        padding: .95rem;
        border-radius: var(--radius-lg);
        background: var(--bg-alt);
        border: 1px solid var(--border-on-surface-light);
        text-decoration: none;
        color: var(--fg-on-page);
    }

    .next-strip-l2__actions span {
        display: block;
        margin-top: .35rem;
        color: var(--neutral-600);
    }

    /* macro-bg:next-strip-l2__wrap */
    .next-strip-l2 {
        overflow: hidden;
    }

    .next-strip-l2__wrap {
        background-image: linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)), url('https://images.pexels.com/photos/4482900/pexels-photo-4482900.jpeg?auto=compress&cs=tinysrgb&w=800');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: var(--radius-xl);
        overflow: hidden;
    }

.faq-layout-c {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--bg-accent), var(--surface-1));
        color: var(--fg-on-page);
    }

    .faq-layout-c .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .faq-layout-c .section-head {
        margin-bottom: 16px;
    }

    .faq-layout-c h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .faq-layout-c .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-700, var(--neutral-600));
    }

    .faq-layout-c .faq-list {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 12px;
        counter-reset: faq;
    }

    .faq-layout-c .row {
        background: var(--surface-1);
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .faq-layout-c .q {
        width: 100%;
        border: 0;
        background: transparent;
        text-align: left;
        padding: 12px;
        font: inherit;
        cursor: pointer;
    }

    .faq-layout-c .q span {
        display: inline-block;
        min-width: 50px;
        color: var(--brand);
        font-weight: 700;
    }

    .faq-layout-c .a {
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--anim-duration) var(--anim-ease);
    }

    .faq-layout-c .a p {
        margin: 0;
        padding: 0 12px 12px;
        color: var(--neutral-600);
    }

    .faq-layout-c .row.open .a {
        max-height: 240px;
    }

.why-choose-light {

        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 40px);
    }

    .why-choose-light .why-choose-light__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .why-choose-light .why-choose-light__h {
        text-align: center;
        margin-bottom: clamp(32px, 5vw, 64px);

        transform: translateY(20px);
    }

    .why-choose-light h2 {
        font-size: clamp(32px, 5vw, 48px);
        margin: 0 0 1rem;
        color: var(--fg-on-page);
    }

    .why-choose-light .why-choose-light__subtitle {
        font-size: clamp(16px, 2vw, 20px);
        margin: 0;
        color: var(--neutral-600);
    }

    .why-choose-light .why-choose-light__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--gap);
    }

    .why-choose-light .why-choose-light__item {
        background: var(--surface-1);
        padding: clamp(20px, 3vw, 32px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface);
        box-shadow: var(--shadow-sm);
        transition: box-shadow var(--anim-duration) var(--anim-ease);

        transform: translateY(30px);
    }

    .why-choose-light .why-choose-light__item:hover {
        box-shadow: var(--shadow-md);
    }

    .why-choose-light .why-choose-light__icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        font-size: 24px;
    }

    .why-choose-light .why-choose-light__item h3 {
        font-size: clamp(18px, 2.2vw, 22px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-surface);
    }

    .why-choose-light .why-choose-light__item p {
        margin: 0;
        color: var(--neutral-600);
        line-height: var(--line-height-base);
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.profile {

        color: var(--fg-on-primary);
        background: var(--gradient-hero);
        padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px);
    }

    .profile .profile__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .profile .profile__h {
        text-align: center;
        margin-bottom: clamp(40px, 6vw, 64px);
    }

    .profile h1 {
        font-size: clamp(32px, 6vw, 56px);
        margin: 0 0 0.75rem;
        color: var(--fg-on-primary);
        font-weight: 700;
    }

    .profile .profile__h p {
        font-size: clamp(16px, 2.4vw, 20px);
        opacity: 0.9;
        margin: 0;
    }

    .profile .profile__layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: clamp(32px, 5vw, 48px);
        align-items: start;
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .profile .profile__layout > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    @media (max-width: 1023px) {
        .profile .profile__layout {
            grid-template-columns: 1fr;
        }
    }

    .profile .profile__sidebar {
        position: sticky;
        top: 20px;
    }

    .profile .profile__avatar-card {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-xl);
        padding: clamp(24px, 3.5vw, 32px);
        text-align: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .profile .profile__avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: var(--fg-on-primary);
        color: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0 auto clamp(20px, 3vw, 24px);
        border: 4px solid rgba(255, 255, 255, 0.3);
    }

    .profile .profile__avatar-card h3 {
        margin: 0 0 0.5rem;
        font-size: clamp(20px, 2.8vw, 24px);
        color: var(--fg-on-primary);
        font-weight: 700;
    }

    .profile .profile__role {
        margin: 0 0 clamp(20px, 3vw, 24px);

        font-size: 0.9rem;
    }

    .profile .profile__change-photo {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.2);
        color: var(--fg-on-primary);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        font-weight: 600;
        font-size: 0.875rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .profile .profile__change-photo input {
        display: none;
    }

    .profile .profile__change-photo:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .profile .profile__main {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-xl);
        padding: clamp(32px, 4vw, 48px);
    }

    .profile .profile__form {
        display: flex;
        flex-direction: column;
        gap: clamp(32px, 4vw, 40px);
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .profile .profile__form > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .profile .profile__section {
        padding-bottom: clamp(24px, 4vw, 32px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .profile .profile__section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .profile .profile__section h3 {
        margin: 0 0 clamp(20px, 3vw, 24px);
        font-size: clamp(20px, 2.8vw, 24px);
        color: var(--fg-on-primary);
        font-weight: 700;
    }

    .profile .profile__form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(20px, 3vw, 28px);
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .profile .profile__form-row > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    @media (max-width: 767px) {
        .profile .profile__form-row {
            grid-template-columns: 1fr;
        }
    }

    .profile .profile__form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .profile .profile__form-group label {
        font-weight: 600;
        color: var(--fg-on-primary);
        font-size: 0.875rem;
    }

    .profile .profile__form-group input,
    .profile .profile__form-group textarea {
        padding: 0.875rem 1.25rem;
        border-radius: var(--radius-md);
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
        color: var(--fg-on-primary);

        font-size: 1rem;
        outline: none;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .profile .profile__form-group input::placeholder,
    .profile .profile__form-group textarea::placeholder {

    }

    .profile .profile__form-group input:focus,
    .profile .profile__form-group textarea:focus {
        border-color: rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .profile .profile__checkboxes {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .profile .profile__checkboxes > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .profile .profile__checkbox-label {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        cursor: pointer;
        font-weight: 500;
        color: var(--fg-on-primary);
    }

    .profile .profile__checkbox-label input {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .profile .profile__actions {
        display: flex;
        gap: 1rem;
        margin-top: clamp(24px, 4vw, 32px);
        padding-top: clamp(24px, 4vw, 32px);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Если randomNumber четное (2) - первый ребенок получает order: 2 */
    .profile .profile__actions > *:first-child {
        order: calc((var(--random-number) % 2) * 2);
    }

    .profile .profile__save {
        padding: 1rem 2.5rem;
        border-radius: var(--radius-lg);
        border: none;
        background: var(--fg-on-primary);
        color: var(--bg-primary);
        font-weight: 700;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .profile .profile__save:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .profile .profile__cancel {
        padding: 1rem 2.5rem;
        border-radius: var(--radius-lg);
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: transparent;
        color: var(--fg-on-primary);
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .profile .profile__cancel:hover {
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.1);
    }

    .profile .profile__save {
        border: 1px solid var(--border-on-surface);
        border-radius: var(--radius-md);
        animation: section-pulse-border 3s var(--anim-ease) infinite;
    }

    @keyframes section-pulse-border {
        0%, 100% {
            border-color: var(--border-on-surface);
            box-shadow: none;
        }
        50% {
            border-color: var(--brand);
            box-shadow: 0 0 0 3px var(--accent);
        }
    }

    @media (max-width: 1023px) {
        .profile .profile__sidebar {
            position: static;
        }
    }

.support-lv6 {
        padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
        color: var(--fg-on-page);
    }

    .support-lv6__wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .support-lv6__head {
        margin-bottom: 14px;
    }

    .support-lv6__head h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .support-lv6__head p {
        margin: 8px 0 0;
        color: var(--neutral-600);
    }

    .support-lv6__table {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .support-lv6__table article {
        display: grid;
        grid-template-columns: .8fr 1.2fr;
        gap: 12px;
        padding: 12px;
        border-bottom: 1px solid var(--border-on-surface-light);
        background: var(--surface-1);
    }

    .support-lv6__table article:last-child {
        border-bottom: 0;
    }

    .support-lv6__table h3 {
        margin: 0;
        color: var(--brand);
        font-size: 1rem;
    }

    .support-lv6__table p {
        margin: 0;
        color: var(--neutral-600);
    }

    @media (max-width: 700px) {
        .support-lv6__table article {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.settings--colored-v5 {

    padding: 56px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

.settings__inner {
    max-width: 720px;
    margin: 0 auto;
}

.settings__header h2 {
    margin: 0 0 4px;
    font-size: clamp(22px,3.5vw,28px);
    color: var(--brand-contrast);
}

.settings__header p {
    margin: 0 0 16px;
    color: var(--neutral-300);
    font-size: 0.95rem;
}

.settings__panel {
    border-radius: var(--radius-xl);
    background: rgba(15,23,42,0.96);
    border: 1px solid rgba(148,163,184,0.7);
    padding: 10px 12px;
    display: grid;
    gap: 8px;
}

.settings__row {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) auto;
    gap: 12px;
    align-items: center;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(55,65,81,0.8);
}

.settings__row:last-child {
    border-bottom: none;
}

.settings__info h3 {
    margin: 0 0 2px;
    font-size: 0.95rem;
}

.settings__info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--neutral-300);
}

.settings__toggle {
    min-width: 110px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.8rem;
    text-align: center;
    background: rgba(17,24,39,0.96);
    color: var(--neutral-200);
    border: 1px solid rgba(75,85,99,0.8);
}

.settings__toggle--on {
    background: var(--accent);
    color: var(--fg-on-accent);
    border-color: transparent;
}

.settings__toggle--off {
    background: var(--accent);
    color: var(--fg-on-accent);
    border-color: transparent;
}

.about-timeline {

        background: var(--bg-page);
        color: var(--fg-on-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .about-timeline .about-timeline__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .about-timeline .about-timeline__tl {
        display: grid;
        gap: 16px;
    }

    .about-timeline .about-timeline__tl .timeline {
        list-style: none;
        border-left: 3px solid var(--bg-primary);
        padding: .4rem .6rem .4rem 1rem;
    }

    .about-timeline time {
        display: block;
        font-weight: 700;
        color: var(--fg-on-page);
    }

    .about-timeline p {
        margin: .25rem 0 0;
        color: var(--neutral-600);
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.activity {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .activity .activity__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .activity .activity__h {
        margin-bottom: var(--space-y);
    }

    .activity h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0;
        color: var(--fg-on-page);
    }

    .activity .activity__timeline {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
        padding-left: 2rem;
    }

    .activity .activity__timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--ring);
    }

    .activity .activity__item {
        position: relative;
        padding-left: 2rem;
    }

    .activity .activity__item::before {
        content: '';
        position: absolute;
        left: -1.625rem;
        top: 0.5rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--bg-primary);
        border: 2px solid var(--bg-page);
    }

    .activity .activity__date {
        color: var(--neutral-600);
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .activity .activity__content {
        background: var(--surface-light);
        padding: clamp(16px, 2vw, 24px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--ring);
        box-shadow: var(--shadow-sm);
    }

    .activity h3 {
        margin: 0 0 0.5rem;
        font-size: clamp(18px, 2.2vw, 20px);
        color: var(--fg-on-page);
    }

    .activity p {
        margin: 0;
        color: var(--neutral-600);
    }

.messages--colored-v5 {

    padding: 56px 20px;
    background: var(--neutral-900);
    color: var(--neutral-0);
}

.messages__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.messages__title {
    margin: 0 0 16px;
    font-size: clamp(24px,4vw,30px);
    color: var(--brand-contrast);
}

.messages__list {
    display: grid;
    gap: 10px;
}

.messages__item {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 12px;
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.96);
}

.messages__item--positive {
    border-color: var(--accent);
}

.messages__item--accent {
    border-color: var(--accent);
}

.messages__avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--bg-accent);
    color: var(--fg-on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.messages__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--neutral-100);
    margin-bottom: 2px;
}

.messages__text {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226,232,240,0.9);
}

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.security {

        color: var(--fg-on-page);
        background: var(--bg-page);
        padding: clamp(16px, 3vw, 40px);
    }

    .security .security__c {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .security .security__h {
        margin-bottom: var(--space-y);
    }

    .security h1 {
        font-size: clamp(28px, 5vw, 48px);
        margin: 0 0 0.5rem;
        color: var(--fg-on-page);
    }

    .security .security__sections {
        display: flex;
        flex-direction: column;
        gap: var(--space-y);
    }

    .security .security__section {
        background: var(--surface-light);
        padding: clamp(24px, 3vw, 32px);
        border-radius: var(--radius-lg);
        border: 1px solid var(--ring);
        box-shadow: var(--shadow-sm);
    }

    .security h2 {
        font-size: clamp(20px, 3vw, 24px);
        margin: 0 0 1.5rem;
        color: var(--fg-on-page);
    }

    .security .security__form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .security .security__form input {
        padding: 0.875rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);

        outline: none;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .security .security__form input:focus {
        border-color: var(--bg-primary);
        box-shadow: 0 0 0 3px var(--ring);
    }

    .security .security__form button {
        padding: 0.875rem 2rem;
        border-radius: var(--radius-lg);
        border: none;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        font-weight: 600;
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
        align-self: flex-start;
    }

    .security .security__form button:hover {
        background: var(--bg-primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .security .security__sessions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .security .security__session {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: var(--bg-page);
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
    }

    .security h4 {
        margin: 0 0 0.25rem;
        color: var(--fg-on-page);
    }

    .security .security__session p {
        margin: 0;
        color: var(--neutral-600);
        font-size: 0.875rem;
    }

    .security .security__logout {
        padding: 0.5rem 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--ring);
        background: var(--bg-page);
        color: var(--fg-on-page);
        cursor: pointer;
        transition: all var(--anim-duration) var(--anim-ease);
    }

    .security .security__logout:hover {
        background: var(--bg-primary);
        color: var(--fg-on-primary);
        border-color: var(--bg-primary);
    }

.story-metrics-c3 {
        padding: clamp(3.6rem, 8vw, 6rem) var(--space-x);
        background: var(--gradient-accent);
        color: var(--fg-on-primary);
    }

    .story-metrics-c3__wrap {
        max-width: 60rem;
        margin: 0 auto;
    }

    .story-metrics-c3__head p {
        margin: 0;
        color: rgba(255, 255, 255, .76);
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .82rem;
    }

    .story-metrics-c3__head h2 {
        margin: .55rem 0 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .story-metrics-c3__head span {
        display: block;
        margin-top: .8rem;

    }

    .story-metrics-c3__panel {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 1rem;
        padding: 1rem;
        border-radius: var(--radius-xl);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .18);
    }

    .story-metrics-c3__text p {
        margin: 0 0 .75rem;

    }

    .story-metrics-c3__stats {
        display: grid;
        gap: .75rem;
    }

    .story-metrics-c3__stats div {
        padding: .85rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .12);
    }

    .story-metrics-c3__stats span {
        display: block;
        margin-top: .25rem;
        color: rgba(255, 255, 255, .82);
    }

    .story-metrics-c3__button {
        display: inline-flex;
        margin-top: 1rem;
        min-height: 2.85rem;
        align-items: center;
        justify-content: center;
        padding: 0 1rem;
        border-radius: var(--radius-md);
        background: var(--surface-1);
        color: var(--fg-on-page);
        text-decoration: none;
    }

    @media (max-width: 820px) {
        .story-metrics-c3__panel {
            grid-template-columns: 1fr;
        }
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.form-layout-e {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--gradient-accent);
        color: var(--neutral-0);
    }

    .form-layout-e .wrap {
        max-width: 820px;
        margin: 0 auto;
        background: white;
        color: black;
        border-radius: var(--radius-xl);
        padding: var(--space-x);
        box-shadow: var(--shadow-md);
    }

    .form-layout-e .section-head {
        margin-bottom: 14px;
        text-align: center;
    }

    .form-layout-e h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        color: var(--neutral-900);
    }

    .form-layout-e .section-head p {
        margin: 10px auto 0;
        max-width: 70ch;
        color: var(--neutral-600);
    }

    .form-layout-e .dark-card {
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: var(--radius-lg);
        padding: 16px;
        background: rgba(255, 255, 255, .04);
    }

    .form-layout-e label {
        display: grid;
        gap: 6px;
        margin-bottom: 10px;
        color: var(--neutral-800);
    }

    .form-layout-e input:not([type="checkbox"]), .form-layout-e textarea {
        width: 100%;
        border: 1px solid var(--neutral-600);
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, .07);
        color: var(--neutral-900);
        padding: 9px;
        font: inherit;
    }

    .form-layout-e .end {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .form-layout-e .agree {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .form-layout-e button {
        border: 0;
        border-radius: var(--radius-sm);
        padding: 10px 14px;
        background: var(--gradient-accent);
        color: var(--accent-contrast);
        font-weight: bold;
        cursor: pointer;
        transition: background-color var(--anim-duration) var(--anim-ease);
    }
    .form-layout-e button:hover {
        background: var(--accent-hover);
    }

.contact-layout-b {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .contact-layout-b .wrap {
        max-width: var(--max-w);
        margin: 0 auto;
    }

    .contact-layout-b .section-head {
        margin-bottom: 16px;
    }

    .contact-layout-b h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 42px);
    }

    .contact-layout-b .section-head p {
        margin: 10px 0 0;
        max-width: 70ch;
        color: var(--neutral-600);
    }

    .contact-layout-b .grid {
        display: grid;
        gap: var(--gap);
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .contact-layout-b .item-card {
        background: var(--surface-1);
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-on-surface-light);
        padding: 16px;
        box-shadow: var(--shadow-sm);
    }

    .contact-layout-b .item-card h3 {
        margin: 0;
        color: var(--brand);
    }

    .contact-layout-b .item-card p {
        margin: 8px 0 0;
        color: var(--neutral-700, var(--neutral-600));
    }

    .contact-layout-b footer {
        margin-top: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .contact-layout-b .social {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-layout-b .social a {
        text-decoration: none;
        color: var(--link);
        padding: 6px 10px;
        border: 1px solid var(--border-on-surface);
        border-radius: 999px;
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.policy-layout-b {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: var(--surface-1);
        color: var(--fg-on-page);
    }

    .policy-layout-b .wrap {
        max-width: 900px;
        margin: 0 auto;
    }

    .policy-layout-b .section-head {
        margin-bottom: 16px;
        text-align: center;
    }

    .policy-layout-b h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
    }

    .policy-layout-b .section-head p {
        margin: 10px auto 0;
        color: var(--neutral-600);
        max-width: 70ch;
    }

    .policy-layout-b ol {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 10px;
    }

    .policy-layout-b li {
        background: var(--bg-alt);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-on-surface);
        padding: 12px;
    }

    .policy-layout-b h3 {
        margin: 0;
        color: var(--brand);
        font-size: 1rem;
    }

    .policy-layout-b li p {
        margin: 8px 0 0;
        color: var(--neutral-600);
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.terms-layout-a {
        padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 36px);
        background: linear-gradient(180deg, var(--bg-alt), var(--surface-1));
        color: var(--fg-on-page);
    }

    .terms-layout-a .wrap {
        max-width: 920px;
        margin: 0 auto;
    }

    .terms-layout-a .section-head {
        margin-bottom: 16px;
    }

    .terms-layout-a h2 {
        margin: 0;
        font-size: clamp(28px, 4vw, 40px);
        color: var(--neutral-900);
    }

    .terms-layout-a .section-head p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .terms-layout-a article {
        border: 1px solid var(--border-on-surface-light);
        border-radius: var(--radius-lg);
        background: var(--surface-1);
        padding: var(--space-y) var(--space-x);
        margin-bottom: 12px;
    }

    .terms-layout-a h3, .terms-layout-a h4 {
        margin: 0 0 8px;
        color: var(--neutral-900);
    }

    .terms-layout-a h3 {
        font-size: 1.3rem;
    }
    .terms-layout-a h4 {
        font-size: 1.1rem;
        margin-top: 16px;
    }

    .terms-layout-a p, .terms-layout-a li {
        color: var(--neutral-600);
        line-height: var(--line-height-base);
    }

    .terms-layout-a ul {
        padding-left: 1.5em;
        margin: 8px 0;
    }

    .terms-layout-a li {
        margin-bottom: 4px;
    }

    .terms-layout-a a {
        color: var(--link);
        text-decoration: underline;
    }
    .terms-layout-a a:hover {
        color: var(--link-hover);
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.thank-mode-b {
        padding: clamp(58px, 10vw, 114px) 18px;
        background: var(--bg-alt);
        color: var(--fg-on-page);
    }

    .thank-mode-b .card {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        border-radius: var(--radius-xl);
        padding: clamp(30px, 4vw, 46px);
        background: var(--surface-1);
        box-shadow: var(--shadow-lg);
    }

    .thank-mode-b h1 {
        margin: 0;
        font-size: clamp(32px, 5vw, 54px);
        color: var(--brand);
    }

    .thank-mode-b p {
        margin: 10px 0 0;
        color: var(--neutral-600);
    }

    .thank-mode-b a {
        display: inline-block;
        margin-top: 18px;
        padding: 11px 18px;
        border-radius: var(--radius-sm);
        text-decoration: none;
        background: var(--bg-primary);
        color: var(--fg-on-primary);
    }

.site-header {
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border-on-surface);
    padding: var(--space-y) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header-logo {
    font-size: calc(var(--font-size-base) * 1.25);
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.site-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: calc(var(--gap) / 2);
    background-color: var(--chip-bg);
    padding: calc(var(--space-y) / 4);
    border-radius: var(--radius-xl);
}

.nav-item {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    padding: calc(var(--space-y) / 2) var(--space-x);
    color: var(--fg-on-surface);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--btn-ghost-bg-hover);
    color: var(--link-hover);
    outline: none;
}

.nav-link:active {
    transform: scale(0.98);
}

.burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--space-y) / 2);
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
}

.burger-line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--neutral-800);
    border-radius: 1px;
    transition: transform var(--anim-duration) var(--anim-ease), opacity var(--anim-duration) var(--anim-ease);
}

@media (max-width: 767px) {
    .burger-button {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--surface-2);
        padding: calc(var(--space-y) * 2) var(--space-x);
        transition: right var(--anim-duration) var(--anim-ease);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.is-active {
        right: 0;
    }

    .site-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--overlay);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
        z-index: -1;
    }

    .site-nav.is-active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: var(--space-y) var(--space-x);
        border-radius: var(--radius-md);
        margin-bottom: calc(var(--gap) / 2);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(1) {
        transform: translateY(0.65rem) rotate(45deg);
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-button[aria-expanded="true"] .burger-line:nth-child(3) {
        transform: translateY(-0.65rem) rotate(-45deg);
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: sans-serif;
    color: #333;
    border-top: 1px solid #eee;
  }
  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    flex: 1;
    min-width: 200px;
  }
  .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-nav a {
    text-decoration: none;
    color: #0066cc;
  }
  .footer-nav a:hover {
    text-decoration: underline;
  }
  .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 250px;
  }
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  .footer-contact a {
    color: #0066cc;
    text-decoration: none;
  }
  .footer-contact a:hover {
    text-decoration: underline;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
  }
  .footer-legal a {
    color: #666;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  .footer-legal a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    max-width: 800px;
    line-height: 1.5;
  }
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      gap: 1.5rem;
    }
    .footer-nav ul {
      justify-content: center;
    }
    .footer-contact ul {
      text-align: center;
    }
  }

.cookie-cv7 {
        position: fixed;
        left: var(--space-x);
        bottom: var(--space-y);
        width: min(360px, calc(100vw - (var(--space-x) * 2)));
        z-index: 1200;
    }

    .cookie-cv7__card {
        border-radius: var(--radius-lg);
        padding: var(--space-y) var(--space-x);
        background: linear-gradient(140deg, var(--brand), var(--bg-primary-hover));
        color: var(--brand-contrast);
        box-shadow: var(--shadow-lg);
    }

    .cookie-cv7__card h3 {
        margin: 0 0 6px;
    }

    .cookie-cv7__card p {
        margin: 0;
        opacity: .92;
    }

    .cookie-cv7__actions {
        margin-top: 12px;
        display: grid;
        gap: 8px;
    }

    .cookie-cv7__actions button {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.14);
        color: inherit;
        border-radius: var(--radius-sm);
        padding: 8px 10px;
        cursor: pointer;
    }

    .cookie-cv7__actions button[data-choice='accept'] {
        background: var(--bg-accent);
        color: var(--fg-on-accent);
        border-color: var(--bg-accent-hover);
    }

.err-slab-a {
    padding: clamp(56px, 10vw, 110px) 20px;
    background: var(--gradient-hero);
    color: var(--fg-on-primary);
}

.err-slab-a .box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.err-slab-a h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 58px);
}

.err-slab-a p {
    margin: 12px 0 0;
    opacity: .92;
}

.err-slab-a a {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: var(--radius-md);
    background: var(--surface-1);
    color: var(--fg-on-page);
    text-decoration: none;
}