@layer reset, base, components, layout, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ul,
  ol {
    margin: 0;
  }

  ul,
  ol {
    padding: 0;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    border: 0;
  }
}

@layer base {
  :root {
    --bg: #080b12;
    --bg-elevated: #0d111b;
    --surface: #111722;
    --surface-2: #151c28;
    --surface-3: #1a2230;
    --text: #f4f7f1;
    --text-soft: #c5cbbc;
    --muted: #8f998c;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #8cf36b;
    --accent-strong: #70df4d;
    --accent-dark: #163a18;
    --cyan: #58d7d0;
    --danger: #ff7b78;
    --warning: #f7c867;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --container: 1180px;
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  ::selection {
    color: #071007;
    background: var(--accent);
  }

  body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background:
      radial-gradient(circle at 80% 8%, rgba(88, 215, 208, 0.06), transparent 28rem),
      var(--bg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body.menu-open {
    overflow: hidden;
  }

  h1,
  h2,
  h3,
  strong {
    font-weight: 720;
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  p {
    color: var(--text-soft);
  }

  :focus-visible {
    outline: 3px solid rgba(140, 243, 107, 0.75);
    outline-offset: 4px;
    border-radius: 4px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(82px, 10vw, 144px);
  }

  .section-sm {
    padding-block: clamp(58px, 7vw, 96px);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #091009;
    background: var(--accent);
    border-radius: var(--radius-sm);
    font-weight: 750;
    transform: translateY(-150%);
    transition: transform 180ms ease;
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .reading-progress {
    position: fixed;
    z-index: 1001;
    inset: 0 0 auto;
    height: 3px;
    background: transparent;
    pointer-events: none;
  }

  .reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    box-shadow: 0 0 18px rgba(140, 243, 107, 0.55);
  }

  .kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .text-gradient {
    color: transparent;
    background: linear-gradient(100deg, var(--accent) 5%, #d8ffcb 52%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@layer components {
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 760;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 17px;
    font-size: 0.84rem;
  }

  .button-large {
    min-height: 54px;
    padding-inline: 25px;
  }

  .button-primary {
    color: #081008;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 32px rgba(112, 223, 77, 0.14);
  }

  .button-primary:hover {
    background: #a4fb87;
    border-color: #a4fb87;
    box-shadow: 0 12px 38px rgba(112, 223, 77, 0.22);
  }

  .button-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--line-strong);
  }

  .button-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.26);
  }

  .button-light {
    color: #081008;
    background: #fff;
    border-color: #fff;
  }

  .button-light:hover {
    background: #efffe9;
    border-color: #efffe9;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
  }

  .brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #081008;
    background: var(--accent);
    border-radius: 12px;
    box-shadow: inset 0 -5px 12px rgba(24, 70, 13, 0.18);
  }

  .brand-mark svg {
    width: 27px;
    fill: currentColor;
  }

  .brand-mark .brand-spark {
    fill: #fff;
  }

  .brand-text {
    color: var(--text);
    font-size: 1.24rem;
    font-weight: 830;
    letter-spacing: -0.06em;
  }

  .brand-text span {
    color: var(--accent);
  }

  .section-heading {
    max-width: 620px;
  }

  .section-heading h2 {
    margin-bottom: 18px;
  }

  .section-heading p {
    max-width: 520px;
    font-size: 1.04rem;
  }

  .section-heading.compact {
    margin-bottom: 34px;
  }

  .section-heading.compact h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    margin-bottom: 10px;
  }
}

