* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
  background: #ffffff;
  color: #17191b;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(304px, 384px);
  grid-template-areas: "content panel";
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "panel"
      "content";
  }
}

.right-panel {
  grid-area: panel;
  background: #ffffff;
  border-left: 1px solid rgba(23,25,27,0.085);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

@media (max-width: 1080px) {
  .right-panel {
    border-left: none;
    border-bottom: 1px solid rgba(23,25,27,0.085);
    padding: 32px 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
  }
}

.logo-wrapper {
  margin-bottom: 24px;
}

.logo-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-nav a {
  color: #17191b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 480;
  letter-spacing: -0.008em;
  padding: 6px 0;
  transition: color 0.16s ease, transform 0.16s ease;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: #313c48;
  transition: width 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #313c48;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

@media (max-width: 1080px) {
  .main-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px 36px;
    order: 1;
  }
}

.mirrors {
  margin-top: auto;
}

.mirrors-title {
  font-size: 13px;
  font-weight: 550;
  color: #17191b;
  opacity: 0.58;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mirror-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13.6px;
  line-height: 1.62;
  color: #17191b;
  opacity: 0.81;
  word-break: break-all;
  margin-bottom: 12px;
  transition: opacity 0.18s ease;
}

.mirror-link:hover {
  opacity: 1;
}

.mirror-note {
  font-size: 13.2px;
  opacity: 0.64;
  margin-top: 20px;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .mirrors {
    order: 2;
    margin-top: 0;
    min-width: 240px;
  }
}

.content {
  grid-area: content;
  padding: 80px 7vw 100px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .content {
    padding: 48px 24px 96px;
  }
}

.hero {
  margin-bottom: 96px;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 490;
  letter-spacing: -0.05em;
  line-height: 0.96;
  margin-bottom: 0.32em;
}

.lead {
  font-size: 1.5rem;
  opacity: 0.82;
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.highlight {
  font-size: 1.22rem;
  font-weight: 500;
  color: #313c48;
}

.overview, .features, .how-to, .rules, .stats, .cta {
  margin-bottom: 96px;
}

h2 {
  font-size: 2.25rem;
  font-weight: 480;
  letter-spacing: -0.025em;
  margin-bottom: 1.3em;
}

p {
  font-size: 1.1rem;
  opacity: 0.89;
  margin-bottom: 1.4em;
  max-width: 780px;
}

ul.feature-list, ul.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

ul.feature-list li, ul.rules-list li {
  font-size: 1.08rem;
  padding-left: 1.8em;
  position: relative;
}

ul.feature-list li::before, ul.rules-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #313c48;
  font-weight: 600;
}

ol.steps {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

ol.steps li {
  counter-increment: step-counter;
  font-size: 1.08rem;
  position: relative;
  padding-left: 3.2em;
}

ol.steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 2.2em;
  height: 2.2em;
  background: rgba(49,60,72,0.065);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #313c48;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px 32px;
  margin: 72px 0;
}

figure {
  background: rgba(23,25,27,0.018);
  border: 1px solid rgba(23,25,27,0.085);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(23,25,27,0.06);
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  padding: 16px 20px;
  font-size: 14.2px;
  opacity: 0.72;
  text-align: center;
  border-top: 1px solid rgba(23,25,27,0.065);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 24px;
  margin: 48px 0;
}

.stat-item {
  background: rgba(23,25,27,0.018);
  border: 1px solid rgba(23,25,27,0.085);
  border-radius: 12px;
  padding: 24px 28px;
  text-align: center;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-label {
  display: block;
  font-size: 0.98rem;
  opacity: 0.72;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-value {
  font-size: 1.28rem;
  font-weight: 540;
}

.warning {
  font-size: 1.02rem;
  color: #313c48;
  font-weight: 500;
  margin-top: 2.2em;
  padding: 16px 20px;
  background: rgba(49,60,72,0.035);
  border-radius: 10px;
  border-left: 4px solid #313c48;
}

.cta {
  text-align: center;
  padding: 80px 0 60px;
  border-top: 1px solid rgba(23,25,27,0.08);
}

.cta h2 {
  margin-bottom: 1em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

:root {
  --bg: #ffffff;
  --text: #17191b;
  --text-dim: #313c48;
  --border: rgba(23,25,27,0.085);
  --border-light: rgba(23,25,27,0.04);
  --hover: #313c48;
  --link-opacity: 0.82;
  --accent-opacity: 0.58;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.54;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(308px, 392px);
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

.right-panel {
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 52px 32px;
  display: flex;
  flex-direction: column;
  gap: 68px;
}

@media (max-width: 1080px) {
  .right-panel {
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px 56px;
    align-items: flex-start;
  }
}

.logo-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.02) brightness(0.99);
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15.2px;
  font-weight: 470;
  letter-spacing: -0.01em;
  padding: 5px 0;
  transition: color 0.18s ease;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 1px;
  width: 0;
  height: 1.2px;
  background: var(--hover);
  transition: width 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--hover);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 62%;
}

@media (max-width: 1080px) {
  .main-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 40px;
  }
}

.mirrors-title {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--text);
  opacity: var(--accent-opacity);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.mirror-link {
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 13.4px;
  line-height: 1.64;
  color: var(--text);
  opacity: var(--link-opacity);
  word-break: break-all;
  margin-bottom: 10px;
  transition: opacity 0.2s ease;
}

.mirror-link:hover {
  opacity: 1;
}

.mirror-note {
  font-size: 13px;
  opacity: 0.66;
  margin-top: 18px;
  line-height: 1.52;
}

.content {
  padding: 84px 7.2vw 108px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .content {
    padding: 52px 24px 100px;
  }
}

h1 {
  font-size: clamp(3.2rem, 8.4vw, 5.8rem);
  font-weight: 460;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin-bottom: 0.36em;
}

.lead {
  font-size: 1.52rem;
  opacity: 0.84;
  max-width: 740px;
  margin-bottom: 1.8rem;
}

.highlight {
  font-size: 1.24rem;
  font-weight: 510;
  color: var(--hover);
}

h2 {
  font-size: 2.32rem;
  font-weight: 460;
  letter-spacing: -0.028em;
  margin-bottom: 1.4em;
}

p {
  font-size: 1.12rem;
  opacity: 0.90;
  margin-bottom: 1.48em;
  max-width: 820px;
}

.feature-list li,
.rules-list li {
  font-size: 1.09rem;
  padding-inline-start: 1.9em;
  position: relative;
}

.feature-list li::before,
.rules-list li::before {
  content: "→";
  position: absolute;
  inset-inline-start: 0;
  color: var(--hover);
  font-weight: 600;
}

.steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.1em;
}

