:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f6368;
  --line: #d9dde3;
  --paper: #f7f8fa;
  --surface: #ffffff;
  --soft: #edf7f4;
  --accent: #087a6b;
  --accent-ink: #ffffff;
  --blue: #315a9f;
  --amber: #a56212;
  --danger: #a33a36;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch button {
  min-width: 52px;
  min-height: 32px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.lang-switch button:last-child {
  border-right: 0;
}

.lang-switch button.active {
  background: var(--ink);
  color: var(--surface);
}

.guide-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(23, 23, 23, 0.08);
}

.guide-gate[hidden] {
  display: none;
}

.guide-gate strong {
  display: block;
  font-size: 18px;
}

.guide-gate p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.guide-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 28px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 44px;
  align-items: center;
  padding: 30px 0 44px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-size: 64px;
}

h2 {
  font-size: 34px;
}

.lede,
.section-copy p:not(.eyebrow),
.product-card p,
.download-panel p,
.notice p {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 18px;
}

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

.primary,
.secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary {
  background: var(--ink);
  color: var(--surface);
}

.secondary {
  background: var(--surface);
  color: var(--ink);
}

.primary:hover,
.secondary:hover {
  transform: translateY(-1px);
}

.secondary:hover {
  background: var(--soft);
}

.wide {
  width: 100%;
  margin-top: 18px;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.meta-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.notice {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  margin: 12px 0 44px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice strong {
  color: var(--amber);
}

.notice p {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  margin-bottom: 52px;
}

.product-card,
.download-panel,
.plan-card,
.release-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 26px;
}

.release-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
}

.product-card dl {
  margin: 0;
}

.product-card dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.product-card dl div:first-child {
  padding-top: 0;
}

.product-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.download-panel code {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--blue);
  word-break: break-all;
}

.split,
.purchase {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 56px;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.section-copy p:not(.eyebrow) {
  margin: 16px 0 0;
}

.list {
  border-top: 1px solid var(--line);
}

.list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.list span,
.steps small,
.plan-card p,
.plan-card small,
.release-item span,
.release-actions small {
  color: var(--muted);
  line-height: 1.55;
}

.release-actions {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.release-actions .primary,
.release-actions .secondary {
  min-height: 40px;
  white-space: nowrap;
}

.release-actions small {
  text-align: center;
}

.compact article {
  grid-template-columns: 210px minmax(0, 1fr);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.steps div {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
}

.steps span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin: 42px 0 10px;
  font-size: 20px;
}

.trust-panel {
  display: grid;
  gap: 18px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.trust-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.legal-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-detail details + details {
  border-top: 1px solid var(--line);
}

.legal-detail summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

.legal-detail p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.legal-actions {
  display: flex;
  justify-content: flex-start;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 122, 107, 0.12);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.submit {
  width: fit-content;
}

.form-state {
  align-self: center;
  margin: 0;
  color: var(--muted);
}

.form-state.error {
  color: var(--danger);
}

.form-state.ok {
  color: var(--accent);
}

.form-state a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  padding: 12px 16px;
  box-shadow: 0 16px 44px rgba(23, 23, 23, 0.18);
}

.site-footer {
  display: flex;
  max-width: 1180px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 24px 28px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.footer-links a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  .release-item {
    grid-template-columns: 1fr;
  }

  .release-actions {
    min-width: 0;
  }
}
