/* Base */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #101114;
  --muted: #666d75;
  --brand: #4d6169;
  --line: rgba(16, 17, 20, 0.1);
  --panel: rgba(16, 17, 20, 0.035);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
}

body {
  font-family: "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Shared Header And Footer */

.site-page {
  .header-shell {
    position: relative;
    z-index: 20;
    min-height: 0;
  }
  .header {
    position: relative;
    z-index: 20;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 10px;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .header.is-stuck {
    position: fixed;
    top: 0;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    background: var(--bg);
    border-bottom: 1px solid rgba(16, 17, 20, 0.06);
  }
  .brand {
    display: inline-flex;
    align-items: center;
    flex: none;
  }
  .brand img {
    display: block;
    width: min(200px, 42vw);
    height: auto;
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
  }
  .menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
  }
  .menu-divider {
    color: rgba(16, 17, 20, 0.28);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    user-select: none;
  }
  .menu-link {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.18s ease;
  }
  .menu-link:hover {
    color: var(--ink);
  }
  .menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(16, 17, 20, 0.12);
    border-radius: 8px;
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: none;
    padding-left: 18px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
  }
  .lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.68;
    cursor: pointer;
    transition: color 0.18s ease, opacity 0.18s ease;
  }
  .lang-trigger:hover,
  .lang-trigger.is-open {
    color: var(--ink);
    opacity: 1;
  }
  .lang-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    color: currentColor;
  }
  .lang-trigger-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 132px;
    padding: 6px;
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(16, 17, 20, 0.08);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .lang-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .lang-option:hover {
    background: rgba(16, 17, 20, 0.05);
    color: var(--ink);
  }
  .lang-option.is-active {
    color: var(--ink);
  }
  .lang-option-check {
    opacity: 0;
    transition: opacity 0.18s ease;
  }
  .lang-option.is-active .lang-option-check {
    opacity: 1;
  }
  .site-footer {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px 40px;
    align-items: start;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .site-footer .footer-brand {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .site-footer .footer-copy,
  .site-footer .footer-meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .site-footer .footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 16px 22px;
    flex-wrap: wrap;
    max-width: 520px;
  }
  .site-footer .footer-link {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: color 0.18s ease;
  }
  .site-footer .footer-link:hover {
    color: var(--ink);
  }
  .site-footer .footer-contact {
    display: grid;
    gap: 12px;
    justify-content: flex-start;
    padding-left: 28px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
  }
  .site-footer .footer-contact-link {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s ease;
  }
  .site-footer .footer-contact-link:hover {
    color: var(--ink);
  }
  .site-footer .footer-contact-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .site-footer .footer-contact-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .site-footer .footer-contact-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
  }
  .site-footer .footer-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: currentColor;
    transition: transform 0.18s ease;
  }
  .site-footer .footer-contact-link:hover .footer-icon-link {
    transform: translateY(-1px);
  }
  .site-footer .footer-icon-link svg {
    display: block;
    width: 18px;
    height: 17px;
  }
  @media (min-width: 761px) and (max-width: 1320px) {
    .header-actions {
      gap: 12px;
    }
    .menu {
      gap: 13px;
    }
    .menu-divider {
      font-size: 12px;
    }
    .menu-link {
      font-size: 11px;
      letter-spacing: 0.08em;
    }
    .lang-switch {
      padding-left: 12px;
    }
  }
  @media (max-width: 760px) {
    .header {
      width: min(100% - 24px, 1160px);
      align-items: center;
      flex-direction: row;
    }
    .header.is-stuck {
      top: 0;
      left: 0;
      width: 100%;
      transform: none;
      padding-right: 12px;
      padding-left: 12px;
    }
    .header-actions {
      width: auto;
      margin-left: auto;
      align-items: center;
      flex-direction: row;
      gap: 10px;
    }
    .menu {
      position: fixed;
      top: 70px;
      right: 0;
      left: 0;
      z-index: 40;
      display: grid;
      gap: 0;
      justify-content: stretch;
      justify-items: stretch;
      width: 100vw;
      padding: 8px 32px;
      border-top: 1px solid rgba(16, 17, 20, 0.08);
      border-bottom: 1px solid rgba(16, 17, 20, 0.08);
      background: #ffffff;
      box-shadow: 0 18px 44px rgba(16, 17, 20, 0.08);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-8px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }
    .header.is-menu-open .menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
    }
    .menu-divider {
      display: none;
    }
    .menu-link {
      display: block;
      width: 100%;
      min-height: auto;
      justify-self: stretch;
      padding: 15px 0;
      border-bottom: 1px solid rgba(16, 17, 20, 0.08);
      color: var(--ink);
      font-size: 13px;
      letter-spacing: 0.08em;
      text-align: left;
    }
    .menu-link:last-child {
      border-bottom: 0;
    }
    .menu-toggle {
      display: inline-flex;
    }
    .lang-switch {
      padding-left: 0;
      border-left: 0;
    }
    .site-footer {
      grid-template-columns: 1fr;
      width: min(100% - 24px, 1160px);
      padding-bottom: 32px;
    }
    .site-footer .footer-links,
    .site-footer .footer-contact {
      justify-content: flex-start;
    }
    .site-footer .footer-contact {
      align-items: flex-start;
      padding-left: 0;
      border-left: 0;
    }
  }
}

