:root {
  --font-family: "Source Serif 4", sans-serif;
  --font-size-base: 15px;
  --line-height-base: 1.83;

  --max-w: 920px;
  --space-x: 2.09rem;
  --space-y: 1.5rem;
  --gap: 1.12rem;
  --space-section-y: calc(var(--space-y) * 2.4);
  --space-section-x: var(--space-x);
  --space-block: calc(var(--gap) * 1.5);
  --space-card: calc(var(--space-y) * .75);
  --font-size-sm: calc(var(--font-size-base) * .875);
  --font-size-md: var(--font-size-base);
  --font-size-lg: calc(var(--font-size-base) * 1.125);
  --font-size-h3: calc(var(--font-size-base) * 1.35);
  --font-size-h2: calc(var(--font-size-base) * 2);
  --font-size-h1: calc(var(--font-size-base) * 2.65);
  --motion-distance: calc(var(--gap) * var(--random-number));

  --radius-xl: 1.24rem;
  --radius-lg: 0.96rem;
  --radius-md: 0.63rem;
  --radius-sm: 0.32rem;

  --shadow-sm: 0 0px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.09);

  --overlay: rgba(15, 18, 25, 0.6);
  --anim-duration: 430ms;
  --anim-ease: ease;
  --random-number: 1;

  --brand: #1a2a3a;
  --brand-contrast: #ffffff;
  --accent: #c47a3a;
  --accent-contrast: #ffffff;

  --neutral-0: #ffffff;
  --neutral-100: #f5f2ec;
  --neutral-300: #d9d2c5;
  --neutral-600: #6b6b6b;
  --neutral-800: #2d2d2d;
  --neutral-900: #1a1a1a;

  --page-bg: #faf8f4;
  --page-fg: #1a1a1a;
  --muted-bg: #f0ece4;
  --muted-fg: #4a4a4a;
  --card-bg: #ffffff;
  --card-fg: #1a1a1a;
  --card-border: #e0d9cf;
  --inverse-bg: #1a2a3a;
  --inverse-fg: #f5f2ec;
  --primary-bg: #1a2a3a;
  --primary-fg: #ffffff;
  --primary-hover: #243b52;
  --accent-bg: #c47a3a;
  --accent-fg: #ffffff;
  --accent-hover: #a9632f;
  --gradient-hero-bg: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  --gradient-hero-fg: #f5f2ec;
  --gradient-accent-bg: linear-gradient(135deg, #c47a3a 0%, #e09a5a 100%);
  --gradient-accent-fg: #ffffff;

  --ring: #c47a3a;

  --link: #1a2a3a;
  --link-hover: #c47a3a;

  --btn-ghost-bg: transparent;
  --btn-ghost-bg-hover: color-mix(in srgb, currentColor 10%, transparent);
  --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;}
a{color:inherit;}
.btn-primary,.btn.btn-primary{background:var(--primary-bg)!important;color:var(--primary-fg)!important;border-color:var(--primary-bg)!important;}
.btn-primary:hover,.btn.btn-primary:hover{background:var(--primary-hover)!important;color:var(--primary-fg)!important;border-color:var(--primary-hover)!important;}
.btn-outline-primary{color:var(--primary-bg)!important;border-color:var(--primary-bg)!important;}
.btn-outline-primary:hover{background:var(--primary-bg)!important;color:var(--primary-fg)!important;}
.bg-primary{background:var(--primary-bg)!important;color:var(--primary-fg)!important;}
.text-primary{color:var(--primary-bg)!important;}
.border-primary{border-color:var(--primary-bg)!important;}
.bg-light{background:var(--page-bg)!important;color:var(--page-fg)!important;}
.bg-dark{background:var(--inverse-bg)!important;color:var(--inverse-fg)!important;}