@layer layout {
  .site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: 74px;
    background: rgba(8, 11, 18, 0.78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .site-header.is-scrolled {
    background: rgba(8, 11, 18, 0.94);
    border-color: var(--line);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  }

  .header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 30px;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
  }

  .site-nav a {
    position: relative;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 650;
    transition: color 180ms ease;
  }

  .site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--text);
  }

  .site-nav a:hover::after,
  .site-nav a.is-active::after {
    transform: scaleX(1);
  }

  .header-actions {
    display: flex;
    gap: 9px;
  }

  .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin-block: 4px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    position: relative;
    display: grid;
    min-height: min(860px, calc(100vh - 74px));
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(72px, 9vw, 122px);
    border-bottom: 1px solid var(--line);
  }

  .hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.16;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    content: "";
    mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  }

  .hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
  }

  .hero-glow-one {
    top: 7%;
    right: -10%;
    width: 620px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(140, 243, 107, 0.14), transparent 66%);
  }

  .hero-glow-two {
    bottom: -34%;
    left: 8%;
    width: 520px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(88, 215, 208, 0.1), transparent 68%);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.78fr);
    align-items: center;
    gap: clamp(56px, 8vw, 112px);
  }

  .hero-copy {
    max-width: 700px;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 7px 13px;
    color: #d7ddd2;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .eyebrow-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(140, 243, 107, 0.1);
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(3.3rem, 6.25vw, 6.15rem);
    line-height: 0.97;
    letter-spacing: -0.068em;
    text-wrap: balance;
  }

  .hero-lead {
    max-width: 640px;
    margin-top: 27px;
    font-size: clamp(1.05rem, 1.7vw, 1.23rem);
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
  }

  .hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 24px;
    margin-top: 30px;
    list-style: none;
  }

  .hero-notes li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
  }

  .hero-notes svg {
    width: 16px;
    color: var(--accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .access-card {
    position: relative;
    padding: 18px;
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.04), transparent 48%),
      rgba(14, 19, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    box-shadow: var(--shadow);
  }

  .access-card::before,
  .access-card::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
  }

  .access-card::before {
    inset: -2px;
    background: linear-gradient(145deg, rgba(140, 243, 107, 0.22), transparent 35%, rgba(88, 215, 208, 0.1));
    border-radius: 28px;
    filter: blur(16px);
    opacity: 0.45;
  }

  .access-card::after {
    right: -24px;
    bottom: -26px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(140, 243, 107, 0.16), transparent 68%);
  }

  .access-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 2px 16px;
  }

  .window-dots {
    display: flex;
    gap: 6px;
  }

  .window-dots i {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
  }

  .window-dots i:first-child {
    background: rgba(255, 123, 120, 0.7);
  }

  .window-dots i:nth-child(2) {
    background: rgba(247, 200, 103, 0.7);
  }

  .window-dots i:last-child {
    background: rgba(140, 243, 107, 0.7);
  }

  .secure-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .secure-label svg {
    width: 15px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .address-preview {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 11px;
    padding: 13px;
    background: #0a0e16;
    border: 1px solid var(--line);
    border-radius: 15px;
  }

  .address-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.08);
    border: 1px solid rgba(140, 243, 107, 0.12);
    border-radius: 12px;
  }

  .address-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .address-text {
    min-width: 0;
  }

  .address-text small,
  .address-text strong {
    display: block;
  }

  .address-text small {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.68rem;
  }

  .address-text strong {
    overflow: hidden;
    font-size: 0.79rem;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .copy-button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  }

  .copy-button:hover,
  .copy-button.is-copied {
    color: var(--accent);
    background: rgba(140, 243, 107, 0.08);
    border-color: rgba(140, 243, 107, 0.24);
  }

  .copy-button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .check-list {
    display: grid;
    gap: 2px;
    margin-top: 14px;
    list-style: none;
  }

  .check-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: start;
    gap: 12px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
  }

  .check-list li:last-child {
    border-bottom: 0;
  }

  .check-list li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.06);
    border: 1px solid rgba(140, 243, 107, 0.12);
    border-radius: 50%;
    font-size: 0.63rem;
    font-weight: 800;
  }

  .check-list strong,
  .check-list small {
    display: block;
  }

  .check-list strong {
    margin-bottom: 2px;
    font-size: 0.87rem;
  }

  .check-list small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .access-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 10px 2px;
    color: var(--muted);
    font-size: 0.67rem;
  }

  .access-card-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .access-card-footer i {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(140, 243, 107, 0.08);
  }

  .quick-nav {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
  }

  .topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .topic-grid a {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    min-height: 100px;
    padding: 18px 19px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      transform 180ms ease;
  }

  .topic-grid a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(140, 243, 107, 0.24);
    transform: translateY(-3px);
  }

  .topic-number {
    display: grid;
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.07);
    border-radius: 12px;
    font-size: 0.66rem;
    font-weight: 800;
  }

  .topic-grid strong {
    align-self: end;
    font-size: 0.92rem;
  }

  .topic-grid small {
    align-self: start;
    color: var(--muted);
    font-size: 0.7rem;
  }

  .topic-grid svg {
    grid-row: 1 / 3;
    width: 18px;
    color: var(--muted);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color 180ms ease, transform 180ms ease;
  }

  .topic-grid a:hover svg {
    color: var(--accent);
    transform: translateX(3px);
  }

  .editorial {
    background:
      radial-gradient(circle at 90% 18%, rgba(140, 243, 107, 0.04), transparent 27rem),
      var(--bg);
  }

  .article-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 790px);
    justify-content: space-between;
    gap: clamp(54px, 8vw, 120px);
  }

  .sidebar-sticky {
    position: sticky;
    top: 112px;
  }

  .sidebar-label {
    display: block;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .article-sidebar nav {
    display: grid;
    gap: 3px;
    padding-left: 13px;
    border-left: 1px solid var(--line-strong);
  }

  .article-sidebar nav a {
    position: relative;
    padding: 6px 8px;
    color: var(--muted);
    font-size: 0.79rem;
    font-weight: 620;
    transition: color 180ms ease;
  }

  .article-sidebar nav a::before {
    position: absolute;
    top: 50%;
    left: -15px;
    width: 3px;
    height: 18px;
    background: var(--accent);
    border-radius: 3px;
    content: "";
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 180ms ease;
  }

  .article-sidebar nav a:hover,
  .article-sidebar nav a.is-active {
    color: var(--text);
  }

  .article-sidebar nav a.is-active::before {
    opacity: 1;
  }

  .sidebar-warning {
    margin-top: 28px;
    padding: 15px;
    background: rgba(247, 200, 103, 0.045);
    border: 1px solid rgba(247, 200, 103, 0.13);
    border-radius: 14px;
  }

  .sidebar-warning svg {
    width: 21px;
    margin-bottom: 9px;
    color: var(--warning);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sidebar-warning p {
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.55;
  }

  .sidebar-warning strong {
    color: var(--text-soft);
  }

  .article-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line-strong);
  }

  .article-intro .kicker {
    margin: 0;
  }

  .article-meta {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
  }

  .content-section {
    position: relative;
    padding-block: clamp(66px, 8vw, 96px);
    border-bottom: 1px solid var(--line-strong);
    scroll-margin-top: 84px;
  }

  .content-section:last-of-type {
    border-bottom: 0;
  }

  .section-index {
    display: inline-grid;
    width: 43px;
    height: 27px;
    margin-bottom: 20px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.07);
    border: 1px solid rgba(140, 243, 107, 0.14);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
  }

  .content-section h2 {
    max-width: 760px;
    margin-bottom: 28px;
    text-wrap: balance;
  }

  .content-section > p,
  .sub-article > p {
    font-size: 1rem;
    line-height: 1.85;
  }

  .content-section > p + p,
  .sub-article > p + p {
    margin-top: 20px;
  }

  .content-section p.lead {
    margin-bottom: 24px;
    color: #e1e6dc;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.72;
    letter-spacing: -0.012em;
  }

  .pull-quote {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 34px;
    padding: 28px 30px;
    background: linear-gradient(135deg, rgba(140, 243, 107, 0.07), rgba(88, 215, 208, 0.035));
    border: 1px solid rgba(140, 243, 107, 0.14);
    border-radius: var(--radius-md);
  }

  .pull-quote > span {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 3.3rem;
    line-height: 0.8;
  }

  .pull-quote p {
    color: var(--text);
    font-size: 1.13rem;
    font-weight: 620;
    line-height: 1.62;
  }

  .steps-panel {
    margin-block: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  .step-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 22px;
    border-bottom: 1px solid var(--line);
  }

  .step-row:last-child {
    border-bottom: 0;
  }

  .step-row > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #071007;
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 850;
  }

  .step-row h3 {
    margin-bottom: 5px;
  }

  .step-row p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .comparison-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-block: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  .comparison-card > div {
    padding: 26px;
  }

  .comparison-card > div + div {
    border-left: 1px solid var(--line);
  }

  .comparison-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 11px;
  }

  .comparison-icon.good {
    color: var(--accent);
    background: rgba(140, 243, 107, 0.08);
  }

  .comparison-icon.bad {
    color: var(--danger);
    background: rgba(255, 123, 120, 0.08);
  }

  .comparison-icon svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .comparison-card h3 {
    margin-bottom: 14px;
  }

  .comparison-card ul {
    display: grid;
    gap: 8px;
    list-style: none;
  }

  .comparison-card li {
    position: relative;
    padding-left: 15px;
    color: var(--muted);
    font-size: 0.8rem;
  }

  .comparison-card li::before {
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    content: "";
  }

  .note-box {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 13px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(88, 215, 208, 0.045);
    border: 1px solid rgba(88, 215, 208, 0.12);
    border-radius: 14px;
  }

  .note-box svg {
    width: 24px;
    color: var(--cyan);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .note-box p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .note-box strong {
    color: var(--text-soft);
  }

  .three-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-block: 34px;
  }

  .three-checks > div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 15px;
  }

  .three-checks span,
  .three-checks strong,
  .three-checks small {
    display: block;
  }

  .three-checks span {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 800;
  }

  .three-checks strong {
    margin-bottom: 4px;
    font-size: 0.86rem;
  }

  .three-checks small {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-block: 34px;
  }

  .category-card {
    min-height: 192px;
    padding: 24px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
      var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  .category-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.07);
    border: 1px solid rgba(140, 243, 107, 0.12);
    border-radius: 12px;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 800;
  }

  .category-card h3 {
    margin-bottom: 7px;
  }

  .category-card p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .sub-article {
    padding-block: 40px;
    scroll-margin-top: 88px;
  }

  .sub-article + .sub-article {
    border-top: 1px solid var(--line);
  }

  .sub-article-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .social-icon {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
  }

  .social-icon.telegram {
    color: #5dc8ff;
    background: rgba(93, 200, 255, 0.08);
    border: 1px solid rgba(93, 200, 255, 0.13);
  }

  .social-icon.twitter {
    color: #f6f8f5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
  }

  .social-icon svg {
    width: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mini-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .sub-article-heading h3 {
    font-size: clamp(1.22rem, 2.4vw, 1.6rem);
  }

  .membership-panel {
    position: relative;
    margin-top: 40px;
    padding: clamp(30px, 5vw, 52px);
    overflow: hidden;
    color: #071007;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.36), transparent 16rem),
      var(--accent);
    border-radius: var(--radius-lg);
    scroll-margin-top: 100px;
  }

  .membership-panel .kicker {
    color: #24521b;
  }

  .membership-panel h2 {
    max-width: 590px;
    margin-bottom: 16px;
  }

  .membership-panel p {
    max-width: 650px;
    color: rgba(7, 16, 7, 0.72);
    font-size: 1rem;
  }

  .membership-panel ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-block: 28px 32px;
    list-style: none;
  }

  .membership-panel li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    align-items: start;
    color: rgba(7, 16, 7, 0.82);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.55;
  }

  .membership-panel li span {
    color: #24521b;
    font-size: 0.65rem;
    font-weight: 850;
  }

  .membership-panel .button-primary {
    color: #f7fff4;
    background: #0a140a;
    border-color: #0a140a;
    box-shadow: none;
  }

  .membership-panel .button-primary:hover {
    background: #173317;
    border-color: #173317;
  }

  .faq {
    background: var(--bg-elevated);
    border-block: 1px solid var(--line);
  }

  .faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(50px, 8vw, 110px);
  }

  .faq-list {
    border-top: 1px solid var(--line-strong);
  }

  .faq-list details {
    border-bottom: 1px solid var(--line-strong);
  }

  .faq-list summary {
    display: grid;
    grid-template-columns: 1fr 26px;
    gap: 22px;
    align-items: center;
    padding-block: 23px;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    list-style: none;
    cursor: pointer;
  }

  .faq-list summary::-webkit-details-marker {
    display: none;
  }

  .faq-list summary span {
    position: relative;
    width: 25px;
    height: 25px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
  }

  .faq-list summary span::before,
  .faq-list summary span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1px;
    background: var(--text-soft);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
  }

  .faq-list summary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .faq-list details[open] summary span {
    color: #071007;
    background: var(--accent);
    border-color: var(--accent);
  }

  .faq-list details[open] summary span::after {
    transform: translate(-50%, -50%) rotate(0);
  }

  .faq-list details > div {
    display: grid;
    grid-template-rows: 1fr;
  }

  .faq-list details p {
    max-width: 660px;
    padding: 0 48px 23px 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .final-cta {
    background:
      radial-gradient(circle at 15% 130%, rgba(255, 255, 255, 0.26), transparent 28rem),
      var(--accent);
  }

  .final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
  }

  .final-cta .kicker {
    color: #285620;
  }

  .final-cta h2 {
    max-width: 750px;
    color: #071007;
    font-size: clamp(2rem, 4vw, 3.6rem);
  }

  .final-cta .button {
    flex: 0 0 auto;
  }

  .site-footer {
    padding-block: 70px 30px;
    background: #06080d;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    padding-bottom: 44px;
  }

  .footer-brand > p {
    max-width: 420px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.8rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
  }

  .footer-links > div {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .footer-links strong {
    margin-bottom: 6px;
    font-size: 0.76rem;
  }

  .footer-links a {
    color: var(--muted);
    font-size: 0.75rem;
    transition: color 180ms ease;
  }

  .footer-links a:hover {
    color: var(--accent);
  }

  .responsible-note {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 17px;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 15px;
  }

  .age-badge {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--danger);
    border: 2px solid rgba(255, 123, 120, 0.65);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 850;
  }

  .responsible-note p {
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.6;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
  }

  .footer-bottom p {
    color: #687066;
    font-size: 0.67rem;
  }

  .mobile-actions {
    display: none;
  }
}

