:root {
  color-scheme: light;
  --ink: #222636;
  --ink-soft: #5c6477;
  --surface: #f5f7fb;
  --surface-raised: #ffffff;
  --line: #dfe4ed;
  --brand: #359bf8;
  --brand-deep: #267fda;
  --accent: #40b5bd;
  --night: #202433;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(37, 51, 81, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(53, 155, 248, 0.12), transparent 27rem),
    radial-gradient(circle at 5% 28%, rgba(64, 181, 189, 0.09), transparent 24rem),
    var(--surface);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--night);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.hero,
.value-strip,
.products,
.closing,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand { display: inline-flex; align-items: center; }
.brand img { width: 176px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 650; font-size: 0.92rem; }
.site-nav a:hover { color: var(--ink); }

.site-nav .nav-action {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  min-height: 680px;
  padding: 76px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 25px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

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

.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, .product-card a:focus-visible {
  outline: 3px solid rgba(53, 155, 248, 0.4);
  outline-offset: 4px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 16px 34px rgba(53, 155, 248, 0.24);
}

.button-secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.8); }

.hero-notes {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--ink-soft);
  list-style: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.hero-notes li::before { content: "✓"; margin-right: 7px; color: var(--accent); }

.platform-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 40px;
  background:
    linear-gradient(rgba(53, 155, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 155, 248, 0.055) 1px, transparent 1px),
    rgba(255, 255, 255, 0.67);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.platform-visual::before {
  content: "";
  position: absolute;
  inset: 14% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 155, 248, 0.16), rgba(64, 181, 189, 0.04) 53%, transparent 70%);
}

.visual-orbit { position: absolute; inset: 50%; border: 1px dashed rgba(53, 155, 248, 0.27); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 290px; height: 290px; }
.orbit-two { width: 420px; height: 420px; opacity: 0.58; }

.visual-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 184px;
  height: 184px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(53, 155, 248, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 55px rgba(42, 70, 115, 0.18);
  transform: translate(-50%, -50%);
}

.visual-center img { width: 76px; height: 76px; }
.visual-center strong { margin-top: 5px; font-size: 1.12rem; }
.visual-center span { color: var(--ink-soft); font-size: 0.78rem; }

.visual-node {
  position: absolute;
  min-width: 158px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 12px 30px rgba(42, 57, 87, 0.11);
}

.node-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  font-weight: 850;
}

.visual-node > span:last-child { display: flex; flex-direction: column; }
.visual-node strong { line-height: 1.25; font-size: 0.92rem; }
.visual-node small { color: var(--ink-soft); font-size: 0.73rem; }
.node-erp { top: 14%; left: 7%; }
.node-loyalty { top: 22%; right: 5%; }
.node-next { right: 13%; bottom: 10%; }

.value-strip {
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
}

.value-strip article { padding: 26px; display: flex; gap: 17px; background: var(--surface-raised); }
.value-strip article > span { color: var(--brand); font-size: 0.72rem; font-weight: 850; }
.value-strip h2 { margin: 0 0 7px; font-size: 1.03rem; }
.value-strip p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

.products { padding: 130px 0 120px; }
.section-heading { max-width: 720px; }
.section-heading h2, .closing h2 { margin: 0; font-size: clamp(2.3rem, 4.7vw, 4.3rem); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.section-heading > p:last-child { margin: 22px 0 0; color: var(--ink-soft); font-size: 1.08rem; }

.product-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: 0 14px 40px rgba(42, 57, 87, 0.06);
}