/* Home Page */

.site-home {
  .page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
  }
  .hero {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    min-height: clamp(560px, 72vh, 680px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    padding: clamp(44px, 7vh, 72px) 0 clamp(220px, 25vh, 280px);
    text-align: center;
  }
  .hero-copy {
    width: 100%;
    min-width: 0;
    max-width: 660px;
  }
  .eyebrow,
  h1,
  p {
    margin-top: 0;
  }
  .eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
  }
  .lead {
    max-width: 44rem;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.58;
    overflow-wrap: anywhere;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 44px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .button:hover {
    transform: translateY(-1px);
    background: #1b1d21;
    border-color: #1b1d21;
  }
  .hero .button {
    position: relative;
    z-index: 1;
  }
  .section {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 128px;
    scroll-margin-top: 112px;
  }
  .section-anchor {
    position: relative;
    top: -24px;
    height: 0;
  }
  .section-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px 56px;
    margin-bottom: 84px;
    padding-top: 56px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .section-kicker,
  .step-title,
  .flow-note {
    margin-top: 0;
  }
  .section-kicker {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .section-title {
    max-width: 20ch;
    margin: 0;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  .section-lead {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.72;
  }
  .flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .flow-card {
    position: relative;
    padding: 48px 22px 0 0;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .step-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }
  .step-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .step-copy {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
  }
  .section-side {
    max-width: 34rem;
    display: flex;
    gap: 18px;
    justify-items: start;
    flex-direction: column;
    justify-content: center;
  }
  .flow-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: #4f5860;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.58;
    letter-spacing: -0.01em;
  }
  .flow-note::before {
    content: "";
    flex: none;
    width: 24px;
    height: 1px;
    margin-top: 12px;
    background: rgba(16, 17, 20, 0.16);
  }
  .how-media {
    position: relative;
    width: min(100%, 700px);
    margin-top: 28px;
    border: 1px solid rgb(180 180 180);
    border-radius: 8px;
    overflow: hidden;
    background: #0c0f13;
    box-shadow: 0 20px 48px rgba(16, 17, 20, 0.08);
  }
  .how-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0c0f13;
    transition: filter 0.22s ease, transform 0.22s ease;
  }
  .how-media:not(.is-playing) .how-video {
    filter: blur(1.2px) brightness(0.7) saturate(0.82);
    transform: scale(1.02);
  }
  .how-video-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    border: 0;
    background: linear-gradient(180deg, rgb(64 69 76 / 4%) 0%, rgb(255 255 255 / 0%) 24%, rgb(56 63 74 / 0%) 100%);
    cursor: pointer;
    transition: background 0.18s ease;
  }
  .how-video-overlay:hover {
    background: linear-gradient(180deg, rgb(64 69 76 / 8%) 0%, rgb(255 255 255 / 0%) 24%, rgb(56 63 74 / 0%) 100%);
  }
  .how-video-overlay[hidden] {
    display: none;
  }
  .how-video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(16, 17, 20, 0.3);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 30px;
    text-transform: uppercase;
  }
  .how-video-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 94px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 17, 20, 0.22);
    transition: transform 0.18s ease, background 0.18s ease;
  }
  .how-video-overlay:hover .how-video-play {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.14);
  }
  .how-video-play svg {
    display: block;
    width: 28px;
    height: 28px;
    margin-left: 4px;
    fill: currentColor;
  }
  .feature-section {
    padding-top: 0;
  }
  .control-section {
    padding-top: 0;
  }
  .control-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.82fr);
    grid-template-areas: "visual content";
    gap: 28px 64px;
    align-items: center;
    padding-top: 48px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .control-content {
    grid-area: content;
  }
  .control-content .section-title {
    margin-bottom: 18px;
  }
  .control-content .section-side {
    max-width: none;
    gap: 14px;
    margin-bottom: 36px;
  }
  .control-content .section-lead {
    font-size: 17px;
    line-height: 1.58;
  }
  .control-content .flow-note {
    font-size: 14px;
    line-height: 1.5;
  }
  .control-visual-wrap {
    grid-area: visual;
    display: grid;
    align-items: center;
    min-height: 560px;
  }
  .control-pattern {
    position: relative;
    width: min(100%, 570px);
    aspect-ratio: 1;
    margin-right: auto;
    pointer-events: none;
  }
  .control-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, 0.28) 76%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
  }
  .control-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    color: rgba(77, 97, 105, 0.24);
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .control-list {
    display: grid;
    gap: 0;
  }
  .control-item {
    padding: 24px 12px 0 0;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .control-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .control-copy {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.58;
  }
  .feature-copy {
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
    gap: 24px 48px;
    align-items: center;
    margin-bottom: 68px;
  }
  .feature-copy .section-title {
    margin-bottom: 18px;
  }
  .feature-copy .section-side {
    max-width: none;
  }
  .feature-visual {
    position: relative;
    min-height: 356px;
    display: grid;
    align-items: center;
  }
  .feature-window {
    position: relative;
    width: min(100%, 700px);
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(16, 17, 20, 0.06);
  }
  .feature-screenshot {
    display: block;
    width: 100%;
    height: auto;
  }
  .feature-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 48px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .feature-summary-item {
    padding-right: 16px;
  }
  .feature-summary-item:not(:last-child) {
    border-right: 1px solid rgba(16, 17, 20, 0.06);
  }
  .feature-summary-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .feature-summary-copy {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
  }
  .gateway-section {
    padding-top: 0;
  }
  .gateway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-top: 48px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .gateway-item {
    padding-right: 22px;
  }
  .gateway-item:not(:last-child) {
    border-right: 1px solid rgba(16, 17, 20, 0.06);
  }
  .gateway-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .gateway-copy {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
  }
  .gateway-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  .gateway-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(77, 97, 105, 0.18);
    border-radius: 999px;
    background: rgba(77, 97, 105, 0.06);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .access-item {
    padding: 48px 22px 0 0;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .access-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
  }
  .step-icon,
  .access-icon {
    display: block;
    flex: none;
    color: var(--brand);
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
  }
  .icon-vps {
    --icon: url("/assets/icons/icon-vps.svg");
  }
  .icon-ssh {
    --icon: url("/assets/icons/icons-ssh.svg");
  }
  .icon-access {
    --icon: url("/assets/icons/icons-access.svg");
  }
  .icon-qr-link {
    --icon: url("/assets/icons/icons-qr-link.svg");
  }
  .icon-clients-status {
    --icon: url("/assets/icons/icons-clients-status.svg");
  }
  .icon-protocols {
    --icon: url("/assets/icons/icons-protocols.svg");
  }
  .access-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
  }
  .access-copy {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.72;
  }
  .pricing-panel {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(16, 17, 20, 0.12);
  }
  .pricing-section {
    padding-bottom: 80px;
  }
  .pricing-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }
  .pricing-plan {
    min-width: 0;
    padding: 42px 42px 38px 0;
  }
  .pricing-plan + .pricing-plan {
    padding-right: 0;
    padding-left: 42px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
  }
  .plan-name,
  .plan-price-line,
  .plan-summary {
    margin-top: 0;
  }
  .plan-name {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .plan-price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
  }
  .plan-price {
    color: var(--ink);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.06em;
  }
  .plan-period {
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
  }
  .plan-summary {
    max-width: 28rem;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
  }
  .pricing-button {
    min-width: 160px;
  }
  .button-subtle {
    border-color: rgba(16, 17, 20, 0.14);
    background: #ffffff;
    color: var(--ink);
  }
  .button-subtle:hover {
    border-color: rgba(16, 17, 20, 0.3);
    background: rgba(16, 17, 20, 0.03);
  }
  .pricing-compare {
    display: grid;
    padding-bottom: 10px;
  }
  .compare-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .compare-value {
    min-width: 0;
  }
  .compare-value {
    padding: 19px 42px 19px 0;
    font-size: 16px;
    line-height: 1.55;
  }
  .compare-value + .compare-value {
    padding-right: 10px;
    padding-left: 42px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
  }
  .compare-label {
    display: block;
    margin-bottom: 6px;
    color: #7a8288;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
  }
  .compare-value {
    color: #5f686f;
    font-weight: 600;
  }
  .compare-value.is-pro {
    background: rgba(77, 97, 105, 0.055);
    color: #273137;
    font-weight: 700;
  }
  .compare-value.is-pro .compare-label {
    color: var(--brand);
  }
  .compare-value::before {
    display: none;
  }
  .pricing-pattern {
    position: relative;
    left: 50%;
    width: min(1440px, 120vw);
    height: 340px;
    margin: 52px 0 -72px;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-50%);
  }
  .pricing-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.48) 10%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.38) 74%, #ffffff 100%),
        linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 84%, #ffffff 100%);
  }
  .pricing-pattern-shape {
    position: absolute;
    bottom: -34px;
    background-image: radial-gradient(circle, rgba(16, 17, 20, 0.76) 0 1.8px, transparent 2px);
    background-size: 15px 15px;
  }
  .pricing-pattern.is-interactive .pricing-pattern-shape {
    opacity: 0;
  }
  .pricing-pattern-left,
  .pricing-pattern-right {
    width: min(54vw, 820px);
    height: 340px;
    opacity: 0.24;
  }
  .pricing-pattern-left {
    left: -2%;
    clip-path: polygon(0 100%, 0 72%, 10% 56%, 22% 40%, 38% 26%, 56% 16%, 72% 12%, 88% 18%, 100% 30%, 100% 100%);
  }
  .pricing-pattern-right {
    right: -2%;
    transform: scaleX(-1);
    clip-path: polygon(0 100%, 0 72%, 10% 56%, 22% 40%, 38% 26%, 56% 16%, 72% 12%, 88% 18%, 100% 30%, 100% 100%);
  }
  .pricing-pattern-center {
    left: 50%;
    width: min(30vw, 420px);
    height: 158px;
    opacity: 0.18;
    transform: translateX(-50%);
    clip-path: polygon(0 100%, 0 66%, 18% 50%, 38% 38%, 62% 38%, 82% 50%, 100% 66%, 100% 100%);
  }
  .changelog-preview {
    padding-top: 0;
    padding-bottom: 128px;
  }
  .changelog-preview-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
    gap: 30px 72px;
    padding: 48px 0;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
    border-bottom: 1px solid rgba(16, 17, 20, 0.1);
  }
  .changelog-preview-version {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 18px;
    padding: 0 12px;
    border: 1px solid rgba(77, 97, 105, 0.18);
    border-radius: 999px;
    background: rgba(77, 97, 105, 0.06);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .changelog-preview-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
  }
  .changelog-preview-list li {
    padding-top: 14px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .changelog-preview-actions {
    margin-top: 28px;
  }
  @media (max-width: 760px) {
    .changelog-preview {
      padding-bottom: 96px;
    }
    .changelog-preview-panel {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 44px 0;
    }
  }
  .final-section {
    margin-top: -70px;
    padding-top: 0;
    padding-bottom: 72px;
  }
  .final-cta {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
    gap: 32px 72px;
    padding: 72px 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.1);
  }
  .final-title {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(40px, 5.8vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.05em;
  }
  .final-side {
    display: grid;
    align-content: start;
    gap: 24px;
  }
  .final-lead {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.72;
  }
  .final-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .final-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .pattern {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: min(1440px, 120vw);
    height: 320px;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
  }
  .pattern::after {
    content: "";
    position: absolute;
    inset: 172px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.84) 62%, rgba(255, 255, 255, 1) 62%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
  }
  .pattern-shape {
    position: absolute;
    bottom: -24px;
    background-image: radial-gradient(circle, rgba(16, 17, 20, 0.96) 0 1.9px, transparent 2.1px);
    background-size: 15px 15px;
  }
  .pattern-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
  }
  .page.pattern-interactive .pattern-shape {
    opacity: 0;
  }
  .pattern-left,
  .pattern-right {
    width: min(54vw, 820px);
    height: 320px;
    opacity: 0.28;
  }
  .pattern-left {
    left: -2%;
    clip-path: polygon(0 100%, 0 72%, 10% 56%, 22% 40%, 38% 26%, 56% 16%, 72% 12%, 88% 18%, 100% 30%, 100% 100%);
  }
  .pattern-right {
    right: -2%;
    transform: scaleX(-1);
    clip-path: polygon(0 100%, 0 72%, 10% 56%, 22% 40%, 38% 26%, 56% 16%, 72% 12%, 88% 18%, 100% 30%, 100% 100%);
  }
  .pattern-center {
    left: 50%;
    width: min(30vw, 420px);
    height: 148px;
    transform: translateX(-50%);
    clip-path: polygon(0 100%, 0 66%, 18% 50%, 38% 38%, 62% 38%, 82% 50%, 100% 66%, 100% 100%);
    opacity: 0.22;
  }
  @media (max-width: 760px) {
    .hero {
      width: min(calc(100% - 24px), 760px);
      min-height: clamp(500px, 68vh, 580px);
      padding: 28px 0 190px;
    }
    .hero-copy {
      width: 100%;
      max-width: calc(100vw - 24px);
    }
    .section {
      width: min(calc(100% - 24px), 1160px);
      padding: 16px 0 84px;
      scroll-margin-top: 92px;
    }
    h1 {
      max-width: none;
      font-size: 34px;
    }
    .lead {
      font-size: 17px;
    }
    .pattern {
      left: 50%;
      bottom: 14px;
      width: min(1120px, 150vw);
      height: 220px;
    }
    .pattern::after {
      inset: 116px 0 0;
    }
    .pattern-left,
    .pattern-right {
      width: 82vw;
      height: 220px;
    }
    .pattern-center {
      width: 44vw;
      height: 100px;
    }
    .section-copy {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-bottom: 68px;
      padding-top: 44px;
    }
    .section-title {
      max-width: none;
    }
    .feature-copy {
      margin-bottom: 56px;
    }
    .flow-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }
    .how-media {
      width: 100%;
      margin-top: 24px;
    }
    .how-video-badge {
      top: 14px;
      left: 14px;
    }
    .how-video-play {
      width: 82px;
      height: 82px;
    }
    .flow-card {
      padding: 36px 0 0;
    }
    .feature-visual {
      min-height: 0;
    }
    .feature-window {
      width: 100%;
      margin-left: 0;
      border-radius: 8px;
    }
    .feature-summary-grid {
      grid-template-columns: 1fr;
      gap: 18px;
      padding-top: 44px;
    }
    .feature-summary-item {
      padding-right: 0;
    }
    .feature-summary-item:not(:last-child) {
      border-right: 0;
    }
    .gateway-grid {
      grid-template-columns: 1fr;
      gap: 22px;
      padding-top: 44px;
    }
    .gateway-item {
      padding: 0 0 22px;
      border-right: 0;
      border-bottom: 1px solid rgba(16, 17, 20, 0.08);
    }
    .gateway-item:not(:last-child) {
      border-right: 0;
    }
    .gateway-item:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }
    .access-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }
    .control-layout {
      grid-template-columns: 1fr;
      grid-template-areas: "content"
          "visual";
      gap: 28px;
      padding-top: 44px;
    }
    .control-content .section-side {
      margin-bottom: 32px;
    }
    .control-visual-wrap {
      min-height: 340px;
    }
    .control-pattern {
      width: min(100%, 360px);
      margin: 0 auto;
    }
    .control-mark {
      width: 56px;
      height: 56px;
    }
    .access-item,
    .control-item {
      padding: 28px 0 0;
    }
    .pricing-plans {
      grid-template-columns: 1fr;
    }
    .pricing-plan {
      padding: 34px 0 32px;
    }
    .pricing-plan + .pricing-plan {
      padding-left: 0;
      border-top: 1px solid rgba(16, 17, 20, 0.08);
      border-left: 0;
    }
    .plan-name {
      margin-bottom: 16px;
    }
    .plan-price-line {
      display: block;
    }
    .plan-period {
      display: block;
      margin-top: 8px;
    }
    .pricing-button {
      width: 100%;
    }
    .pricing-section {
      padding-bottom: 58px;
    }
    .compare-row {
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 20px 0;
    }
    .compare-label {
      margin-bottom: 2px;
      color: var(--ink);
    }
    .compare-value {
      padding: 0;
      border-left: 0;
    }
    .compare-value.is-pro {
      background: transparent;
    }
    .compare-value::before {
      display: block;
      margin-bottom: 2px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      content: attr(data-plan);
    }
    .pricing-pattern {
      width: min(1120px, 150vw);
      height: 240px;
      margin-top: 42px;
      margin-bottom: -54px;
    }
    .pricing-pattern::after {
      background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.52) 12%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.44) 76%, #ffffff 100%),
          linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 14%, rgba(255, 255, 255, 0) 86%, #ffffff 100%);
    }
    .pricing-pattern-left,
    .pricing-pattern-right {
      width: 82vw;
      height: 240px;
      opacity: 0.2;
    }
    .pricing-pattern-center {
      width: 44vw;
      height: 110px;
    }
    .final-section {
      padding-bottom: 56px;
    }
    .final-cta {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 56px 0;
    }
    .final-title {
      max-width: none;
      font-size: 40px;
    }
    .final-actions {
      align-items: stretch;
      flex-direction: column;
    }
    .final-actions .button {
      width: 100%;
    }
  }
  .section-side {
    display: flex;
    gap: 18px;
    justify-items: start;
    flex-direction: column;
    justify-content: center;
  }
}

