:root {
  --ink: #111827;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-strong: #eef3f7;
  --line: #d9e2ea;
  --line-strong: #b9c7d4;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: #d9f2ef;
  --accent: #f59e0b;
  --dark: #10202c;
  --dark-2: #162b3a;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.14);
  --max-w: 1160px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover { color: var(--primary); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 10.8ch;
  font-size: clamp(2.55rem, 5.15vw, 5rem);
}

h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.08rem; line-height: 1.25; }

p {
  color: var(--ink-soft);
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted { color: var(--ink-muted); }
.small { font-size: 0.875rem; }

.brand {
  font-weight: 800;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -1000px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid rgba(217, 226, 234, 0.9);
  backdrop-filter: blur(16px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
}

.logo-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #fff;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  color: var(--ink-soft);
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

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

.lang-btn {
  min-width: 42px;
  min-height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
}

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

.lang-btn[aria-current="true"] {
  background: var(--dark);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease, color 0.16s ease;
}

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

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.btn-lg {
  width: 100%;
  min-height: 52px;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

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

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

.btn-ghost:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 78% 18%, rgba(15, 118, 110, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #edf3f7 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 112px;
  background:
    linear-gradient(90deg, rgba(16, 32, 44, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 32, 44, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.78fr);
  gap: clamp(34px, 4.4vw, 58px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 28px;
}

.hero-sub {
  max-width: 56ch;
  font-size: 1.19rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.hero-facts div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.hero-facts div:last-child { border-right: 0; }

.hero-facts dt {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 760;
}

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(185, 199, 212, 0.75);
  border-radius: 18px;
  background: var(--dark);
  box-shadow: var(--shadow-md);
}

.preview-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 720;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.16);
}

.preview-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.28);
  color: #a7f3d0;
  font-size: 0.76rem;
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
}

.preview-panel {
  min-height: 174px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: var(--dark-2);
}

.preview-panel h2 {
  margin-bottom: 16px;
  color: #f8fafc;
  font-size: 0.94rem;
  line-height: 1.2;
}

.preview-map {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(15, 118, 110, 0.62), rgba(245, 158, 11, 0.22));
  background-size: 28px 28px, 28px 28px, auto;
}

.map-zone {
  position: absolute;
  left: 24%;
  top: 22%;
  width: 52%;
  height: 46%;
  border: 2px solid rgba(167, 243, 208, 0.82);
  border-radius: 32% 28% 36% 24%;
  background: rgba(15, 118, 110, 0.2);
  transform: rotate(-9deg);
}

.map-pin {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.pin-a { left: 42%; top: 43%; }
.pin-b { right: 28%; top: 34%; }

.preview-map p {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(16, 32, 44, 0.78);
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 760;
}

.preview-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.preview-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.9rem;
}

.preview-list li:last-child { border-bottom: 0; }

.preview-list strong {
  color: #a7f3d0;
  font-size: 0.86rem;
}

.preview-wide {
  grid-column: 1 / -1;
  min-height: 112px;
}

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

.digest-row span {
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 720;
  text-align: center;
}

.workflow,
.features,
.positioning,
.pricing {
  padding: 86px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.52fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p {
  font-size: 1.08rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.timeline article {
  min-height: 238px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child { border-right: 0; }

.step-number {
  display: block;
  margin-bottom: 34px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.09em;
}

.timeline h3,
.feature h3 {
  margin-bottom: 10px;
}

.timeline p,
.feature p {
  font-size: 0.96rem;
}

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

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

.feature {
  min-height: 214px;
  padding: 28px;
  background: var(--surface);
}

.feature::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: var(--primary);
}

.positioning {
  background: var(--dark);
}

.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: 56px;
  align-items: center;
}

.positioning h2,
.positioning p {
  color: #fff;
}

.positioning p {
  max-width: 58ch;
  margin-top: 20px;
  color: #cbd5e1;
  font-size: 1.12rem;
}

.compare-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}

.compare-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #cbd5e1;
}

.compare-row:last-child { border-bottom: 0; }

.compare-row strong {
  color: #fff;
  white-space: nowrap;
}

.pricing {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f7 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.55fr);
  gap: 56px;
  align-items: center;
}

.pricing p {
  max-width: 58ch;
  margin-top: 20px;
  font-size: 1.12rem;
}

.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.price-hero {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-amount {
  display: block;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 4.7rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.92;
}

.price-unit {
  display: block;
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 720;
}

.price-list {
  display: grid;
  gap: 0;
  margin: 22px 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.price-list li:last-child { border-bottom: 0; }

.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.price-note {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 0.86rem;
  text-align: center;
}

.site-footer {
  padding: 56px 0 26px;
  background: #0b1720;
  color: #cbd5e1;
}

.site-footer a {
  color: #e2e8f0;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
}

.footer-brand {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 760;
}

.footer-head {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.site-footer .muted {
  color: #94a3b8;
}

.footer-base {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .positioning-grid,
  .pricing-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  h1 {
    max-width: 13ch;
  }

  .timeline,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child { border-bottom: 0; }

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

@media (min-width: 981px) and (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.82fr);
    gap: 34px;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(3.6rem, 5.2vw, 4rem);
  }

  .hero-sub {
    max-width: 48ch;
  }

  .product-preview {
    align-self: center;
  }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }

  body {
    font-size: 16px;
  }

  .site-header {
    position: static;
  }

  .header-row {
    min-height: auto;
    padding: 14px 0;
    gap: 14px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 16vw, 4.1rem);
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts div:last-child {
    border-bottom: 0;
  }

  .product-preview {
    border-radius: var(--radius-lg);
  }

  .preview-topbar {
    grid-template-columns: auto 1fr;
  }

  .preview-status {
    grid-column: 2;
    justify-self: start;
  }

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

  .preview-wide {
    grid-column: auto;
  }

  .digest-row {
    grid-template-columns: 1fr;
  }

  .workflow,
  .features,
  .positioning,
  .pricing {
    padding: 62px 0;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 26px;
  }

  .positioning-grid,
  .pricing-grid {
    gap: 30px;
  }

  .compare-row {
    display: grid;
    gap: 4px;
  }

  .compare-row strong {
    white-space: normal;
  }

  .price-card {
    padding: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
