:root {
  --ink: #081229;
  --muted: #5f6b81;
  --line: rgba(15, 23, 42, 0.10);
  --soft: #f6f8fc;
  --white: #ffffff;
  --blue: #1477ff;
  --purple: #8f35f2;
  --shadow: 0 26px 90px rgba(11, 26, 58, 0.16);
  --soft-shadow: 0 18px 60px rgba(11, 26, 58, 0.07);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 9%, rgba(143, 53, 242, 0.15), transparent 31rem),
    radial-gradient(circle at 16% 14%, rgba(20, 119, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 48%, #f8faff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 18, 41, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 18, 41, 0.020) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 58%);
}

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

img {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(30px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 235, 244, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 32px;
  font-weight: 650;
  color: #15203a;
}

nav a {
  opacity: 0.82;
}

nav a:hover {
  opacity: 1;
  color: var(--blue);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.header-cta,
.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 16px 32px rgba(20, 119, 255, 0.22);
}

.secondary-button {
  color: var(--blue);
  border: 1px solid rgba(20, 119, 255, 0.42);
  background: rgba(255, 255, 255, 0.72);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 10px;
  min-height: 610px;
  padding: 58px 0 24px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #276bff;
  background: rgba(39, 107, 255, 0.10);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 560px;
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
}

.lede {
  max-width: 520px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(230, 235, 244, 0.92);
  border-radius: 999px;
  color: #334158;
  background: rgba(255, 255, 255, 0.66);
  font-weight: 750;
  font-size: 14px;
}

/* HERO IMAGE */

.hero-art {
  position: relative;
  min-height: 540px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -8% -8% 3% -4%;
  z-index: -2;
  border-radius: 52px;
  background:
    radial-gradient(circle at 70% 18%, rgba(143, 53, 242, 0.18), transparent 35%),
    radial-gradient(circle at 34% 72%, rgba(20, 119, 255, 0.13), transparent 34%);
  filter: blur(2px);
}

.hero-art::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 4%;
  bottom: 26px;
  height: 92px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(11, 26, 58, 0.16), transparent 70%);
  filter: blur(18px);
  opacity: 0.76;
}

.hero-device-stage.single-device-image {
  position: relative;
  width: 126%;
  max-width: none;
  margin-left: -8%;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.combined-devices {
  display: block;
  width: 96%;
  max-width: none;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 52px rgba(15, 23, 42, 0.17));
}

/* FEATURE STRIP — reverted to the prior four separate cards */

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 18px 0 86px;
}

.feature-strip article,
.product-card,
.cta {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.feature-strip article {
  min-height: 225px;
  padding: 28px;
  border-radius: 24px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 16px 34px rgba(20, 119, 255, 0.20);
}

.feature-icon img {
  width: 30px;
  height: 30px;
  display: block;
  filter: brightness(0) invert(1);
}

.feature-symbol {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: #fff;
  color: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-symbol path {
  fill: none;
  stroke: #fff;
}

.feature-strip h2 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.feature-strip p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Optional bottom credibility banner */

.attorney-banner {
  display: grid;
  grid-template-columns: auto 1fr auto 1.1fr;
  align-items: center;
  gap: 24px;
  margin: 0 0 70px;
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 34px rgba(11, 26, 58, 0.06);
}

.attorney-banner .banner-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
}

.attorney-banner strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.attorney-banner span {
  color: var(--muted);
  font-size: 17px;
}

.attorney-banner .banner-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

/* MORE THAN BILLING */

.more-than-billing {
  margin-bottom: 88px;
}

.compact-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.more-card {
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.more-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(20, 119, 255, 0.20);
}

.more-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.more-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

/* PRODUCT SECTION */

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
  align-items: stretch;
}

.product-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.large-card {
  min-height: 390px;
  background:
    radial-gradient(circle at 50% 55%, rgba(20, 119, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.62);
}

.large-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.copy-card {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.copy-card h3 {
  font-size: 34px;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.copy-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.video-card {
  min-height: 390px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* SECURITY SECTION */

.security-section {
  padding: 82px 0;
  background: linear-gradient(135deg, #081229, #152a5a 55%, #54209a);
  color: white;
}

.security-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.security-section .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.security-section p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

/* CTA */

.cta {
  margin-top: 86px;
  margin-bottom: 86px;
  padding: 44px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 15% 50%, rgba(20, 119, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 85% 50%, rgba(163, 61, 240, 0.14), transparent 22rem),
    rgba(255, 255, 255, 0.80);
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 0;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.70);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trademark-notice {
  font-size: 13px;
  color: var(--muted);
  opacity: 0.78;
}

/* VIDEO / ANIMATION CARD */

.video-card {
  min-height: 390px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(20, 119, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.62);
}

.feature-loop-video {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

/* FEATURED DEMO VIDEO */
.featured-demo {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0 86px;
}

.featured-demo-copy h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}

.featured-demo-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.featured-demo-video-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.featured-demo-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 18px;
  background: #f6f8fc;
  box-shadow: none;
}

.video-caption {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .featured-demo {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .section-shell {
    width: min(1180px, calc(100% - 48px));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 52px;
  }

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

  .hero-device-stage.single-device-image {
    width: 100%;
    margin-left: 0;
  }

  .combined-devices {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .import-feature {
  grid-template-columns: 1fr;
}

.import-video {
  max-height: 520px;
}
  nav {
    display: none;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .security-inner {
    grid-template-columns: 1fr;
  }

  .attorney-banner {
    grid-template-columns: auto 1fr;
  }

  .attorney-banner .banner-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .import-feature {
  padding-bottom: 56px;
}

.import-video-card {
  min-height: auto;
  padding: 22px;
}

.import-copy-card {
  padding: 34px;
}

.import-video {
  max-height: 460px;
}
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 66px;
    padding: 0 14px;
  }

  .brand {
    font-size: 18px;
  }
  
  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: 48px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-art::before {
    inset: 2% -8% 0 -4%;
    border-radius: 32px;
  }

  .hero-device-stage.single-device-image {
    width: 112%;
    margin-left: -6%;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }

  .attorney-banner {
    grid-template-columns: 1fr;
    text-align: left;
    margin-bottom: 54px;
  }

  .copy-card {
    padding: 34px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
   .footer-left {
    align-items: center;
  }
}

/* IMPORT FEATURE — video left, text right */

.import-feature {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto 96px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 22px;
  align-items: stretch;
}

.import-video-card,
.import-copy-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

.import-video-card {
  min-height: 430px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(20, 119, 255, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.62);
}

.import-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}

.import-copy-card {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.import-copy-card h3 {
  font-size: 34px;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.import-copy-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .copy-card {
    order: 2;
  }

  .feature-row.reverse .media-card {
    order: 1;
  }

  .feature-row .media-card {
    order: 1;
  }

  .feature-row .copy-card {
    order: 2;
  }
  .more-grid {
  grid-template-columns: 1fr;
}

.more-card {
  min-height: auto;
}
}

@media (max-width: 640px) {
  .copy-card {
    padding: 34px;
  }

  .large-card,
  .video-card {
    min-height: auto;
  }

  .feature-loop-video {
    max-height: 460px;
  }
  .more-than-billing {
  margin-bottom: 58px;
}

.more-card {
  padding: 30px;
}
}