.site-header {
    background: var(--page-bg);
    border-bottom: 1px solid var(--card-border);
    width: 100%;
  }

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

  .logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--page-fg);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: color var(--anim-duration) var(--anim-ease);
  }

  .logo:hover {
    color: var(--link-hover);
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: calc(var(--gap) * 1.5);
  }

  .header-nav-left {
    margin-right: auto;
  }

  .header-nav-right {
    margin-left: auto;
  }

  .nav-link {
    color: var(--muted-fg);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: var(--space-y) 0;
    position: relative;
    transition: color var(--anim-duration) var(--anim-ease);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--link);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--anim-duration) var(--anim-ease);
  }

  .nav-link:hover {
    color: var(--link-hover);
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--anim-duration) var(--anim-ease);
  }

  .burger:hover {
    background: var(--muted-bg);
  }

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

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

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

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

  .mobile-menu {
    display: none;
    background: var(--page-bg);
    border-top: 1px solid var(--card-border);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-nav {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-y) var(--space-x);
    display: flex;
    flex-direction: column;
    gap: var(--space-y);
  }

  .mobile-link {
    color: var(--page-fg);
    text-decoration: none;
    font-size: var(--font-size-md);
    font-weight: 500;
    padding: var(--space-y) 0;
    border-bottom: 1px solid var(--card-border);
    transition: color var(--anim-duration) var(--anim-ease), padding-left var(--anim-duration) var(--anim-ease);
  }

  .mobile-link:last-child {
    border-bottom: none;
  }

  .mobile-link:hover {
    color: var(--link-hover);
    padding-left: var(--space-y);
  }

  @media (max-width: 767px) {
    .header-nav {
      display: none;
    }

    .burger {
      display: flex;
    }

    .header-inner {
      justify-content: space-between;
    }

    .logo {
      font-size: var(--font-size-md);
    }
  }

.site-footer {
    background: var(--inverse-bg, #1a1a1a);
    color: var(--inverse-fg, #f5f5f5);
    padding: var(--space-section-y, 3rem) var(--space-section-x, 1.5rem);
    font-family: var(--font-family, Georgia, serif);
    font-size: var(--font-size-base, 1rem);
    line-height: var(--line-height-base, 1.6);
  }

  .footer-container {
    max-width: var(--max-w, 1200px);
    margin: 0 auto;
  }

  .footer-newsletter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap, 1.5rem);
    padding-bottom: var(--space-block, 2rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-block, 2rem);
  }

  .newsletter-content {
    flex: 1 1 300px;
  }

  .newsletter-title {
    font-size: var(--font-size-h3, 1.5rem);
    margin: 0 0 0.5rem;
    font-weight: 600;
  }

  .newsletter-text {
    margin: 0;
    opacity: 0.85;
    font-size: var(--font-size-sm, 0.9rem);
  }

  .newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex: 1 1 300px;
  }

  .newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm, 4px);
    background: rgba(255, 255, 255, 0.05);
    color: var(--inverse-fg, #f5f5f5);
    font-family: inherit;
    font-size: var(--font-size-sm, 0.9rem);
  }

  .newsletter-input::placeholder {
    color: var(--input-placeholder, rgba(255, 255, 255, 0.5));
  }

  .newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-bg, #4a6fa5);
    color: var(--primary-fg, #ffffff);
    border: none;
    border-radius: var(--radius-sm, 4px);
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-sm, 0.9rem);
    transition: background var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .newsletter-button:hover {
    background: var(--primary-hover, #3a5a8a);
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--gap, 2rem);
    padding-bottom: var(--space-block, 2rem);
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-logo {
    font-size: var(--font-size-h2, 2rem);
    font-weight: 700;
    color: var(--inverse-fg, #f5f5f5);
    text-decoration: none;
    letter-spacing: -0.02em;
  }

  .footer-tagline {
    margin: 0;
    opacity: 0.7;
    font-size: var(--font-size-sm, 0.9rem);
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
  }

  .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-link {
    color: var(--inverse-fg, #f5f5f5);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .footer-link:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-contacts-title {
    font-size: var(--font-size-md, 1.1rem);
    margin: 0;
    font-weight: 600;
  }

  .footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-style: normal;
  }

  .contact-item {
    font-size: var(--font-size-sm, 0.9rem);
    opacity: 0.85;
  }

  .contact-link {
    color: var(--inverse-fg, #f5f5f5);
    text-decoration: none;
    transition: opacity var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .contact-link:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: var(--space-block, 1.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
  }

  .legal-link {
    color: var(--inverse-fg, #f5f5);}

.cookie-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 2rem));
    background: var(--card-bg);
    color: var(--card-fg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: var(--space-card);
    box-sizing: border-box;
  }

  .cookie-sheet__inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
  }

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

  .cookie-sheet__title {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 600;
    line-height: var(--line-height-base);
  }

  .cookie-sheet__text {
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
    opacity: 0.9;
  }

  .cookie-sheet__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-x);
    align-items: center;
  }

  .cookie-sheet__btn {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease), border-color var(--anim-duration) var(--anim-ease);
  }

  .cookie-sheet__btn--primary {
    background: var(--primary-bg);
    color: var(--primary-fg);
  }

  .cookie-sheet__btn--primary:hover {
    background: var(--primary-hover);
  }

  .cookie-sheet__btn--ghost {
    background: var(--btn-ghost-bg);
    color: var(--card-fg);
    border-color: var(--card-border);
  }

  .cookie-sheet__btn--ghost:hover {
    background: var(--btn-ghost-bg-hover);
  }

  .cookie-sheet__btn--link {
    background: transparent;
    color: var(--link);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .cookie-sheet__btn--link:hover {
    color: var(--link-hover);
    text-decoration: underline;
  }

  @media (max-width: 480px) {
    .cookie-sheet {
      width: 100%;
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .cookie-sheet__actions {
      flex-direction: column;
      align-items: stretch;
    }

    .cookie-sheet__btn {
      text-align: center;
    }
  }

.intro-focus {
    background: var(--page-bg);
    color: var(--page-fg);
    padding: 6rem 1.5rem;
  }

  .intro-focus .inner {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .intro-focus h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
    max-width: 40rem;
  }

  .intro-focus .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--muted-fg);
    margin: 0 0 2.5rem;
    max-width: 36rem;
  }

  .intro-focus .cta {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--accent-fg);
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .intro-focus .cta:hover {
    background: var(--accent-hover);
  }

  @media (max-width: 640px) {
    .intro-focus {
      padding: 4rem 1.25rem;
    }

    .intro-focus .lead {
      font-size: 1.05rem;
    }
  }

