:root {
  --ink: #122033;
  --muted: #5b6779;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --soft-2: #eef4f7;
  --navy: #18385f;
  --blue: #1f6fbf;
  --cyan: #1b8aa5;
  --red: #c93636;
  --amber: #b7791f;
  --green: #2f855a;
  --shadow: 0 18px 48px rgba(18, 32, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(90deg, #09294b 0%, #123f70 58%, #0b3159 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(9, 41, 75, 0.22);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 26px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: block;
  overflow: hidden;
  color: transparent;
  background: #fff url("/assets/ikona-big.png") center / contain no-repeat;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle-icon {
  width: 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-icon span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: #09294b;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 28px rgba(201, 54, 54, 0.26);
}

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

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 800;
}

.lead {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
}

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

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-media img {
  min-height: 560px;
}

.section-media {
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.device-stage {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(24, 56, 95, 0.08), rgba(27, 138, 165, 0.08)),
    #edf4f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.office-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(24, 56, 95, 0.07) 16% 16.2%, transparent 16.2% 100%),
    linear-gradient(180deg, transparent 0 28%, rgba(24, 56, 95, 0.08) 28% 28.2%, transparent 28.2% 100%);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 76vw);
  min-height: 620px;
  padding: 18px;
  border-radius: 34px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 584px;
  padding: 18px;
  border-radius: 24px;
  background: #f8fafc;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-title {
  margin: 24px 0 8px;
  font-size: 27px;
  font-weight: 900;
}

.app-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.app-tile {
  min-height: 82px;
  padding: 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 850;
}

.app-tile strong {
  font-size: 22px;
}

.app-tile.danger {
  grid-column: span 2;
  min-height: 88px;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.app-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(31, 111, 191, 0.13);
}

.app-tile.danger .app-icon {
  background: rgba(255, 255, 255, 0.24);
}

.section {
  padding: 76px 0;
}

.section.soft {
  background: var(--soft);
}

.section.tint {
  background: var(--soft-2);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card.shadow {
  box-shadow: var(--shadow);
}

.card p,
.feature p,
.package p {
  color: var(--muted);
}

.card ul,
.check-list {
  padding-left: 18px;
  color: var(--muted);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.red {
  background: var(--red);
}

.cyan {
  background: var(--cyan);
}

.green {
  background: var(--green);
}

.amber {
  background: var(--amber);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #f7fafc;
}

tr:last-child td {
  border-bottom: 0;
}

.highlight-cell {
  color: var(--green);
  font-weight: 850;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.module-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 17px;
  font-weight: 400;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
  text-align: center;
}

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

.step {
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: #fff;
  border-radius: 8px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
}

.page-hero {
  padding: 70px 0 46px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 900px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.visual-panel {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard {
  display: grid;
  gap: 12px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(47, 133, 90, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.contact-band {
  padding: 54px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 5px;
}

.form-message {
  display: none;
  padding: 14px;
  border-radius: 8px;
  background: rgba(47, 133, 90, 0.12);
  color: var(--green);
  font-weight: 750;
}

.form-message.show {
  display: block;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer .brand {
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

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

.footer-links a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
}

.company-info {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.company-info strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 8px;
}

.company-info p {
  margin: 5px 0;
}

.contact-details {
  margin-top: 24px;
}

.contact-details a {
  color: var(--blue);
  font-weight: 600;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 14px;
}

.cookie-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1040px;
  margin-inline: auto;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.cookie-notice.show {
  display: flex;
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-notice a {
  color: var(--blue);
  font-weight: 800;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: rgba(183, 121, 31, 0.1);
  color: #6f4a13;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .grid-4,
  .timeline,
  .contact-band,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .device-stage {
    min-height: 520px;
  }

  .hero-media img {
    min-height: 360px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .brand {
    min-width: 0;
    font-size: 22px;
  }

  .brand span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links,
  .nav-actions {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
    min-height: 50px;
  }

  .nav-actions {
    padding-top: 6px;
  }

  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions {
    display: flex;
  }

  .nav.nav-open .nav-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav.nav-open .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .section,
  .page-hero {
    padding: 48px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .nav-actions,
  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid,
  .module-list {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 28px;
  }
}
