:root {
  color-scheme: dark;
  background: #101113;
  color: #f2f2f3;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

.page {
  width: min(calc(100% - clamp(36px, 9vw, 144px)), 1320px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 24px 12px;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding-bottom: 16px;
  border-bottom: 1px solid #303238;
}

.logo { display: block; width: 116px; height: auto; }

.landing {
  display: grid;
  align-items: center;
  gap: 36px;
  margin-block: auto;
  padding-block: clamp(40px, 7vw, 104px);
}

.intro h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 92px);
  font-weight: 750;
  line-height: 0.99;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.launch {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #d0d3dc;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.launch::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c1c8d9;
}

.summary {
  max-width: 34ch;
  margin: 20px 0 0;
  color: #b7bac4;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}

.preview-frame {
  min-width: 0;
  padding: clamp(4px, 0.65vw, 10px);
  border: 1px solid #353842;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(145deg, #282b32, #17191e 60%);
  box-shadow: 0 22px 64px rgb(0 0 0 / 34%);
}

.preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #17191e;
  border-radius: clamp(9px, 1.05vw, 13px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-top: 8px;
  border-top: 1px solid #303238;
  color: #b7bac4;
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 4px; }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

a:hover { color: #fff; text-decoration: underline; }
a:focus-visible, video:focus-visible {
  outline: 2px solid #eee;
  outline-offset: 4px;
}

@media (min-width: 840px) {
  .landing {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.8fr);
    gap: clamp(28px, 4vw, 64px);
  }

  .intro h1 { font-size: clamp(52px, 6.2vw, 92px); }
  .intro h1 span { display: block; }
}

.policy-page { max-width: 760px; }
.policy-page .site-header {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.home-link { display: inline-block; }
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #383838;
  border-radius: 8px;
  background: #171717;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.back-button:hover { background: #242424; text-decoration: none; }

.policy { padding-block: 40px; font-size: 17px; line-height: 1.75; }
.policy h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.policy h2 {
  margin: 36px 0 12px;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.policy p { margin: 0 0 18px; color: #d4d4d4; }
.policy > p:first-of-type { color: #b7bac4; font-size: 15px; }
.policy a { overflow-wrap: anywhere; }

@media print {
  :root { color-scheme: light; background: #fff; color: #191919; }
  .policy p, .policy > p:first-of-type, .site-footer { color: #191919; }
  .policy h2 { break-after: avoid; }
  .policy p { orphans: 3; widows: 3; }
  .policy-page .site-header { display: none; }
  .policy { padding-top: 0; font-size: 11pt; }
}