.intro-focus .visual {
  margin: var(--space-card) 0 0;
  max-width: min(42rem, 100%);
}
.intro-focus .visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.mission {
        background: var(--inverse-bg);
        color: var(--inverse-fg);
        padding: 72px 24px;
    }

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

    .mission h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin: 0 0 24px;
        line-height: 1.2;
    }

    .mission p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin: 0 0 18px;
    }

    .mission p:last-of-type {
        margin-bottom: 32px;
    }

    .mission a {
        color: var(--accent-bg);
        text-decoration: underline;
        text-underline-offset: 4px;
        font-size: 1rem;
        transition: color 0.2s ease;
    }

    .mission a:hover {
        color: var(--accent-hover);
    }

.articles {
        background: var(--page-bg);
        color: var(--page-fg);
        padding: 4rem 1.5rem;
    }

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

    .articles h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin: 0 0 0.75rem;
        line-height: 1.2;
    }

    .articles .lead {
        font-size: 1.05rem;
        line-height: 1.6;
        margin: 0 0 2.5rem;
        color: var(--muted-fg);
    }

    .articles .entry {
        padding: 1.75rem 0;
        border-top: 1px solid var(--card-border);
    }

    .articles .entry:last-child {
        border-bottom: 1px solid var(--card-border);
    }

    .articles h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0 0 0.35rem;
        line-height: 1.35;
    }

    .articles h3 a {
        color: var(--page-fg);
        text-decoration: none;
    }

    .articles h3 a:hover {
        color: var(--accent-bg);
    }

    .articles .meta {
        font-size: 0.9rem;
        margin: 0 0 0.75rem;
        color: var(--accent-bg);
        font-style: italic;
    }

    .articles .entry p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin: 0 0 0.9rem;
    }

    .articles .more {
        display: inline-block;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--accent-bg);
        text-decoration: none;
        border-bottom: 1px solid var(--accent-bg);
        padding-bottom: 2px;
    }

    .articles .more:hover {
        color: var(--accent-hover);
        border-color: var(--accent-hover);
    }

