:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --border: #d8dee8;
  --border-strong: #b9c3d0;
  --text: #18202a;
  --muted: #687386;
  --primary: #216869;
  --primary-hover: #174c4d;
  --primary-soft: #e6f2f1;
  --accent: #c77b2b;
  --accent-soft: #fff3e3;
  --warning: #9f5b00;
  --danger: #b42318;
  --success: #087443;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 8px 26px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --radius-sm: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

button, input, a { font: inherit; }

code {
  font-family: Consolas, "Courier New", monospace;
  background: #eef2f6;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  padding: 2px 6px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 235px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand strong { font-size: 20px; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 3px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 14px;
}

.main-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.main-nav .nav-download {
  background: var(--primary);
  color: #fff;
  margin-left: 4px;
}
.main-nav .nav-download:hover {
  background: var(--primary-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
}

.hero {
  padding: 84px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(33,104,105,.10), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-hover);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  margin-bottom: 10px;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: 21px;
  letter-spacing: 0;
}

.lead {
  color: #4d5868;
  font-size: 19px;
  max-width: 720px;
  margin: 0 0 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--border);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

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

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.button.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button.secondary {
  background: #fff;
  color: var(--text);
}
.button.secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-hover);
}

.button.large { min-height: 50px; padding-inline: 22px; }

.download-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.hero-icon {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.hero-panel h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.hero-panel p {
  color: var(--muted);
  margin: 20px 0 0;
}

.hero-use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-use-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  background: #f7fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #394454;
  font-weight: 700;
}

.hero-use-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.hero-points span {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: #4d5868;
  font-size: 13px;
  font-weight: 750;
  padding: 7px 10px;
}

.app-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-windowbar {
  min-height: 44px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 13px;
  color: #394454;
  background: #fbfcfd;
}

.preview-windowbar img {
  width: 23px;
  height: 23px;
  border-radius: 6px;
}

.preview-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 405px;
}

.preview-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 18px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-logo {
  font-weight: 800;
  color: var(--primary-hover);
  margin: 2px 8px 13px;
  font-size: 15px;
}

.preview-nav {
  padding: 8px 10px;
  border-radius: 6px;
  color: #465161;
  font-size: 12px;
  font-weight: 650;
}

