:root {
  color-scheme: light;
  --ink: #0b1220;
  --muted: #617083;
  --line: #d9e5ee;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --primary: #1769e0;
  --primary-dark: #124fa8;
  --teal: #12a98f;
  --mint: #e9fbf5;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(11, 18, 32, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  margin: 0 auto;
  width: min(1180px, calc(100% - 32px));
}

.site-header {
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(217, 229, 238, .78);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  min-width: 0;
}

.brand img {
  display: block;
  height: auto;
  max-width: min(11.25rem, 48vw);
}

.nav-links {
  color: #526176;
  display: flex;
  flex-wrap: wrap;
  font-size: .94rem;
  gap: 1.15rem;
  justify-content: center;
}

.nav-links a {
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta,
.button,
.plan-card a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  font-size: .92rem;
  padding: 0 1rem;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.hero {
  background:
    linear-gradient(120deg, rgba(18, 169, 143, .16), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.25rem, 5vw, 4.5rem);
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--amber));
  content: "";
  height: 3px;
  inset: auto 0 0;
  opacity: .72;
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
}

.hero-logo {
  display: block;
  height: auto;
  margin: 0 0 1.1rem;
  max-width: min(16rem, 72vw);
}

.eyebrow {
  color: var(--primary);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .96;
  margin-bottom: 1.15rem;
  max-width: 12ch;
}

