:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --surface-strong: #dff0ec;
  --ink: #12252d;
  --muted: #4f646c;
  --line: #d0dfdc;
  --accent: #0f7f79;
  --accent-strong: #0b5f5a;
  --focus: rgba(15, 127, 121, 0.32);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 32px rgba(18, 37, 45, 0.08);
  --shadow-strong: 0 18px 34px rgba(14, 42, 48, 0.14);
  --font-sans: "Segoe UI", "Aptos", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", "Aptos Display", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, #ddeee9 0, rgba(221, 238, 233, 0) 26%),
    radial-gradient(circle at 7% 92%, #dce9f4 0, rgba(220, 233, 244, 0) 24%),
    linear-gradient(150deg, #f8fbfa 0%, #edf5f3 50%, #f8fbfa 100%);
}

*[id] {
  scroll-margin-top: 92px;
}

a {
  color: var(--accent);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 252, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(208, 223, 220, 0.86);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  background: linear-gradient(145deg, #0f7f79 0%, #1ea391 100%);
  box-shadow: 0 8px 16px rgba(15, 127, 121, 0.28);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: #2e4852;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease;
}

.site-nav a:hover {
  background: #ecf4f2;
  color: var(--ink);
}

.site-nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
}

.site-nav a.is-active {
  background: #e5f4f1;
  color: var(--accent-strong);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-cta {
  justify-self: end;
}

main {
  padding: 30px 0 26px;
  display: grid;
  gap: 18px;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid #c7dfdb;
  background:
    linear-gradient(140deg, #ffffff 0%, #f4fbf9 56%, #e8f4f1 100%),
    radial-gradient(circle at 85% 20%, rgba(21, 128, 122, 0.14), transparent 42%);
  box-shadow: var(--shadow-strong);
}

.hero-copy {
  max-width: 65ch;
  display: grid;
  gap: 14px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #112a32;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badges span {
  border: 1px solid #cde3df;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #325661;
  background: #f4fbf9;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.96rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--focus),
    0 8px 18px rgba(18, 37, 45, 0.14);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 127, 121, 0.28);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: #f7fbfa;
  color: var(--ink);
}

.btn-secondary:hover {
  background: #edf6f4;
}

.hero-preview {
  border: 1px solid #cddfdb;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  min-height: 250px;
}

.preview-top {
  height: 34px;
  border-bottom: 1px solid #dce8e5;
  background: #f4f8f7;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bdd3ce;
}

.preview-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.preview-line {
  height: 10px;
  border-radius: 7px;
  background: linear-gradient(90deg, #d8ece7 0%, #cbe3de 100%);
}

.preview-line.long {
  width: 90%;
}

.preview-line.mid {
  width: 72%;
}

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

.preview-card {
  border: 1px solid #d6e6e2;
  border-radius: 10px;
  padding: 10px;
  background: #f9fdfc;
  min-height: 74px;
}

.preview-chip {
  display: inline-block;
  border: 1px solid #cfe3df;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #3d636b;
  background: #eef7f5;
  margin-bottom: 8px;
}

.panel,
.legal-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
}

.panel h2,
.legal-placeholder h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 3vw, 1.56rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.panel p,
.legal-placeholder p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.66;
  max-width: 74ch;
}

.benefits {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.benefit {
  border: 1px solid #d7e8e4;
  border-radius: 12px;
  padding: 14px;
  background: var(--surface-soft);
}

.benefit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.benefit-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #bad8d2;
  background: #e5f4f1;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.86rem;
}

.benefit h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.flow-step {
  border: 1px solid #d7e6e2;
  border-radius: 12px;
  padding: 12px;
  background: #f7fbfa;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.flow-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.84rem;
  background: #dff1ed;
  color: var(--accent-strong);
  flex: 0 0 auto;
}

.flow-step p {
  margin: 0;
  color: #35535d;
}

.pricing-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.pricing-plan {
  border: 1px solid #d4e4e0;
  border-radius: 14px;
  background: #f8fcfb;
  padding: 16px 14px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.pricing-plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: #11303a;
}

.pricing-plan-price {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 800;
  color: #102b35;
}

.pricing-plan-subline {
  margin: 0;
  color: #35535d;
  font-size: 0.95rem;
}

.pricing-plan-features {
  margin: 0;
  padding-left: 18px;
  color: #28454f;
  line-height: 1.55;
}

.pricing-plan-features li + li {
  margin-top: 5px;
}

.pricing-plan .btn {
  width: 100%;
  margin-top: 2px;
}

.pricing-plan-badge {
  margin: 0;
  width: fit-content;
  border: 1px solid #9ecfc5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #0b5f5a;
  background: #e7f6f2;
}

.pricing-plan-recommended {
  border-color: #8dc8bc;
  background: linear-gradient(165deg, #f4fcfa 0%, #ebf8f5 100%);
  box-shadow: 0 14px 28px rgba(15, 127, 121, 0.16);
}

.btn.is-disabled,
.download-btn.is-disabled {
  opacity: 0.64;
  cursor: not-allowed;
  box-shadow: none;
}

.btn.is-disabled:hover,
.download-btn.is-disabled:hover {
  transform: none;
  border-color: var(--line);
  background: #f4f8f7;
}

.download-links-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #6a552a;
}

.checkout-actions {
  margin-top: 14px;
}

.stepper {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.step-item {
  border: 1px solid #d8e7e4;
  border-radius: 12px;
  background: #f8fcfb;
  padding: 14px;
}

.step-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #deefeb;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.step-body h3 {
  margin: 0;
  font-size: 1rem;
}

.step-body p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.download-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.download-btn {
  text-decoration: none;
  border: 1px solid #cddfdc;
  border-radius: 12px;
  background: #ffffff;
  color: #19343e;
  font-weight: 700;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.download-btn:hover {
  border-color: #9ccfc6;
  box-shadow: 0 8px 16px rgba(18, 37, 45, 0.1);
  transform: translateY(-1px);
}

.download-btn:focus-visible {
  outline: none;
  border-color: #8ec8be;
  box-shadow:
    0 0 0 3px var(--focus),
    0 8px 16px rgba(18, 37, 45, 0.1);
}

.download-btn span {
  font-size: 0.78rem;
  color: #4e6971;
}

.requirements-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #2e4a54;
  line-height: 1.62;
}

.requirements-list li + li {
  margin-top: 6px;
}

.hint {
  margin-top: 12px;
  border: 1px solid #ead6ad;
  border-radius: 10px;
  background: #fff6e4;
  color: #6f5322;
  padding: 10px 12px;
  font-size: 0.94rem;
}

.platform-note {
  margin: 0;
  border: 1px solid #cfe2de;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  color: #355761;
  padding: 10px 12px;
  font-size: 0.93rem;
  line-height: 1.55;
}

.platform-note-tight {
  margin-top: 12px;
}

.license-key-panel {
  border-color: #b9ddd6;
  background: linear-gradient(160deg, #f7fcfb 0%, #ecf7f4 100%);
}

.license-key-row {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.license-key-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #28444d;
}

.license-key-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bdd9d3;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  color: #173039;
  background: #ffffff;
}

.license-key-input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
}

