*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #132238;
  --ink-soft: #34455c;
  --muted: #68788c;
  --blue: #246fc3;
  --blue-dark: #185ca8;
  --blue-soft: #eaf4ff;
  --green: #16976b;
  --surface: #ffffff;
  --canvas: #f6f8fb;
  --line: #dde5ee;
  --navy: #0c1728;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(21, 42, 70, .12);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); line-height: 1.55; }
img { max-width: 100%; }
a { color: inherit; }
svg { display: block; }

:focus-visible {
  outline: 3px solid rgba(36, 111, 195, .55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 9px 13px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s ease;
}

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(221, 229, 238, .9);
  backdrop-filter: blur(15px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 820;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark { width: 30px; height: 30px; color: var(--blue); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 680; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }

.site-nav .nav-cta {
  padding: 9px 15px;
  border-radius: 9px;
  color: #fff;
  background: var(--blue);
}

.site-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  padding: 74px 0 88px;
}

.eyebrow,
.kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 99px; background: var(--green); box-shadow: 0 0 0 5px rgba(22, 151, 107, .11); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { max-width: 600px; margin-bottom: 22px; font-size: clamp(48px, 5.6vw, 76px); line-height: .98; font-weight: 840; }
.hero-lead { max-width: 590px; margin-bottom: 30px; color: var(--ink-soft); font-size: 18px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.button:hover { transform: translateY(-1px); }
.button svg, .download-icon svg { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(36, 111, 195, .24); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover { border-color: #aabfd6; }
.button-light { color: var(--blue-dark); background: #fff; box-shadow: 0 12px 28px rgba(4, 16, 34, .18); }
.button-light:hover { background: #f3f8ff; }
.button-full { width: 100%; }

.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-notes span { display: inline-flex; align-items: center; gap: 5px; }
.hero-notes svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual {
  position: relative;
  overflow: visible;
  border-radius: 28px 28px 28px 90px;
  background: #dbe7f4;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -26px 44px 30px -28px;
  border-radius: 32px 32px 32px 100px;
  background: #e5f1fb;
}

.hero-visual img { width: 100%; min-height: 470px; display: block; object-fit: cover; object-position: 64% center; border-radius: inherit; }

.connection-card {
  position: absolute;
  left: -30px;
  bottom: 30px;
  min-width: 250px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(10, 27, 48, .2);
  backdrop-filter: blur(12px);
}

.status-dot { width: 11px; height: 11px; border-radius: 99px; background: #20b67a; box-shadow: 0 0 0 5px rgba(32, 182, 122, .12); }
.connection-card strong, .connection-card small { display: block; }
.connection-card strong { color: var(--ink); font-size: 13px; }
.connection-card small { color: var(--muted); font-size: 12px; }
.connection-card > svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: 94px 0; }
.section-white { background: var(--surface); }
.section-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 690px; margin-bottom: 40px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading .kicker { display: block; margin-bottom: 10px; }
h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 49px); line-height: 1.08; font-weight: 820; }
.section-heading > p { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 0; padding: 0; list-style: none; }
.step-card { position: relative; padding: 8px 6px 0; text-align: center; }
.step-card:not(:last-child)::after { content: ""; position: absolute; top: 43px; left: calc(50% + 52px); width: calc(100% - 62px); height: 1px; background: linear-gradient(90deg, var(--line), #bcd2e8); }
.step-number { position: absolute; z-index: 2; top: -4px; right: calc(50% - 48px); width: 23px; height: 23px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 99px; color: #fff; background: var(--blue); font-size: 11px; font-weight: 850; }
.step-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 22px; color: var(--blue); background: var(--blue-soft); }
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin-bottom: 8px; font-size: 20px; }
.step-card p { max-width: 290px; margin: 0 auto; color: var(--muted); font-size: 14px; }

.product-showcase {
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fb 0%, #edf4fb 100%);
}

.product-showcase .section-heading { margin-bottom: 42px; }
.product-screenshot { margin: 0; }

.product-screenshot-frame {
  position: relative;
  padding: 10px;
  border: 1px solid #cbd9e8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 75px rgba(19, 41, 70, .17);
}

.product-screenshot-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% -9% -14%;
  border-radius: 50%;
  background: rgba(36, 111, 195, .12);
  filter: blur(60px);
}

.product-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
}

.product-screenshot figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.feature-card:hover { transform: translateY(-2px); border-color: #c2d3e5; box-shadow: 0 16px 34px rgba(20, 42, 70, .07); }
.feature-wide { grid-column: span 2; min-height: 230px; padding: 30px; background: linear-gradient(135deg, #fff, #f4f8fd); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 12px; }
.feature-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon.blue { color: #2067b6; background: #e8f2ff; }
.feature-icon.green, .download-icon.green { color: #087d56; background: #e6f7f0; }
.feature-icon.violet { color: #7657bd; background: #f0ecfb; }
.feature-icon.amber { color: #a46c0a; background: #fff4da; }
.feature-icon.cyan { color: #087d92; background: #e3f6f8; }
.feature-icon.rose { color: #af5266; background: #faeaee; }
.feature-card h3 { margin-bottom: 8px; font-size: 19px; }
.feature-wide h3 { font-size: 23px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.feature-wide p { max-width: 430px; font-size: 15px; }

.details-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 28px 30px; border: 1px solid #cfe0f0; border-radius: var(--radius); background: #edf6ff; }
.details-callout .kicker { display: block; margin-bottom: 6px; }
.details-callout h3 { margin-bottom: 4px; font-size: 20px; }
.details-callout p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.text-link { flex: 0 0 auto; color: var(--blue-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

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

.price-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.price-card:hover { transform: translateY(-2px); border-color: #b8cde3; box-shadow: 0 18px 42px rgba(20, 42, 70, .09); }
.trial-card { background: linear-gradient(145deg, #f7fbff, #edf6ff); }
.featured-price { border: 2px solid var(--blue); box-shadow: 0 18px 42px rgba(36, 111, 195, .12); }
.price-card-heading { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card h3 { margin: 0; font-size: 22px; }
.price-card > p { min-height: 44px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.price-badge { padding: 4px 8px; border-radius: 99px; color: var(--blue-dark); background: var(--blue-soft); font-size: 10px; font-weight: 820; white-space: nowrap; }
.price { margin: 25px 0 6px; font-size: 42px; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.plan-list { display: grid; gap: 10px; margin: 20px 0 28px; padding: 0; color: var(--ink-soft); font-size: 13px; list-style: none; }
.plan-list li { position: relative; padding-left: 24px; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 850; }
.price-card .button { margin-top: auto; }
.pricing-note { max-width: 830px; margin: 22px auto 0; color: var(--muted); font-size: 12px; text-align: center; }

.section-dark { color: #fff; background: var(--navy); }
.download-heading .kicker { color: #7fc0ff; }
.download-heading p { color: #aebdce; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { min-height: 445px; display: flex; flex-direction: column; padding: 30px; border: 1px solid #29384e; border-radius: 18px; background: #132238; }
.featured-download { border-color: #2a75c5; background: linear-gradient(145deg, #123158, #185da7); }
.download-label { margin-bottom: 18px; color: #8fa1b7; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.featured-download .download-label { color: #b9dcff; }
.download-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.download-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; }
.download-icon.blue { color: #fff; background: rgba(255, 255, 255, .16); }
.download-icon svg { width: 23px; height: 23px; }
.download-title h3 { margin-bottom: 0; color: #fff; font-size: 23px; }
.download-title p { margin-bottom: 0; color: #91a2b7; font-size: 13px; }
.featured-download .download-title p { color: #bbd8f6; }
.download-copy { color: #c6d1df; font-size: 15px; }
.download-list { display: grid; gap: 8px; margin: 10px 0 28px; padding: 0; color: #aebdce; font-size: 13px; list-style: none; }
.download-list li::before { content: "✓"; margin-right: 9px; color: #50d39d; font-weight: 800; }
.download-card .button { margin-top: auto; }
.trial-note { max-width: 790px; margin: 24px auto 0; color: #8fa1b7; font-size: 13px; text-align: center; }
.trial-note a { color: #d9ebff; font-weight: 750; }

.site-footer { color: #8392a6; background: #07111f; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { width: min(1120px, calc(100% - 48px)); min-height: 108px; display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.footer-brand { color: #fff; font-size: 20px; }
.footer-brand .brand-mark { width: 25px; height: 25px; }
.footer-inner p { margin: 0 auto 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #aab7c8; font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 12px; white-space: nowrap; }

/* Technical details page */
.technical-hero { padding: 90px 0 70px; color: #fff; background: var(--navy); }
.technical-hero-inner { width: min(940px, calc(100% - 48px)); margin: 0 auto; }
.technical-hero .kicker { display: block; margin-bottom: 12px; color: #7fc0ff; }
.technical-hero h1 { max-width: 780px; margin-bottom: 18px; font-size: clamp(44px, 6vw, 68px); }
.technical-hero p { max-width: 720px; margin-bottom: 0; color: #b7c5d6; font-size: 18px; }
.technical-page { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 90px; }
.technical-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.technical-section:first-child { padding-top: 0; }
.technical-section:last-child { border-bottom: 0; }
.technical-section h2 { font-size: clamp(27px, 3vw, 36px); }
.technical-section > p { max-width: 760px; color: var(--muted); }
.technical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.technical-card { padding: 23px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.technical-card h3 { margin-bottom: 8px; font-size: 18px; }
.technical-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.technical-list { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.technical-list li { position: relative; padding-left: 27px; color: var(--ink-soft); }
.technical-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 850; }
.connection-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 28px; }
.flow-box { min-height: 112px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: center; }
.flow-box strong, .flow-box span { display: block; }
.flow-box span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.flow-arrow { color: var(--blue); font-size: 24px; }
.technical-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border-radius: 16px; color: #fff; background: var(--blue); }
.technical-cta h2 { margin-bottom: 5px; font-size: 28px; }
.technical-cta p { margin-bottom: 0; color: #d6eaff; }

@media (max-width: 940px) {
  .site-nav { gap: 16px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-visual img { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 1; }
  .price-card { padding: 23px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 12px 18px; }
  .brand { font-size: 22px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { width: min(100% - 36px, 1180px); min-height: 0; grid-template-columns: 1fr; gap: 42px; padding: 58px 0 70px; }
  h1 { font-size: clamp(45px, 13vw, 64px); }
  .hero-visual img { min-height: 390px; }
  .connection-card { left: 18px; bottom: 18px; }
  .section { padding: 68px 0; }
  .section-inner, .footer-inner, .technical-hero-inner, .technical-page { width: min(100% - 36px, 1120px); }
  .product-showcase .section-heading { margin-bottom: 30px; }
  .product-screenshot-frame { padding: 6px; border-radius: 14px; }
  .product-screenshot img { border-radius: 9px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .step-card:not(:last-child)::after { display: none; }
  .feature-grid, .pricing-grid, .download-grid, .technical-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .details-callout, .technical-cta { align-items: flex-start; flex-direction: column; }
  .download-card { min-height: 420px; }
  .footer-inner { min-height: 0; flex-direction: column; align-items: flex-start; padding: 32px 0; }
  .footer-inner p { margin: -14px 0 0; }
  .connection-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 470px) {
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; gap: 8px; }
  .hero-visual { border-radius: 20px 20px 20px 60px; }
  .hero-visual img { min-height: 315px; }
  .connection-card { right: 12px; left: 12px; min-width: 0; }
  .feature-card, .feature-wide, .download-card { padding: 22px; }
  .footer-links { gap: 12px 16px; }
}

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