/* Download Page */

.site-download {
  .page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
  }
  .section {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 52px 80px;
    align-items: initial;
    padding: clamp(76px, 10vw, 118px) 0 72px;
  }
  .hero > *,
  .content-grid > *,
  .download-panel {
    min-width: 0;
  }
  .eyebrow,
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  .eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  h1 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }
  .lead {
    max-width: 44rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.62;
  }
  .lead,
  .download-copy,
  .download-note,
  .download-option-meta,
  .step-copy,
  .requirement-copy {
    overflow-wrap: anywhere;
  }
  .download-panel {
    border-top: 1px solid rgba(16, 17, 20, 0.12);
    padding-top: 34px;
  }
  .download-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.035em;
  }
  .download-copy {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
  }
  .download-options {
    display: grid;
    margin-bottom: 18px;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .download-option {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
    color: var(--ink);
  }
  .download-option-icon {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.82;
  }
  .download-option-title {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }
  .download-option-meta {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
  }
  .download-option-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 206px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .download-option:hover .download-option-action {
    transform: translateY(-1px);
    background: #1b1d21;
    border-color: #1b1d21;
  }
  .release-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.18s ease;
  }
  .release-link:hover {
    color: var(--ink);
  }
  .release-changelog-link {
    margin-top: 24px;
    margin-bottom: 0;
  }
  .download-prereq,
  .download-note {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .download-prereq {
    margin: 0 0 12px;
  }
  .download-warning {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 18px;
    background: rgba(16, 17, 20, 0.025);
  }
  .download-warning-title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
  }
  .download-warning-copy {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }
  .download-warning-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .download-warning-list li + li {
    margin-top: 4px;
  }
  .release-highlights {
    padding: 0 0 84px;
  }
  .release-highlights-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
    gap: 36px 72px;
    padding: 42px 0;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
    border-bottom: 1px solid rgba(16, 17, 20, 0.1);
  }
  .release-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 16px;
    padding: 0 12px;
    border: 1px solid rgba(77, 97, 105, 0.18);
    border-radius: 999px;
    background: rgba(77, 97, 105, 0.06);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .release-title {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.045em;
  }
  .release-lead {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
  }
  .release-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
  }
  .release-list li {
    padding-top: 14px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }
  .content-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
    grid-template-areas: "steps intro";
    gap: 36px 72px;
    padding: 72px 0 104px;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .first-run-intro {
    grid-area: intro;
  }
  .section-kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .section-title {
    max-width: 14ch;
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.05em;
  }
  .steps {
    grid-area: steps;
    display: grid;
    gap: 0;
  }
  .step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }
  .step-number {
    color: var(--brand);
    font-size: 33px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
  }
  .step-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
  }
  .step-copy {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
  }
  .requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-bottom: 96px;
    border-top: 1px solid rgba(16, 17, 20, 0.1);
  }
  .requirement {
    padding: 28px 26px 0 0;
  }
  .requirement + .requirement {
    padding-left: 26px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
  }
  .requirement-title {
    margin-bottom: 9px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
  }
  .requirement-copy {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.72;
  }
  @media (max-width: 820px) {
    .section {
      width: min(calc(100% - 48px), 1160px);
    }
    .hero,
    .content-grid,
    .requirements {
      grid-template-columns: 1fr;
    }
    .hero {
      gap: 42px;
      padding: 56px 0 56px;
    }
    h1 {
      max-width: none;
      font-size: 40px;
    }
    .section-title {
      max-width: none;
    }
    .download-option {
      grid-template-columns: 46px minmax(0, 1fr);
      gap: 14px;
    }
    .download-option-icon {
      width: 46px;
      height: 46px;
    }
    .download-option-action {
      grid-column: 1 / -1;
      width: 100%;
    }
    .content-grid {
      grid-template-areas: "intro"
          "steps";
      padding: 72px 0 82px;
    }
    .release-highlights {
      padding-bottom: 72px;
    }
    .release-highlights-panel {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 36px 0;
    }
    .release-title {
      max-width: none;
    }
    .step {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .requirements {
      padding-bottom: 72px;
    }
    .requirement {
      padding: 24px 0;
    }
    .requirement + .requirement {
      padding-left: 0;
      border-left: 0;
      border-top: 1px solid rgba(16, 17, 20, 0.08);
    }
  }
}

