@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, picture, svg { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
}

@layer base {
  :root {
    --black: #060907;
    --black-soft: #0b110d;
    --surface: #101713;
    --surface-high: #162019;
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.24);
    --white: #f6f4ef;
    --muted: #a8afb3;
    --red: #e42320;
    --red-bright: #ff3d27;
    --amber: #f3b51b;
    --amber-light: #ffd35a;
    --forest: #5d924c;
    --forest-bright: #8fc86b;
    --moss: #b1c66a;
    --cyan: #35d9df;
    --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", sans-serif;
    --body: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --header-height: 78px;
    --shell: min(1180px, calc(100% - 48px));
  }

  html { background: var(--black); }

  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body::before {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, var(--red) 0 22%, var(--forest) 22% 72%, var(--amber) 72% 100%);
  }

  ::selection { background: var(--red); color: #fff; }

  a { color: inherit; text-decoration: none; }

  button { color: inherit; }

  :focus-visible {
    outline: 3px solid var(--amber-light);
    outline-offset: 4px;
  }

  h1, h2, h3 {
    font-family: var(--display);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0.018em;
    text-wrap: balance;
    text-transform: uppercase;
  }

  h1 { font-size: clamp(3.75rem, 8.8vw, 7.6rem); }
  h2 { font-size: clamp(2.8rem, 6vw, 5.25rem); }
  h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); }

  h1 em, h2 em {
    color: var(--forest-bright);
    font-style: normal;
  }

  [id] { scroll-margin-top: calc(var(--header-height) + 24px); }

  .shell {
    width: var(--shell);
    margin-inline: auto;
  }

  .skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    transform: translateY(-150%);
    background: var(--amber);
    color: #090909;
    font-weight: 800;
  }

  .skip-link:focus { transform: translateY(0); }
}