.preview-nav.active {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.preview-content {
  padding: 16px;
  background: var(--bg);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 11px;
  color: #596476;
  margin-bottom: 12px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.preview-metrics article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 9px;
  min-width: 0;
}

.preview-metrics small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.preview-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-panel strong { font-size: 13px; }
.preview-panel span { color: var(--muted); font-size: 10px; }

.preview-caption {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 11px;
  color: var(--muted);
  background: #fbfcfd;
}

.notice-section { padding: 0 0 22px; }

.notice {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-hover);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.notice h2 { font-size: 18px; letter-spacing: 0; margin-bottom: 5px; }
.notice p { margin: 0; color: #596476; }

.notice-important {
  border-color: #e7c596;
  border-left-color: var(--accent);
  background: #fffaf2;
}

.notice-important .notice-icon {
  background: var(--accent-soft);
  color: #7c3f00;
}

.notice-important h2 {
  color: #7c3f00;
}

.notice-important p {
  color: #4c3924;
  font-weight: 650;
}

.section { padding: 86px 0; }
.muted-section {
  background: #eef2f5;
  border-top: 1px solid #e1e6eb;
  border-bottom: 1px solid #e1e6eb;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left { text-align: left; margin: 0 0 22px; }

.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card > p { color: var(--muted); margin: 0 0 14px; }
.feature-card ul {
  margin: 0;
  padding-left: 19px;
  color: #4c5665;
  font-size: 14px;
}
.feature-card li + li { margin-top: 6px; }

.feature-number {
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  margin-bottom: 15px;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tour-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.tour-copy {
  padding: 22px 22px 0;
}

.tour-copy span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.tour-copy h3 { margin: 8px 0; }
.tour-copy p { color: var(--muted); margin: 0 0 18px; }

.mini-screen {
  min-height: 240px;
  margin: 0 14px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f5f8fb;
  padding: 14px;
}

.mini-toolbar {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 12px;
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mini-kpis i,
.export-screen i {
  display: block;
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.overview-screen b {
  display: block;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  padding: 13px;
  margin-top: 9px;
}

.mini-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-tabs i {
  display: block;
  width: 110px;
  height: 34px;
  border-radius: 8px 8px 0 0;
  background: var(--primary);
}

.mini-tabs i:first-child {
  background: #fff;
  border: 1px solid var(--border);
}

.mini-table {
  display: grid;
  grid-template-columns: 1fr 1.1fr .9fr 1fr 1fr;
  gap: 2px;
}

.mini-table span {
  height: 31px;
  background: #d9ecfb;
  border: 1px solid #c2d8ea;
}

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

.export-screen i:last-child {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.logic-grid article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}

.logic-grid h3 { font-size: 19px; margin-bottom: 8px; }
.logic-grid p { margin: 0; color: #566170; }

.install-warning {
  max-width: 920px;
  margin: 0 auto 34px;
  padding: 15px 18px;
  border: 1px solid #e6cfad;
  background: #fff9ef;
  color: #6f470d;
  border-radius: 8px;
}

.install-steps {
  max-width: 970px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.install-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 22px 22px 80px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.install-step.with-image {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px;
  align-items: start;
}

.step-badge {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 850;
}

.step-copy h3 { margin-bottom: 8px; }
.step-copy p { margin: 0; color: #566170; }

.shot-button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f9fb;
  padding: 7px;
  cursor: zoom-in;
  overflow: hidden;
  color: var(--primary-hover);
}

.shot-button img {
  border-radius: 6px;
  width: 100%;
  height: 175px;
  object-fit: contain;
  background: #fff;
}

.shot-button span {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 4px 2px;
}

.shot-button:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.pdf-callout {
  max-width: 970px;
  margin: 20px auto 0;
  background: var(--primary-soft);
  border: 1px solid #c9dedc;
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pdf-callout div { display: flex; flex-direction: column; }
.pdf-callout span { color: #476060; font-size: 14px; }

.setup-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.setup-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 17px;
}

.setup-list li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-weight: 850;
}

.setup-list p { margin: 3px 0 0; color: var(--muted); }

.two-column {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.two-column > div:first-child > p {
  color: #566170;
  font-size: 16px;
}

.security-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 26px;
}

.security-card p { color: #596476; }
.security-card ul { margin-bottom: 0; padding-left: 21px; }
.security-card li + li { margin-top: 7px; }

.legal-safe {
  background: #fff;
  border-top: 1px solid var(--border);
}

.legal-check {
  background: var(--accent-soft);
  border: 1px solid #e7c596;
  border-radius: 8px;
  padding: 24px;
}

.legal-check h3 { margin-bottom: 11px; }
.legal-check ul { margin: 0; padding-left: 21px; color: #61451c; }
.legal-check li + li { margin-top: 8px; }

.download-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(33,104,105,.16), transparent 28rem),
    #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.download-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.download-card > img {
  width: 160px;
  border-radius: 30px;
}

.download-copy h2 { margin-bottom: 8px; }
.download-copy > p { color: var(--muted); margin-top: 0; }

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 22px;
  color: #4f5a69;
  font-size: 14px;
}

.legal-brief { padding-top: 65px; padding-bottom: 65px; }

.legal-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 56px;
}

.legal-grid h2 { font-size: 29px; }
.legal-grid h3 { margin-bottom: 9px; }
.legal-grid p { color: #5b6574; }

.legal-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.legal-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12 !important;
  padding: 12px 14px;
}

.legal-list {
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.legal-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--border);
}

.legal-list div:last-child { border-bottom: 0; }
.legal-list dt,
.legal-list dd {
  margin: 0;
  padding: 10px 12px;
}
.legal-list dt {
  background: #f1f5f9;
  font-weight: 800;
}

.site-footer {
  background: #172021;
  color: #d9e3e3;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.footer-brand div { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand span { color: #9fb0b0; font-size: 12px; margin-top: 3px; }
.footer-inner p { margin: 0; color: #9fb0b0; font-size: 13px; text-align: right; }

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

.footer-links a {
  color: #d9e3e3;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(217,227,227,.45);
}

.image-dialog {
  border: 0;
  padding: 0;
  border-radius: 8px;
  max-width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  background: #101719;
  box-shadow: 0 26px 80px rgba(0,0,0,.4);
}

.image-dialog::backdrop { background: rgba(5,10,14,.82); }

.image-dialog img {
  max-width: calc(100vw - 60px);
  max-height: calc(100vh - 70px);
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .main-nav a { padding-inline: 8px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; }
  .app-preview { max-width: 720px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: stretch;
  }
  .tour-copy { padding-bottom: 22px; }
  .mini-screen { margin-top: 14px; }
}

@media (max-width: 850px) {
  .header-inner { height: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-download { margin-left: 0; text-align: center; }
  .logic-grid { grid-template-columns: 1fr 1fr; }
  .install-step.with-image { grid-template-columns: 1fr; }
  .shot-button { max-width: 440px; }
  .shot-button img { height: auto; }
  .two-column, .legal-grid { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 110px 1fr; }
  .download-card > img { width: 100px; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 26px)); }
  .hero { padding-top: 55px; }
  h1 { font-size: 41px; }
  .feature-grid, .logic-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 105px 1fr; }
  .preview-sidebar { padding-inline: 6px; }
  .preview-logo { margin-left: 4px; font-size: 12px; }
  .preview-nav { font-size: 10px; padding: 7px 6px; }
  .preview-metrics { grid-template-columns: 1fr 1fr; }
  .install-step, .install-step.with-image {
    padding: 68px 15px 16px;
  }
  .step-badge { left: 15px; top: 16px; }
  .pdf-callout { flex-direction: column; align-items: stretch; }
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-card > img { margin: 0 auto; }
  .download-meta { justify-content: center; }
  .hero-actions { justify-content: flex-start; }
  .download-copy .hero-actions { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner p { text-align: left; }
  .tour-card { grid-template-columns: 1fr; }
  .legal-list div { grid-template-columns: 1fr; }
  .legal-list dt { border-bottom: 1px solid var(--border); }
}

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