:root {
  --font-family: "Playfair Display", sans-serif;
  --font-size-base: 15.8px;
  --line-height-base: 1.77;

  --max-w: 980px;
  --space-x: 1.47rem;
  --space-y: 1.5rem;
  --gap: 0.79rem;
  --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.35rem;
  --radius-lg: 1rem;
  --radius-md: 0.66rem;
  --radius-sm: 0.37rem;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.08);

  --overlay: rgba(10, 10, 30, 0.6);
  --anim-duration: 420ms;
  --anim-ease: cubic-bezier(0.22,1,0.36,1);
  --random-number: 1;

  --brand: #1a1a3e;
  --brand-contrast: #f5f0e8;
  --accent: #c9a84c;
  --accent-contrast: #0d0d1a;

  --neutral-0: #faf8f4;
  --neutral-100: #f0ede6;
  --neutral-300: #c8c2b6;
  --neutral-600: #6b655a;
  --neutral-800: #2a2824;
  --neutral-900: #14120f;

  --page-bg: #faf8f4;
  --page-fg: #1a1a2e;
  --muted-bg: #f0ede6;
  --muted-fg: #1a1a2e;
  --card-bg: #ffffff;
  --card-fg: #1a1a2e;
  --card-border: #d6d0c4;
  --inverse-bg: #1a1a3e;
  --inverse-fg: #f5f0e8;
  --primary-bg: #1a1a3e;
  --primary-fg: #f5f0e8;
  --primary-hover: #2a2a5e;
  --accent-bg: #c9a84c;
  --accent-fg: #0d0d1a;
  --accent-hover: #b8942e;
  --gradient-hero-bg: linear-gradient(135deg, #0d0d1a 0%, #1a1a3e 50%, #2a1f0a 100%);
  --gradient-hero-fg: #f5f0e8;
  --gradient-accent-bg: linear-gradient(135deg, #c9a84c 0%, #e0c878 50%, #b8942e 100%);
  --gradient-accent-fg: #0d0d1a;

  --ring: #c9a84c;

  --link: #1a1a3e;
  --link-hover: #c9a84c;

  --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-color: var(--page-bg);
  border-bottom: 1px solid var(--muted-bg);
  width: 100%;
}

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

.logo {
  font-size: var(--font-size-h3);
  font-weight: 700;
  color: var(--page-fg);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo:hover {
  opacity: 0.85;
}

.nav-list {
  display: flex;
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: var(--font-size-md);
  color: var(--page-fg);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--anim-duration) var(--anim-ease), color var(--anim-duration) var(--anim-ease);
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.3rem;
  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.active .burger-line:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

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

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

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

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--page-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--anim-duration) var(--anim-ease), visibility var(--anim-duration) var(--anim-ease);
    z-index: 100;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-y);
  }

  .nav-link {
    font-size: var(--font-size-h2);
    padding: 0.5rem 0;
  }
}