.steps li {
  counter-increment: step;
  font-size: 1.09rem;
  position: relative;
  padding-inline-start: 3.4em;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -4px;
  width: 2.3em;
  height: 2.3em;
  background: var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--hover);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(368px, 1fr));
  gap: 44px 32px;
  margin: 76px 0;
}

figure {
  background: var(--border-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(23,25,27,0.055);
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  padding: 16px 20px;
  font-size: 14px;
  opacity: 0.74;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(5px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 32px 28px;
  margin: 52px 0;
}

.stat-item {
  background: var(--border-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 30px;
  text-align: center;
  transition: transform 0.22s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-label {
  display: block;
  font-size: 0.96rem;
  opacity: 0.74;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 540;
}

.warning {
  font-size: 1.04rem;
  color: var(--hover);
  font-weight: 500;
  margin-top: 2.4em;
  padding: 18px 22px;
  background: rgba(49,60,72,0.032);
  border-radius: 10px;
  border-inline-start: 4px solid var(--hover);
}

.faq-item {
  margin-bottom: 2.2em;
}

.faq-item h3 {
  font-size: 1.28rem;
  font-weight: 500;
  margin-bottom: 0.7em;
  color: var(--text);
}

.cta, .closing-cta {
  text-align: center;
  padding: 88px 0 68px;
  border-top: 1px solid var(--border);
}

.cta h2, .closing-cta h2 {
  margin-bottom: 1.1em;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  figure:hover, .stat-item:hover { transform: none !important; }
}