.product-card-featured { border-color: rgba(53, 155, 248, 0.3); background: linear-gradient(160deg, #fff 35%, rgba(53, 155, 248, 0.11)); }
.product-card-next { background: linear-gradient(155deg, #f1f4f8, #e9eef5); }
.product-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product-topline > span { font-weight: 850; }
.product-topline small { padding: 5px 9px; border-radius: 999px; color: var(--brand-deep); background: rgba(53, 155, 248, 0.1); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.product-card h3 { margin: auto 0 13px; max-width: 270px; font-size: 1.75rem; line-height: 1.12; letter-spacing: -0.03em; }
.product-card p { margin: 0 0 24px; color: var(--ink-soft); }
.product-card a { display: flex; justify-content: space-between; text-decoration: none; font-weight: 800; }
.product-card a:hover { color: var(--brand-deep); }
.coming-soon { font-weight: 750; color: var(--ink-soft); }

.closing {
  margin-bottom: 40px;
  padding: clamp(42px, 7vw, 82px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(64, 181, 189, 0.38), transparent 19rem),
    radial-gradient(circle at 10% 100%, rgba(53, 155, 248, 0.25), transparent 24rem),
    var(--night);
  overflow: hidden;
}

.closing .eyebrow { color: #8ad7dd; }
.button-light { flex: 0 0 auto; color: var(--night); background: #fff; }

.site-footer { min-height: 126px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: var(--ink-soft); font-size: 0.84rem; }
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }
.footer-brand img { width: 128px; height: auto; opacity: 0.78; }

.legal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 5%, rgba(53, 155, 248, 0.13), transparent 28rem),
    var(--surface);
}

.legal-header,
.legal-main,
.legal-footer {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

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

.legal-header > span {
  color: var(--ink-soft);
  font-weight: 750;
}

.legal-main { padding: 46px 0 80px; }

.legal-card {
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-card h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-card p,
.legal-card li { color: var(--ink-soft); }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--brand-deep); font-weight: 700; }
.legal-card a.button-primary { color: #fff; }
.legal-card code { color: var(--ink); font-size: 0.9em; }
.legal-card ul { padding-left: 1.4rem; }
.legal-card li + li { margin-top: 7px; }

.legal-lead {
  margin: 24px 0;
  font-size: 1.08rem;
}

.legal-action-panel {
  margin: 34px 0 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(53, 155, 248, 0.24);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(53, 155, 248, 0.1), rgba(64, 181, 189, 0.08));
}

.legal-action-panel p { margin: 7px 0 0; }
.legal-action-panel .button { flex: 0 0 auto; }

.legal-steps {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.legal-steps li {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.legal-steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  font-weight: 850;
}

.legal-steps p { margin: 5px 0 0; }

.legal-footer {
  min-height: 110px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.legal-footer a { font-weight: 700; text-decoration: none; }
.legal-footer span { margin-left: auto; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { max-width: 780px; }
  .platform-visual { min-height: 460px; }
  .value-strip, .product-grid { grid-template-columns: 1fr; }
  .value-strip article { min-height: 140px; }
  .product-card { min-height: 300px; }
  .closing { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .site-header, .hero, .value-strip, .products, .closing, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 78px; }
  .brand img { width: 145px; }
  .site-nav > a:not(.nav-action) { display: none; }
  .hero { min-height: auto; padding: 54px 0 68px; gap: 48px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .platform-visual { min-height: 410px; border-radius: 28px; }
  .orbit-one { width: 230px; height: 230px; }
  .orbit-two { width: 340px; height: 340px; }
  .visual-center { width: 150px; height: 150px; }
  .visual-center img { width: 58px; height: 58px; }
  .visual-node { min-width: 134px; padding: 10px; }
  .node-erp { top: 8%; left: 4%; }
  .node-loyalty { top: 21%; right: 3%; }
  .node-next { right: 7%; bottom: 8%; }
  .value-strip { padding: 1px; }
  .products { padding: 92px 0 82px; }
  .product-grid { margin-top: 36px; }
  .closing { margin-bottom: 24px; padding: 42px 28px; }
  .site-footer { padding: 32px 0; grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer p:last-child { text-align: center; }
  .legal-header, .legal-main, .legal-footer { width: min(100% - 28px, 900px); }
  .legal-header { min-height: 78px; }
  .legal-header > span { font-size: 0.84rem; }
  .legal-main { padding: 28px 0 54px; }
  .legal-card { padding: 28px 22px; border-radius: 22px; }
  .legal-action-panel { align-items: stretch; flex-direction: column; }
  .legal-footer { justify-content: center; text-align: center; }
  .legal-footer span { width: 100%; margin-left: 0; }
}

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