:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --ink: #17212b;
  --muted: #5d6875;
  --subtle: #89939e;
  --line: #dfe5e1;
  --line-strong: #c7d3cf;
  --accent: #008b84;
  --accent-dark: #006c67;
  --accent-soft: #dff3f1;
  --warn: #fff2c4;
  --warn-ink: #936600;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(24px, 4.5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 11px);
  grid-auto-rows: 11px;
  gap: 3px;
}

.brand-mark span,
.mini-mark {
  background: var(--accent);
  border-radius: 1px;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4),
.brand-mark span:nth-child(8) {
  background: #83c8c3;
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(6) {
  background: #c7e5e1;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 28px);
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 139, 132, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 70px clamp(24px, 4.5vw, 72px) 52px;
}

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

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 4.4vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

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

.lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: #3f4b56;
  font-size: 18px;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 0.9fr);
  gap: 14px;
  max-width: 510px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 139, 132, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
}

.hero-points div {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 12px;
  align-items: center;
}

.hero-points strong {
  font-size: 14px;
}

.hero-points small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.point-icon,
.feature-icon,
.security-icon {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 2px solid #93d2cd;
  border-radius: 50%;
  color: var(--accent);
}

.search-icon::before {
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
}

.search-icon::after {
  position: absolute;
  width: 12px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
  content: "";
  transform: translate(12px, 12px) rotate(45deg);
}

.mosaic-icon::before {
  width: 26px;
  height: 26px;
  background:
    linear-gradient(90deg, currentColor 7px, transparent 7px 10px, currentColor 10px 17px, transparent 17px 20px, currentColor 20px),
    linear-gradient(currentColor 7px, transparent 7px 10px, currentColor 10px 17px, transparent 17px 20px, currentColor 20px);
  content: "";
  opacity: 0.9;
}

.report-icon::before,
.file-icon::before {
  width: 22px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 2px;
  content: "";
}

.report-icon::after,
.file-icon::after {
  position: absolute;
  width: 12px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor;
  content: "";
  transform: translateY(2px);
}

.product-preview {
  min-width: 0;
}

.preview-window {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  width: 100%;
  min-height: 430px;
  border: 1px solid #d6dfda;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-sidebar {
  border-right: 1px solid var(--line);
  background: #f3f8f7;
  padding: 18px 12px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
}

.mini-mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, #6fc4bf 6px, transparent 6px 8px, var(--accent) 8px 14px, transparent 14px),
    linear-gradient(#a8d9d5 6px, transparent 6px 8px, var(--accent) 8px 14px, transparent 14px);
}

.side-item {
  display: block;
  margin-bottom: 8px;
  border-radius: 5px;
  color: #41505d;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
}

.side-item.active {
  background: #d9eeeb;
  color: var(--accent-dark);
}

.preview-main {
  min-width: 0;
  padding: 18px;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
}

.preview-topbar span {
  color: var(--subtle);
  font-size: 11px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfb;
}

.metric-row div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.metric-row strong {
  margin-right: 4px;
  font-size: 26px;
  line-height: 1.2;
}

.metric-row small {
  color: var(--muted);
}

.preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
}

.history-panel,
.status-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 14px;
}

