:root {
  --bg: #ffffff;
  --bg-muted: #f7f9fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #627083;
  --line: #e3eaf0;
  --primary: #0f2847;
  --primary-soft: #e8f5f7;
  --accent: #0f8a9d;
  --accent-2: #2f6fbd;
  --shadow: 0 20px 50px rgba(15, 40, 71, 0.1);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 8px rgba(15, 40, 71, 0.1));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 68%),
    #ffffff;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 24%, rgba(31, 111, 214, 0.16), transparent 28%),
    radial-gradient(circle at 90% 66%, rgba(15, 138, 157, 0.12), transparent 24%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 76%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: #17395f;
  color: #ffffff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--primary);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual::before {
  position: absolute;
  content: "";
  width: 340px;
  height: 340px;
  top: 40px;
  right: 18px;
  border-radius: 44px;
  background: linear-gradient(145deg, rgba(232, 244, 255, 0.85), rgba(255, 255, 255, 0.35));
  transform: rotate(8deg);
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(218, 226, 234, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 70px rgba(15, 40, 71, 0.12);
  backdrop-filter: blur(12px);
}

.visual-card-main {
  inset: 18px 28px 18px 22px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.device-frame {
  width: 178px;
  height: 330px;
  margin: 0 auto;
  border: 1px solid #d3dde7;
  border-radius: 34px;
  background: #f8fbff;
  padding: 10px;
  box-shadow:
    inset 0 0 0 4px #ffffff,
    0 22px 48px rgba(15, 40, 71, 0.16);
}

.device-screen {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
  border-radius: 26px;
  padding: 24px 14px 16px;
  color: var(--primary);
  background:
    linear-gradient(180deg, #ffffff, #edf6fb);
}

.device-screen span {
  width: auto;
  height: 58px;
  margin: 0;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #1f6fd6, #0f8a9d);
  box-shadow: 0 10px 24px rgba(31, 111, 214, 0.22);
}

.device-screen span:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
    #ffffff;
  border: 1px solid #dbe6ef;
}

.device-screen span:nth-child(3) {
  background:
    linear-gradient(90deg, #dbe7f3 0 28%, transparent 28% 38%, #dbe7f3 38% 66%, transparent 66%),
    #ffffff;
  border: 1px solid #dbe6ef;
}

.device-screen span:nth-child(4) {
  background:
    radial-gradient(circle at 32% 32%, #ffffff 0 12%, transparent 13%),
    linear-gradient(145deg, #0f8a9d, #78c9d6);
}

.device-screen strong,
.device-screen small {
  grid-column: 1 / -1;
}

.device-screen strong {
  margin-top: auto;
}

.device-screen strong,
.visual-card-small strong {
  display: block;
  line-height: 1.2;
}

.device-screen small,
.visual-card-small small,
.status-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-panel {
  margin-top: 0;
  border-radius: 22px;
  background: rgba(247, 249, 252, 0.92);
  padding: 20px;
}

.status-panel span {
  color: var(--muted);
  font-weight: 700;
}

.status-panel::before {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #1f6fd6, #0f8a9d);
  content: "";
  box-shadow: 0 14px 30px rgba(31, 111, 214, 0.22);
}

.progress-line {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7ee;
}

.progress-line i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.visual-card-small {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 258px;
  padding: 16px;
  border-radius: 22px;
}

.visual-card-small small {
  color: var(--muted);
}

.visual-card-top {
  top: -4px;
  right: -2px;
}

.visual-card-bottom {
  left: -8px;
  bottom: -2px;
}

.mini-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #1f6fd6, #0f8a9d);
  border: 0;
  box-shadow: 0 12px 24px rgba(31, 111, 214, 0.2);
}

.mini-icon-alt {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 18%, transparent 19%),
    linear-gradient(145deg, #89d2de, #0f8a9d);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
}

.content p,
.section-heading p,
.legal p {
  color: var(--muted);
}

.content p:first-child,
.section-heading p:first-of-type,
.legal > p:first-of-type {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 18px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.feature {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(15, 40, 71, 0.04);
}

.feature-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: -4px 0 18px -4px;
  filter: drop-shadow(0 12px 18px rgba(15, 40, 71, 0.12));
}

.feature p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.contact-card div:last-child {
  border-bottom: 0;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-card a {
  color: var(--primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.legal-main {
  padding: 76px 0 88px;
  background: linear-gradient(180deg, var(--bg-muted), #ffffff 260px);
}

.legal {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

.legal h2 {
  margin-top: 42px;
  font-size: 1.35rem;
}

.legal a {
  color: var(--accent);
  font-weight: 700;
}

.updated {
  margin: 14px 0 36px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    padding: 10px 20px 18px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .section,
  .hero {
    padding: 64px 0;
  }

  .hero-grid,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split {
    gap: 34px;
  }

  .hero-visual {
    min-height: 390px;
    max-width: 520px;
  }
}

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

  .brand {
    font-size: 15px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual::before,
  .visual-card-small {
    display: none;
  }

  .visual-card,
  .visual-card-main {
    position: relative;
    inset: auto;
  }

  .visual-card-main {
    display: block;
    padding: 22px;
  }

  .status-panel {
    margin-top: 18px;
  }

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

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}