.articles .visual {
  margin: var(--space-card) 0 0;
  max-width: min(42rem, 100%);
}
.articles .visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.faq {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 72px 24px;
    }

    .faq .inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .faq h2 {
      font-size: 32px;
      line-height: 1.2;
      font-weight: 600;
      margin: 0 0 16px;
      letter-spacing: -0.01em;
    }

    .faq .lead {
      font-size: 17px;
      line-height: 1.6;
      color: var(--muted-fg);
      margin: 0 0 40px;
      max-width: 620px;
    }

    .faq .list {
      border-top: 1px solid var(--card-border);
    }

    .faq .item {
      padding: 28px 0;
      border-bottom: 1px solid var(--card-border);
    }

    .faq .item h3 {
      font-size: 18px;
      line-height: 1.4;
      font-weight: 600;
      margin: 0 0 10px;
    }

    .faq .item p {
      font-size: 15px;
      line-height: 1.65;
      margin: 0;
      max-width: 640px;
    }

    .faq .note {
      margin: 40px 0 0;
      font-size: 15px;
      line-height: 1.6;
      color: var(--muted-fg);
    }

    .faq .note a {
      color: var(--accent-bg);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .faq .note a:hover {
      color: var(--accent-hover);
    }

    @media (max-width: 640px) {
      .faq {
        padding: 48px 20px;
      }

      .faq h2 {
        font-size: 26px;
      }

      .faq .lead {
        font-size: 16px;
      }

      .faq .item {
        padding: 22px 0;
      }
    }

.our-story {
            background: var(--page-bg);
            color: var(--page-fg);
            padding: 72px 24px 80px;
        }

        .our-story .inner {
            max-width: 760px;
            margin: 0 auto;
        }

        .our-story h2 {
            font-size: 2.2rem;
            line-height: 1.2;
            font-weight: 600;
            margin: 0 0 20px;
            letter-spacing: -0.01em;
        }

        .our-story .lead {
            font-size: 1.15rem;
            line-height: 1.7;
            color: var(--muted-fg);
            margin: 0 0 56px;
            max-width: 620px;
        }

        .our-story .timeline {
            display: flex;
            flex-direction: column;
            gap: 44px;
            margin-bottom: 56px;
        }

        .our-story .entry {
            display: grid;
            grid-template-columns: 88px 1fr;
            gap: 24px;
            align-items: start;
        }

        .our-story .year {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--accent-bg);
            padding-top: 4px;
            letter-spacing: 0.02em;
        }

        .our-story .body h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 0 0 10px;
            line-height: 1.3;
        }

        .our-story .body p {
            font-size: 1rem;
            line-height: 1.7;
            margin: 0;
            color: var(--muted-fg);
        }

        .our-story .note {
            font-size: 0.98rem;
            line-height: 1.7;
            color: var(--muted-fg);
            border-top: 1px solid var(--muted-bg);
            padding-top: 28px;
            margin: 0;
        }

        .our-story .note a {
            color: var(--accent-bg);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color 0.2s ease;
        }

        .our-story .note a:hover {
            border-bottom-color: var(--accent-bg);
        }

        @media (max-width: 560px) {
            .our-story {
                padding: 56px 20px 64px;
            }

            .our-story h2 {
                font-size: 1.8rem;
            }

            .our-story .entry {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .our-story .year {
                padding-top: 0;
            }
        }

.people-behind {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 72px 0 80px;
    }

    .people-behind .inner {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .people-behind h2 {
      font-size: 34px;
      line-height: 1.2;
      font-weight: 600;
      margin: 0 0 16px;
      letter-spacing: -0.01em;
    }

    .people-behind .lead {
      font-size: 18px;
      line-height: 1.6;
      color: var(--muted-fg);
      max-width: 640px;
      margin: 0 0 48px;
    }

    .people-behind .team-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px 56px;
    }

    .people-behind .member {
      padding-bottom: 32px;
      border-bottom: 1px solid var(--card-border);
    }

    .people-behind .member:last-child {
      border-bottom: none;
    }

    .people-behind h3 {
      font-size: 22px;
      line-height: 1.3;
      font-weight: 600;
      margin: 0 0 6px;
    }

    .people-behind .role {
      font-size: 14px;
      line-height: 1.5;
      color: var(--accent-bg);
      margin: 0 0 12px;
      font-style: italic;
    }

    .people-behind .bio {
      font-size: 16px;
      line-height: 1.65;
      color: var(--muted-fg);
      margin: 0;
    }

    .people-behind .note {
      font-size: 15px;
      line-height: 1.6;
      color: var(--muted-fg);
      max-width: 640px;
      margin: 48px 0 0;
    }

    .people-behind .note a {
      color: var(--accent-bg);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .people-behind .note a:hover {
      color: var(--accent-hover);
    }

    @media (max-width: 720px) {
      .people-behind {
        padding: 56px 0 64px;
      }

      .people-behind h2 {
        font-size: 28px;
      }

      .people-behind .team-list {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .people-behind .member {
        padding-bottom: 24px;
      }
    }

.identity {
    background: var(--gradient-hero-bg);
    color: var(--gradient-hero-fg);
    padding: 96px 24px;
  }

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

  .identity__label {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bg);
    margin: 0 0 24px;
  }

  .identity h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 28px;
    max-width: 640px;
  }

  .identity__lead {
    font-size: 19px;
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 600px;
  }

  .identity__note {
    border-left: 3px solid var(--accent-bg);
    padding-left: 20px;
    max-width: 560px;
  }

  .identity__note p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: var(--gradient-hero-fg);
    opacity: 0.85;
  }

  @media (max-width: 640px) {
    .identity {
      padding: 64px 20px;
    }

    .identity h1 {
      font-size: 32px;
    }

    .identity__lead {
      font-size: 17px;
    }
  }