.panel-heading,
.table-head,
.result-row {
  display: grid;
  grid-template-columns: 74px minmax(120px, 1fr) 82px 84px;
  gap: 10px;
  align-items: center;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.panel-heading span,
.table-head,
.status-panel p,
.status-panel small {
  color: var(--muted);
  font-size: 11px;
}

.table-head {
  padding: 10px 0 6px;
  font-weight: 800;
}

.result-row {
  min-height: 44px;
  border-top: 1px solid #edf1ee;
  font-size: 12px;
}

.thumb {
  display: block;
  width: 56px;
  height: 32px;
  border-radius: 3px;
  background-color: #d9dddc;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.36) 25%, transparent 25% 75%, rgba(255,255,255,0.36) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.36) 25%, transparent 25% 75%, rgba(255,255,255,0.36) 75%);
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
}

.t2 { background-color: #d6d6d2; }
.t3 { background-color: #cfd8d5; }
.t4 { background-color: #e0e4e1; }

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.badge.warn {
  background: #fff1cc;
  color: #a86500;
}

.badge.ok,
.badge.done {
  background: #dcf4ec;
  color: #08755f;
}

.badge.pending {
  background: #edf0f0;
  color: #65717c;
}

.status-panel strong {
  display: block;
  margin-bottom: 10px;
}

.progress {
  overflow: hidden;
  height: 9px;
  margin: 10px 0 4px;
  border-radius: 999px;
  background: #e5ecea;
}

.progress span {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.status-panel button {
  width: 100%;
  min-height: 34px;
  margin: 14px 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.report-box {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.report-box span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 11px;
}

.section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px clamp(24px, 4.5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p,
.section-lead,
.note {
  color: var(--muted);
}

.alert-section {
  padding-top: 8px;
}

.alert-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 8px;
  background: var(--warn);
  padding: 24px 26px;
}

.alert-box h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.alert-box p {
  margin-bottom: 0;
  color: #5f4b16;
  font-size: 14px;
}

.alert-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid #e7a800;
  border-radius: 50%;
  color: #b57900;
  font-size: 24px;
  font-weight: 900;
}

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

.price-card,
.feature-grid article,
.step-grid article,
.security-strip article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.price-card {
  min-height: 128px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f4fffd, #ffffff);
  box-shadow: 0 0 0 1px rgba(0, 139, 132, 0.08);
}

.price-card.add-on {
  border-style: dashed;
  background: #f8fbfa;
}

.price-card h3 {
  color: var(--accent-dark);
}

.price {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.15;
}

.price span {
  margin-left: 3px;
  font-size: 14px;
}

.price-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
}

.feature-grid,
.step-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.step-grid article {
  min-height: 190px;
}

.feature-icon {
  margin-bottom: 14px;
}

.step-grid article {
  position: relative;
}

.step-grid article > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.security-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.security-strip article {
  border-radius: 0;
  border-right: 0;
}

.security-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.security-strip article:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.security-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-color: transparent;
  background: var(--accent-soft);
}

.lock-icon::before {
  width: 18px;
  height: 15px;
  border: 3px solid currentColor;
  border-radius: 2px;
  content: "";
  transform: translateY(4px);
}

.lock-icon::after {
  position: absolute;
  width: 14px;
  height: 12px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
  transform: translateY(-8px);
}

.cloud-icon::before {
  width: 27px;
  height: 14px;
  border: 3px solid currentColor;
  border-radius: 999px;
  content: "";
}

.database-icon::before {
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 50% / 22%;
  content: "";
}

.shield-icon::before {
  width: 24px;
  height: 28px;
  background: currentColor;
  clip-path: polygon(50% 0, 88% 16%, 82% 72%, 50% 100%, 18% 72%, 12% 16%);
  content: "";
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  background: #17212b;
  color: #fff;
  padding: 28px clamp(24px, 4.5vw, 72px);
}

.footer-brand {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px;
}

.doc section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}

.cookie-consent {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100vw - 28px));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(23, 33, 43, 0.18);
  padding: 18px;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-consent p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
}

.cookie-consent button {
  min-height: 38px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent button[data-analytics-consent-decline] {
  background: #fff;
  color: var(--accent-dark);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-preview {
    max-width: 880px;
  }

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

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

  .security-strip article,
  .security-strip article:first-child,
  .security-strip article:last-child {
    border-radius: 8px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .site-header nav {
    justify-content: flex-start;
    width: 100%;
    gap: 8px 13px;
  }

  .site-header nav a {
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    display: block;
    width: 100%;
    padding-top: 44px;
    padding-right: 24px;
    padding-left: 24px;
    max-width: none;
    overflow: hidden;
  }

  .hero-copy,
  .product-preview {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .product-preview {
    margin-top: 38px;
  }

  .section {
    width: 100%;
    max-width: none;
  }

  h1 {
    width: min(100%, 330px);
    max-width: 330px;
    font-size: 32px;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  h1 span {
    display: block;
  }

  .lead {
    width: min(100%, 330px);
    max-width: 330px;
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions,
  .hero-points,
  .feature-grid,
  .step-grid,
  .faq-grid,
  .pricing-grid,
  .security-strip {
    grid-template-columns: 1fr;
  }

  .preview-window {
    grid-template-columns: 1fr;
    min-height: 0;
    max-width: 100%;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    overflow: hidden;
  }

  .preview-content,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .preview-content,
  .history-panel,
  .status-panel,
  .result-row span,
  .table-head span {
    min-width: 0;
  }

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

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

  .panel-heading,
  .table-head,
  .result-row {
    grid-template-columns: 50px minmax(70px, 1fr) 62px;
    gap: 8px;
    font-size: 11px;
  }

  .history-panel,
  .status-panel {
    min-width: 0;
  }

  .thumb {
    width: 42px;
    height: 26px;
  }

  .result-row span,
  .table-head span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .table-head span:nth-child(4),
  .result-row span:nth-child(4) {
    display: none;
  }

  .alert-box {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-consent {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