/* Pro Page */

.site-pro {
  .page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
  }
  .section {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 52px 80px;
    align-items: end;
    padding: clamp(76px, 10vw, 118px) 0 76px;
  }
  .hero > *,
  .pro-panel,
  .value-list,
  .faq-list {
    min-width: 0;
  }
  .eyebrow,
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  .eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  h1 {
    max-width: 12ch;
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
  }
  .lead {
    max-width: 44rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.62;
  }
  .lead,
  .panel-copy,
  .panel-note,
  .value-copy,
  .faq-copy {
    overflow-wrap: anywhere;
  }
  .pro-panel {
    border-top: 1px solid rgba(16, 17, 20, 0.12);
    padding-top: 34px;
  }
  .panel-kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .price-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .price {
    font-size: clamp(52px, 7vw, 76px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.06em;
  }
  .period {
    color: var(--muted);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .panel-copy {
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
  }
  .button-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .checkout-label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .checkout-input {
    width: min(360px, 100%);
    min-height: 48px;
    border: 1px solid rgba(16, 17, 20, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    padding: 0 18px;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }
  .checkout-input:focus {
    border-color: rgba(16, 17, 20, 0.36);
    box-shadow: 0 0 0 4px rgba(77, 97, 105, 0.08);
  }
  .checkout-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 32px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
  }
  .button:hover {
    transform: translateY(-1px);
    background: #1b1d21;
    border-color: #1b1d21;
  }
  .button-subtle {
    border-color: rgba(16, 17, 20, 0.14);
    background: #ffffff;
    color: var(--ink);
  }
  .button-subtle:hover {
    border-color: rgba(16, 17, 20, 0.3);
    background: rgba(16, 17, 20, 0.03);
  }
  .button-row--panel {
    margin-bottom: 10px;
  }
  .panel-note {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }
  .checkout-message,
  .checkout-result {
    width: min(420px, 100%);
    margin: 10px 0 16px;
    padding: 14px 16px;
    border: 1px solid rgba(16, 17, 20, 0.1);
    border-radius: 18px;
    background: rgba(16, 17, 20, 0.03);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
  }
  .checkout-message.is-error {
    border-color: rgba(156, 61, 51, 0.2);
    background: rgba(156, 61, 51, 0.06);
    color: #7f332d;
  }
  .checkout-result {
    border-color: rgba(47, 115, 85, 0.2);
    background: rgba(47, 115, 85, 0.08);
    color: var(--ink);
  }
  .checkout-result-title {
    margin-bottom: 4px;
    font-weight: 800;
  }
  .checkout-result-copy {
    margin-bottom: 12px;
    color: var(--muted);
  }
  .license-copy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .license-copy-row code {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(16, 17, 20, 0.1);
    border-radius: 999px;
    background: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
  }
  .copy-key-button {
    min-height: 36px;
    border: 1px solid rgba(16, 17, 20, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }
  .copy-key-button--subtle {
    background: transparent;
    color: var(--muted);
  }
  .checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 24px;
  }
  .checkout-modal[hidden] {
    display: none !important;
  }
  .checkout-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 17, 20, 0.26);
    backdrop-filter: blur(10px);
  }
  .checkout-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(16, 17, 20, 0.18);
    padding: 28px;
  }
  .checkout-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(16, 17, 20, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .checkout-modal__kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .checkout-modal__title {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 30px);
    line-height: 1.06;
    letter-spacing: -0.04em;
  }
  .checkout-modal__copy {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
  }
  .checkout-modal__form {
    display: grid;
    gap: 16px;
  }
  .checkout-methods {
    display: grid;
    gap: 10px;
  }
  .checkout-methods__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .checkout-options {
    display: grid;
    gap: 10px;
  }
  .checkout-option {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(16, 17, 20, 0.12);
    border-radius: 22px;
    background: #ffffff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  }
  .checkout-option:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 17, 20, 0.22);
    background: rgba(16, 17, 20, 0.02);
  }
  .checkout-option.is-selected {
    border-color: rgba(16, 17, 20, 0.28);
    background: rgba(16, 17, 20, 0.03);
  }
  .checkout-option__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
  }
  .checkout-option__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
  }
  .checkout-option__body {
    min-width: 0;
    flex: 1 1 auto;
  }
  .checkout-option__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
  }
  .checkout-option__title {
    font-size: 16px;
    font-weight: 800;
  }
  .checkout-option__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 17, 20, 0.06);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .checkout-option__copy {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
  }
  .checkout-option__notice {
    display: block;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(214, 158, 46, 0.24);
    border-radius: 8px;
    background: #fff7dc;
    color: #75520d;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
  }
  .checkout-option__footer-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 30px;
    margin-top: 12px;
    object-fit: contain;
  }
  .checkout-modal-message {
    padding: 14px 16px;
    border: 1px solid rgba(16, 17, 20, 0.1);
    border-radius: 18px;
    background: rgba(16, 17, 20, 0.03);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
  }
  .checkout-modal-message.is-error {
    border-color: rgba(156, 61, 51, 0.2);
    background: rgba(156, 61, 51, 0.06);
    color: #7f332d;
  }
  .button-row--modal {
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: 36px 72px;
    padding: 72px 0 104px;
    border-top: 1px solid var(--line);
  }
  .section-kicker {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .section-title {
    max-width: 15ch;
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.05em;
  }
  .value-list {
    display: grid;
  }
  .value-item {
    display: grid;
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
    gap: 18px 34px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }
  .value-item:first-child {
    padding-top: 0;
  }
  .value-title {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
  }
  .value-copy {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
  }
  .faq-section {
    padding: 0 0 104px;
  }
  .faq-list {
    margin-top: 40px;
    border-top: 1px solid var(--line);
  }
  .faq-item {
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }
  .faq-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 20px;
    align-items: center;
    min-height: 76px;
    padding: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
    cursor: pointer;
    list-style: none;
  }
  .faq-summary::-webkit-details-marker {
    display: none;
  }
  .faq-toggle {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(16, 17, 20, 0.12);
    border-radius: 999px;
  }
  .faq-toggle::before,
  .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .faq-item[open] .faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  .faq-copy {
    max-width: 760px;
    margin: -6px 56px 24px 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.68;
  }
  @media (max-width: 900px) {
    .section {
      width: min(calc(100% - 48px), 1160px);
    }
    .hero,
    .content-grid {
      grid-template-columns: 1fr;
    }
    .hero {
      gap: 42px;
      padding: 56px 0 72px;
    }
    h1 {
      max-width: none;
      font-size: 40px;
    }
    .section-title {
      max-width: none;
    }
    .button-row {
      align-items: stretch;
      flex-direction: column;
    }
    .button-row .button {
      width: 100%;
    }
    .content-grid {
      padding: 72px 0 82px;
    }
    .value-item {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .faq-copy {
      margin-right: 0;
    }
    .faq-section {
      padding-bottom: 82px;
    }
  }
  &.is-checkout-open {
    overflow: hidden;
  }
}