@layer components {
  .language-prompt {
    position: fixed;
    z-index: 999;
    top: calc(var(--header-height) + 14px);
    left: 50%;
    display: grid;
    width: min(calc(100% - 28px), 710px);
    padding: 13px 14px 13px 17px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
    border: 1px solid rgba(243, 181, 27, 0.7);
    border-left: 4px solid var(--amber);
    background: rgba(10, 15, 12, 0.97);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.58), 0 0 24px rgba(243, 181, 27, 0.12);
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -28px);
    transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 320ms;
    visibility: hidden;
    backdrop-filter: blur(12px);
  }

  .language-prompt.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
    animation: language-prompt-slide-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .language-prompt::after {
    position: absolute;
    z-index: 1;
    top: -35%;
    bottom: -35%;
    left: -42%;
    width: 30%;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), rgba(255, 220, 125, 0.52), transparent);
    filter: blur(1px);
    opacity: 0;
    transform: skewX(-20deg);
  }

  .language-prompt.is-visible::after { animation: language-prompt-shine 4.2s ease-in-out 650ms infinite; }
  .language-prompt > * { position: relative; z-index: 2; }

  @keyframes language-prompt-slide-in {
    0% { opacity: 0; transform: translate(-50%, -110px); }
    72% { opacity: 1; transform: translate(-50%, 7px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
  }

  @keyframes language-prompt-shine {
    0%, 12% { opacity: 0; transform: translateX(0) skewX(-20deg); }
    18% { opacity: 0.82; }
    42% { opacity: 0.68; transform: translateX(560%) skewX(-20deg); }
    50%, 100% { opacity: 0; transform: translateX(560%) skewX(-20deg); }
  }
  .language-prompt-copy { display: grid; min-width: 0; gap: 2px; }
  .language-prompt-copy strong { font-size: 0.95rem; line-height: 1.25; }
  .language-prompt-copy span { color: var(--muted); font-size: 0.76rem; font-weight: 700; line-height: 1.3; }
  .language-prompt-options { display: flex; gap: 5px; }

  .language-prompt-options a {
    display: flex;
    min-width: 51px;
    min-height: 40px;
    padding: 6px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    font-weight: 900;
  }

  .language-prompt-options a:hover,
  .language-prompt-options a:focus-visible { border-color: var(--amber-light); background: rgba(243, 181, 27, 0.12); }
  .language-prompt-options img { width: 24px; height: 15px; }

  .language-prompt > button {
    min-width: 52px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--amber-light);
    background: var(--amber);
    color: #090b0a;
    font-size: 0.78rem;
    font-weight: 950;
    cursor: pointer;
  }

  .language-prompt > button:hover { background: var(--amber-light); }

  .site-header {
    position: fixed;
    z-index: 1000;
    top: 3px;
    right: 0;
    left: 0;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, height 220ms ease, backdrop-filter 220ms ease;
  }

  .site-header.is-scrolled {
    height: 68px;
    border-color: var(--line);
    background: rgba(7, 9, 10, 0.9);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
  }

  .header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 28px;
  }

  .brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    line-height: 1;
  }

  .brand-seven {
    position: relative;
    display: grid;
    width: 36px;
    height: 43px;
    place-items: center;
    overflow: hidden;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, 100% 28%, 55% 100%, 14% 100%, 57% 27%, 0 27%);
    color: #fff;
    font-family: var(--display);
    font-size: 2.65rem;
    line-height: 1;
    text-indent: -2px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24);
  }

  .brand-copy { display: grid; gap: 4px; }
  .brand-copy strong { font-size: 1rem; letter-spacing: 0.055em; }
  .brand-copy small { color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; }

  .main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 26px;
  }

  .main-nav a {
    position: relative;
    padding-block: 8px;
    color: #d8dcde;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    background: var(--red-bright);
    transition: transform 180ms ease;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

  .language-switcher {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    background: rgba(5, 7, 8, 0.72);
    animation: language-attention 2.4s ease-in-out infinite;
  }

  .language-switcher::before {
    position: absolute;
    z-index: -1;
    inset: -5px;
    border: 2px solid var(--amber);
    content: "";
    pointer-events: none;
    animation: language-ring 2.4s ease-out infinite;
  }

  .language-switcher:hover,
  .language-switcher:focus-within { border-color: rgba(243, 181, 27, 0.76); animation-play-state: paused; }

  .language-switcher:hover::before,
  .language-switcher:focus-within::before { animation-play-state: paused; opacity: 0; }

  @keyframes language-attention {
    0%, 100% { border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 rgba(243, 181, 27, 0); transform: scale(1); }
    50% { border-color: var(--amber-light); box-shadow: 0 0 28px rgba(243, 181, 27, 0.45); transform: scale(1.045); }
  }

  @keyframes language-ring {
    0% { opacity: 0.72; transform: scale(0.98); }
    70%, 100% { opacity: 0; transform: scale(1.13); }
  }

  .language-link {
    display: flex;
    min-width: 52px;
    min-height: 36px;
    padding: 6px 8px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
  }

  .language-link img {
    width: 25px;
    height: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
  }

  .language-link:hover,
  .language-link.is-active { background: #fff; color: #090909; }

  .menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    background: rgba(8, 10, 11, 0.74);
    cursor: pointer;
    place-content: center;
    gap: 5px;
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #0e160f;
    isolation: isolate;
  }

  .hero-art,
  .hero-art img,
  .final-art,
  .final-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-art img,
  .final-art img { object-fit: cover; object-position: 58% center; }

  .hero-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(5, 8, 6, 0.96) 0%, rgba(5, 9, 6, 0.84) 31%, rgba(6, 15, 8, 0.29) 62%, rgba(6, 13, 7, 0.13) 100%),
      linear-gradient(0deg, var(--black) 0%, transparent 24%, rgba(0, 0, 0, 0.14) 100%);
  }

  .hero-grain {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0.16;
    background-image:
      radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.7) 0 0.6px, transparent 0.8px),
      radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.42) 0 0.7px, transparent 1px);
    background-size: 7px 7px, 11px 11px;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .hero::after {
    position: absolute;
    z-index: 3;
    right: -4vw;
    bottom: 0;
    width: 43vw;
    height: 14px;
    content: "";
    transform: skewX(-34deg);
    transform-origin: right;
    background: var(--forest);
    box-shadow: -150px 0 0 var(--amber);
  }

  .hero-inner {
    position: relative;
    z-index: 4;
    display: grid;
    min-height: 100svh;
    padding-top: calc(var(--header-height) + clamp(40px, 6vh, 70px));
    padding-bottom: clamp(54px, 7vh, 88px);
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(32px, 7vw, 100px);
  }

  .hero-copy { max-width: 760px; }

  .eyebrow,
  .section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--moss);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .eyebrow span {
    width: 28px;
    height: 3px;
    transform: skewX(-22deg);
    background: var(--forest-bright);
  }

  .hero h1 { max-width: 760px; margin-top: 15px; font-size: clamp(3.75rem, 7vw, 6.6rem); text-shadow: 0 5px 35px rgba(0, 0, 0, 0.55); }
  .hero h1 em { display: block; }

  .hero-lead {
    max-width: 650px;
    margin-top: 20px;
    color: #d6d9da;
    font-size: clamp(1.06rem, 1.6vw, 1.25rem);
    line-height: 1.66;
  }

  .server-connect {
    display: grid;
    width: min(100%, 690px);
    margin-top: 20px;
    padding: 17px 18px 17px 22px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    border: 1px solid rgba(143, 200, 107, 0.6);
    border-left: 5px solid var(--forest-bright);
    background: rgba(6, 12, 8, 0.86);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
  }

  .server-connect > div { display: grid; gap: 2px; }
  .server-connect small { color: var(--moss); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.15em; }
  .server-connect strong { font-family: var(--display); font-size: clamp(1.65rem, 3.2vw, 2.55rem); line-height: 1.05; letter-spacing: 0.045em; }
  .button.server-connect-button { z-index: 1; min-width: 205px; border-color: var(--amber-light); background: var(--amber); color: #090b0a; box-shadow: 0 10px 28px rgba(243, 181, 27, 0.3); }
  .server-connect-button:hover { border-color: var(--amber-light); background: var(--amber-light); }

  .hero-actions {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .button {
    position: relative;
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    gap: 25px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  .button:hover { transform: translateY(-3px); }
  .button b { font-size: 1.2rem; }
  .button-primary { background: var(--red); color: #fff; box-shadow: 0 12px 32px rgba(228, 35, 32, 0.25); }
  .button-primary:hover { background: #ff331f; }
  .button-ghost { border-color: var(--line-strong); background: rgba(7, 9, 10, 0.58); color: var(--white); }
  .button-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(7, 9, 10, 0.88); }

  .hero-facts {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .hero-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e5e6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
  }

  .hero-facts i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--forest-bright); }

  .world-profile {
    align-self: end;
    margin-bottom: 44px;
    border: 1px solid var(--line-strong);
    background: rgba(7, 9, 10, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .world-profile::before {
    display: block;
    width: 46%;
    height: 4px;
    content: "";
    background: var(--forest);
  }

  .profile-head {
    display: grid;
    min-height: 56px;
    padding: 14px 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .profile-head small { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
  .profile-head b { color: var(--amber); font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.07em; }
  .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(243, 181, 27, 0.75); }

  .world-profile dl { padding: 9px 16px 14px; }
  .world-profile dl div { display: flex; padding: 10px 0; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
  .world-profile dl div:last-child { border: 0; }
  .world-profile dt { color: var(--muted); font-size: 0.84rem; }
  .world-profile dd { color: var(--white); font-size: 0.84rem; font-weight: 800; text-align: right; }

  .profile-signal {
    display: flex;
    height: 28px;
    padding: 0 16px 14px;
    align-items: end;
    gap: 4px;
  }

  .profile-signal span { width: 9px; background: var(--forest); }
  .profile-signal span:nth-child(1) { height: 4px; }
  .profile-signal span:nth-child(2) { height: 7px; }
  .profile-signal span:nth-child(3) { height: 11px; }
  .profile-signal span:nth-child(4) { height: 15px; }
  .profile-signal span:nth-child(5) { height: 19px; background: var(--amber); }

  .scroll-cue {
    position: absolute;
    z-index: 5;
    bottom: 24px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 11px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
  }

  .scroll-cue span { width: 38px; height: 1px; background: var(--forest-bright); }

  .section {
    position: relative;
    padding: clamp(92px, 10vw, 150px) 0;
  }

  .experience {
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent 0 49.9%, rgba(255, 255, 255, 0.025) 50% 50.1%, transparent 50.2%),
      var(--black);
  }

  .experience::before,
  .rhythm::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 48px));
    height: 1px;
    content: "";
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  }

  .section-heading {
    display: grid;
    margin-bottom: 54px;
    align-items: end;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.68fr);
    gap: 60px;
  }

  .section-heading h2,
  .faq-heading h2 { margin-top: 16px; }

  .section-heading > p,
  .faq-heading > p {
    color: var(--muted);
    font-size: 1.07rem;
    line-height: 1.78;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .feature-card {
    position: relative;
    min-height: 320px;
    padding: clamp(26px, 4vw, 40px);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  }

  .feature-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 4px;
    content: "";
    background: var(--forest);
    transition: width 220ms ease;
  }

  .feature-card:hover::before { width: 100%; }
  .feature-card h3 { max-width: 580px; margin-top: 19px; }
  .feature-card p { max-width: 590px; margin-top: 17px; color: var(--muted); }
  .feature-wide { display: grid; grid-column: span 7; grid-template-columns: 80px 1fr; align-items: start; }
  .feature-forest { grid-column: span 5; background: linear-gradient(145deg, rgba(93, 146, 76, 0.2), transparent 48%), var(--surface); }
  .feature-build { grid-column: span 5; background: linear-gradient(145deg, rgba(177, 198, 106, 0.12), transparent 48%), var(--surface); }
  .feature-calm { grid-column: span 7; padding-right: 39%; }
  .feature-map {
    display: grid;
    min-height: 260px;
    grid-column: 1 / -1;
    grid-template-columns: 80px minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: clamp(22px, 3vw, 40px);
    background:
      linear-gradient(120deg, rgba(93, 146, 76, 0.2), transparent 56%),
      linear-gradient(300deg, rgba(243, 181, 27, 0.08), transparent 44%),
      var(--surface);
  }

  .feature-map .feature-icon { margin: 0; }
  .feature-map h3 { margin-top: 15px; }

  .city-route {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    isolation: isolate;
  }

  .city-route::before {
    position: absolute;
    z-index: -1;
    right: 10%;
    left: 10%;
    height: 10px;
    content: "";
    border-top: 2px dashed rgba(246, 244, 239, 0.55);
    border-bottom: 2px dashed rgba(246, 244, 239, 0.2);
    transform: skewY(-4deg);
  }

  .city-route span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    justify-self: center;
    border: 2px solid var(--forest-bright);
    border-radius: 50%;
    background: var(--black-soft);
    box-shadow: 0 0 0 7px rgba(93, 146, 76, 0.13), 0 12px 24px rgba(0, 0, 0, 0.28);
  }

  .city-route span:nth-child(even) { transform: translateY(-13px); }
  .city-route span:nth-child(odd) { transform: translateY(13px); }
  .city-route b { color: var(--amber-light); font-family: var(--display); font-size: 1rem; letter-spacing: 0.08em; }

  .feature-icon {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.18);
  }

  .feature-icon img { width: 48px; height: 48px; }
  .feature-forest .feature-icon,
  .feature-build .feature-icon { margin-bottom: 28px; }

  .card-index,
  .rhythm-label {
    color: var(--moss);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.13em;
  }

  .mini-chart {
    position: absolute;
    right: 34px;
    bottom: 24px;
    left: 118px;
    display: flex;
    height: 72px;
    align-items: end;
    gap: 7px;
    border-bottom: 1px solid var(--line-strong);
  }

  .mini-chart i { flex: 1; max-width: 22px; background: linear-gradient(0deg, #315b32, var(--forest-bright)); }
  .mini-chart i:nth-child(1) { height: 14%; opacity: 0.45; }
  .mini-chart i:nth-child(2) { height: 28%; opacity: 0.55; }
  .mini-chart i:nth-child(3) { height: 43%; opacity: 0.67; }
  .mini-chart i:nth-child(4) { height: 66%; opacity: 0.8; }
  .mini-chart i:nth-child(5) { height: 88%; }
  .mini-chart span { position: absolute; top: 15px; right: 0; left: 0; height: 2px; transform: rotate(-6deg); transform-origin: left; background: var(--amber); box-shadow: 0 0 12px rgba(243, 181, 27, 0.38); }

  .feature-mark {
    position: absolute;
    right: 0;
    bottom: -18px;
    color: rgba(255, 255, 255, 0.035);
    font-family: var(--display);
    font-size: clamp(7rem, 15vw, 13rem);
    line-height: 0.8;
    letter-spacing: -0.04em;
    pointer-events: none;
  }

  .rhythm { background: var(--black); }
  .section-heading-centered { align-items: center; }

  .rhythm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .rhythm-card { position: relative; min-height: 430px; padding: 35px 30px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
  .rhythm-card::after { position: absolute; right: 0; bottom: 0; width: 45px; height: 45px; content: ""; border-right: 5px solid var(--forest); border-bottom: 5px solid var(--forest); }
  .rhythm-card:nth-child(2)::after { border-color: var(--cyan); }
  .rhythm-card:nth-child(3)::after { border-color: var(--red-bright); }
  .rhythm-card > img { width: 64px; height: 64px; margin-top: 56px; margin-bottom: 26px; }
  .rhythm-number { position: absolute; top: 22px; right: 25px; color: rgba(255, 255, 255, 0.08); font-family: var(--display); font-size: 5rem; line-height: 1; transition: color 220ms ease; }
  .rhythm-card:hover .rhythm-number { color: rgba(255, 255, 255, 0.18); }
  .rhythm-card h3 { margin-top: 12px; }
  .rhythm-card > p:last-child { margin-top: 19px; color: var(--muted); }

  .build-manifesto {
    position: relative;
    overflow: hidden;
    background: #8db45f;
    color: #0a0b0b;
  }

  .manifesto-stripe {
    height: 14px;
    background: repeating-linear-gradient(135deg, #0a0b0b 0 12px, transparent 12px 23px);
    opacity: 0.88;
  }

  .manifesto-inner {
    position: relative;
    display: grid;
    min-height: 390px;
    padding-block: 76px;
    align-items: center;
    grid-template-columns: 220px minmax(0, 1fr) 260px;
    gap: 44px;
  }

  .manifesto-inner .section-kicker { color: #183211; }
  .manifesto-inner h2 { margin-top: 15px; }
  .manifesto-inner h2 em { color: #183211; }
  .manifesto-inner p:not(.section-kicker) { max-width: 630px; margin-top: 20px; font-size: 1.08rem; font-weight: 650; }
  .manifesto-number { color: rgba(10, 11, 11, 0.9); font-family: var(--display); font-size: 14rem; line-height: 0.6; }
  .manifesto-inner ul { display: grid; gap: 0; border-top: 2px solid rgba(10, 11, 11, 0.28); }
  .manifesto-inner li { padding: 13px 0; border-bottom: 2px solid rgba(10, 11, 11, 0.28); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.11em; }

  .community-rule {
    position: relative;
    padding: 56px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    background: var(--red);
  }

  .community-rule::before {
    position: absolute;
    z-index: 0;
    top: -65%;
    left: 42%;
    width: 2px;
    height: 230%;
    content: "";
    transform: rotate(24deg);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 70px 0 0 rgba(255, 255, 255, 0.06), -70px 0 0 rgba(0, 0, 0, 0.08);
  }

  .community-rule::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background: #07090a;
    opacity: 0;
  }

  .js .community-rule.is-visible::after { animation: red-section-flash 1s ease-in-out 100ms backwards; }

  @keyframes red-section-flash {
    0% { opacity: 0; }
    45% { opacity: 0.22; }
    100% { opacity: 0; }
  }

  .rule-inner { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: 130px 240px 1fr; gap: 32px; }
  .rule-icon { display: flex; height: 72px; align-items: end; justify-content: center; gap: 5px; }
  .rule-icon span { position: relative; display: block; width: 32px; height: 44px; border-radius: 16px 16px 3px 3px; background: #080a0b; }
  .rule-icon span::before { position: absolute; top: -22px; left: 7px; width: 18px; height: 18px; border-radius: 50%; content: ""; background: #080a0b; }
  .rule-icon span:first-child, .rule-icon span:last-child { height: 36px; opacity: 0.82; }
  .rule-inner > div:nth-child(2) p { font-family: var(--display); font-size: 1.25rem; line-height: 1; letter-spacing: 0.08em; }
  .rule-inner h2 { color: #fff; font-size: clamp(4rem, 8vw, 6.7rem); line-height: 0.78; }
  .rule-copy { max-width: 650px; font-size: 1.16rem; font-weight: 750; line-height: 1.5; }

  .faq { background: var(--black); }
  .faq-layout { display: grid; align-items: start; grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr); gap: clamp(55px, 9vw, 120px); }
  .faq-heading { position: sticky; top: 112px; }
  .faq-heading > p { margin-top: 24px; }
  .faq-list { border-top: 1px solid var(--line-strong); }
  .faq-list details { border-bottom: 1px solid var(--line-strong); }
  .faq-list summary { display: flex; min-height: 76px; padding: 18px 0; align-items: center; justify-content: space-between; gap: 24px; font-size: 1.02rem; font-weight: 800; cursor: pointer; list-style: none; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary span { position: relative; flex: 0 0 auto; width: 24px; height: 24px; }
  .faq-list summary span::before,
  .faq-list summary span::after { position: absolute; top: 11px; left: 3px; width: 18px; height: 2px; content: ""; background: var(--red-bright); transition: transform 180ms ease; }
  .faq-list summary span::after { transform: rotate(90deg); }
  .faq-list details[open] summary span::after { transform: rotate(0); }
  .faq-list details p { max-width: 720px; padding: 0 50px 24px 0; color: var(--muted); }

  .final-call {
    position: relative;
    display: grid;
    min-height: 630px;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
  }

  .final-art { z-index: -3; }
  .final-art img { object-position: 68% 58%; }
  .final-call::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7, 9, 10, 0.96), rgba(7, 9, 10, 0.72) 53%, rgba(7, 9, 10, 0.3)), linear-gradient(0deg, var(--black), transparent 50%); }
  .final-call::after { position: absolute; z-index: -1; bottom: 0; left: 0; width: 62%; height: 8px; content: ""; background: var(--forest); }
  .final-inner { padding-block: 100px; }
  .final-inner h2 { max-width: 830px; margin-top: 17px; }
  .final-inner > p:not(.section-kicker) { margin-top: 24px; color: #d4d8da; font-size: 1.15rem; }

  .pve1-promo {
    position: relative;
    padding: clamp(52px, 7vw, 82px) 0;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
      var(--amber);
    color: #090b0a;
    isolation: isolate;
  }

  .pve1-promo::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 8px;
    content: "";
    background: repeating-linear-gradient(135deg, #090b0a 0 20px, transparent 20px 40px);
  }

  .pve1-promo::after {
    position: absolute;
    z-index: 0;
    top: -35%;
    bottom: -35%;
    left: -34%;
    width: 22%;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    opacity: 0;
    transform: skewX(-18deg);
  }

  .pve1-promo-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(28px, 5vw, 66px);
  }

  .pve1-badge {
    display: grid;
    min-height: 142px;
    padding: 20px;
    place-content: center;
    border: 3px solid #090b0a;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 9px 9px 0 #090b0a;
    text-align: center;
    transform: rotate(-2deg);
  }

  .pve1-badge small { font-size: 0.7rem; font-weight: 950; letter-spacing: 0.14em; }
  .pve1-badge strong { font-family: var(--display); font-size: 3.8rem; line-height: 0.95; letter-spacing: 0.035em; }
  .pve1-copy { max-width: 650px; }
  .pve1-copy .section-kicker { color: rgba(9, 11, 10, 0.72); }
  .pve1-copy h2 { margin-top: 11px; font-size: clamp(2.4rem, 5vw, 4.7rem); }
  .pve1-copy h2 em { color: #090b0a; }
  .pve1-copy > p:last-child { max-width: 620px; margin-top: 18px; font-size: 1.05rem; font-weight: 650; }
  .pve1-description { display: grid; gap: 0.4rem; }
  .pve1-description span { display: block; }

  .pve1-button {
    min-width: 238px;
    border-color: #090b0a;
    background: #090b0a;
    color: var(--white);
    box-shadow: 7px 7px 0 rgba(9, 11, 10, 0.22);
  }

  .pve1-button:hover { border-color: #090b0a; background: var(--surface-high); }

  .js .pve1-promo[data-pve1-reveal] .pve1-badge,
  .js .pve1-promo[data-pve1-reveal] .pve1-copy .section-kicker,
  .js .pve1-promo[data-pve1-reveal] .pve1-copy h2,
  .js .pve1-promo[data-pve1-reveal] .pve1-description span,
  .js .pve1-promo[data-pve1-reveal] .pve1-button { opacity: 0; }

  .js .pve1-promo.is-visible .pve1-badge,
  .js .pve1-promo.is-visible .pve1-copy .section-kicker,
  .js .pve1-promo.is-visible .pve1-copy h2,
  .js .pve1-promo.is-visible .pve1-description span,
  .js .pve1-promo.is-visible .pve1-button { opacity: 1; }

  .js .pve1-promo.is-visible::after { animation: pve1-zone-flash 1.3s ease-out 60ms backwards; }
  .js .pve1-promo.is-visible .pve1-badge { animation: pve1-badge-enter 720ms cubic-bezier(0.2, 0.9, 0.24, 1.18) 80ms backwards; }
  .js .pve1-promo.is-visible .pve1-copy .section-kicker { animation: pve1-copy-enter 580ms cubic-bezier(0.22, 1, 0.36, 1) 240ms backwards; }
  .js .pve1-promo.is-visible .pve1-copy h2 { animation: pve1-copy-enter 650ms cubic-bezier(0.22, 1, 0.36, 1) 390ms backwards; }
  .js .pve1-promo.is-visible .pve1-description span:first-child { animation: pve1-copy-enter 580ms cubic-bezier(0.22, 1, 0.36, 1) 550ms backwards; }
  .js .pve1-promo.is-visible .pve1-description span:last-child { animation: pve1-copy-enter 580ms cubic-bezier(0.22, 1, 0.36, 1) 680ms backwards; }
  .js .pve1-promo.is-visible .pve1-button { animation: pve1-button-enter 720ms cubic-bezier(0.2, 0.9, 0.24, 1.15) 830ms backwards; }

  @keyframes pve1-zone-flash {
    0% { opacity: 0; transform: translateX(0) skewX(-18deg); }
    28% { opacity: 0.7; }
    100% { opacity: 0; transform: translateX(720%) skewX(-18deg); }
  }

  @keyframes pve1-badge-enter {
    0% { opacity: 0; transform: translateX(-52px) rotate(-8deg) scale(0.82); }
    68% { opacity: 1; transform: translateX(5px) rotate(1deg) scale(1.04); }
    100% { opacity: 1; transform: translateX(0) rotate(-2deg) scale(1); }
  }

  @keyframes pve1-copy-enter {
    0% { opacity: 0; transform: translateY(30px); }
    70% { opacity: 1; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  @keyframes pve1-button-enter {
    0% { opacity: 0; transform: translateX(54px) scale(0.9); }
    68% { opacity: 1; transform: translateX(-5px) scale(1.04); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
  }

  .join-dialog {
    width: min(calc(100% - 28px), 660px);
    max-height: calc(100dvh - 28px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(143, 200, 107, 0.58);
    background: var(--surface);
    color: var(--white);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.78);
    opacity: 0;
    transform: translateY(-58px) scale(0.96);
    transition: opacity 340ms ease, transform 440ms cubic-bezier(0.22, 1, 0.36, 1), visibility 340ms;
    visibility: hidden;
  }

  .join-dialog.is-visible { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }
  .join-dialog.is-closing { opacity: 0; transform: translateY(-34px) scale(0.975); visibility: hidden; }

  .join-dialog::backdrop { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); transition: background 340ms ease, backdrop-filter 340ms ease; }
  .join-dialog.is-visible::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(7px); }

  .join-dialog-panel { position: relative; padding: clamp(24px, 5vw, 38px); }
  .join-dialog h2 { max-width: 520px; margin-top: 10px; padding-right: 48px; font-size: clamp(2.5rem, 7vw, 4.4rem); }
  .join-dialog-status {
    position: relative;
    max-width: 560px;
    margin-top: 18px;
    padding: 13px 15px;
    overflow: hidden;
    border-left: 3px solid var(--forest-bright);
    background: rgba(143, 200, 107, 0.075);
    color: #e5e8e6;
    font-weight: 700;
    line-height: 1.55;
  }

  .join-dialog-status::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 30%;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), rgba(255, 220, 125, 0.48), transparent);
    filter: blur(1px);
    opacity: 0;
    transform: skewX(-20deg);
  }

  .join-dialog.is-visible .join-dialog-status::after { animation: join-status-shine 3.8s ease-in-out 420ms infinite; }

  .join-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line-strong);
    background: var(--black-soft);
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }

  .join-dialog-addresses { display: grid; margin-top: 22px; grid-template-columns: 1fr 0.72fr; gap: 12px; }
  .join-dialog-addresses p { display: grid; min-height: 100px; padding: 16px; place-content: center; border: 1px solid rgba(228, 35, 32, 0.58); background: rgba(228, 35, 32, 0.09); text-align: center; }
  .join-dialog-addresses small { color: var(--muted); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; }
  .join-dialog-addresses strong { margin-top: 4px; color: var(--white); font-family: var(--display); font-size: clamp(1.7rem, 5vw, 2.7rem); line-height: 1; letter-spacing: 0.04em; }
  .join-dialog-addresses p:last-child strong { color: var(--amber-light); }
  .join-dialog.is-visible .join-dialog-addresses p:last-child strong { animation: join-port-pulse 1.45s ease-in-out infinite; }

  @keyframes join-status-shine {
    0%, 12% { opacity: 0; transform: translateX(0) skewX(-20deg); }
    18% { opacity: 0.9; }
    43% { opacity: 0.66; transform: translateX(560%) skewX(-20deg); }
    51%, 100% { opacity: 0; transform: translateX(560%) skewX(-20deg); }
  }

  @keyframes join-port-pulse {
    0%, 100% { color: var(--amber-light); text-shadow: 0 0 5px rgba(243, 181, 27, 0.25); transform: scale(1); }
    50% { color: #fff6cf; text-shadow: 0 0 12px rgba(255, 211, 90, 0.95), 0 0 32px rgba(243, 181, 27, 0.62); transform: scale(1.11); }
  }

  .join-dialog-steam {
    display: flex;
    width: 100%;
    min-height: 102px;
    margin-top: 14px;
    padding: 17px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--red-bright);
    background: linear-gradient(135deg, #bd1715, var(--red));
    box-shadow: 0 16px 40px rgba(228, 35, 32, 0.25);
    text-align: center;
    transition: transform 160ms ease, background 160ms ease;
  }

  .join-dialog-steam:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--red), var(--red-bright)); }
  .join-dialog-steam strong { font-size: clamp(1rem, 3.2vw, 1.45rem); line-height: 1.2; }
  .join-dialog-steam small { margin-top: 7px; color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; font-weight: 700; line-height: 1.45; }

  .join-dialog-cancel {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    border: 1px solid var(--line-strong);
    background: var(--black-soft);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    cursor: pointer;
  }

  .site-footer { padding-top: 54px; border-top: 1px solid var(--line); background: #050607; }
  .footer-main { display: grid; padding-bottom: 40px; align-items: center; grid-template-columns: 1fr auto auto; gap: 50px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
  .footer-links a { color: var(--muted); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
  .footer-links a:hover { color: var(--white); }
  .footer-languages { display: flex; gap: 5px; }
  .footer-languages a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-weight: 900; }
  .footer-languages a:hover,
  .footer-languages a[aria-current="page"] { border-color: var(--red); background: var(--red); color: #fff; }
  .footer-bottom { display: flex; padding: 18px 0 26px; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: #737b80; font-size: 0.76rem; }
  .footer-bottom p:last-child { max-width: 600px; text-align: right; }

}

@layer utilities {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  @media (max-width: 1040px) {
    :root { --shell: min(100% - 40px, 960px); }
    .main-nav { gap: 17px; }
    .main-nav a { font-size: 0.78rem; }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
    .feature-wide { grid-column: span 8; }
    .feature-forest { grid-column: span 4; }
    .feature-build { grid-column: span 5; }
    .feature-calm { grid-column: span 7; padding-right: 27%; }
    .manifesto-inner { grid-template-columns: 150px 1fr 220px; }
    .manifesto-number { font-size: 11rem; }
  }

  @media (min-width: 901px) and (max-height: 820px) {
    .hero-inner { padding-top: calc(var(--header-height) + 28px); padding-bottom: 40px; }
    .hero h1 { margin-top: 10px; font-size: clamp(3.45rem, 5.8vw, 5.25rem); }
    .hero-lead { margin-top: 14px; font-size: 1rem; line-height: 1.5; }
    .server-connect { margin-top: 14px; padding-top: 11px; padding-bottom: 11px; }
    .hero-actions { margin-top: 15px; }
    .hero-facts { margin-top: 16px; }
    .scroll-cue { display: none; }
  }

  @media (max-width: 900px) {
    :root { --header-height: 70px; }
    .site-header.is-scrolled { height: 64px; }
    .header-inner { gap: 12px; }
    .menu-button { display: grid; }
    .language-switcher { margin-left: auto; }
    .main-nav {
      position: fixed;
      z-index: -1;
      top: calc(var(--header-height) + 3px);
      right: 0;
      left: 0;
      display: grid;
      margin: 0;
      padding: 24px max(24px, calc((100vw - 760px) / 2));
      visibility: hidden;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line-strong);
      background: rgba(7, 9, 10, 0.98);
      box-shadow: 0 25px 55px rgba(0, 0, 0, 0.42);
      opacity: 0;
      transform: translateY(-12px);
      transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }
    .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .main-nav a { padding: 10px 0; font-size: 1rem; }
    body.menu-open { overflow: hidden; }
    .hero-inner { display: flex; min-height: auto; padding-top: 124px; padding-bottom: 82px; flex-direction: column; align-items: stretch; justify-content: flex-start; }
    .hero-copy { max-width: 690px; }
    .world-profile { width: min(100%, 470px); margin: 8px 0 0; align-self: flex-start; }
    .scroll-cue { display: none; }
    .section-heading { grid-template-columns: 1fr; gap: 25px; }
    .section-heading > p { max-width: 720px; }
    .feature-wide, .feature-forest, .feature-build, .feature-calm { grid-column: span 6; }
    .feature-map { min-height: 300px; grid-template-columns: 70px minmax(0, 1fr); }
    .feature-map .city-route { grid-column: 1 / -1; margin-top: 5px; }
    .feature-wide { display: block; }
    .feature-wide .feature-icon { margin-bottom: 28px; }
    .mini-chart { left: 40px; }
    .feature-calm { padding-right: 30px; }
    .rhythm-grid { grid-template-columns: 1fr; }
    .rhythm-card { display: grid; min-height: 0; padding-right: 100px; grid-template-columns: 75px 1fr; column-gap: 22px; }
    .rhythm-card > img { margin: 55px 0 0; grid-row: 1 / span 4; }
    .rhythm-card .rhythm-label { margin-top: 55px; }
    .rhythm-card h3 { align-self: start; }
    .rhythm-card > p:last-child { max-width: 660px; }
    .manifesto-inner { grid-template-columns: 120px 1fr; }
    .manifesto-inner ul { display: flex; grid-column: 1 / -1; flex-wrap: wrap; border: 0; gap: 9px; }
    .manifesto-inner li { padding: 9px 14px; border: 2px solid rgba(10, 11, 11, 0.3); }
    .rule-inner { grid-template-columns: 90px 190px 1fr; gap: 24px; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-heading { position: static; max-width: 620px; }
    .pve1-promo-inner { grid-template-columns: 150px minmax(0, 1fr); }
    .pve1-button { width: fit-content; grid-column: 2; }
    .footer-main { grid-template-columns: 1fr auto; }
    .footer-links { grid-column: 1 / -1; grid-row: 2; }
  }

  @media (max-width: 620px) {
    :root { --shell: calc(100% - 30px); }
    h1,
    .hero h1 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
    h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
    .header-inner { gap: 6px; }
    .brand { gap: 7px; }
    .brand-copy strong { font-size: 0.7rem; letter-spacing: 0.02em; }
    .brand-copy small { display: none; }
    .brand-seven { width: 29px; height: 37px; font-size: 2.2rem; }
    .language-switcher { gap: 1px; padding: 2px; }
    .language-link { min-width: 31px; min-height: 35px; padding: 4px; }
    .language-link span { display: none; }
    .language-link img { width: 22px; height: 14px; }
    .menu-button { width: 40px; height: 40px; }
    .language-prompt { top: calc(var(--header-height) + 10px); padding: 12px; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
    .language-prompt-copy { grid-column: 1 / -1; }
    .language-prompt-options a { min-width: 49px; }
    .language-prompt-options a span { display: none; }
    .language-prompt > button { min-width: 58px; }
    .hero-art img { object-position: 66% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(5, 9, 6, 0.95), rgba(5, 12, 7, 0.66)), linear-gradient(0deg, var(--black), transparent 38%); }
    .hero-inner { padding-top: 112px; padding-bottom: 66px; }
    .hero-lead { margin-top: 19px; font-size: 1rem; }
    .server-connect { padding: 15px; grid-template-columns: 1fr; gap: 14px; }
    .server-connect-button { width: 100%; }
    .hero-actions { margin-top: 25px; }
    .button { width: 100%; }
    .hero-facts { display: grid; margin-top: 27px; grid-template-columns: 1fr 1fr; }
    .world-profile { margin-top: 19px; }
    .section { padding: 88px 0; }
    .section-heading { margin-bottom: 36px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-wide, .feature-forest, .feature-build, .feature-calm { min-height: 300px; grid-column: auto; }
    .feature-map { display: block; min-height: 0; grid-column: auto; }
    .feature-map .feature-icon { margin-bottom: 28px; }
    .feature-map .city-route { margin-top: 46px; }
    .city-route span { width: 44px; height: 44px; }
    .mini-chart { right: 27px; left: 27px; opacity: 0.35; }
    .feature-wide .feature-copy { position: relative; z-index: 2; }
    .rhythm-card { display: block; min-height: 350px; padding: 30px 26px; }
    .rhythm-card > img { margin: 55px 0 22px; }
    .rhythm-card .rhythm-label { margin-top: 0; }
    .manifesto-inner { display: block; min-height: 0; padding-block: 70px; }
    .manifesto-number { margin-bottom: 38px; font-size: 9rem; }
    .manifesto-inner ul { margin-top: 34px; }
    .rule-inner { grid-template-columns: 70px 1fr; }
    .rule-copy { grid-column: 1 / -1; }
    .rule-icon { transform: scale(0.8); transform-origin: left; }
    .faq-list summary { min-height: 70px; font-size: 0.95rem; }
    .final-call { min-height: 570px; }
    .final-art img { object-position: 70% center; }
    .pve1-promo-inner { display: block; }
    .pve1-badge { width: 150px; min-height: 120px; margin: 0 0 36px 5px; }
    .pve1-badge strong { font-size: 3.2rem; }
    .pve1-button { width: 100%; margin-top: 30px; }
    .join-dialog-panel { padding: 24px 17px 18px; }
    .join-dialog h2 { padding-right: 42px; }
    .join-dialog-addresses { grid-template-columns: 1fr; }
    .join-dialog-addresses p { min-height: 84px; }
    .join-dialog-steam { min-height: 112px; padding-inline: 14px; }
    .footer-main { display: flex; align-items: flex-start; flex-direction: column; gap: 28px; }
    .footer-links { gap: 14px 18px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .footer-bottom p:last-child { text-align: left; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: smooth !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .language-switcher { border-color: var(--amber-light); animation: none; box-shadow: 0 0 20px rgba(243, 181, 27, 0.32); }
    .language-switcher::before { animation: none; opacity: 0; }
    .language-prompt { transition-duration: 220ms !important; }
    .language-prompt.is-visible { animation-duration: 460ms !important; animation-iteration-count: 1 !important; }
    .language-prompt.is-visible::after { animation-duration: 4.2s !important; animation-iteration-count: infinite !important; }
    .join-dialog { transition-duration: 420ms !important; }
    .join-dialog.is-visible .join-dialog-status::after { animation-duration: 3.8s !important; animation-iteration-count: infinite !important; }
    .join-dialog.is-visible .join-dialog-addresses p:last-child strong { animation-duration: 1.45s !important; animation-iteration-count: infinite !important; }
    .js .pve1-promo.is-visible::after { animation-duration: 1.1s !important; animation-iteration-count: 1 !important; }
    .js .pve1-promo.is-visible .pve1-badge,
    .js .pve1-promo.is-visible .pve1-copy .section-kicker,
    .js .pve1-promo.is-visible .pve1-copy h2,
    .js .pve1-promo.is-visible .pve1-description span,
    .js .pve1-promo.is-visible .pve1-button { animation-duration: 620ms !important; animation-iteration-count: 1 !important; }
    .js .community-rule.is-visible::after { animation-duration: 1s !important; animation-iteration-count: 1 !important; }
  }

  @media (prefers-contrast: more) {
    :root { --muted: #d4d7d8; --line: rgba(255, 255, 255, 0.35); --line-strong: rgba(255, 255, 255, 0.65); }
  }
}
