/* Global tokens come first, followed by section styles. */

:root {
  --font-family: "Noto Sans", sans-serif;
  --font-size-base: 15.8px;
  --line-height-base: 1.87;

  --max-w: 1020px;
  --space-x: 1.05rem;
  --space-y: 1.5rem;
  --gap: 0.74rem;
  --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: 0.75rem;
  --radius-lg: 0.63rem;
  --radius-md: 0.36rem;
  --radius-sm: 0.18rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);

  --overlay: rgba(60, 40, 30, 0.55);
  --anim-duration: 350ms;
  --anim-ease: cubic-bezier(0.2,0.8,0.2,1);
  --random-number: 2;

  --brand: #C05A2E;
  --brand-contrast: #FFFFFF;
  --accent: #D2691E;
  --accent-contrast: #FFFFFF;

  --neutral-0: #FFFFFF;
  --neutral-100: #F5F0EB;
  --neutral-300: #D6C9BC;
  --neutral-600: #8A7A6B;
  --neutral-800: #3E342C;
  --neutral-900: #2B231D;

  --page-bg: #FDF9F5;
  --page-fg: #3E342C;
  --muted-bg: #F5EDE4;
  --muted-fg: #5A4E42;
  --card-bg: #FFFFFF;
  --card-fg: #3E342C;
  --card-border: #E5D9CC;
  --inverse-bg: #2B231D;
  --inverse-fg: #FDF9F5;
  --primary-bg: #C05A2E;
  --primary-fg: #FFFFFF;
  --primary-hover: #A84D24;
  --accent-bg: #D2691E;
  --accent-fg: #FFFFFF;
  --accent-hover: #B85C1A;
  --gradient-hero-bg: linear-gradient(135deg, #FDF9F5 0%, #F5EDE4 50%, #E8D5C0 100%);
  --gradient-hero-fg: #3E342C;
  --gradient-accent-bg: linear-gradient(135deg, #D2691E 0%, #C05A2E 100%);
  --gradient-accent-fg: #FFFFFF;

  --ring: #D2691E;

  --link: #C05A2E;
  --link-hover: #D2691E;

  --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 {
    width: 100%;
    background: var(--page-bg);
    border-bottom: 1px solid var(--card-border);
    position: relative;
  }

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

  .logo {
    font-size: var(--font-size-h3);
    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: var(--gap);
  }

  .header-nav-left {
    justify-content: flex-start;
    flex: 1;
  }

  .header-nav-right {
    justify-content: flex-end;
    flex: 1;
  }

  .nav-link {
    font-size: var(--font-size-md);
    color: var(--page-fg);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
  }

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

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

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

  .burger-line {
    display: block;
    width: 24px;
    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-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

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

  .mobile-menu {
    display: none;
    width: 100%;
    background: var(--page-bg);
    border-top: 1px solid var(--card-border);
    padding: var(--space-y) var(--space-x);
  }

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

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

  .mobile-link {
    font-size: var(--font-size-lg);
    color: var(--page-fg);
    text-decoration: none;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--card-border);
    transition: color var(--anim-duration) var(--anim-ease);
  }

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

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

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

    .burger {
      display: flex;
    }

    .header-inner {
      padding: var(--space-y) var(--space-x);
    }

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

.site-footer {
    background: var(--card-bg, #fdf6f0);
    color: var(--card-fg, #3a2e2a);
    padding: var(--space-section-y, 3rem) var(--space-section-x, 2rem);
    font-family: var(--font-family, 'Segoe UI', sans-serif);
    font-size: var(--font-size-base, 1rem);
    line-height: var(--line-height-base, 1.6);
    border-top: 1px solid var(--card-border, #e8ddd5);
  }

  .footer-container {
    max-width: var(--max-w, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap, 1.5rem);
    text-align: center;
  }

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

  .footer-address {
    font-size: var(--font-size-sm, 0.9rem);
    color: var(--muted-fg, #6b5d55);
  }

  .footer-phone,
  .footer-email {
    color: var(--link, #b85c3c);
    text-decoration: none;
    font-size: var(--font-size-sm, 0.9rem);
    transition: color var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .footer-phone:hover,
  .footer-email:hover {
    color: var(--link-hover, #8f4528);
  }

  .footer-brand {
    margin-top: 0.5rem;
  }

  .footer-logo {
    font-size: var(--font-size-h2, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-bg, #b85c3c);
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-nav-link {
    color: var(--card-fg, #3a2e2a);
    text-decoration: none;
    font-size: var(--font-size-md, 1.1rem);
    font-weight: 500;
    transition: color var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .footer-nav-link:hover {
    color: var(--link-hover, #8f4528);
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-legal-link {
    color: var(--muted-fg, #6b5d55);
    text-decoration: none;
    font-size: var(--font-size-sm, 0.9rem);
    transition: color var(--anim-duration, 0.3s) var(--anim-ease, ease);
  }

  .footer-legal-link:hover {
    color: var(--link-hover, #8f4528);
  }

  .footer-disclaimer {
    font-size: var(--font-size-sm, 0.9rem);
    color: var(--muted-fg, #6b5d55);
    max-width: 60ch;
    margin: 0 auto;
  }

  .footer-copyright {
    font-size: var(--font-size-sm, 0.9rem);
    color: var(--muted-fg, #6b5d55);
    margin: 0;
  }

  @media (max-width: 768px) {
    .site-footer {
      padding: var(--space-section-y, 2rem) var(--space-section-x, 1rem);
    }

    .footer-nav,
    .footer-legal {
      gap: 1rem;
    }
  }

footer .footer-risk-disclaimer{flex:1 1 100%;max-width:var(--max-w);margin:var(--space-y) auto 0;padding-top:var(--space-card);border-top:1px solid color-mix(in srgb,currentColor 22%,transparent);font-size:var(--font-size-sm);line-height:var(--line-height-base);opacity:.82;overflow-wrap:anywhere;}

.cookies {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    max-width: 320px;
    width: calc(100% - 2rem);
    background: var(--card-bg, #ffffff);
    color: var(--card-fg, #1f2937);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
    border: 1px solid var(--card-border, #e5e7eb);
    font-family: var(--font-family, system-ui, sans-serif);
    font-size: var(--font-size-sm, 0.875rem);
    line-height: var(--line-height-base, 1.5);
    box-sizing: border-box;
  }

  .cookies .notice {
    display: flex;
    flex-direction: column;
    gap: var(--gap, 0.75rem);
    padding: var(--space-card, 1rem);
  }

  .cookies .copy {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .cookies .title {
    font-weight: 600;
    font-size: var(--font-size-md, 1rem);
    line-height: 1.3;
  }

  .cookies .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
  }

  .cookies button {
    font-family: inherit;
    font-size: var(--font-size-sm, 0.875rem);
    line-height: 1;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm, 6px);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    background: var(--primary-bg, #2563eb);
    color: var(--primary-fg, #ffffff);
  }

  .cookies button.cookie-reject {
    background: transparent;
    border-color: var(--card-border, #d1d5db);
    color: var(--card-fg, #1f2937);
  }

  .cookies button.cookie-reject:hover {
    background: var(--muted-bg, #f3f4f6);
  }

  .cookies button.cookie-manage {
    background: transparent;
    border-color: transparent;
    color: var(--link, #2563eb);
    text-decoration: underline;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .cookies button.cookie-manage:hover {
    color: var(--link-hover, #1d4ed8);
    background: transparent;
  }

  .cookies button.cookie-accept:hover {
    background: var(--primary-hover, #1d4ed8);
  }

  /* маленький экран – адаптивность */
  @media (max-width: 480px) {
    .cookies {
      top: 0.5rem;
      right: 0.5rem;
      max-width: none;
      width: calc(100% - 1rem);
    }
  }

.intro-focus {
    background: var(--gradient-hero-bg);
    color: var(--gradient-hero-fg);
    padding: 80px 24px;
  }

  .intro-focus .inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .intro-focus h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 20px;
    max-width: 560px;
  }

  .intro-focus .lead p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 520px;
  }

  .intro-focus .action {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary-fg);
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s ease;
  }

  .intro-focus .action:hover {
    background: var(--primary-hover);
  }

  .intro-focus .note {
    border-top: 1px solid var(--card-border);
    padding-top: 24px;
    margin-top: 12px;
  }

  .intro-focus .note p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted-fg);
    margin: 0;
    max-width: 360px;
  }

  @media (max-width: 800px) {
    .intro-focus {
      padding: 56px 20px;
    }

    .intro-focus .inner {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .intro-focus h1 {
      font-size: 32px;
    }

    .intro-focus .note {
      margin-top: 0;
    }
  }

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

.wp-accent-intro-focus-glint{position:relative;overflow:hidden;isolation:isolate;}
.wp-accent-intro-focus-glint>*{position:relative;z-index:1;}
.wp-accent-intro-focus-glint::after{content:"";position:absolute;top:12%;bottom:12%;left:calc(var(--random-number,1) * 8%);width:1px;background:linear-gradient(180deg,transparent,color-mix(in srgb,currentColor 28%,transparent),transparent);opacity:.45;animation:wpAccentGlint calc(18s + (var(--random-number, 1) * 5s)) ease-in-out infinite alternate;pointer-events:none;}
@keyframes wpAccentGlint{from{transform:translateX(0);opacity:.24;}to{transform:translateX(calc(var(--random-number,1) * 2rem));opacity:.55;}}
@media (prefers-reduced-motion: reduce){.wp-accent-intro-focus-glint::before,.wp-accent-intro-focus-glint::after{animation:none!important;}}

.identity {
    background: var(--gradient-hero-bg);
    color: var(--gradient-hero-fg);
    padding: 4.5rem 1.5rem;
  }

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

  .identity .intro {
    margin-bottom: 3.5rem;
  }

  .identity h1 {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1.2rem 0;
    max-width: 640px;
  }

  .identity .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
  }

  .identity .manifesto {
    border-top: 1px solid var(--card-border);
    padding-top: 2.5rem;
  }

  .identity .note {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.8rem 0;
  }

  .identity h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1.2rem 0;
    max-width: 620px;
  }

  .identity .manifesto p:not(.note) {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 0 0 1rem 0;
  }

  .identity .manifesto p:last-child {
    margin-bottom: 0;
  }

  @media (min-width: 768px) {
    .identity {
      padding: 6rem 2rem;
    }

    .identity h1 {
      font-size: 2.6rem;
    }

    .identity .manifesto {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      align-items: start;
    }

    .identity .manifesto .note,
    .identity .manifesto h2 {
      grid-column: 1;
    }

    .identity .manifesto p:not(.note) {
      grid-column: 2;
    }

    .identity .manifesto p:not(.note):first-of-type {
      grid-row: 1;
    }

    .identity .manifesto p:not(.note):last-of-type {
      grid-row: 2;
    }
  }

.identity {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

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

        .people-behind .inner {
            max-width: 960px;
            margin: 0 auto;
        }

        .people-behind h2 {
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0 0 1.2rem;
            line-height: 1.3;
        }

        .people-behind p {
            font-size: 1rem;
            line-height: 1.7;
            margin: 0 0 1.2rem;
            color: var(--page-fg);
        }

        .people-behind .members {
            margin: 2.5rem 0;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

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

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

        .people-behind .member h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0 0 0.3rem;
            color: var(--page-fg);
        }

        .people-behind .role {
            font-size: 0.9rem;
            color: var(--muted-fg);
            margin: 0 0 0.8rem;
            font-style: italic;
        }

        .people-behind .member p:last-child {
            margin-bottom: 0;
        }

        .people-behind .note {
            font-size: 0.95rem;
            color: var(--muted-fg);
            margin: 2rem 0 0.8rem;
        }

        .people-behind .link {
            display: inline-block;
            color: var(--primary-bg);
            font-weight: 500;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .people-behind .link:hover {
            color: var(--primary-hover);
        }

        @media (min-width: 700px) {
            .people-behind {
                padding: 5rem 2rem;
            }

            .people-behind .members {
                gap: 2.5rem;
            }

            .people-behind .member {
                display: grid;
                grid-template-columns: 220px 1fr;
                column-gap: 2rem;
                align-items: start;
            }

            .people-behind .member h3,
            .people-behind .member .role {
                grid-column: 1;
            }

            .people-behind .member p:last-child {
                grid-column: 2;
                grid-row: 1 / span 2;
            }
        }

.people-behind {
  background: var(--page-bg);
  color: var(--page-fg);
}

.stay-in-touch {
    background: var(--inverse-bg);
    color: var(--inverse-fg);
    padding: 3.5rem 1.5rem;
  }

  .stay-in-touch .inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
  }

  .stay-in-touch h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
    color: inherit;
  }

  .stay-in-touch p {
    margin: 0 0 1.8rem 0;
    font-size: 1rem;
    color: inherit;
    max-width: 60ch;
  }

  .stay-in-touch a {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--accent-fg);
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease;
  }

  .stay-in-touch a:hover {
    background: var(--accent-hover);
    color: var(--accent-fg);
  }

  @media (max-width: 480px) {
    .stay-in-touch {
      padding: 2.5rem 1.2rem;
    }

    .stay-in-touch h2 {
      font-size: 1.5rem;
    }
  }

.stay-in-touch {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

.faq {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 3rem 1.25rem;
    }

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

    .faq h2 {
      font-size: 1.75rem;
      font-weight: 600;
      line-height: 1.25;
      margin: 0 0 0.75rem 0;
      letter-spacing: -0.01em;
    }

    .faq .lead {
      font-size: 1.05rem;
      line-height: 1.6;
      margin: 0 0 2rem 0;
      color: var(--muted-fg);
      max-width: 55ch;
    }

    .faq .list {
      margin: 0;
      padding: 0;
      list-style: none;
    }

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

    .faq .item:first-of-type {
      padding-top: 0;
    }

    .faq .item:last-of-type {
      border-bottom: none;
      padding-bottom: 0;
    }

    .faq dt {
      font-weight: 600;
      font-size: 1.05rem;
      line-height: 1.4;
      margin-bottom: 0.4rem;
      color: var(--page-fg);
    }

    .faq dd {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.6;
      color: var(--muted-fg);
      max-width: 65ch;
    }

    .faq dd + dt {
      margin-top: 1.25rem;
    }

    @media (max-width: 480px) {
      .faq {
        padding: 2rem 1rem;
      }

      .faq h2 {
        font-size: 1.5rem;
      }

      .faq .lead {
        font-size: 1rem;
      }
    }

.faq {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

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

  .mission h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 1.5rem;
    line-height: 1.3;
  }

  .mission p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
  }

  .mission .note {
    background: var(--muted-bg);
    color: var(--muted-fg);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin: 1.5rem 0 2rem;
  }

  .mission a {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary-fg);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease;
  }

  .mission a:hover {
    background: var(--primary-hover);
  }

.mission {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

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

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

    .timeline .lead {
        font-size: 17px;
        line-height: 1.6;
        margin: 0 0 56px;
        max-width: 620px;
        color: var(--inverse-fg);
        opacity: 0.85;
    }

    .timeline .entry {
        display: flex;
        gap: 32px;
        padding: 28px 0;
        border-top: 1px solid rgba(253, 249, 245, 0.15);
    }

    .timeline .entry:last-child {
        border-bottom: 1px solid rgba(253, 249, 245, 0.15);
    }

    .timeline .year {
        flex-shrink: 0;
        width: 90px;
        font-size: 15px;
        font-weight: 600;
        color: #D2691E;
        padding-top: 4px;
    }

    .timeline .note h3 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 10px;
        line-height: 1.3;
    }

    .timeline .note p {
        font-size: 16px;
        line-height: 1.65;
        margin: 0;
        color: var(--inverse-fg);
        opacity: 0.8;
    }

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

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

        .timeline .entry {
            flex-direction: column;
            gap: 10px;
            padding: 24px 0;
        }

        .timeline .year {
            width: auto;
        }
    }

.timeline {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

.our-story {
        background: var(--page-bg);
        color: var(--page-fg);
        padding: 5rem 1.5rem;
    }

    .our-story .inner {
        max-width: 42rem;
        margin: 0 auto;
    }

    .our-story h2 {
        font-size: 1.9rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 0 1.5rem;
        color: var(--page-fg);
    }

    .our-story p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin: 0 0 1.4rem;
        color: var(--page-fg);
    }

    .our-story p:last-child {
        margin-bottom: 0;
    }

    @media (max-width: 640px) {
        .our-story {
            padding: 3.5rem 1.25rem;
        }

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

.our-story {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

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

  .partners h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.3;
  }

  .partners .lead {
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 48px;
    max-width: 560px;
  }

  .partners .note {
    border-left: 3px solid var(--accent-bg);
    padding: 4px 0 4px 20px;
    margin-bottom: 36px;
  }

  .partners .note:last-child {
    margin-bottom: 0;
  }

  .partners .note h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
  }

  .partners .note .meta {
    font-size: 14px;
    color: var(--muted-bg);
    margin: 0 0 12px;
  }

  .partners .note p:last-child {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
  }

.partners {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

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

  .clarifications .inner {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid var(--muted-bg);
    padding-top: 2.5rem;
  }

  .clarifications h2 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.01em;
  }

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

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

.clarifications {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

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

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

  .contacts p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 12px;
  }

  .contacts .details {
    margin-top: 28px;
    border-top: 1px solid var(--card-border, #E5D9CC);
    padding-top: 20px;
  }

  .contacts .entry {
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border, #E5D9CC);
  }

  .contacts .entry:last-child {
    border-bottom: none;
  }

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

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

  .contacts a {
    color: var(--primary-bg);
    text-decoration: none;
  }

  .contacts a:hover {
    text-decoration: underline;
  }

.contacts {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

.support {
    background: var(--page-bg);
    color: var(--page-fg);
    padding: 3.5rem 1.25rem;
  }

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

  .support .intro {
    max-width: 34rem;
  }

  .support h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.3;
  }

  .support p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1rem;
  }

  .support .note {
    font-size: 0.9rem;
    color: var(--muted-fg);
    margin-top: 0.5rem;
  }

  .support .form {
    margin-top: 2.5rem;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
  }

  .support label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  .support textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    
    color: var(--page-fg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
  }

  .support textarea:focus {
    outline: 2px solid var(--primary-bg);
    outline-offset: 1px;
    border-color: transparent;
  }

  .support button {
    margin-top: 1rem;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    
    font-weight: 500;
    color: var(--primary-fg);
    background: var(--primary-bg);
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .support button:hover {
    background: var(--primary-hover);
  }

  @media (max-width: 480px) {
    .support {
      padding: 2.5rem 1rem;
    }

    .support h2 {
      font-size: 1.5rem;
    }
  }

.support {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

  .form .inner {
    max-width: 36rem;
    margin: 0 auto;
  }

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

  .form p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-fg);
    margin: 0 0 2.5rem;
  }

  .form form {
    display: block;
  }

  .form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 1.25rem 0 0.4rem;
  }

  .form input,
  .form select,
  .form textarea {
    width: 100%;
    box-sizing: border-box;
    background: var(--card-bg);
    color: var(--card-fg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    
  }

  .form input:focus,
  .form select:focus,
  .form textarea:focus {
    outline: none;
    border-color: var(--primary-bg);
  }

  .form textarea {
    resize: vertical;
    min-height: 6rem;
  }

  .form button {
    margin-top: 1.75rem;
    background: var(--primary-bg);
    color: var(--primary-fg);
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
  }

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

.form {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

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

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

    .policy-items h1 {
      font-size: 2rem;
      font-weight: 600;
      line-height: 1.25;
      margin: 0 0 1rem;
      letter-spacing: -0.01em;
      color: var(--page-fg);
    }

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

    .policy-items .divider {
      border-bottom: 1px solid var(--muted-border);
      margin: 2rem 0;
    }

    .policy-items h2 {
      font-size: 1.25rem;
      font-weight: 600;
      margin: 0 0 0.75rem;
      color: var(--page-fg);
      line-height: 1.4;
    }

    .policy-items .section-text {
      font-size: 1rem;
      line-height: 1.7;
      color: var(--muted-fg);
      margin: 0 0 1.5rem;
      max-width: 65ch;
    }

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

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

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

    @media (max-width: 480px) {
      .policy-items h1 {
        font-size: 1.6rem;
      }
      .policy-items .lead {
        font-size: 1rem;
      }
      .policy-items .divider {
        margin: 1.5rem 0;
      }
    }

.policy-items {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

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

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

    .terms-items h1 {
      font-size: 2rem;
      font-weight: 600;
      line-height: 1.25;
      margin: 0 0 1rem;
      color: var(--page-fg);
    }

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

    .terms-items .terms-block {
      margin-bottom: 2.2rem;
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 1.8rem;
    }

    .terms-items .terms-block:last-child {
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 0;
    }

    .terms-items h2 {
      font-size: 1.25rem;
      font-weight: 600;
      margin: 0 0 0.8rem;
      color: var(--page-fg);
    }

    .terms-items p {
      font-size: 1rem;
      line-height: 1.7;
      color: var(--page-fg);
      margin: 0;
    }

    .terms-items a {
      color: var(--brand-primary-bg);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .terms-items a:hover {
      color: var(--brand-primary-hover);
    }

    @media (max-width: 600px) {
      .terms-items {
        padding: 2rem 1.2rem 3rem;
      }

      .terms-items h1 {
        font-size: 1.6rem;
      }

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

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

.terms-items {
  background: var(--page-bg);
  color: var(--page-fg);
}

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

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

    .thank h1 {
      font-size: 1.9rem;
      font-weight: 600;
      line-height: 1.3;
      margin: 0 0 1.2rem 0;
      letter-spacing: -0.01em;
    }

    .thank p {
      font-size: 1rem;
      line-height: 1.7;
      margin: 0 0 2.2rem 0;
      opacity: 0.9;
      max-width: 60ch;
    }

    .thank .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .thank .actions a {
      display: inline-block;
      padding: 0.7rem 1.4rem;
      border-radius: 6px;
      font-size: 0.95rem;
      text-decoration: none;
      transition: background 0.2s ease;
    }

    .thank .contact {
      background: var(--primary-bg);
      color: var(--primary-fg);
    }

    .thank .contact:hover {
      background: var(--primary-hover);
    }

    .thank .home {
      background: transparent;
      color: var(--inverse-fg);
      border: 1px solid rgba(253, 249, 245, 0.35);
    }

    .thank .home:hover {
      border-color: rgba(253, 249, 245, 0.7);
    }

    @media (max-width: 480px) {
      .thank {
        padding: 3rem 1.2rem;
      }

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

      .thank .actions {
        flex-direction: column;
      }

      .thank .actions a {
        text-align: center;
      }
    }

.thank {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}

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

  .404 .inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .404 .code {
    font-size: 48px;
    font-weight: 700;
    color: var(--brand-primary-bg);
    margin: 0 0 12px;
    letter-spacing: 2px;
  }

  .404 h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.3;
  }

  .404 p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 28px;
  }

  .404 .actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .404 .actions a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    background: var(--brand-primary-bg);
    color: var(--brand-primary-fg);
    transition: background 0.2s ease;
  }

  .404 .actions a:hover {
    background: var(--brand-primary-hover);
  }

  .404 .actions a:last-child {
    background: transparent;
    color: var(--page-fg);
    border: 1px solid var(--card-border);
  }

  .404 .actions a:last-child:hover {
    background: var(--muted-bg);
  }

.404 {
  background: var(--inverse-bg);
  color: var(--inverse-fg);
}