:root {
  --blue: #245A78;
  --blue-dark: #1D4A63;
  --blue-soft: #EAF3F7;
  --green: #49A58C;
  --bg: #F4F8FA;
  --card: #FFFFFF;
  --text: #24313A;
  --muted: #65747D;
  --border: #DCE5E9;
  --shadow: 0 24px 60px rgba(28, 57, 75, .11);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(73,165,140,.10), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(36,90,120,.10), transparent 30rem),
    var(--bg);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.site-header {
  min-height: 88px;
  padding: 18px clamp(24px, 6vw, 92px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(220,229,233,.85);
  backdrop-filter: blur(10px);
}

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

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #397895);
  color: white;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 8px 22px rgba(36,90,120,.22);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .02em;
}

.header-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.page {
  width: 100%;
  max-width: 1260px;
  margin: auto;
  padding: 64px 28px;
}

.hero-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  background: var(--card);
  border: 1px solid rgba(220,229,233,.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(42px, 6vw, 82px);
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #183746;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 25px rgba(36,90,120,.20);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  background: #EEF4F6;
  color: var(--blue);
  border: 1px solid var(--border);
}

.btn-icon {
  font-size: 14px;
}

.info-strip {
  margin-top: 42px;
  max-width: 660px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8FAFB;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.info-strip strong,
.info-strip span {
  display: block;
}

.info-strip span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.side-panel {
  padding: clamp(38px, 4vw, 60px);
  background: linear-gradient(160deg, #245A78, #173E54);
  color: white;
  display: flex;
  flex-direction: column;
}

.side-logo {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.20);
  margin-bottom: 32px;
}

.side-panel h2 {
  margin: 0;
  font-size: 24px;
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0 0 18px;
  padding-left: 29px;
  line-height: 1.5;
  color: rgba(255,255,255,.87);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #7ED1B9;
  font-weight: 900;
}

.security-note {
  margin-top: auto;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  gap: 13px;
  align-items: center;
}

.shield {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(126,209,185,.16);
  color: #8FE0C8;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.security-note strong,
.security-note small { display: block; }

.security-note small {
  margin-top: 3px;
  color: rgba(255,255,255,.68);
  line-height: 1.35;
}

.site-footer {
  padding: 24px clamp(24px, 6vw, 92px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer strong { color: var(--text); }
.site-footer a { color: var(--blue); text-decoration: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.open { display: grid; place-items: center; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,35,44,.56);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 22px;
  padding: 30px;
  background: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.modal-card h2 { margin: 0; color: #183746; }

.modal-intro {
  color: var(--muted);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #EFF4F6;
  cursor: pointer;
  font-size: 23px;
}

#preview {
  width: 100%;
  min-height: 260px;
  border-radius: 16px;
  background: #16242B;
  object-fit: cover;
}

.device-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F5F8F9;
  color: var(--muted);
  font-size: 14px;
}

.modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; }
  .side-panel { min-height: 410px; }
  .header-link { display: none; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 18px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 14px; }
  .brand-name { font-size: 17px; }
  .page { padding: 26px 14px; }
  .hero-copy { padding: 34px 24px; }
  h1 { font-size: 36px; }
  .lead { font-size: 17px; }
  .actions { display: grid; }
  .btn { width: 100%; }
  .side-panel { padding: 34px 24px; }
  .site-footer { padding: 24px 18px; flex-direction: column; }
}