footer {
    background-color: var(--page-bg, #f8f9fa);
    color: var(--page-fg, #212529);
    font-family: var(--font-family, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
    font-size: var(--font-size-sm, 0.875rem);
    line-height: var(--line-height-base, 1.6);
    padding: var(--space-section-y, 2rem) var(--space-section-x, 1rem);
    border-top: 1px solid var(--muted-bg, #e9ecef);
  }
  .footer-container {
    max-width: var(--max-w, 1200px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap, 1.5rem);
  }
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-y, 0.75rem);
  }
  .footer-logo {
    font-size: var(--font-size-lg, 1.25rem);
    font-weight: 700;
    color: var(--primary-bg, #0d6efd);
  }
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap, 0.75rem);
  }
  .footer-nav a {
    color: var(--link, #0d6efd);
    text-decoration: none;
    transition: color var(--anim-duration, 0.2s) var(--anim-ease, ease);
  }
  .footer-nav a:hover {
    color: var(--link-hover, #0a58ca);
    text-decoration: underline;
  }
  .footer-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-y, 0.75rem);
    max-width: 500px;
  }
  .footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--muted-fg, #6c757d);
  }
  .footer-contacts a {
    color: var(--link, #0d6efd);
    text-decoration: none;
  }
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  .footer-disclaimer {
    font-size: var(--font-size-sm, 0.75rem);
    color: var(--muted-fg, #6c757d);
    line-height: var(--line-height-base, 1.4);
    border-left: 2px solid var(--muted-bg, #dee2e6);
    padding-left: var(--space-x, 0.75rem);
  }
  .footer-copyright {
    font-size: var(--font-size-sm, 0.75rem);
    color: var(--muted-fg, #adb5bd);
  }
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .footer-left, .footer-right {
      align-items: center;
    }
    .footer-nav {
      justify-content: center;
    }
    .footer-disclaimer {
      border-left: none;
      padding-left: 0;
    }
  }

.cookie-notice {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
}
.cookie-dialog {
  pointer-events: auto;
  max-width: 24rem;
  width: 90%;
  background: var(--card-bg, #ffffff);
  color: var(--card-fg, #1a1a1a);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-lg, 0 8px 32px rgba(0,0,0,0.12));
  padding: var(--space-card, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--gap, 0.75rem);
  border: 1px solid var(--card-border, #e0e0e0);
}
.cookie-title {
  margin: 0;
  font-size: var(--font-size-h3, 1.25rem);
  font-weight: 600;
  line-height: var(--line-height-base, 1.5);
}
.cookie-copy {
  margin: 0;
  font-size: var(--font-size-sm, 0.875rem);
  line-height: var(--line-height-base, 1.5);
  color: var(--muted-fg, #555555);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap, 0.5rem);
  margin-top: var(--space-y, 0.5rem);
}
.choice {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm, 6px);
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  line-height: var(--line-height-base, 1.5);
}
.choice-accept {
  background: var(--primary-bg, #0066cc);
  color: var(--primary-fg, #ffffff);
}
.choice-accept:hover {
  background: var(--primary-hover, #0052a3);
}
.choice-reject {
  background: var(--muted-bg, #f0f0f0);
  color: var(--muted-fg, #555555);
}
.choice-reject:hover {
  background: var(--btn-ghost-bg-hover, #e0e0e0);
}
.choice-manage {
  background: transparent;
  color: var(--link, #0066cc);
  text-decoration: underline;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.choice-manage:hover {
  color: var(--link-hover, #004080);
}

.intro-focus {
      background: var(--page-bg, #faf8f4);
      color: var(--page-fg, #1a1a2e);
      padding: 4rem 1.5rem;
      display: flex;
      justify-content: center;
    }

    .intro-focus .inner {
      max-width: 720px;
      width: 100%;
      text-align: left;
    }

    .intro-focus h1 {
      
      font-weight: 700;
      font-size: 2.8rem;
      line-height: 1.15;
      margin: 0 0 1.25rem 0;
      letter-spacing: -0.02em;
      color: #1a1a3e;
    }

    .intro-focus p {
      font-size: 1.125rem;
      line-height: 1.7;
      margin: 0 0 2rem 0;
      color: #1a1a2e;
    }

    .intro-focus .action {
      display: inline-block;
      background: #c9a84c;
      color: #0d0d1a;
      font-weight: 600;
      font-size: 1rem;
      line-height: 1;
      padding: 0.85rem 2rem;
      border-radius: 999px;
      text-decoration: none;
      transition: background 0.2s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .intro-focus .action:hover {
      background: #b8942e;
    }

.mission {
  background: var(--page-bg, #faf8f4);
  color: var(--page-fg, #1a1a2e);
  padding: 3.5rem 1.5rem;
}

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

.mission .heading {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
  color: #1a1a3e;
}

.mission .lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 2.2rem 0;
  max-width: 680px;
  color: #2a2a4a;
}

.mission .body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mission .entry {
  border-left: 3px solid #c9a84c;
  padding-left: 1.25rem;
}

.mission .entry-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.3rem 0;
  color: #1a1a3e;
  letter-spacing: -0.01em;
}

.mission .entry-text {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  color: #2e2e4a;
}

/* компактный отступ на маленьких экранах */
@media (max-width: 600px) {
  .mission {
    padding: 2.5rem 1.25rem;
  }
  .mission .heading {
    font-size: 1.6rem;
  }
  .mission .lead {
    font-size: 0.95rem;
  }
}

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

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

    .articles .section-title {
      
      font-size: 1.75rem;
      font-weight: 400;
      margin: 0 0 0.5rem 0;
      color: var(--brand-primary-bg);
    }

    .articles .section-note {
      font-size: 0.95rem;
      line-height: 1.5;
      margin: 0 0 2.5rem 0;
      color: var(--muted-fg);
      max-width: 36em;
    }

    .articles .items {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .articles .item {
      background: var(--card-bg);
      padding: 1.5rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 1px solid var(--card-border);
    }

    .articles .item-title {
      
      font-size: 1.25rem;
      font-weight: 500;
      margin: 0 0 0.25rem 0;
      line-height: 1.3;
    }

    .articles .item-title a {
      color: var(--brand-primary-bg);
      text-decoration: none;
    }

    .articles .item-title a:hover {
      color: var(--brand-primary-hover);
      text-decoration: underline;
    }

    .articles .item-subtitle {
      font-size: 0.9rem;
      font-style: italic;
      margin: 0 0 0.75rem 0;
      color: var(--muted-fg);
    }

    .articles .item-summary {
      font-size: 0.95rem;
      line-height: 1.5;
      margin: 0 0 0.75rem 0;
      font-weight: 500;
    }

    .articles .item-description {
      font-size: 0.9rem;
      line-height: 1.6;
      margin: 0 0 1rem 0;
      color: var(--muted-fg);
    }

    .articles .item-link {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--accent-bg);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.15s;
    }

    .articles .item-link:hover {
      border-color: var(--accent-bg);
    }

    @media (min-width: 640px) {
      .articles {
        padding: 4rem 2rem;
      }

      .articles .section-title {
        font-size: 2rem;
      }

      .articles .item {
        padding: 2rem;
      }
    }

.faq {
  background: var(--page-bg, #faf8f4);
  color: var(--page-fg, #1a1a2e);
  padding: 3rem 1.5rem;
}
.faq .inner {
  max-width: 720px;
  margin: 0 auto;
}
.faq h2 {
  
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 2rem 0;
  color: var(--brand-primary-bg, #1a1a3e);
}
.faq .item {
  margin-bottom: 1.75rem;
}
.faq .item:last-child {
  margin-bottom: 0;
}
.faq .item h3 {
  
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 0.35rem 0;
  color: var(--brand-accent-bg, #c9a84c);
}
.faq .item p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: var(--page-fg, #1a1a2e);
}
@media (min-width: 640px) {
  .faq {
    padding: 4rem 2rem;
  }
  .faq h2 {
    font-size: 2rem;
  }
}

.timeline {
      background: var(--inverse-bg, #1a1a3e);
      color: var(--inverse-fg, #f5f0e8);
      padding: 3rem 1.5rem;
    }
    .timeline .inner {
      max-width: 720px;
      margin: 0 auto;
    }
    .timeline h2 {
      
      font-size: 2rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      margin: 0 0 0.5rem;
      line-height: 1.2;
      color: var(--inverse-fg, #f5f0e8);
    }
    .timeline .intro {
      font-size: 1rem;
      line-height: 1.5;
      margin: 0 0 2.5rem;
      color: var(--inverse-fg, #f5f0e8);
      opacity: 0.85;
      max-width: 520px;
    }
    .timeline .entry {
      border-top: 1px solid rgba(201, 168, 76, 0.25);
      padding: 1.5rem 0;
    }
    .timeline .entry:first-of-type {
      border-top: none;
      padding-top: 0;
    }
    .timeline .entry time {
      display: inline-block;
      font-size: 0.8rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--accent-bg, #c9a84c);
      margin-bottom: 0.25rem;
      font-weight: 400;
    }
    .timeline .entry h3 {
      
      font-size: 1.2rem;
      font-weight: 400;
      margin: 0 0 0.4rem;
      line-height: 1.3;
      color: var(--inverse-fg, #f5f0e8);
    }
    .timeline .entry p {
      font-size: 0.95rem;
      line-height: 1.55;
      margin: 0;
      color: var(--inverse-fg, #f5f0e8);
      opacity: 0.8;
      max-width: 580px;
    }
    @media (min-width: 600px) {
      .timeline {
        padding: 4rem 2rem;
      }
      .timeline h2 {
        font-size: 2.4rem;
      }
      .timeline .entry {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.5rem 1.2rem;
      }
      .timeline .entry time {
        flex: 0 0 auto;
        min-width: 7rem;
        margin-bottom: 0;
      }
      .timeline .entry h3 {
        flex: 1 1 auto;
        margin-bottom: 0.2rem;
      }
      .timeline .entry p {
        flex: 0 0 100%;
        margin-top: 0.25rem;
      }
    }

.people-behind {
      background: var(--page-bg, #faf8f4);
      color: var(--page-fg, #1a1a2e);
      padding: 3.5rem 1.25rem;
    }
    .people-behind .inner {
      max-width: 900px;
      margin: 0 auto;
    }
    .people-behind h2 {
      font-size: 1.75rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      line-height: 1.2;
      margin: 0 0 0.75rem 0;
      color: var(--brand-primary-bg, #1a1a3e);
    }
    .people-behind .intro {
      font-size: 1rem;
      line-height: 1.5;
      margin: 0 0 2.25rem 0;
      color: var(--page-fg, #1a1a2e);
      max-width: 580px;
    }
    .people-behind .team-list {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
      border-top: 1px solid var(--card-border, #d6d0c4);
      padding-top: 1.75rem;
    }
    .people-behind .entry {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1.25rem;
      align-items: baseline;
    }
    .people-behind .entry-name {
      font-size: 1.1rem;
      font-weight: 500;
      line-height: 1.3;
      color: var(--brand-primary-bg, #1a1a3e);
      min-width: 140px;
    }
    .people-behind .entry-role {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--accent-bg, #c9a84c);
      letter-spacing: 0.02em;
      text-transform: uppercase;
      font-size: 0.8rem;
    }
    .people-behind .entry-detail {
      font-size: 0.95rem;
      line-height: 1.5;
      color: var(--page-fg, #1a1a2e);
      width: 100%;
      margin-top: 0.15rem;
    }
    .people-behind .footnote {
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--card-border, #d6d0c4);
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--muted-fg, #1a1a2e);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
    }
    .people-behind .footnote a {
      color: var(--accent-bg, #c9a84c);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s;
    }
    .people-behind .footnote a:hover {
      border-color: currentColor;
    }
    @media (min-width: 640px) {
      .people-behind {
        padding: 4.5rem 2rem;
      }
      .people-behind h2 {
        font-size: 2rem;
      }
      .people-behind .entry-detail {
        width: auto;
        margin-top: 0;
        margin-left: 0.25rem;
      }
      .people-behind .entry {
        flex-wrap: nowrap;
      }
    }

.identity {
      background: var(--inverse-bg, #1a1a3e);
      color: var(--inverse-fg, #f5f0e8);
      padding: 4rem 1.5rem;
    }
    .identity .inner {
      max-width: 48rem;
      margin: 0 auto;
    }
    .identity .title {
      
      font-size: 2.8rem;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.01em;
      margin: 0 0 1.25rem;
      color: var(--accent-bg, #c9a84c);
    }
    .identity .lead {
      font-size: 1.125rem;
      line-height: 1.6;
      margin: 0 0 2rem;
      max-width: 36rem;
      color: var(--inverse-fg, #f5f0e8);
    }
    .identity .note {
      display: flex;
      align-items: baseline;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 8px;
      max-width: 32rem;
    }
    .identity .label {
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--accent-bg, #c9a84c);
      white-space: nowrap;
    }
    .identity .value {
      font-size: 1rem;
      line-height: 1.5;
      color: var(--inverse-fg, #f5f0e8);
    }
    @media (max-width: 640px) {
      .identity {
        padding: 2.5rem 1.25rem;
      }
      .identity .title {
        font-size: 2rem;
      }
      .identity .lead {
        font-size: 1rem;
      }
      .identity .note {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.875rem 1rem;
      }
    }

.our-story {
      background: #faf8f4;
      color: #1a1a2e;
      padding: 5rem 1.5rem;
    }
    .our-story .inner {
      max-width: 820px;
      margin: 0 auto;
    }
    .our-story h2 {
      
      font-size: 2.2rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      line-height: 1.2;
      margin: 0 0 1.2rem;
      color: #1a1a3e;
    }
    .our-story > .inner > p {
      font-size: 1.05rem;
      line-height: 1.6;
      margin: 0 0 2.5rem;
      max-width: 640px;
      color: #1a1a2e;
    }
    .our-story .steps {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      margin-bottom: 2.5rem;
    }
    .our-story .step {
      border-left: 2px solid #c9a84c;
      padding-left: 1.2rem;
    }
    .our-story .year {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #c9a84c;
      margin-bottom: 0.25rem;
    }
    .our-story .step h3 {
      
      font-size: 1.2rem;
      font-weight: 400;
      margin: 0 0 0.3rem;
      color: #1a1a3e;
    }
    .our-story .step p {
      font-size: 0.95rem;
      line-height: 1.5;
      margin: 0;
      color: #1a1a2e;
    }
    .our-story .note {
      font-size: 0.9rem;
      line-height: 1.5;
      color: #5a5a6e;
      margin-bottom: 2rem;
      padding: 1rem 1.2rem;
      background: #f0ede6;
      border-radius: 6px;
    }
    .our-story .links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .our-story .links a {
      font-size: 0.95rem;
      color: #1a1a3e;
      text-decoration: none;
      border-bottom: 1px solid #c9a84c;
      padding-bottom: 2px;
      transition: border-color 0.15s, color 0.15s;
    }
    .our-story .links a:hover {
      border-bottom-color: #1a1a3e;
      color: #c9a84c;
    }
    @media (min-width: 640px) {
      .our-story {
        padding: 6rem 2rem;
      }
      .our-story h2 {
        font-size: 2.6rem;
      }
      .our-story .steps {
        gap: 2.5rem;
      }
    }

.contacts {
      background: var(--inverse-bg, #1a1a3e);
      color: var(--inverse-fg, #f5f0e8);
      padding: 3rem 1.5rem;
    }

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

    .contacts .heading {
      
      font-size: 2rem;
      font-weight: 400;
      line-height: 1.2;
      margin: 0 0 1rem 0;
      letter-spacing: -0.01em;
      color: var(--accent-bg, #c9a84c);
    }

    .contacts .desc {
      font-size: 1rem;
      line-height: 1.6;
      margin: 0 0 2rem 0;
      opacity: 0.85;
      max-width: 540px;
    }

    .contacts .body {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      padding: 1.5rem 0;
      border-top: 1px solid rgba(201, 168, 76, 0.25);
      border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    }

    .contacts .item {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .contacts .label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      opacity: 0.6;
      font-weight: 500;
    }

    .contacts .value {
      font-size: 1rem;
      line-height: 1.5;
    }

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

    .contacts .link:hover {
      border-bottom-color: currentColor;
    }

    .contacts .footnote {
      font-size: 0.875rem;
      line-height: 1.5;
      margin: 1.5rem 0 0 0;
      opacity: 0.7;
      max-width: 480px;
    }

    @media (min-width: 640px) {
      .contacts {
        padding: 4rem 2rem;
      }

      .contacts .heading {
        font-size: 2.5rem;
      }

      .contacts .body {
        gap: 1.5rem;
        padding: 2rem 0;
      }
    }

.form {
      background: var(--page-bg);
      color: var(--page-fg);
      padding: 4rem 1.5rem;
    }
    .form .inner {
      max-width: 640px;
      margin: 0 auto;
    }
    .form h2 {
      font-size: 1.75rem;
      font-weight: 400;
      margin: 0 0 1rem;
      line-height: 1.2;
    }
    .form p {
      margin: 0 0 0.75rem;
      line-height: 1.6;
      font-size: 0.95rem;
    }
    .form form {
      margin: 2rem 0 1.5rem;
    }
    .form .field {
      margin-bottom: 1.25rem;
    }
    .form label {
      display: block;
      font-size: 0.85rem;
      font-weight: 500;
      margin-bottom: 0.35rem;
      color: var(--page-fg);
    }
    .form input {
      display: block;
      width: 100%;
      padding: 0.7rem 0.9rem;
      font-size: 0.95rem;
      border: 1px solid var(--muted-bg);
      border-radius: 6px;
      background: var(--card-bg);
      color: var(--card-fg);
      box-sizing: border-box;
      transition: border-color 0.15s;
    }
    .form input:focus {
      outline: none;
      border-color: var(--accent-bg);
    }
    .form button {
      display: inline-block;
      padding: 0.7rem 2rem;
      font-size: 0.95rem;
      font-weight: 500;
      border: none;
      border-radius: 6px;
      background: var(--accent-bg);
      color: var(--accent-fg);
      cursor: pointer;
      transition: background 0.15s;
    }
    .form button:hover {
      background: var(--accent-hover);
    }
    .form .note {
      font-size: 0.85rem;
      color: var(--muted-fg);
      margin-top: 1.5rem;
    }
    .form .contact-line {
      font-weight: 500;
      color: var(--page-fg);
    }

.policy-items {
      background: #faf8f4;
      color: #1a1a2e;
      padding: 3rem 1.5rem;
      
      line-height: 1.6;
    }

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

    .policy-items h2 {
      font-size: 1.75rem;
      font-weight: 400;
      color: #1a1a3e;
      margin: 0 0 0.25rem;
      letter-spacing: 0.02em;
    }

    .policy-items .update-date {
      font-size: 0.85rem;
      color: #7a756a;
      margin: 0 0 2.5rem;
      border-bottom: 1px solid #d6d0c4;
      padding-bottom: 1rem;
    }

    .policy-items .topic {
      margin-bottom: 2rem;
    }

    .policy-items .topic:last-of-type {
      margin-bottom: 0;
    }

    .policy-items h3 {
      font-size: 1.15rem;
      font-weight: 400;
      color: #1a1a3e;
      margin: 0 0 0.5rem;
      letter-spacing: 0.01em;
    }

    .policy-items p {
      font-size: 0.95rem;
      margin: 0;
      color: #3a3a4a;
    }

    .policy-items a {
      color: #c9a84c;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s;
    }

    .policy-items a:hover {
      border-bottom-color: #c9a84c;
    }

    @media (min-width: 640px) {
      .policy-items {
        padding: 4rem 2rem;
      }

      .policy-items h2 {
        font-size: 2rem;
      }

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

      .policy-items p {
        font-size: 1rem;
      }
    }

.terms-items {
      background: var(--page-bg, #faf8f4);
      color: var(--page-fg, #1a1a2e);
      padding: 3rem 1.5rem;
      
    }
    .terms-items .inner {
      max-width: 740px;
      margin: 0 auto;
    }
    .terms-items h2 {
      font-size: 1.8rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      margin: 0 0 0.5rem 0;
      color: var(--brand-primary-bg, #1a1a3e);
    }
    .terms-items .subtitle {
      font-size: 1rem;
      line-height: 1.5;
      color: var(--muted-fg, #1a1a2e);
      opacity: 0.75;
      margin: 0 0 2.5rem 0;
    }
    .terms-items .item {
      margin-bottom: 2rem;
    }
    .terms-items .item h3 {
      font-size: 1.15rem;
      font-weight: 500;
      margin: 0 0 0.35rem 0;
      color: var(--brand-primary-bg, #1a1a3e);
    }
    .terms-items .item p {
      font-size: 0.95rem;
      line-height: 1.6;
      margin: 0;
      color: var(--page-fg, #1a1a2e);
    }
    .terms-items .legal-note {
      font-size: 0.9rem;
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--card-border, #d6d0c4);
      color: var(--muted-fg, #1a1a2e);
    }
    .terms-items .legal-note a {
      color: var(--accent-bg, #c9a84c);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s;
    }
    .terms-items .legal-note a:hover {
      border-color: var(--accent-bg, #c9a84c);
    }
    @media (max-width: 600px) {
      .terms-items {
        padding: 2rem 1rem;
      }
      .terms-items h2 {
        font-size: 1.5rem;
      }
      .terms-items .item h3 {
        font-size: 1.05rem;
      }
    }

.thank {
      background: var(--inverse-bg, #1a1a3e);
      color: var(--inverse-fg, #f5f0e8);
      padding: 4rem 1.5rem;
    }
    .thank .inner {
      max-width: 680px;
      margin: 0 auto;
    }
    .thank .heading {
      font-size: 2rem;
      font-weight: 400;
      line-height: 1.2;
      margin: 0 0 1rem 0;
      letter-spacing: -0.02em;
    }
    .thank .note {
      font-size: 1rem;
      line-height: 1.6;
      margin: 0 0 2rem 0;
      opacity: 0.85;
    }
    .thank .steps {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin: 0 0 2rem 0;
    }
    .thank .step {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    .thank .step-num {
      flex-shrink: 0;
      width: 2rem;
      height: 2rem;
      border-radius: 50%;
      background: var(--accent-bg, #c9a84c);
      color: var(--accent-fg, #0d0d1a);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      font-weight: 600;
      line-height: 1;
    }
    .thank .step-text {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.5;
      padding-top: 0.25rem;
    }
    .thank .contact-line {
      font-size: 0.9rem;
      line-height: 1.5;
      margin: 0;
      opacity: 0.75;
    }
    .thank .contact-link {
      color: var(--accent-bg, #c9a84c);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .thank .contact-link:hover {
      opacity: 0.8;
    }
    @media (min-width: 600px) {
      .thank {
        padding: 5rem 2rem;
      }
      .thank .heading {
        font-size: 2.5rem;
      }
      .thank .steps {
        flex-direction: row;
        gap: 1.5rem;
      }
      .thank .step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .thank .step-text {
        padding-top: 0.5rem;
      }
    }

.not-found {
      background: var(--page-bg, #faf8f4);
      color: var(--page-fg, #1a1a2e);
      padding: 3rem 1.5rem 4rem;
      
    }
    .not-found .inner {
      max-width: 640px;
      margin: 0 auto;
      text-align: center;
    }
    .not-found h1 {
      font-size: 2.8rem;
      font-weight: 400;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin: 0 0 0.5rem;
      color: var(--brand-primary-bg, #1a1a3e);
    }
    .not-found .sub {
      font-size: 1rem;
      line-height: 1.6;
      color: var(--page-fg, #1a1a2e);
      opacity: 0.75;
      margin: 0 0 2rem;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }
    .not-found .action {
      display: inline-block;
      background: var(--accent-bg, #c9a84c);
      color: var(--accent-fg, #0d0d1a);
      padding: 0.7rem 1.8rem;
      font-size: 1rem;
      
      text-decoration: none;
      border-radius: 40px;
      transition: background 0.2s;
      letter-spacing: 0.01em;
      font-weight: 500;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }
    .not-found .action:hover {
      background: var(--accent-hover, #b8942e);
    }
    .not-found .divider {
      width: 60px;
      height: 1px;
      background: var(--muted-bg, #d6d0c4);
      margin: 1.6rem auto 1.8rem;
    }
    .not-found .note {
      font-size: 0.9rem;
      line-height: 1.5;
      color: var(--page-fg, #1a1a2e);
      opacity: 0.6;
      margin-top: 2.2rem;
    }
    .not-found .note a {
      color: var(--brand-primary-bg, #1a1a3e);
      text-decoration: underline;
      text-underline-offset: 3px;
      text-decoration-thickness: 1px;
      opacity: 0.8;
    }
    .not-found .note a:hover {
      opacity: 1;
    }
    @media (max-width: 480px) {
      .not-found h1 {
        font-size: 2rem;
      }
      .not-found .sub {
        font-size: 0.95rem;
      }
    }

.404 {
  background: var(--page-bg);
  color: var(--page-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);
}