.lead {
  color: #46566b;
  font-size: clamp(1.03rem, 1.45vw, 1.24rem);
  margin-bottom: 0;
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.button {
  border: 1px solid var(--primary);
  padding: 0 1.15rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button.primary {
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(23, 105, 224, .24);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: #fff;
  color: var(--primary-dark);
}

.button.secondary:hover {
  background: #ecf4ff;
}

.hero-stats {
  border-top: 1px solid var(--line);
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  padding-top: 1.2rem;
}

.hero-stats div {
  min-width: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.hero-stats span {
  color: var(--muted);
  font-size: .88rem;
}

.product-visual {
  margin-bottom: 0;
  position: relative;
}

.product-visual::before {
  background: linear-gradient(135deg, rgba(23, 105, 224, .2), rgba(18, 169, 143, .18));
  border-radius: 8px;
  content: "";
  inset: 8% -4% -5% 7%;
  position: absolute;
  transform: rotate(-2deg);
}

.product-visual img {
  border: 1px solid rgba(217, 229, 238, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  position: relative;
  width: 100%;
}

.visual-card {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(217, 229, 238, .95);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(11, 18, 32, .14);
  display: flex;
  gap: .65rem;
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(18px);
}

.visual-card strong,
.visual-card span {
  display: block;
}

.visual-card strong {
  font-size: .92rem;
}

.visual-card span {
  color: var(--muted);
  font-size: .78rem;
}

.visual-card-top {
  right: 1rem;
  top: 1rem;
  padding: .7rem .85rem;
}

.visual-card-bottom {
  bottom: 1rem;
  left: 1rem;
  padding: .75rem .9rem;
}

.status-dot {
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(18, 169, 143, .14);
  height: .62rem;
  width: .62rem;
}

.device-section,
.plans-section,
.sections,
.key-section {
  padding: clamp(3rem, 6vw, 5.25rem) 0;
}

.device-section {
  background: #fff;
}

.device-grid {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.device-grid h2,
.section-heading h2,
.key-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: .75rem;
}

.device-grid p,
.section-heading p,
.card p,
.plan-card p,
.key-panel p,
.contact p {
  color: var(--muted);
  margin-bottom: 0;
}

.workflow-list {
  display: grid;
  gap: .85rem;
}

.workflow-list div,
.plan-card,
.card,
.key-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(11, 18, 32, .07);
}

.workflow-list div {
  display: grid;
  gap: .25rem;
  grid-template-columns: 3rem 1fr;
  padding: 1rem;
}

.workflow-list span {
  color: var(--teal);
  font-weight: 950;
  grid-row: span 2;
}

.workflow-list strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.plans-section {
  background:
    linear-gradient(180deg, #f5f8fb, #ffffff);
}

.section-heading {
  margin-bottom: 1.5rem;
  max-width: 46rem;
}

.split-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  max-width: none;
}

.split-heading > p {
  max-width: 28rem;
}

.plan-grid,
.section-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 24rem;
  padding: 1.25rem;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.plan-card:hover,
.card:hover {
  box-shadow: 0 24px 62px rgba(11, 18, 32, .11);
  transform: translateY(-2px);
}

.plan-card.featured {
  border-color: rgba(23, 105, 224, .55);
  box-shadow: 0 28px 74px rgba(23, 105, 224, .18);
  transform: translateY(-.45rem);
}

.plan-card.featured:hover {
  transform: translateY(-.6rem);
}

.plan-name {
  color: var(--muted);
  display: block;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-card strong {
  color: var(--ink);
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 950;
  line-height: 1.06;
  margin: .7rem 0 .65rem;
}

.plan-card ul {
  display: grid;
  gap: .64rem;
  list-style: none;
  margin: 1.1rem 0 1.25rem;
  padding: 0;
}

.plan-card li {
  color: #334155;
  font-size: .96rem;
  padding-left: 1.65rem;
  position: relative;
}

.plan-card li::before {
  background: var(--teal);
  content: "";
  height: 1rem;
  left: 0;
  mask: url("/assets/img/icons/circle-check.svg") no-repeat center / contain;
  -webkit-mask: url("/assets/img/icons/circle-check.svg") no-repeat center / contain;
  position: absolute;
  top: .22rem;
  width: 1rem;
}

.plan-card a {
  background: #f1f6ff;
  color: var(--primary-dark);
  margin-top: auto;
}

.plan-card.featured a {
  background: var(--primary);
  color: #fff;
}

.plan-badge {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  padding: .25rem .6rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  text-transform: uppercase;
}

.sections {
  background:
    linear-gradient(180deg, #ffffff, #f7fafc);
}

.card {
  min-height: 15rem;
  padding: 1.35rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 1rem 0 .45rem;
}

.key-section {
  background: #f7fafc;
}

.key-panel {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, .98), rgba(18, 79, 168, .92)),
    linear-gradient(90deg, var(--primary), var(--teal));
  color: #fff;
  display: flex;
  gap: 1rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.key-panel .eyebrow,
.key-panel p {
  color: #dbeafe;
}

.contact-band {
  background: #07111f;
  color: #fff;
  padding: 1.65rem 0;
}

.contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.contact strong {
  display: block;
  font-size: 1.02rem;
}

.contact a {
  color: #8be7d4;
  font-weight: 900;
}

.icon {
  align-items: center;
  background: var(--mint);
  border-radius: 8px;
  color: var(--teal);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.65rem;
  justify-content: center;
  width: 2.65rem;
}

.icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 1.35rem;
  mask: var(--icon) no-repeat center / contain;
  -webkit-mask: var(--icon) no-repeat center / contain;
  width: 1.35rem;
}

.icon-dashboard { --icon: url("/assets/img/icons/dashboard.svg"); }
.icon-tablet { --icon: url("/assets/img/icons/tablet.svg"); }
.icon-coin { --icon: url("/assets/img/icons/coin.svg"); }
.icon-settings { --icon: url("/assets/img/icons/settings.svg"); }
.icon-check { --icon: url("/assets/img/icons/circle-check.svg"); }

@media (max-width: 920px) {
  .hero-grid,
  .device-grid,
  .plan-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-card.featured,
  .plan-card.featured:hover {
    transform: none;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 560px) {
  .actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .visual-card {
    position: static;
    margin-top: .75rem;
  }

  .product-visual::before {
    display: none;
  }

  .workflow-list div {
    grid-template-columns: 1fr;
  }
}
