:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #eef2f4;
  --text: #16181a;
  --muted: #5d6670;
  --faint: #7b858e;
  --border: #d9dee3;
  --border-strong: #c8d0d7;
  --blue: #1d68d8;
  --green: #16845b;
  --orange: #a46114;
  --code: #25313d;
  --shadow: 0 18px 50px rgba(29, 38, 48, 0.11);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(29, 104, 216, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 222, 227, 0.8);
  background: rgba(246, 247, 248, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2c7be5, #14a06f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark svg,
.icon svg {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(217, 222, 227, 0.55);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 54px;
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  border-color: #185fc7;
  background: var(--blue);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .skip-link {
    transform: none;
  }

  .skip-link:not(:focus-visible) {
    clip-path: inset(50%);
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  max-width: 680px;
}

.fact {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.fact span {
  color: var(--muted);
  font-size: 13px;
}

.app-panel {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #f1f3f5;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ff6159; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.app-body {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 390px;
}

.sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: #f8fafb;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
}

.sidebar-item.active {
  background: #e7eef8;
  color: #174f9d;
  font-weight: 650;
}

.inventory {
  padding: 18px;
}

.inventory-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.inventory-header p,
.package-row p,
.script-box p,
.feature p,
.copy-card p,
.policy-callout p,
.support-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.search {
  width: 170px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--faint);
  font-size: 13px;
  background: #fbfcfd;
}

.package-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.manager {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--code);
  font-size: 12px;
  font-weight: 700;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
}

.status {
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
}

.section {
  padding: 64px 0;
}

.section.alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature,
.copy-card,
.support-item,
.policy-callout {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature {
  padding: 22px;
}

.icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #e8f0fb;
}

.script-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 44px;
  align-items: start;
}

.script-box {
  overflow: hidden;
  border: 1px solid #cbd4dd;
  border-radius: 8px;
  background: #121820;
  color: #e7eef6;
  box-shadow: var(--shadow);
}

.script-box header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebdcb;
  font-size: 13px;
}

pre {
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  color: #dce7f2;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.comment { color: #7f93a8; }
.command { color: #9ed8ff; }
.warn { color: #ffd28a; }

.copy-card {
  padding: 24px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.check-list svg,
.plain-list svg {
  margin-top: 3px;
  color: var(--green);
  flex: 0 0 auto;
}

.page-hero {
  padding: 68px 0 36px;
}

.page-hero .lead {
  max-width: 780px;
}

.support-list,
.policy-stack {
  display: grid;
  gap: 16px;
}

.support-item,
.policy-callout {
  padding: 24px;
}

.support-item h2,
.policy-callout h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.support-item ol {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.support-item li + li {
  margin-top: 8px;
}

.note {
  margin-top: 14px;
  padding: 14px;
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: #fff7eb;
  color: #654411;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.policy-summary div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.policy-summary strong {
  display: block;
  margin-bottom: 4px;
}

.policy-summary span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #e9edf1;
  color: var(--code);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.92em;
}

@media (max-width: 900px) {
  .hero-grid,
  .script-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .features,
  .facts,
  .policy-summary {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, 1120px);
    min-height: 62px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .container,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .package-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .inventory-header {
    align-items: start;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}