.identity .visual {
  margin: var(--space-card) 0 0;
  max-width: min(42rem, 100%);
}
.identity .visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.timeline {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 72px 24px;
    }

    .timeline .inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .timeline h2 {
      font-size: 2rem;
      line-height: 1.2;
      margin: 0 0 12px 0;
      font-weight: 600;
    }

    .timeline > .inner > p {
      font-size: 1.05rem;
      line-height: 1.6;
      margin: 0 0 48px 0;
      color: var(--muted-fg);
      max-width: 520px;
    }

    .timeline .entry {
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 24px;
      padding: 28px 0;
      border-top: 1px solid var(--muted-bg);
    }

    .timeline .entry:last-child {
      border-bottom: 1px solid var(--muted-bg);
    }

    .timeline .date {
      font-size: 0.9rem;
      line-height: 1.4;
      color: var(--accent-bg);
      font-weight: 600;
      padding-top: 4px;
    }

    .timeline .body h3 {
      font-size: 1.25rem;
      line-height: 1.3;
      margin: 0 0 8px 0;
      font-weight: 600;
    }

    .timeline .body p {
      font-size: 0.98rem;
      line-height: 1.6;
      margin: 0;
      color: var(--muted-fg);
    }

    @media (max-width: 640px) {
      .timeline {
        padding: 48px 20px;
      }

      .timeline .entry {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0;
      }

      .timeline .date {
        padding-top: 0;
      }
    }