.license-copy-btn {
  width: 100%;
}

.license-copy-status {
  margin-top: 10px;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #2b4a53;
}

.support-grid {
  display: grid;
  gap: 14px;
}

.checklist {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #2e4a54;
  line-height: 1.6;
}

.checklist li + li {
  margin-top: 6px;
}

.faq {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.faq details {
  border: 1px solid #d4e3df;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f7fbfa;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #1f3a45;
}

.faq summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: 8px;
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 22px;
}

.legal-doc h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.16;
}

.legal-doc h2 {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.34rem);
  line-height: 1.3;
}

.legal-doc h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.legal-doc p {
  margin: 10px 0 0;
  color: #2e4a54;
  line-height: 1.68;
}

.legal-doc ul,
.legal-doc ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #2d4952;
  line-height: 1.66;
}

.legal-doc li + li {
  margin-top: 6px;
}

.legal-meta {
  margin-top: 10px;
  color: #46616b;
  font-size: 0.94rem;
}

.legal-card {
  margin-top: 12px;
  border: 1px solid #d5e4e1;
  border-radius: 12px;
  background: #f7fbfa;
  padding: 12px 14px;
}

.legal-grid {
  display: grid;
  gap: 8px;
}

.legal-grid p {
  margin: 0;
}

.legal-form {
  margin-top: 12px;
  border: 1px solid #d4e4e0;
  border-radius: 12px;
  background: #f8fcfb;
  padding: 14px;
}

.legal-form p {
  margin: 6px 0 0;
}

.site-footer {
  margin-top: auto;
  background: linear-gradient(170deg, #112a33 0%, #163845 100%);
  color: #d8e8eb;
  padding: 28px 0 18px;
}

.footer-box {
  display: grid;
  gap: 16px;
}

.footer-grid {
  display: grid;
  gap: 14px;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ac1c8;
}

.footer-col a {
  display: block;
  margin-top: 6px;
  text-decoration: none;
  color: #e9f5f7;
}

.footer-col a:hover {
  color: #9fe7d6;
}

.footer-bottom {
  margin: 0;
  border-top: 1px solid rgba(155, 195, 203, 0.24);
  padding-top: 12px;
  font-size: 0.86rem;
  color: #abc3c8;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .btn:active,
  .download-btn:hover {
    transform: none;
  }
}

@media (min-width: 760px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .license-key-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .license-key-label {
    grid-column: 1 / -1;
  }

  .license-copy-btn {
    width: auto;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    align-items: center;
  }
}

@media (max-width: 900px) {
  .header-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 0;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  main {
    padding-top: 22px;
  }

  .hero,
  .panel,
  .legal-placeholder {
    padding: 18px 14px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .header-cta {
    display: none;
  }
}
