:root {
  --ink: #172235;
  --muted: #607089;
  --line: #d8e1eb;
  --surface: #ffffff;
  --soft: #f2f6fa;
  --primary: #087f9d;
  --primary-dark: #075f78;
  --accent: #42b7d5;
  --success: #167a4c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(20px, 5vw, 72px);
  color: white;
  background: #334357;
  border-bottom: 1px solid #43556c;
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 166px; height: auto; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-weight: 700; text-decoration: none; }
nav a:hover { color: #7bd4e9; }
.nav-login { color: white; }
.nav-signup { padding: 11px 18px; color: white; background: var(--accent); border-radius: 8px; }
.nav-signup:hover { color: white; background: var(--primary); }

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 98px clamp(24px, 7vw, 112px) 0;
  color: var(--ink);
  background: #f3f7fb;
}
.dashboard-scene {
  position: relative;
  width: min(1160px, 94vw);
  height: 460px;
  margin: 72px auto -118px;
  display: grid;
  grid-template-columns: 180px minmax(700px, 1fr);
  min-width: 980px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  box-shadow: 0 28px 65px rgba(39, 60, 82, 0.17);
}
.demo-sidebar { padding: 28px 18px; background: white; color: #35506e; border-right: 1px solid var(--line); }
.demo-logo { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 38px; color: white; background: var(--primary); font-weight: 800; }
.demo-nav { display: block; padding: 12px 14px; margin: 5px 0; font-weight: 700; }
.demo-nav.active { color: white; background: var(--primary); }
.demo-content { padding: 36px; color: var(--ink); }
.demo-toolbar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 21px; }
.demo-toolbar span:last-child { min-width: 210px; padding: 11px 14px; font-size: 14px; background: white; border: 1px solid var(--line); }
.demo-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 32px 0; }
.demo-metrics div { padding: 22px; background: white; border: 1px solid var(--line); }
.demo-metrics b, .demo-metrics span { display: block; }
.demo-metrics b { font-size: 29px; }
.demo-metrics span { color: var(--muted); }
.demo-table { overflow: hidden; background: white; border: 1px solid var(--line); }
.demo-row { display: grid; grid-template-columns: 110px 1.2fr 1fr 1fr 90px; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.demo-row:last-child { border-bottom: 0; }
.demo-head { color: var(--muted); font-weight: 800; background: #f8fafc; }
.status { width: fit-content; padding: 3px 8px; color: var(--success); background: #dcfce7; font-size: 12px; font-weight: 800; }
.status.spare { color: #8a5200; background: #fef3c7; }
.hero-content { position: relative; z-index: 2; width: min(890px, 100%); margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--primary); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--accent); vertical-align: 1px; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(46px, 5.2vw, 76px); line-height: 1.02; }
.hero-copy { max-width: 760px; margin: 28px auto 34px; font-size: clamp(19px, 1.8vw, 24px); color: var(--muted); }
.hero-actions, .final-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--primary); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { color: var(--ink); border-color: var(--line); background: white; }
.button.secondary:hover { color: var(--primary); border-color: var(--primary); }

.proof-band { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.proof-band div { padding: 30px clamp(24px, 4vw, 64px); border-right: 1px solid var(--line); }
.proof-band div:last-child { border-right: 0; }
.proof-band strong, .proof-band span { display: block; }
.proof-band strong { margin-bottom: 4px; font-size: 18px; }
.proof-band span { color: var(--muted); }

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 76px;
  padding: 96px clamp(24px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}
.story-heading h2 { font-size: clamp(34px, 3.8vw, 54px); }
.story-copy { border-top: 1px solid var(--line); }
.story-copy p { margin: 0; padding: 22px 0; color: var(--muted); font-size: 18px; border-bottom: 1px solid var(--line); }

.solution-section { padding: 96px clamp(24px, 7vw, 112px); }
.section-heading { max-width: 830px; margin-bottom: 54px; }
h2 { margin: 0 0 18px; max-width: 850px; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }
.section-heading > p:last-child, .security-copy > p:last-child { color: var(--muted); font-size: 20px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--primary); font-weight: 800; }
.feature-list h3 { margin: 0 0 6px; font-size: 25px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 18px; }

.security-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr); gap: 72px; padding: 92px clamp(24px, 7vw, 112px); background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-points { margin: 0; border-top: 1px solid #cbd7e3; }
.security-points div { display: grid; grid-template-columns: 100px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid #cbd7e3; }
.security-points dt { color: var(--primary); font-weight: 800; }
.security-points dd { margin: 0; color: var(--muted); }

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: 84px;
  padding: 96px clamp(24px, 7vw, 112px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.pricing-copy > p:last-child { max-width: 650px; color: var(--muted); font-size: 20px; }
.price-panel { padding: 38px; background: var(--soft); border: 1px solid var(--line); }
.price-label { margin: 0; color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 13px; }
.price { margin: 10px 0 0; font-size: 72px; font-weight: 800; line-height: 1; }
.price span { margin-right: 4px; font-size: 34px; vertical-align: 22px; }
.price-note { margin: 8px 0 26px; color: var(--muted); }
.price-panel ul { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.price-panel li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-panel li::before { content: "✓"; margin-right: 10px; color: var(--success); font-weight: 800; }

.final-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 84px clamp(24px, 7vw, 112px); }
.final-cta h2 { margin-bottom: 0; }
.final-actions { justify-content: flex-end; }
.text-link { color: var(--primary); font-weight: 800; }

footer { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto; align-items: center; gap: 30px; padding: 26px clamp(24px, 5vw, 72px); color: var(--muted); border-top: 1px solid var(--line); }
footer img { width: 150px; height: auto; }
.legal-links { gap: 16px; }
.legal-links a { color: var(--primary); font-size: 14px; }
.cookie-banner { position: fixed; z-index: 50; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1040px; margin: 0 auto; padding: 20px 22px; color: white; background: #27384c; border: 1px solid #4c6077; box-shadow: 0 18px 44px rgba(20, 34, 51, 0.25); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 17px; }
.cookie-banner p { margin: 4px 0; color: #dce7f1; }
.cookie-banner a { color: #7bd4e9; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions button { min-height: 42px; padding: 9px 18px; border: 1px solid transparent; font: inherit; font-weight: 800; cursor: pointer; }
.cookie-reject { color: white; background: transparent; border-color: #91a2b5 !important; }
.cookie-accept { color: white; background: var(--primary); }

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-login):not(.nav-signup) { display: none; }
  .hero { min-height: 760px; padding-top: 78px; }
  .dashboard-scene { width: 980px; margin-left: 2vw; transform: scale(0.78); transform-origin: top left; }
  .proof-band { grid-template-columns: 1fr; }
  .proof-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-band div:last-child { border-bottom: 0; }
  .security-section { grid-template-columns: 1fr; gap: 36px; }
  .story-section, .pricing-section { grid-template-columns: 1fr; gap: 40px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .final-actions { justify-content: flex-start; }
  footer { grid-template-columns: 1fr; }
  .legal-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .site-header { min-height: 64px; padding: 8px 18px; }
  .brand img { width: 135px; }
  .nav-login { display: none; }
  .nav-signup { padding: 9px 12px; font-size: 13px; }
  .hero { min-height: 735px; padding: 62px 20px 0; }
  h1 { font-size: 46px; }
  .hero-copy { font-size: 19px; }
  .hero-actions .button { width: 100%; }
  .dashboard-scene { margin-top: 54px; margin-left: 0; transform: scale(0.58); transform-origin: top left; }
  .solution-section, .story-section, .security-section, .pricing-section, .final-cta { padding: 64px 20px; }
  .feature-list article { grid-template-columns: 50px minmax(0, 1fr); }
  .security-points div { grid-template-columns: 74px 1fr; }
  .final-actions { width: 100%; }
  .final-actions .button { width: 100%; }
  .price-panel { padding: 28px 22px; }
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 16px; }
  .cookie-actions, .cookie-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