.contacts {
    background: var(--page-bg);
    color: var(--page-fg);
    padding: 72px 20px;
  }

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

  .contacts h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 600;
  }

  .contacts .lead {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 40px;
    color: var(--muted-fg, #4a4a4a);
  }

  .contacts .channels {
    border-top: 1px solid var(--card-border, #e0d9cf);
  }

  .contacts .channel {
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border, #e0d9cf);
  }

  .contacts .label {
    display: block;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-fg, #4a4a4a);
    margin-bottom: 6px;
  }

  .contacts .channel p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
  }

  .contacts .channel a {
    color: var(--accent-bg, #c47a3a);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }

  .contacts .channel a:hover {
    border-bottom-color: var(--accent-bg, #c47a3a);
  }

  .contacts .closing {
    margin: 32px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted-fg, #4a4a4a);
  }

.support {
        background: var(--page-bg);
        color: var(--page-fg);
        padding: 72px 24px;
    }

    .support .inner {
        max-width: 760px;
        margin: 0 auto;
    }

    .support h2 {
        font-size: 2rem;
        line-height: 1.2;
        font-weight: 600;
        margin: 0 0 24px;
        letter-spacing: -0.01em;
    }

    .support p {
        font-size: 1.05rem;
        line-height: 1.65;
        margin: 0 0 18px;
        color: var(--muted-fg);
    }

    .support .channels {
        margin: 40px 0 32px;
        border-top: 1px solid var(--card-border);
    }

    .support .channel {
        padding: 24px 0;
        border-bottom: 1px solid var(--card-border);
    }

    .support .channel h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0 0 8px;
    }

    .support .channel p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 0 10px;
    }

    .support .channel a {
        color: var(--accent-bg);
        font-size: 1rem;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s ease;
    }

    .support .channel a:hover {
        border-bottom-color: var(--accent-bg);
    }

    .support .note {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--muted-fg);
        margin: 0;
        padding-top: 8px;
    }

.form {
    background: var(--inverse-bg);
    color: var(--inverse-fg);
    padding: 64px 20px;
  }

  .form .inner {
    max-width: 560px;
    margin: 0 auto;
  }

  .form h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px 0;
  }

  .form p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
    color: var(--inverse-fg);
    opacity: 0.85;
  }

  .form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .form label {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .form input {
    background: var(--card-bg);
    color: var(--card-fg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 1rem;
    
    outline: none;
    transition: border-color 0.2s ease;
  }

  .form input:focus {
    border-color: var(--accent-bg);
  }

  .form input::placeholder {
    color: var(--muted-fg);
    opacity: 0.7;
  }

  .form button {
    background: var(--accent-bg);
    color: var(--accent-fg);
    border: none;
    border-radius: 6px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
  }

  .form button:hover {
    background: var(--accent-hover);
  }

.policy-items {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 3.5rem 1.25rem 4rem;
      line-height: 1.65;
    }

    .policy-items .inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .policy-items h2 {
      font-size: 1.9rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin: 0 0 1.25rem;
      line-height: 1.2;
    }

    .policy-items .lead {
      font-size: 1.1rem;
      margin: 0 0 2.5rem;
      color: var(--page-fg);
    }

    .policy-items h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin: 2.2rem 0 0.6rem;
      color: var(--page-fg);
      line-height: 1.3;
    }

    .policy-items p {
      margin: 0 0 1.1rem;
      color: var(--page-fg);
    }

    .policy-items .updated {
      margin-top: 2.8rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--muted-bg);
      font-size: 0.95rem;
      color: var(--muted-fg);
    }

    .policy-items a {
      color: var(--accent-bg);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .policy-items a:hover {
      color: var(--accent-hover);
    }

.terms-items {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 4rem 1.5rem 5rem;
    }

    .terms-items .inner {
      max-width: 760px;
      margin: 0 auto;
    }

    .terms-items h2 {
      font-size: 2.2rem;
      line-height: 1.2;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin: 0 0 1.25rem;
    }

    .terms-items .lead {
      font-size: 1.1rem;
      line-height: 1.7;
      color: var(--muted-fg);
      margin: 0 0 3rem;
      max-width: 60ch;
    }

    .terms-items .rule-block {
      border-top: 1px solid var(--card-border);
      padding: 2rem 0 2.25rem;
    }

    .terms-items .rule-block:last-child {
      border-bottom: 1px solid var(--card-border);
    }

    .terms-items h3 {
      font-size: 1.35rem;
      font-weight: 600;
      line-height: 1.3;
      margin: 0 0 0.9rem;
    }

    .terms-items p {
      font-size: 1rem;
      line-height: 1.7;
      margin: 0 0 1rem;
      max-width: 65ch;
    }

    .terms-items p:last-child {
      margin-bottom: 0;
    }

    @media (max-width: 640px) {
      .terms-items {
        padding: 3rem 1.25rem 4rem;
      }

      .terms-items h2 {
        font-size: 1.8rem;
      }

      .terms-items .lead {
        font-size: 1rem;
        margin-bottom: 2.25rem;
      }

      .terms-items h3 {
        font-size: 1.2rem;
      }
    }

.thank {
      background: var(--inverse-bg);
      color: var(--inverse-fg);
      padding: 4.5rem 1.5rem 4rem;
    }

    .thank .inner {
      max-width: 1080px;
      margin: 0 auto;
    }

    .thank h1 {
      font-size: 2.6rem;
      font-weight: 600;
      line-height: 1.15;
      margin: 0 0 0.75rem;
      letter-spacing: -0.01em;
      max-width: 12ch;
    }

    .thank .lead {
      font-size: 1.15rem;
      line-height: 1.6;
      margin: 0 0 3rem;
      max-width: 38ch;
      color: var(--inverse-fg);
      opacity: 0.85;
    }

    .thank .steps {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.25rem;
      margin-bottom: 3.5rem;
      border-top: 1px solid rgba(245, 242, 236, 0.2);
      padding-top: 2rem;
    }

    .thank .step {
      display: grid;
      grid-template-columns: 3rem 1fr;
      column-gap: 1.25rem;
      align-items: start;
    }

    .thank .step-num {
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--accent-bg);
      padding-top: 0.3rem;
    }

    .thank .step h2 {
      font-size: 1.3rem;
      font-weight: 600;
      line-height: 1.3;
      margin: 0 0 0.4rem;
      color: var(--inverse-fg);
    }

    .thank .step p {
      margin: 0;
      line-height: 1.55;
      font-size: 0.98rem;
      color: var(--inverse-fg);
      opacity: 0.8;
      max-width: 52ch;
    }

    .thank .contact-note {
      border-top: 1px solid rgba(245, 242, 236, 0.2);
      padding-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: baseline;
      gap: 1rem 2rem;
    }

    .thank .contact-note p {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.5;
      color: var(--inverse-fg);
      opacity: 0.75;
      max-width: 46ch;
    }

    .thank .contact-line {
      font-size: 1rem;
      white-space: nowrap;
    }

    .thank .contact-line a {
      color: var(--inverse-fg);
      text-decoration: none;
      border-bottom: 1px solid rgba(245, 242, 236, 0.35);
      padding-bottom: 2px;
      transition: border-color 0.2s ease;
    }

    .thank .contact-line a:hover {
      border-color: var(--accent-bg);
    }

    @media (min-width: 640px) {
      .thank .steps {
        grid-template-columns: 1fr 1fr;
        column-gap: 3rem;
        row-gap: 2.5rem;
      }

      .thank .step:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (min-width: 900px) {
      .thank {
        padding: 6rem 2rem 5rem;
      }

      .thank h1 {
        font-size: 3.2rem;
      }

      .thank .steps {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2.5rem;
      }

      .thank .step:last-child {
        grid-column: auto;
      }

      .thank .step {
        grid-template-columns: 1fr;
        row-gap: 0.75rem;
      }

      .thank .step-num {
        padding-top: 0;
      }

      .thank .contact-note {
        flex-wrap: nowrap;
      }
    }

/* базовые сбросы и шрифт — встроены в секцию */

/* scoped стили секции 404 — без глобальных селекторов */
        .nf {
            background: var(--page-bg); /* #faf8f4 */
            color: var(--page-fg);      /* #1a1a1a */
            padding: 6rem 1.5rem 7rem;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 70vh;
            box-sizing: border-box;
        }

        .nf__inner {
            max-width: 640px;
            width: 100%;
            margin: 0 auto;
            text-align: left;
            /* спокойная поверхность, без фоновых панелей */
        }

        .nf__code {
            font-size: 1rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent-bg); /* #c47a3a */
            margin: 0 0 1.5rem;
            font-weight: 400;
            border-bottom: 1px solid var(--muted-bg);
            padding-bottom: 1rem;
            display: inline-block;
        }

        .nf__title {
            
            font-weight: 500;
            font-size: clamp(2.2rem, 5vw, 3.8rem);
            line-height: 1.15;
            margin: 0 0 1.75rem;
            color: var(--page-fg);
            letter-spacing: -0.01em;
            max-width: 15ch;
        }

        .nf__lead {
            font-size: 1.125rem;
            line-height: 1.7;
            color: var(--muted-fg); /* #4a4a4a */
            margin: 0 0 2.5rem;
            max-width: 45ch;
            font-weight: 400;
        }

        .nf__link {
            display: inline-block;
            background: var(--primary-bg); /* #1a2a3a */
            color: var(--primary-fg);      /* #ffffff */
            padding: 0.9rem 2rem;
            text-decoration: none;
            font-size: 1rem;
            border-radius: 2px;
            transition: background 0.2s ease;
            border: 1px solid var(--primary-bg);
            font-weight: 500;
            letter-spacing: 0.02em;
        }

        .nf__link:hover {
            background: var(--primary-hover); /* #243b52 */
            border-color: var(--primary-hover);
            color: #ffffff;
        }

        /* аккуратная адаптивность */
        @media (max-width: 480px) {
            .nf {
                padding: 4rem 1.25rem 5rem;
                min-height: auto;
            }
            .nf__title {
                font-size: 2rem;
            }
            .nf__lead {
                font-size: 1rem;
            }
            .nf__link {
                width: 100%;
                text-align: center;
            }
        }

.404 {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
  padding: var(--space-section-y) var(--space-section-x);
}
.404 .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: var(--space-card);
}
.404 h2,
.404 p {
  margin: 0;
}
.404 h2 {
  font-size: var(--font-size-h2);
  line-height: 1.08;
}
.404 p {
  max-width: 62ch;
  font-size: var(--font-size-lg);
}