:root {
  --ink: #172026;
  --muted: #5d6871;
  --panel: #ffffff;
  --soft: #f4f7f9;
  --line: #d7e0e5;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --warn: #a63b18;
  --shadow: 0 18px 50px rgba(23, 32, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 260px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.menu a:hover { color: var(--accent); }
.menu-button { display: none; }
.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 6px;
}

.hero {
  background: linear-gradient(180deg, #f4f7f9 0%, #ffffff 78%);
  padding: 70px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

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

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 12px;
  font-size: 56px;
  line-height: 1.04;
}
h2 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.15;
}
h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.lead {
  color: var(--accent-dark);
  font-size: 24px;
  font-weight: 750;
}

.hero-text {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.buy-menu {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.buy-toggle span {
  margin-left: 8px;
  font-size: 12px;
}
.buy-options {
  display: none;
  gap: 10px;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 430px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  z-index: 5;
}
.buy-menu.open .buy-options {
  display: flex;
}
.buy-options .button {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  color: #fff;
  background: var(--accent);
}
.primary:hover { background: var(--accent-dark); }
.secondary {
  color: var(--accent-dark);
  background: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.trust-row span {
  color: var(--accent-dark);
  background: #e8f4f2;
  border: 1px solid #c6e5df;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.hero-card img {
  border-radius: 5px;
  border: 1px solid var(--line);
}

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-grid div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.strip-grid div:last-child { border-right: 0; }
.strip-grid strong, .strip-grid span {
  display: block;
}
.strip-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 78px 0;
}
.muted {
  background: var(--soft);
}
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-head p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid article,
.price-card,
.form-card,
.support-card,
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.feature-grid article {
  padding: 24px;
}
.feature-grid p,
.price-card p,
.support-card p {
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(23, 32, 38, .08);
}
figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}
figcaption {
  padding: 15px 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.two-col,
.purchase-grid,
.support-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: steps;
}
.steps li {
  position: relative;
  min-height: 78px;
  padding: 18px 20px 18px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: steps;
}
.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
}
.steps strong, .steps span {
  display: block;
}
.steps span {
  color: var(--muted);
  font-size: 15px;
}
.compact li { min-height: 66px; }

.price-card, .form-card {
  padding: 28px;
}
.version-card {
  display: grid;
  gap: 4px;
  margin: 20px 0 22px;
  padding: 18px 20px;
  background: #e8f4f2;
  border: 1px solid #c6e5df;
  border-radius: 8px;
}
.version-card strong {
  color: var(--accent-dark);
  font-size: 24px;
}
.version-card span {
  color: var(--muted);
  font-weight: 750;
}
.release-notes {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.price {
  display: grid;
  gap: 4px;
  margin: 18px 0 14px;
  padding: 20px;
  background: #e8f4f2;
  border: 1px solid #c6e5df;
  border-radius: 8px;
}
.price strong {
  color: var(--accent-dark);
  font-size: 42px;
  line-height: 1;
}
.price span {
  color: var(--muted);
  font-weight: 750;
}
.payment-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}
.payment-actions .button {
  width: 100%;
}
.payment-note {
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
}
.payment-note strong {
  color: var(--ink);
}
.payment-note a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
}
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 900;
}

.form-card {
  display: grid;
  gap: 14px;
}
.form-card label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #b8ded8;
  border-color: var(--accent);
}
.notice {
  border-radius: 6px;
  padding: 12px 14px;
  font-weight: 750;
}
.notice.good {
  color: var(--accent-dark);
  background: #e8f4f2;
  border: 1px solid #c6e5df;
}
.notice.warn {
  color: var(--warn);
  background: #fff4ed;
  border: 1px solid #fed7aa;
}

.support-grid {
  grid-template-columns: 1fr 1fr;
}
.support-card {
  padding: 26px;
  display: grid;
  gap: 12px;
}
.support-card a {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 850;
}

.faq details {
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 850;
}
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  color: #d9e5e8;
  background: #102322;
  padding: 32px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.footer strong, .footer span, .footer a {
  display: block;
}
.footer span, .footer a {
  color: #adc2c6;
  font-size: 14px;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 9px 12px;
    font-weight: 800;
  }
  .menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 18px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
  .hero-grid,
  .feature-grid,
  .screenshot-grid,
  .two-col,
  .purchase-grid,
  .support-grid,
  .footer-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .strip-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .brand img { width: 220px; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .section { padding: 56px 0; }
  .hero { padding-top: 42px; }
  h1 { font-size: 36px; }
  .lead { font-size: 20px; }
  .brand img { width: 190px; }
  .buy-menu {
    width: 100%;
  }
  .buy-options {
    position: static;
    min-width: 0;
    width: 100%;
    flex-direction: column;
  }
  .buy-options .button {
    width: 100%;
  }
}