/* Privacy Page */

.site-privacy {
  .page {
    min-height: 100vh;
    background: var(--bg);
  }
  .content {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
  }
  .content {
    padding: 76px 0 86px;
  }
  .eyebrow {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
  }
  h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }
  .lead {
    max-width: 760px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
  }
  .card {
    margin-top: 18px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
  }
  h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -0.035em;
  }
  p,
  li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
  }
  p {
    margin: 0 0 14px;
  }
  ul {
    margin: 0;
    padding-left: 20px;
  }
  @media (max-width: 760px) {
    .content {
      padding-top: 52px;
    }
  }
}

/* Changelog Page */

.site-changelog {
  .page {
    min-height: 100vh;
    background: var(--bg);
  }
  .section {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
  }
  .lang-link {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.18s ease;
  }
  .lang-link {
    padding-left: 18px;
    border-left: 1px solid rgba(16, 17, 20, 0.08);
    font-size: 11px;
    font-weight: 800;
  }
  .lang-link:hover {
    color: var(--ink);
  }
  .hero {
    padding: clamp(70px, 10vw, 118px) 0 58px;
    border-top: 1px solid rgba(16, 17, 20, 0.06);
  }
  .eyebrow {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
  }
  .lead {
    max-width: 700px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.62;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 36px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .button:hover {
    transform: translateY(-1px);
    background: #1b1d21;
    border-color: #1b1d21;
  }
  @media (min-width: 821px) and (max-width: 1320px) {
    .lang-link {
      padding-left: 12px;
    }
  }
  .release-list {
    padding: 20px 0 110px;
  }
  .release-entry {
    display: grid;
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
    gap: 28px 64px;
    padding: 38px 0;
    border-top: 1px solid var(--line);
  }
  .release-entry:last-child {
    border-bottom: 1px solid var(--line);
  }
  .release-entry-head {
    min-width: 0;
  }
  .release-version {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }
  .release-latest {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(77, 97, 105, 0.18);
    border-radius: 999px;
    background: rgba(77, 97, 105, 0.06);
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .release-notes {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.68;
  }
  .release-notes li {
    position: relative;
    padding-left: 22px;
  }
  .release-notes li::before {
    content: "";
    position: absolute;
    top: 0.75em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--brand);
  }
  @media (max-width: 820px) {
    .lang-link {
      padding-left: 0;
      border-left: 0;
    }
    .section {
      width: min(100% - 24px, 1160px);
    }
    .hero {
      padding-top: 52px;
    }
    .release-entry {
      grid-template-columns: 1fr;
      gap: 18px;
      padding: 32px 0;
    }
  }
}

/* Checkout Bridge */

.checkout-bridge-page {
  & {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f5f7fb;
    color: #111827;
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .shell {
    width: min(420px, calc(100vw - 32px));
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
  }
  .spinner {
    width: 28px;
    height: 28px;
    margin: 0 auto 16px;
    border-radius: 999px;
    border: 3px solid rgba(17, 24, 39, 0.12);
    border-top-color: #111827;
    animation: spin 0.9s linear infinite;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