@layer responsive {
  @media (max-width: 1080px) {
    .site-nav {
      gap: 18px;
    }

    .site-nav a {
      font-size: 0.8rem;
    }

    .hero-grid {
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 48px;
    }

    .article-layout {
      grid-template-columns: 210px minmax(0, 1fr);
      gap: 54px;
    }
  }

  @media (max-width: 920px) {
    .menu-toggle {
      display: block;
      margin-left: auto;
    }

    .site-nav {
      position: fixed;
      z-index: 99;
      top: 73px;
      right: 0;
      left: 0;
      display: grid;
      gap: 0;
      align-content: start;
      height: calc(100vh - 73px);
      padding: 22px max(20px, calc((100% - var(--container)) / 2));
      background: rgba(8, 11, 18, 0.98);
      border-top: 1px solid var(--line);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-12px);
      transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .site-nav a {
      padding: 17px 4px;
      border-bottom: 1px solid var(--line);
      font-size: 1rem;
    }

    .site-nav a::after {
      display: none;
    }

    .header-actions {
      display: none;
    }

    .no-js .site-nav {
      position: static;
      display: flex;
      width: auto;
      height: auto;
      padding: 0;
      opacity: 1;
      pointer-events: auto;
      transform: none;
    }

    .no-js .menu-toggle {
      display: none;
    }

    .hero {
      min-height: auto;
    }

    .hero-grid {
      grid-template-columns: 1fr;
      gap: 64px;
    }

    .hero-copy {
      max-width: 760px;
    }

    .access-card {
      width: min(100%, 560px);
    }

    .topic-grid {
      grid-template-columns: 1fr 1fr;
    }

    .article-layout {
      display: block;
      max-width: 800px;
    }

    .article-sidebar {
      display: none;
    }

    .faq-layout {
      grid-template-columns: 1fr;
      gap: 44px;
    }

    .footer-main {
      grid-template-columns: 1fr;
      gap: 46px;
    }
  }

  @media (max-width: 680px) {
    html {
      scroll-padding-top: 82px;
    }

    body {
      padding-bottom: 67px;
    }

    .container {
      width: min(calc(100% - 28px), var(--container));
    }

    .section {
      padding-block: 76px;
    }

    .section-sm {
      padding-block: 58px;
    }

    .site-header {
      height: 66px;
    }

    .brand-mark {
      width: 35px;
      height: 35px;
      border-radius: 10px;
    }

    .brand-mark svg {
      width: 24px;
    }

    .brand-text {
      font-size: 1.12rem;
    }

    .site-nav {
      top: 65px;
      height: calc(100vh - 65px);
    }

    .hero {
      padding-top: 62px;
    }

    .hero::before {
      background-size: 42px 42px;
    }

    .hero h1 {
      font-size: clamp(3rem, 15vw, 4.7rem);
      letter-spacing: -0.075em;
    }

    .hero-lead {
      margin-top: 22px;
      font-size: 1rem;
    }

    .hero-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      margin-top: 28px;
    }

    .hero-actions .button {
      padding-inline: 15px;
    }

    .hero-notes {
      display: grid;
      gap: 9px;
    }

    .access-card {
      padding: 13px;
      border-radius: 21px;
    }

    .address-preview {
      grid-template-columns: 39px minmax(0, 1fr) 36px;
      gap: 9px;
      padding: 10px;
    }

    .address-icon {
      width: 39px;
      height: 39px;
    }

    .address-text strong {
      font-size: 0.72rem;
    }

    .check-list li {
      padding: 14px 8px;
    }

    .access-card-footer {
      align-items: start;
      flex-direction: column;
      gap: 5px;
    }

    .topic-grid {
      grid-template-columns: 1fr;
    }

    .topic-grid a {
      min-height: 88px;
    }

    .article-intro {
      align-items: start;
      flex-direction: column;
      gap: 8px;
    }

    .article-meta {
      flex-wrap: wrap;
    }

    .content-section {
      padding-block: 66px;
    }

    .content-section h2 {
      font-size: clamp(2.08rem, 10vw, 2.8rem);
    }

    .content-section > p,
    .sub-article > p {
      font-size: 0.95rem;
      line-height: 1.8;
    }

    .pull-quote {
      padding: 24px 20px;
    }

    .pull-quote p {
      font-size: 1rem;
    }

    .comparison-card {
      grid-template-columns: 1fr;
    }

    .comparison-card > div + div {
      border-top: 1px solid var(--line);
      border-left: 0;
    }

    .three-checks {
      grid-template-columns: 1fr;
    }

    .three-checks > div {
      display: grid;
      grid-template-columns: 32px 1fr;
      column-gap: 8px;
    }

    .three-checks span {
      grid-row: 1 / 3;
      margin: 1px 0 0;
    }

    .category-grid {
      grid-template-columns: 1fr;
    }

    .category-card {
      min-height: 0;
    }

    .sub-article-heading {
      align-items: start;
    }

    .membership-panel {
      margin-inline: -2px;
      border-radius: 22px;
    }

    .membership-panel ul {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .membership-panel .button {
      width: 100%;
      white-space: normal;
      text-align: center;
    }

    .faq-list summary {
      font-size: 0.9rem;
    }

    .final-cta-inner {
      align-items: stretch;
      flex-direction: column;
      gap: 28px;
    }

    .final-cta .button {
      align-self: start;
    }

    .footer-links {
      gap: 22px;
    }

    .responsible-note {
      grid-template-columns: 43px 1fr;
      padding: 16px;
    }

    .age-badge {
      width: 42px;
      height: 42px;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 6px;
    }

    .mobile-actions {
      position: fixed;
      z-index: 90;
      right: 0;
      bottom: 0;
      left: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 67px;
      padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
      background: rgba(8, 11, 18, 0.96);
      border-top: 1px solid var(--line-strong);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .mobile-actions a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 49px;
      color: #071007;
      background: var(--accent);
      border-radius: 12px;
      font-size: 0.82rem;
      font-weight: 800;
    }

    .mobile-actions a:first-child {
      color: var(--text);
      background: transparent;
    }

    .mobile-actions svg {
      width: 19px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
  }

  @media (max-width: 430px) {
    .eyebrow {
      font-size: 0.65rem;
    }

    .hero-actions {
      grid-template-columns: 1fr;
    }

    .footer-links {
      grid-template-columns: 1fr 1fr;
    }

    .footer-links > div:last-child {
      grid-column: 1 / -1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  @media print {
    .site-header,
    .reading-progress,
    .mobile-actions,
    .hero-glow,
    .article-sidebar,
    .final-cta {
      display: none !important;
    }

    body {
      color: #111;
      background: #fff;
    }

    p,
    .content-section p.lead {
      color: #333;
    }

    .hero {
      min-height: auto;
      border: 0;
    }

    .hero h1,
    h2,
    h3 {
      color: #111;
    }

    .access-card,
    .category-card,
    .membership-panel {
      color: #111;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: none;
    }
  }
}

@layer layout {
  .locale-page .site-header {
    position: sticky;
  }

  .locale-page .site-nav {
    margin-left: auto;
  }

  .locale-hero {
    position: relative;
    padding-block: clamp(90px, 11vw, 150px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
  }

  .locale-hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.16;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    content: "";
    mask-image: linear-gradient(to bottom, #000 10%, transparent 100%);
  }

  .locale-hero::after {
    position: absolute;
    z-index: -1;
    top: -260px;
    right: -180px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(140, 243, 107, 0.13), transparent 66%);
    border-radius: 50%;
    content: "";
  }

  [dir="rtl"] .locale-hero::after {
    right: auto;
    left: -180px;
  }

  .locale-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.54fr);
    align-items: center;
    gap: clamp(50px, 9vw, 120px);
  }

  .locale-hero h1 {
    max-width: 760px;
    font-size: clamp(3.1rem, 6.5vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  [dir="rtl"] .locale-hero h1 {
    letter-spacing: -0.025em;
  }

  .locale-hero-copy > p {
    max-width: 670px;
    margin-top: 25px;
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    line-height: 1.75;
  }

  .locale-hero .hero-actions {
    margin-top: 32px;
  }

  .locale-card {
    padding: 25px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 48%),
      rgba(14, 19, 29, 0.94);
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .locale-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .locale-card-label::before {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(140, 243, 107, 0.08);
    content: "";
  }

  .locale-card h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .locale-card ol {
    display: grid;
    gap: 15px;
    list-style: none;
    counter-reset: locale-steps;
  }

  .locale-card li {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.55;
    counter-increment: locale-steps;
  }

  .locale-card li::before {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--accent);
    background: rgba(140, 243, 107, 0.07);
    border: 1px solid rgba(140, 243, 107, 0.13);
    border-radius: 50%;
    font-size: 0.64rem;
    font-weight: 800;
    content: "0" counter(locale-steps);
  }

  .locale-card-note {
    margin-top: 23px;
    padding-top: 18px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
  }

  .locale-content {
    padding-block: clamp(82px, 10vw, 138px);
  }

  .locale-content-inner {
    width: min(100%, 850px);
    margin-inline: auto;
  }

  .locale-intro {
    padding-bottom: 46px;
    border-bottom: 1px solid var(--line-strong);
  }

  .locale-intro h2 {
    margin-bottom: 18px;
  }

  .locale-intro p {
    font-size: 1.08rem;
  }

  .locale-article {
    padding-block: clamp(60px, 8vw, 88px);
    border-bottom: 1px solid var(--line-strong);
    scroll-margin-top: 82px;
  }

  .locale-article h2 {
    margin-bottom: 26px;
  }

  .locale-article > p {
    font-size: 1rem;
    line-height: 1.85;
  }

  .locale-article > p + p {
    margin-top: 20px;
  }

  .locale-article .lead {
    color: #e1e6dc;
    font-size: 1.16rem;
    line-height: 1.72;
  }

  .locale-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-block: 32px;
    list-style: none;
  }

  .locale-points li {
    padding: 21px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .locale-points strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.88rem;
  }

  .locale-warning {
    display: grid;
    grid-template-columns: 51px 1fr;
    gap: 17px;
    align-items: start;
    margin-top: 32px;
    padding: 22px;
    background: rgba(247, 200, 103, 0.045);
    border: 1px solid rgba(247, 200, 103, 0.14);
    border-radius: 16px;
  }

  .locale-warning span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--warning);
    border: 2px solid rgba(247, 200, 103, 0.48);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 850;
  }

  .locale-warning p {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.65;
  }

  .locale-warning strong {
    color: var(--text-soft);
  }

  .language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
  }

  .language-links a {
    padding: 7px 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    transition: color 180ms ease, border-color 180ms ease;
  }

  .language-links a:hover,
  .language-links a[aria-current="page"] {
    color: var(--accent);
    border-color: rgba(140, 243, 107, 0.25);
  }

  [dir="rtl"] .header-inner,
  [dir="rtl"] .sub-article-heading,
  [dir="rtl"] .responsible-note {
    direction: rtl;
  }

  [dir="rtl"] .site-nav {
    margin-right: auto;
    margin-left: 0;
  }

  [dir="rtl"] .header-actions {
    direction: rtl;
  }
}

@layer responsive {
  @media (max-width: 920px) {
    .locale-hero-grid {
      grid-template-columns: 1fr;
    }

    .locale-card {
      width: min(100%, 570px);
    }

    [dir="rtl"] .site-nav {
      margin: 0;
    }
  }

  @media (max-width: 680px) {
    .locale-hero {
      padding-block: 74px;
    }

    .locale-hero h1 {
      font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .locale-card {
      padding: 21px;
    }

    .locale-points {
      grid-template-columns: 1fr;
    }

    .locale-warning {
      grid-template-columns: 42px 1fr;
      padding: 18px;
    }

    .locale-warning span {
      width: 40px;
      height: 40px;
    }
  }
}
