:root {
  --bg: #06162d;
  --bg-deep: #041126;
  --panel: #0d213c;
  --panel-2: #102844;
  --line: rgba(152, 181, 225, .17);
  --line-strong: rgba(135, 171, 230, .28);
  --text: #f6f9ff;
  --muted: #b6c3d8;
  --blue: #2f67e9;
  --blue-bright: #3f75f3;
  --blue-soft: #173b82;
  --green: #31d891;
  --orange: #ffb11b;
  --red: #ff5c67;
  --shadow: 0 18px 60px rgba(0, 0, 0, .28);
  --radius: 18px;
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 19% 18%, rgba(22, 73, 151, .18), transparent 27%),
    radial-gradient(circle at 75% 24%, rgba(20, 67, 142, .15), transparent 25%),
    linear-gradient(180deg, #071a33 0%, #06172d 48%, #061326 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
svg { display: block; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 22, 45, .9);
  border-bottom: 1px solid rgba(149, 180, 224, .08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #eef4ff;
  font-weight: 600;
  font-size: 14px;
}
.desktop-nav a, .site-footer a { transition: color .2s ease, opacity .2s ease; }
.desktop-nav a:hover, .site-footer a:hover { color: #78a2ff; }
.header-actions { display: flex; gap: 14px; }

.btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-small { min-height: 44px; min-width: 100px; padding-inline: 23px; font-size: 14px; }
.btn-wide { min-width: 240px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2d67eb, #3d6ddd);
  box-shadow: 0 9px 24px rgba(48, 100, 229, .22);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(48, 100, 229, .35); }
.btn-ghost { border-color: #6684bc; background: rgba(8, 30, 61, .44); }
.btn-ghost:hover { border-color: #8aa8df; background: rgba(19, 47, 87, .7); }
.btn-light { color: #1851c9; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-light:hover { background: #eef4ff; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(127, 161, 211, .08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(83, 126, 192, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 126, 192, .06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, #000 35%, #000 70%, transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 660px; height: 660px; left: -250px; top: -80px; background: radial-gradient(circle, rgba(18, 68, 145, .15), transparent 69%); }
.hero-glow-two { width: 540px; height: 540px; right: 60px; top: 70px; background: radial-gradient(circle, rgba(28, 77, 165, .13), transparent 70%); }
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  padding-block: 54px 44px;
  display: grid;
  grid-template-columns: minmax(430px, .88fr) minmax(660px, 1.32fr);
  gap: 70px;
  align-items: center;
}
.hero-copy { align-self: center; }
.eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 17px;
  border-radius: 999px;
  background: #163e8c;
  color: #e9f1ff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(104, 147, 227, .28);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.hero-text {
  max-width: 625px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-points {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  color: #d6dfed;
  font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.mini-icon {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #3b78fa;
  background: rgba(37, 91, 206, .16);
  box-shadow: inset 0 0 0 1px rgba(64, 113, 223, .25);
}
.mini-icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dashboard-shell {
  min-width: 0;
  height: 490px;
  border: 1px solid rgba(144, 174, 219, .32);
  border-radius: 15px;
  overflow: hidden;
  background: #0a1a31;
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
  transform: perspective(1400px) rotateY(-.4deg);
}
.window-bar {
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 18px 16px;
  border-bottom: 1px solid rgba(134, 164, 209, .17);
  background: linear-gradient(180deg, rgba(18, 42, 69, .92), rgba(13, 34, 59, .92));
}
.window-dots { display: flex; gap: 8px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #557691; }
.window-dots i:nth-child(2) { background: #6f8f9a; }
.window-dots i:nth-child(3) { background: #4d7d7b; }
.window-user { display: flex; align-items: center; gap: 9px; color: #dce7f7; }
.window-user .avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg,#d6a071,#7f4f35); font-weight: 800; font-size: 12px; }
.window-user span:not(.avatar) { display: grid; gap: 1px; }
.window-user b { font-size: 10px; }
.window-user small { font-size: 7px; color: #9cabc1; }
.window-user svg { width: 14px; fill: none; stroke: #9fb0c9; stroke-width: 1.8; }
.dashboard-body { height: calc(100% - 52px); display: grid; grid-template-columns: 145px 1fr; }
.dash-sidebar { padding: 18px 12px; border-right: 1px solid rgba(142, 173, 219, .15); background: #08172a; }
.dash-logo { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; padding-inline: 4px; font-size: 13px; }
.dash-logo svg { width: 22px; }
.dash-sidebar nav { display: grid; gap: 5px; }
.dash-sidebar nav > span { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 6px; color: #d8e4f7; font-size: 10px; }
.dash-sidebar nav > span > span { width: 15px; color: #f3f7ff; text-align: center; }
.dash-sidebar nav > span.active { background: #1b3152; }
.dash-content { padding: 20px 20px 16px; overflow: hidden; }
.dash-content h2 { margin-bottom: 16px; font-size: 15px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.metric-grid article { min-height: 72px; padding: 14px 15px; border-radius: 8px; background: linear-gradient(180deg,#112641,#102039); box-shadow: inset 0 0 0 1px rgba(120, 151, 199, .07); }
.metric-grid span { display: block; margin-bottom: 8px; color: #cbd6e8; font-size: 9px; }
.metric-grid b { font-size: 20px; font-weight: 600; }
.metric-grid em { font-style: normal; }
.green { color: var(--green); }.blue { color: #5d89ff; }.red { color: var(--red); }.orange { color: var(--orange); }
.dash-lower { display: grid; grid-template-columns: 1.06fr .94fr; gap: 12px; margin-top: 12px; }
.chart-card, .deliveries-card { height: 198px; padding: 14px 16px; border-radius: 9px; background: linear-gradient(180deg,#10243e,#0e2038); box-shadow: inset 0 0 0 1px rgba(127, 159, 207, .08); }
.chart-card h3, .deliveries-card h3 { margin-bottom: 11px; font-size: 12px; }
.chart-stage { position: relative; height: 150px; padding: 8px 5px 21px 26px; border-left: 1px solid rgba(130,158,200,.12); border-bottom: 1px solid rgba(130,158,200,.12); background-image: linear-gradient(rgba(128,161,209,.07) 1px, transparent 1px); background-size: 100% 38px; }
.chart-stage svg { width: 100%; height: 112px; overflow: visible; }
.chart-stage .line { fill: none; stroke: #4680ff; stroke-width: 3; }
.chart-stage .area { fill: url(#area); }
.chart-y { position: absolute; left: 0; top: 8px; bottom: 24px; display: flex; flex-direction: column; justify-content: space-between; color: #8fa1ba; font-size: 7px; }
.chart-x { position: absolute; left: 27px; right: 4px; bottom: 3px; display: flex; justify-content: space-between; color: #879bb6; font-size: 7px; }
.deliveries-card { display: flex; flex-direction: column; }
.delivery-row { flex: 1; display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid rgba(126,158,202,.09); }
.delivery-row:first-of-type { border-top: 0; }
.person-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #3266dc; font-size: 7px; }
.delivery-row span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.delivery-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.delivery-row small { color: #8ea0b8; font-size: 7px; }
.tag { padding: 4px 7px; border-radius: 5px; font-size: 7px; font-style: normal; white-space: nowrap; }
.tag-green { color: #6bf0b1; background: rgba(36,156,102,.22); }
.tag-yellow { color: #ffd045; background: rgba(183,135,18,.22); }
.tag-red { color: #ff8f93; background: rgba(178,50,60,.24); }

.section { padding: 0 0 32px; }
.section-features { padding-top: 0; }
.section-card, .audience-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 36, 64, .9), rgba(9, 29, 53, .82));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}
.section-card { padding: 32px 26px 28px; }
.section-card > h2 { margin-bottom: 26px; text-align: center; font-size: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.feature-card { min-height: 210px; padding: 23px 23px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 30, 54, .48); }
.feature-icon { width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; color: #eaf1ff; background: radial-gradient(circle at 38% 30%, #426fe8, #17387d 68%); box-shadow: 0 10px 25px rgba(33,82,188,.18); }
.feature-icon svg, .list-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 10px; font-size: 20px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.bottom-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 0; align-items: stretch; }
.audience-card { padding: 26px 32px; border-radius: 18px 0 0 18px; }
.audience-card h2 { margin-bottom: 20px; font-size: 23px; }
.audience-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.audience-card li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 15px; }
.list-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; color: #eef4ff; background: rgba(28, 62, 108, .5); border: 1px solid rgba(126,160,211,.13); }
.audience-card li > span:last-child { display: grid; gap: 5px; }
.audience-card b { font-size: 17px; }
.audience-card small { color: var(--muted); font-size: 13px; }
.cta-card { min-height: 314px; position: relative; overflow: hidden; padding: 43px 40px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 0 18px 18px 0; background:
  radial-gradient(circle at 84% 10%, rgba(75,124,255,.22), transparent 25%),
  linear-gradient(135deg, #0d2a5b 0%, #15418f 58%, #0e2d68 100%);
  box-shadow: inset 0 0 0 1px rgba(111,153,235,.14);
}
.cta-card::before { content:""; position:absolute; inset:0; opacity:.12; background-image: radial-gradient(circle, #7aa4ff 1.1px, transparent 1.1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent 15%, #000 58%, transparent); }
.cta-copy { position: relative; z-index: 2; }
.cta-copy h2 { margin-bottom: 18px; font-size: 31px; line-height: 1.14; }
.cta-copy ul { margin: 0 0 25px; padding: 0; list-style: none; color: #c7d5ea; line-height: 1.8; font-size: 14px; }
.cta-copy li::before { content: "✓"; margin-right: 10px; color: #5c92ff; font-weight: 800; }
.cube-scene { position: relative; z-index: 1; min-height: 220px; }
.platform { position: absolute; background: #0d2d67; transform: skewY(-28deg); box-shadow: 0 25px 40px rgba(1,10,31,.38); }
.platform-one { width: 210px; height: 110px; right: 42px; bottom: 5px; }
.platform-two { width: 135px; height: 74px; right: 4px; bottom: 74px; background: #16418d; }
.cube { position: absolute; width: 92px; height: 92px; transform-style: preserve-3d; }
.cube i, .cube b, .cube span { position: absolute; display: block; }
.cube i { inset: 0; background: linear-gradient(145deg,#4f83ff,#2a58c5); clip-path: polygon(50% 0,100% 25%,50% 50%,0 25%); }
.cube b { left:0; right:50%; top:25%; bottom:0; background: linear-gradient(145deg,#4e75d2,#254693); clip-path: polygon(0 0,100% 33%,100% 100%,0 67%); }
.cube span { left:50%; right:0; top:25%; bottom:0; background: linear-gradient(145deg,#2c62da,#123a8b); clip-path: polygon(0 33%,100% 0,100% 67%,0 100%); }
.cube-big { right: 77px; top: 10px; transform: scale(1.25); }
.cube-small { right: 185px; bottom: 35px; transform: scale(.88); filter: brightness(1.6) saturate(.6); }

.site-footer { border-top: 1px solid rgba(130,161,208,.09); background: rgba(3,14,30,.55); }
.footer-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: #91a3bc; font-size: 13px; }
.footer-inner nav { display: flex; gap: 24px; }

@media (max-width: 1220px) {
  .container { width: min(calc(100% - 44px), var(--container)); }
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 20px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(390px, .84fr) minmax(580px, 1.16fr); gap: 36px; }
  .dashboard-shell { height: 450px; }
  .dashboard-body { grid-template-columns: 126px 1fr; }
  .dash-content { padding: 16px 14px; }
  .feature-card { padding: 20px 18px; }
  .feature-card h3 { font-size: 18px; }
}

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 74px; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 46px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 5px; cursor: pointer; border-radius: 9px; background: rgba(20,47,82,.65); border: 1px solid rgba(138,169,214,.12); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 21px; height: 2px; border-radius: 99px; background: #fff; }
  .mobile-menu-panel { position: absolute; right: 0; top: 53px; width: min(310px, calc(100vw - 36px)); padding: 15px; display: grid; gap: 3px; border: 1px solid var(--line-strong); border-radius: 14px; background: #0a203c; box-shadow: var(--shadow); }
  .mobile-menu-panel > a { padding: 12px 13px; border-radius: 8px; color: #dfe8f7; }
  .mobile-menu-panel > a:hover { background: rgba(54,101,184,.22); }
  .mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; }
  .mobile-menu-actions .btn { min-height: 42px; padding: 0 12px; }

  .hero-grid { min-height: 0; padding-block: 55px 34px; grid-template-columns: 1fr; }
  .dashboard-shell { width: 100%; max-width: 800px; justify-self: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-grid { grid-template-columns: 1fr; gap: 20px; }
  .audience-card, .cta-card { border-radius: 18px; }
  .cta-card { min-height: 330px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 31px; height: 31px; }

  .hero { border-bottom: 0; }
  .hero::before { background-size: 54px 54px; opacity: .15; }
  .hero-grid { padding-top: 28px; padding-bottom: 22px; gap: 0; }
  .eyebrow { margin-bottom: 18px; padding: 6px 14px; font-size: 13px; }
  h1 { margin-bottom: 18px; font-size: clamp(40px, 11.4vw, 52px); line-height: 1.06; }
  .hero-text { margin-bottom: 23px; font-size: 16px; line-height: 1.56; }
  .hero-actions { display: grid; gap: 10px; }
  .btn-wide { width: 100%; min-width: 0; }
  .hero-points { margin-top: 24px; display: grid; gap: 12px; }
  .hero-points li { font-size: 15px; }
  .dashboard-shell { display: none; }

  .section { padding-bottom: 18px; }
  .section-card { padding: 20px 13px 14px; border-radius: 0; border-inline: 0; background: rgba(7,25,46,.82); }
  .section-card > h2 { margin-bottom: 17px; font-size: 19px; }
  .feature-grid { grid-template-columns: 1fr; gap: 7px; }
  .feature-card { min-height: 0; padding: 12px 14px; display: grid; grid-template-columns: 48px 1fr; column-gap: 13px; border-radius: 9px; }
  .feature-icon { grid-row: 1 / span 2; width: 45px; height: 45px; margin: 0; }
  .feature-icon svg { width: 23px; }
  .feature-card h3 { margin: 2px 0 2px; font-size: 16px; }
  .feature-card p { font-size: 12px; line-height: 1.45; }

  .section-bottom { padding-inline: 0; }
  .bottom-grid { width: 100%; gap: 0; }
  .audience-card { display: none; }
  .cta-card { min-height: 235px; padding: 26px 20px; grid-template-columns: 1.05fr .95fr; border-radius: 0; }
  .cta-copy h2 { margin-bottom: 16px; font-size: 24px; }
  .cta-copy ul { display: none; }
  .cta-copy .btn { position: absolute; left: 0; bottom: -96px; width: calc(200% - 10px); min-height: 44px; }
  .cube-scene { min-height: 155px; }
  .platform-one { width: 130px; height: 70px; right: 5px; bottom: 15px; }
  .platform-two { width: 80px; height: 46px; right: -12px; bottom: 58px; }
  .cube-big { right: 18px; top: 2px; transform: scale(.75); }
  .cube-small { right: 80px; bottom: 22px; transform: scale(.52); }

  .site-footer { display: none; }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .mobile-menu-panel { right: -2px; }
  h1 { font-size: 41px; }
  .hero-text { font-size: 15px; }
  .cta-card { grid-template-columns: 1.2fr .8fr; }
  .cta-copy h2 { font-size: 22px; }
}

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


/* Full-width landing layout and shared theme controls */
.container{
  width:100%;
  max-width:none;
  margin-inline:0;
  padding-inline:clamp(20px,3.2vw,72px);
}
.header-inner{
  grid-template-columns:auto 1fr;
  gap:clamp(20px,3vw,52px);
}
.header-actions{
  justify-self:end;
  align-items:center;
  flex-wrap:nowrap;
}
.brand-mark{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 auto;
}
.theme-toggle{
  width:70px;
  height:42px;
  padding:0;
  border:1px solid rgba(119,153,207,.38);
  border-radius:10px;
  background:rgba(11,34,66,.72);
  color:#eaf1ff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  cursor:pointer;
  box-shadow:0 1px 3px rgba(0,0,0,.12);
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.theme-toggle:hover{background:rgba(21,55,101,.88);border-color:rgba(126,165,228,.62)}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{color:#ffb31a}
.theme-toggle .theme-moon{color:#fff}
.hero-grid{
  grid-template-columns:minmax(420px,42fr) minmax(620px,58fr);
  gap:clamp(34px,4vw,86px);
}
.hero-copy{max-width:760px}
.hero-text{max-width:760px}
.dashboard-shell{width:100%;max-width:none}
.section-card,.bottom-grid{width:100%}
.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.5vw,26px)}
.bottom-grid{grid-template-columns:minmax(340px,34fr) minmax(620px,66fr)}
.footer-inner{width:100%;padding-block:18px;min-height:92px}
.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2.5vw,38px);min-width:0}
.footer-inner nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 24px}
.dash-logo img{width:30px;height:30px;object-fit:contain;flex:0 0 auto}

/* Light theme */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f7fc;
  --bg-deep:#eaf0f8;
  --panel:#ffffff;
  --panel-2:#f7f9fd;
  --line:rgba(40,72,119,.14);
  --line-strong:rgba(40,92,173,.25);
  --text:#0d2344;
  --muted:#536884;
  --shadow:0 18px 50px rgba(35,61,103,.12);
}
html[data-theme="light"] body{
  background:
    radial-gradient(circle at 18% 17%,rgba(65,122,225,.11),transparent 28%),
    radial-gradient(circle at 78% 22%,rgba(81,139,236,.08),transparent 26%),
    linear-gradient(180deg,#f8faff 0%,#f3f7fc 50%,#eef3fa 100%);
}
html[data-theme="light"] .site-header{background:rgba(255,255,255,.9);border-bottom-color:rgba(42,76,126,.12)}
html[data-theme="light"] .theme-toggle{background:#fff;border-color:#d7e0ee;color:#253c6e;box-shadow:0 1px 3px rgba(20,36,75,.06)}
html[data-theme="light"] .theme-toggle:hover{background:#f6f9ff;border-color:#b9cae1}
html[data-theme="light"] .theme-toggle .theme-sun{color:#0758ff}
html[data-theme="light"] .theme-toggle .theme-moon{color:#0e1644}
html[data-theme="light"] .btn-ghost{color:#16335d;border-color:#9db2d2;background:rgba(255,255,255,.72)}
html[data-theme="light"] .btn-ghost:hover{background:#fff;border-color:#6f91c4}
html[data-theme="light"] .hero{border-bottom-color:rgba(58,91,140,.1)}
html[data-theme="light"] .hero::before{opacity:.35;background-image:linear-gradient(rgba(62,108,177,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(62,108,177,.07) 1px,transparent 1px)}
html[data-theme="light"] .eyebrow{background:#e7f0ff;color:#1452bb;box-shadow:inset 0 0 0 1px rgba(67,121,217,.22)}
html[data-theme="light"] .mini-icon{background:#e8f0ff;color:#2566d8;border-color:rgba(69,117,198,.18)}
html[data-theme="light"] .section-card,
html[data-theme="light"] .audience-card{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,249,253,.94));box-shadow:0 16px 42px rgba(42,68,107,.08)}
html[data-theme="light"] .feature-card{background:#fff;box-shadow:0 8px 24px rgba(38,67,111,.06)}
html[data-theme="light"] .list-icon{background:#edf4ff;border-color:rgba(77,119,184,.16);color:#2866cc}
html[data-theme="light"] .site-footer{background:rgba(255,255,255,.72);border-top-color:rgba(53,85,133,.13)}
html[data-theme="light"] .footer-inner{color:#5a6d87}

@media (min-width:1600px){
  .hero-grid{grid-template-columns:minmax(520px,40fr) minmax(820px,60fr)}
  .dashboard-shell{height:510px}
  .feature-card{min-height:220px}
}
@media (max-width:1220px){
  .container{width:100%;padding-inline:clamp(20px,3vw,44px)}
  .header-inner{grid-template-columns:auto 1fr}
  .hero-grid{grid-template-columns:minmax(360px,40fr) minmax(540px,60fr);gap:32px}
}
@media (max-width:980px){
  .header-actions{display:flex;gap:10px}
  .header-inner{grid-template-columns:auto 1fr;min-height:74px}
  .hero-grid{grid-template-columns:1fr}
  .bottom-grid{grid-template-columns:1fr;gap:20px}
  .footer-inner{flex-direction:column;align-items:flex-start}
  .footer-links{width:100%;justify-content:space-between}
}
@media (max-width:680px){
  .container{width:100%;padding-inline:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  .header-inner{min-height:68px;gap:12px}
  .brand{font-size:23px;gap:9px}
  .brand-mark{width:34px;height:34px}
  .header-actions{gap:7px}
  .theme-toggle{width:56px;height:40px;gap:7px}
  .theme-toggle svg{width:18px;height:18px}
  .header-actions .btn{min-width:0;min-height:40px;padding-inline:13px}
  .header-actions .btn-primary{display:none}
  .feature-grid{grid-template-columns:1fr}
  .footer-links{flex-direction:column;align-items:stretch;gap:14px}
  .footer-inner nav{justify-content:flex-start}
}
@media (max-width:390px){
  .brand span{display:none}
  .header-actions{justify-self:end}
  .header-actions .btn-ghost{padding-inline:12px}
  .footer-inner,.footer-links,.footer-inner nav{text-align:center;align-items:center;justify-content:center}
}


/* Connected landing actions and modal windows */
.btn, .footer-legal-link{cursor:pointer}
button.btn{font-family:inherit}
.footer-legal-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;transition:color .2s ease}
.footer-legal-link:hover{color:#78a2ff}
.footer-contact-link{white-space:nowrap}
.site-footer{display:block!important}

.landing-modal[hidden]{display:none!important}
.landing-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}
.landing-modal__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(1,10,25,.72);backdrop-filter:blur(7px);cursor:pointer}
.landing-modal__dialog{position:relative;z-index:1;width:min(520px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:auto;padding:30px;border:1px solid rgba(130,169,229,.28);border-radius:18px;background:linear-gradient(180deg,#0f294c,#0a203b);box-shadow:0 28px 90px rgba(0,0,0,.5);color:#f6f9ff}
.landing-modal__close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:#afbdd2;font-size:29px;line-height:1;cursor:pointer}
.landing-modal__close:hover{background:rgba(88,126,187,.18);color:#fff}
.landing-modal__icon{width:52px;height:52px;margin:0 auto 15px;display:grid;place-items:center;border-radius:15px;background:#173f84;color:#83adff}
.landing-modal__icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.landing-modal__dialog h2{margin:0 42px 10px;text-align:center;font-size:27px}
.landing-modal__dialog>p{margin:0 auto 22px;max-width:430px;text-align:center;color:#bdcaDD;line-height:1.55}
.landing-contact-options{display:grid;gap:12px}
.landing-contact-option{display:grid;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:13px;padding:14px;border:1px solid rgba(130,169,229,.2);border-radius:13px;background:rgba(10,31,58,.72);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.landing-contact-option:hover{transform:translateY(-1px);border-color:rgba(91,142,232,.65);background:rgba(19,48,88,.92)}
.landing-contact-option__icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#173e83;color:#8bb3ff}
.landing-contact-option__icon--telegram{background:#14679c;color:#fff}
.landing-contact-option__icon svg,.landing-contact-option__arrow{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.landing-contact-option>span:nth-child(2){display:grid;gap:4px;min-width:0}
.landing-contact-option b{font-size:15px}
.landing-contact-option small{color:#9caec6;overflow-wrap:anywhere}
.landing-contact-option__arrow{width:19px;color:#7395c8}
.landing-modal__dialog--legal{width:min(760px,calc(100vw - 40px))}
.landing-modal__dialog--legal h2{text-align:left;margin:0 42px 18px 0}
.landing-legal-content{color:#c2cee0;line-height:1.6;font-size:14px}
.landing-legal-content h3{margin:21px 0 8px;color:#fff;font-size:17px}
.landing-legal-content p{margin:0 0 12px}
.landing-legal-content ul{margin:0 0 14px;padding-left:20px}
.landing-modal__ok{width:100%;margin-top:18px}
body.landing-modal-open{overflow:hidden}

html[data-theme="light"] .landing-modal__backdrop{background:rgba(20,36,64,.5)}
html[data-theme="light"] .landing-modal__dialog{background:#fff;border-color:#d3deed;color:#10294d;box-shadow:0 28px 80px rgba(33,57,96,.26)}
html[data-theme="light"] .landing-modal__close{color:#60728d}
html[data-theme="light"] .landing-modal__close:hover{background:#eef3fa;color:#16345d}
html[data-theme="light"] .landing-modal__icon{background:#e7f0ff;color:#2567d9}
html[data-theme="light"] .landing-modal__dialog>p,html[data-theme="light"] .landing-legal-content{color:#536983}
html[data-theme="light"] .landing-contact-option{background:#f8faff;border-color:#d9e3ef}
html[data-theme="light"] .landing-contact-option:hover{background:#fff;border-color:#8eb0e4}
html[data-theme="light"] .landing-contact-option__icon{background:#e6efff;color:#2466d6}
html[data-theme="light"] .landing-contact-option__icon--telegram{background:#229ed9;color:#fff}
html[data-theme="light"] .landing-contact-option small{color:#687b94}
html[data-theme="light"] .landing-legal-content h3{color:#16345d}

@media (max-width:680px){
  .site-footer{display:block!important}
  .footer-inner{padding-block:22px}
  .landing-modal{padding:10px}
  .landing-modal__dialog,.landing-modal__dialog--legal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:24px 16px 18px;border-radius:15px}
  .landing-modal__dialog h2{font-size:23px}
  .landing-contact-option{grid-template-columns:44px minmax(0,1fr) 18px;padding:12px 10px}
  .landing-contact-option__icon{width:44px;height:44px}
}

/* Rendering optimization for off-screen landing sections. */
@supports (content-visibility:auto){
  .section,.site-footer{content-visibility:auto;contain-intrinsic-size:1px 720px}
  .site-footer{contain-intrinsic-size:1px 120px}
}
