/* ==========================================================================
   Contractly — Marketing Website
   Design tokens extracted from Figma ("🌈 Homepage Blue Sky")
   ========================================================================== */

:root {
  /* ---- Brand colours ---- */
  --blue-30: #0040C1;          /* Science Blue 30 (primary) */
  --blue-40: #002CAD;          /* Science Blue 40 */
  --blue-50: #142094;          /* Science Blue 50 (deep) */
  --blue-cobalt: #0041C2;
  --blue-light: #D1E0FF;
  --blue-haze: #EFF4FF;        /* Zircon — light section bg */

  --green-30: #A1FF63;         /* Atomic Worm 30 (accent / CTA) */
  --green-70: #51AF13;
  --green-80: #3D9B00;

  --purple-50: #7400D7;        /* Grape Banger 50 */
  --purple-70: #480E95;

  --pink-50: #D75EBF;          /* Candy Floss 50 */
  --pink-80: #9B2283;

  --ink: #1D1D1D;              /* Gray Storm 80 — primary text */
  --gray: #696969;             /* Gray Storm 50 — muted text */
  --white: #FFFFFF;
  --black: #000000;

  /* ---- Typography ---- */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale (from Figma text styles) */
  --fs-title: 64px;   --lh-title: 72px;   /* Title/M */
  --fs-h2: 48px;      --lh-h2: 56px;
  --fs-xxl: 36px;     --lh-xxl: 46px;     /* Text/XXL */
  --fs-l: 20px;       --lh-l: 30px;       /* Text/L */
  --fs-m: 16px;       --lh-m: 24px;       /* Text/M */
  --fs-s: 14px;       --lh-s: 20px;       /* Text/S */

  /* ---- Layout ---- */
  --container: 1296px;         /* Section container width */
  --gutter: 24px;
  --radius-pill: 999px;
  --radius-lg: 28px;
  --radius-md: 16px;

  /* ---- Spacing ---- */
  --space-xs: 8px;
  --space-s: 12px;
  --space-m: 24px;
  --space-l: 48px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 120px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--fs-m);
  line-height: var(--lh-m);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-s);
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--green {
  background: var(--green-30);
  color: var(--blue-50);
  box-shadow: 0 6px 18px rgba(161, 255, 99, .35);
}
.btn--green:hover { background: #b4ff82; }

.btn--white {
  background: var(--white);
  color: var(--blue-30);
}
.btn--white:hover { background: #f0f4ff; }

.btn--blue {
  background: var(--blue-30);
  color: var(--white);
}
.btn--blue:hover { background: var(--blue-40); }

.btn--lg { padding: 16px 26px; font-size: var(--fs-m); }

.btn__arrow { width: 16px; height: 16px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 26px;
}
.nav__inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 24px;
  flex-shrink: 0;
}
.nav__logo img { width: 38px; height: 38px; }
.nav__logo sup { font-size: 11px; font-weight: 400; opacity: .8; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-pill);
  padding: 6px;
}
.nav__menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: var(--fs-s);
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.nav__menu a:hover { background: rgba(255, 255, 255, .18); }
.nav__menu a.is-active {
  background: var(--white);
  color: var(--blue-30);
}

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__actions .icon { width: 18px; height: 18px; }

/* Light-hero nav variant (for pages with a white hero: pricing, contact) */
.nav--light .nav__logo { color: var(--blue-30); }
.nav--light .nav__menu {
  background: var(--blue-haze);
  border-color: #dce6fb;
  backdrop-filter: none;
}
.nav--light .nav__menu a { color: var(--blue-30); }
.nav--light .nav__menu a:hover { background: #dce6fb; }
.nav--light .nav__menu a.is-active { background: var(--blue-30); color: #fff; }
.nav--light .btn--white { border: 1px solid #dce6fb; color: var(--blue-30); }
.nav--light .nav__toggle { background: var(--blue-haze); border-color: #dce6fb; }
.nav--light .nav__toggle span,
.nav--light .nav__toggle span::before,
.nav--light .nav__toggle span::after { background: var(--blue-30); }

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  align-items: center; justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 220px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(125% 95% at 50% 0%, #4069ff 0%, #2150ef 24%, #0f41d8 48%, #0833bf 72%, #04259c 100%);
}
/* Blueprint grid overlay */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 92%, transparent 100%);
  pointer-events: none;
}
/* Subtle fade where the blue hero meets the white section below (no white block) */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55));
  pointer-events: none;
}

/* interactive canvas grid (replaces the static ::before grid when a mouse is present) */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 92%, transparent 100%);
}
.hero.hero--canvas::before { display: none; }

.hero__content { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }

.hero__title {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  font-weight: 400;
  letter-spacing: -1px;
}
.hero__subtitle {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: var(--fs-m);
  line-height: var(--lh-m);
  font-weight: 400;
  color: rgba(255, 255, 255, .88);
}
.hero__cta { margin-top: 34px; }

.hero__visual {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 64px auto -120px;
  padding-inline: var(--gutter);
}
.hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(8, 26, 110, .4);
}

/* ==========================================================================
   Generic section heading
   ========================================================================== */
.section { padding: var(--space-3xl) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__eyebrow {
  display: inline-block;
  font-size: var(--fs-s);
  font-weight: 600;
  color: var(--blue-30);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title {
  font-size: var(--fs-xxl);
  line-height: var(--lh-xxl);
  font-weight: 400;
  letter-spacing: -.5px;
  color: var(--blue-30);
}
.section__subtitle { margin-top: 16px; color: var(--gray); font-size: var(--fs-m); }

/* placeholder styling for sections not yet built */
.placeholder { color: var(--gray); text-align: center; padding: 40px 0; }

/* ==========================================================================
   Scroll reveal (fade + rise as elements enter the viewport)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Blog — listing
   ========================================================================== */
.blog-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 190px 0 120px;
  background: radial-gradient(120% 100% at 50% 0%, #1f50ef 0%, #0e40d6 45%, #052fb4 100%);
  color: #fff;
}
.blog-hero::before {  /* blueprint grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 100%);
}
.blog-hero__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); }
.blog-hero__eyebrow { font-size: var(--fs-s); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-30); }
.blog-hero h1 { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 400; letter-spacing: -1px; margin-top: 12px; }
.blog-hero p { margin: 18px auto 0; max-width: 540px; color: rgba(255,255,255,.86); font-size: var(--fs-m); }
.blog-hero__art { position: relative; z-index: 2; margin: 34px auto 0; width: 280px; max-width: 80%; }

.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: -64px 0 52px; position: relative; z-index: 5; }
.blog-filter button {
  padding: 10px 20px; border-radius: var(--radius-pill); font-size: var(--fs-s); font-weight: 500;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s;
}
.blog-filter button:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .55); }
.blog-filter button.is-active { background: #fff; color: var(--blue-30); border-color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #e9eef7; border-radius: 20px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(10,40,120,.12); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue-30); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: var(--fs-l); line-height: 1.3; font-weight: 500; color: var(--ink); }
.post-card:hover .post-card__title { color: var(--blue-30); }
.post-card__excerpt { margin-top: 10px; font-size: var(--fs-s); line-height: 21px; color: var(--gray); flex: 1; }
.post-card__meta { margin-top: 20px; display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--gray); }
.post-card__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #c7d0e0; }

/* ==========================================================================
   Blog — article
   ========================================================================== */
.article-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 180px 0 56px;
  background: radial-gradient(120% 110% at 50% 0%, #1f50ef 0%, #0e40d6 48%, #052fb4 100%);
}
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 100%);
}
.article-hero__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.article-hero__tag { display: inline-block; background: var(--green-30); color: var(--blue-50); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: var(--radius-pill); }
.article-hero h1 { font-size: 48px; line-height: 56px; font-weight: 400; letter-spacing: -.5px; margin-top: 18px; }
.article-hero__meta { margin-top: 22px; display: flex; gap: 16px; justify-content: center; align-items: center; font-size: var(--fs-s); color: rgba(255,255,255,.82); }
.article-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }

.article { max-width: 780px; margin: 0 auto; padding: 64px var(--gutter) 40px; }
.article__lead { font-size: 20px; line-height: 32px; color: var(--ink); font-weight: 400; margin-bottom: 32px; }
.article p { font-size: var(--fs-m); line-height: 28px; color: #33384a; margin: 0 0 22px; }
.article h2 { font-size: 30px; line-height: 38px; font-weight: 500; color: var(--blue-30); letter-spacing: -.3px; margin: 48px 0 16px; }
.article h3 { font-size: 21px; line-height: 28px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; }
.article ul, .article ol { margin: 0 0 22px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article ul li { position: relative; padding-left: 30px; font-size: var(--fs-m); line-height: 26px; color: #33384a; }
.article ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-70) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.article ol { counter-reset: step; }
.article ol li { position: relative; padding-left: 38px; counter-increment: step; font-size: var(--fs-m); line-height: 26px; color: #33384a; }
.article ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-30); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center;
}
.article blockquote {
  margin: 32px 0; padding: 24px 28px; border-left: 4px solid var(--blue-30);
  background: var(--blue-haze); border-radius: 0 16px 16px 0; font-size: 20px; line-height: 30px; color: var(--blue-50); font-weight: 500;
}
.article__figure { margin: 36px 0; }
.article__figure img { width: 100%; border-radius: 18px; display: block; box-shadow: 0 20px 44px rgba(10,40,120,.12); }
.article__figure figcaption { margin-top: 12px; font-size: 13px; color: var(--gray); text-align: center; }
.article__callout {
  margin: 36px 0; padding: 28px 30px; border-radius: 18px; border: 1px solid #dbe4fb;
  background: linear-gradient(150deg, #f3f7ff, #eaf0ff);
}
.article__callout h3 { margin-top: 0; color: var(--blue-30); }
.article__callout p:last-child { margin-bottom: 0; }

/* comparison table inside an article */
.article table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: var(--fs-s); border: 1px solid #e6ebf5; border-radius: 14px; overflow: hidden; }
.article thead th { background: var(--blue-haze); color: var(--blue-30); font-weight: 600; text-align: left; padding: 14px 18px; }
.article tbody td { padding: 13px 18px; border-top: 1px solid #eef1f7; vertical-align: top; color: #33384a; line-height: 22px; }
.article tbody td:first-child { font-weight: 500; color: var(--ink); width: 26%; }
.article tbody tr:nth-child(even) td { background: #fafbff; }

/* animated SVG scene container */
.svg-scene { margin: 40px 0; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #0b3fd0, #052fb4); padding: 28px; }
.svg-scene svg { width: 100%; height: auto; display: block; }
.svg-scene__label { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }

/* shared keyframes for blog SVG animations */
@keyframes svgDraw { to { stroke-dashoffset: 0; } }
@keyframes svgPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes svgFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes svgFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .svg-scene svg *,
  .intro__illus { animation: none !important; }
  .intro__illus--hardhat { transform: rotate(-4deg); }
}

/* end-of-article sign-up CTA */
.article-cta { padding: 16px 0 72px; }
.article-cta__card {
  position: relative; overflow: hidden;
  max-width: 860px; margin: 0 auto;
  border-radius: 28px; padding: 56px 40px; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 50% 0%, #2a57ee 0%, #103fd8 42%, #0532b6 100%);
}
.article-cta__card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.article-cta__card > * { position: relative; z-index: 2; }
.article-cta__card h2 { font-size: var(--fs-xxl); line-height: var(--lh-xxl); font-weight: 400; letter-spacing: -.5px; max-width: 580px; margin: 0 auto; color: #fff; }
.article-cta__card p { margin: 16px auto 0; max-width: 540px; color: rgba(255,255,255,.86); font-size: var(--fs-m); }
.article-cta__actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 520px) { .article-cta__card { padding: 44px 22px; } .article-cta__actions .btn { width: 100%; justify-content: center; } }

/* related posts */
.article__related { background: var(--blue-haze); padding: 64px 0; }
.article__related h2 { text-align: center; color: var(--blue-30); font-size: var(--fs-xxl); font-weight: 400; margin-bottom: 40px; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 36px; line-height: 44px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article { padding-top: 44px; }
  .article__lead { font-size: 18px; line-height: 29px; }
}

/* ==========================================================================
   Section 2 — NEC intro (illustrations)
   ========================================================================== */
.intro {
  position: relative;
  text-align: center;
  padding: 120px 0 130px;
  overflow: hidden;
}
.intro__inner { position: relative; z-index: 2; max-width: 920px; margin-inline: auto; padding-inline: var(--gutter); }
.intro__title {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
  font-weight: 400;
  letter-spacing: -.64px;
  color: var(--blue-30);
}
.intro__subtitle {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: var(--fs-l);
  font-weight: 500;
  font-size: 18px; line-height: 24px;
  color: var(--ink);
}
.intro__cta {
  margin-top: 32px;
  background: var(--blue-light);
  color: var(--blue-30);
}
.intro__cta:hover { background: #c2d6ff; }

.intro__illus { position: absolute; width: 210px; height: auto; z-index: 1; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0,40,160,.18)); animation: introFloat 5s ease-in-out infinite; will-change: transform; }
.intro__illus--hardhat { top: 24px; left: 4%; animation-name: introFloatTilt; animation-duration: 5.5s; }
.intro__illus--cone { top: 30px; right: 5%; animation-duration: 6s; animation-delay: -1.5s; }
.intro__illus--contract { bottom: 30px; left: 9%; width: 180px; animation-duration: 5s; animation-delay: -3s; }
.intro__illus--wheelbarrow { bottom: 24px; right: 4%; width: 240px; animation-duration: 6.5s; animation-delay: -2s; }

/* gentle up-and-down float for the intro illustrations */
@keyframes introFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes introFloatTilt { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(-4deg); } }

/* ==========================================================================
   Section 3 — Features bento
   ========================================================================== */
.features { background: #fff; }
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.bento__col { display: grid; gap: 24px; }
.bento__col--left { grid-template-rows: 1.55fr 1fr; }
.bento__col--right { grid-template-rows: 1fr 1.55fr; }

.bento__card {
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, #dfe9ff 0%, #eef3ff 60%, #e3ecff 100%);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.bento__card--dark {
  background: linear-gradient(150deg, #1b4ad6 0%, #0a3ad0 45%, #0532b8 100%);
  color: var(--white);
}
.bento__card--dark::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
}
.bento__card > * { position: relative; z-index: 2; }
/* short cards top-align text (NEC compliance top-right, Spot risks bottom-left) */
.bento__col--left .bento__card:last-child,
.bento__col--right .bento__card:first-child { justify-content: flex-start; }
.bento__title { font-size: 22px; line-height: 28px; font-weight: 500; margin-bottom: 12px; }
.bento__text { font-size: var(--fs-s); line-height: 21px; color: var(--gray); }
.bento__card--dark .bento__text { color: rgba(255,255,255,.82); }

/* ==========================================================================
   Section 4 — Team cards carousel
   ========================================================================== */
.teams { padding-bottom: 120px; }
.teams__viewport { overflow: hidden; }
.teams__track {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.team-card {
  flex: 0 0 clamp(320px, 40%, 520px);
  min-height: 360px;
  border-radius: 28px;
  padding: 38px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__top { display: flex; gap: 22px; align-items: flex-start; justify-content: space-between; }
.team-card__title { font-size: 32px; line-height: 1.1; font-weight: 500; flex: 0 1 auto; max-width: 48%; }
.team-card__text { margin: 0; flex: 0 1 50%; font-size: var(--fs-s); line-height: 21px; color: rgba(255,255,255,.92); }
.team-card--blue   { background: linear-gradient(150deg, #1b4ad6, #052fb0); }
.team-card--pink   { background: linear-gradient(150deg, #e072c8, #b32f9a); }
.team-card--green  { background: linear-gradient(150deg, #6fd83a, #3d9b00); }
.team-card--purple { background: linear-gradient(150deg, #8a2be2, #4b0e95); }
.team-card--teal   { background: linear-gradient(150deg, #14b8c6, #0a7d92); }

.teams__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 32px; }
.teams__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid #c7d4f5;
  color: var(--blue-30);
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.teams__btn:hover { background: var(--blue-30); color: #fff; border-color: var(--blue-30); }
.teams__btn:disabled { opacity: .35; cursor: default; }
.teams__btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   Section 5 — FAQ
   ========================================================================== */
.faq { background: #fff; }
.faq .section__title { font-size: 52px; line-height: 60px; }
.faq__list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: var(--white);
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  overflow: hidden;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.faq__item.is-open { background: #eef3ff; border-color: #d6e1ff; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 28px;
  text-align: left;
  font-size: var(--fs-m); font-weight: 500; color: var(--ink);
}
.faq__item.is-open .faq__q { color: var(--blue-30); }
.faq__icon { flex-shrink: 0; width: 18px; height: 18px; transition: transform .3s ease; color: currentColor; }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__item.is-open .faq__a { max-height: 400px; }
.faq__a p { padding: 0 28px 24px; font-size: var(--fs-s); line-height: 22px; color: var(--gray); }

/* ==========================================================================
   Section 6 — CTA banner
   ========================================================================== */
.cta { padding: 60px 0 120px; }
.cta__card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  background: radial-gradient(120% 130% at 50% 0%, #2a57ee 0%, #103fd8 40%, #0532b6 100%);
}
.cta__title { font-size: var(--fs-xxl); line-height: var(--lh-xxl); font-weight: 400; letter-spacing: -.5px; max-width: 560px; margin: 0 auto; }
.cta__text { margin: 20px auto 0; max-width: 560px; font-size: var(--fs-s); line-height: 22px; color: rgba(255,255,255,.85); }
.cta__actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cta__ghost:hover { background: rgba(255,255,255,.2); }
/* decorative floating finance cards */
.cta__float {
  position: absolute; z-index: 1;
  width: 210px; padding: 16px 18px; border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 55px rgba(2, 14, 80, .4);
  color: var(--ink); text-align: left;
}
.cta__float--l { left: 4%; top: 32%; transform: rotate(-6deg); }
.cta__float--r { right: 4%; top: 28%; transform: rotate(6deg); }
.cta__frow { display: flex; gap: 22px; }
.cta__fcol .lbl { font-size: 10px; color: var(--gray); }
.cta__fcol .val { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.cta__spark { margin-top: 12px; width: 100%; height: 40px; display: block; }
.cta__txn { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: var(--ink); }
.cta__txn .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #d1e0ff, #a1ff63); flex-shrink: 0; }
.cta__txn .amt { margin-left: auto; font-weight: 600; }
.cta__card > .container, .cta__card .cta__inner { position: relative; z-index: 2; }
@media (max-width: 900px) { .cta__float { display: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 90px 0 40px; background: #fff; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand .nav__logo { color: var(--blue-30); font-size: 30px; }
.footer__brand .nav__logo span { color: var(--blue-30); }
.footer__tagline { margin-top: 22px; color: var(--blue-30); font-weight: 500; font-size: var(--fs-m); }
.footer__col h4 { font-size: var(--fs-m); font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--gray); font-size: var(--fs-s); padding: 7px 0; transition: color .15s; }
.footer__col a:hover { color: var(--blue-30); }
.footer__divider { height: 1px; background: #e6ebf5; margin: 50px 0 30px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__copy { color: var(--gray); font-size: 13px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: #eef3ff; color: var(--blue-30);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--blue-30); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer__legal { color: var(--gray); font-size: 13px; line-height: 20px; text-align: right; }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 18, 70, .5);
  opacity: 0; transition: opacity .3s ease;
}
.drawer-backdrop.is-visible { opacity: 1; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: min(82vw, 340px);
  background: linear-gradient(180deg, #1747dd 0%, #0a37c4 60%, #042aa6 100%);
  color: #fff;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  padding: 22px 20px;
  display: flex; flex-direction: column;
  box-shadow: 6px 0 40px rgba(0,0,0,.3);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; }
.drawer__head .nav__logo { font-size: 20px; flex: 1; }
.drawer__head .nav__logo img { width: 32px; height: 32px; }
.drawer__close { width: 28px; height: 28px; color: #fff; }
.drawer__close svg { width: 24px; height: 24px; }
.drawer__portal {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-30); color: var(--blue-50);
  display: grid; place-items: center;
}
.drawer__portal svg { width: 22px; height: 22px; }
.drawer__menu { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.drawer__menu a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 8px;
  color: #fff; font-size: var(--fs-m); font-weight: 500;
  border-radius: 10px;
}
.drawer__menu a:hover { background: rgba(255,255,255,.12); }
.drawer__menu a svg { width: 22px; height: 22px; opacity: .95; }
.drawer__rule { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 12px 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --fs-title: 52px; --lh-title: 60px; --fs-xxl: 32px; --lh-xxl: 40px; }
  .nav__menu { gap: 2px; }
  .nav__menu a { padding: 9px 14px; }
}

@media (max-width: 860px) {
  :root { --fs-title: 40px; --lh-title: 48px; --fs-xxl: 28px; --lh-xxl: 36px; --space-3xl: 80px; }

  /* nav → hamburger */
  .nav { padding-top: 16px; }
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: flex; }

  /* hero */
  .hero { padding-top: 150px; }
  .hero__title br { display: none; }
  .hero__visual { margin-top: 40px; margin-bottom: -40px; }

  /* intro */
  .intro { padding: 80px 0 90px; }
  .intro__illus { width: 96px; }
  .intro__illus--contract { width: 84px; }
  .intro__illus--wheelbarrow { width: 110px; }
  .intro__illus--hardhat { left: -2%; }
  .intro__illus--cone { right: -2%; }

  /* bento → single column */
  .bento { grid-template-columns: 1fr; }
  .bento__col { grid-template-rows: none !important; }
  .bento__card { min-height: 220px; padding: 30px; }

  /* CTA */
  .cta__card { padding: 56px 24px; }

  /* footer */
  .footer { padding-top: 60px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { text-align: left; }
}

@media (max-width: 520px) {
  :root { --fs-title: 34px; --lh-title: 42px; }
  .section { padding: 60px 0; }
  .team-card { flex-basis: 86%; padding: 30px; min-height: 320px; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Sub-page heroes
   ========================================================================== */
.subhero { position: relative; text-align: center; overflow: hidden; }
.subhero--blue {
  color: #fff; padding: 200px 0 90px;
  background: radial-gradient(120% 90% at 50% -10%, #3a63f5 0%, #1147de 30%, #0a37c4 58%, #042aa6 100%);
}
.subhero--light { padding: 190px 0 70px; background: #fff; }
.subhero__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.subhero--blue .subhero__title { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 400; letter-spacing: -1px; }
.subhero--light .subhero__title { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 400; letter-spacing: -1px; color: var(--blue-30); }
.subhero__subtitle { margin: 22px auto 0; max-width: 600px; font-size: var(--fs-m); line-height: var(--lh-m); }
.subhero--blue .subhero__subtitle { color: rgba(255,255,255,.88); }
.subhero--light .subhero__subtitle { color: var(--gray); }
.subhero__actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Features hero showcase strip (marquee)
   ========================================================================== */
.fstrip {
  position: relative;
  margin-top: 64px;
  margin-bottom: -120px;       /* overlap into the white section below */
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.fstrip__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  padding: 12px 12px 28px;
  animation: fstrip 42s linear infinite;
}
.fstrip:hover .fstrip__track { animation-play-state: paused; }
@keyframes fstrip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.fcard {
  flex: 0 0 306px;
  width: 306px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 24px 50px rgba(2, 14, 80, .28);
}
.fcard--tall  { height: 426px; }
.fcard--mid   { height: 370px; }
.fcard--short { height: 284px; }
.fcard--dark  { background: #000276; }
.fcard--blue  { background: linear-gradient(210deg, #3e78f3 16%, #1349df 92%); }
.fcard--pink  { background: linear-gradient(212deg, #ff9afb 0%, #eb72d3 64%); }
.fcard--green { background: linear-gradient(215deg, #a1ff63 8%, #51af13 86%); }
.fcard--photo { padding: 0; }

.fcard__title { font-size: 28px; line-height: 32px; font-weight: 400; }
.fcard__lead  { font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: -.24px; }
.fcard__sub   { font-size: 15px; line-height: 21px; margin-top: 10px; color: rgba(255,255,255,.92); }
.fcard__arrow {
  margin-top: auto; width: 54px; height: 54px; border-radius: var(--radius-pill);
  background: var(--blue-30); color: #fff; display: grid; place-items: center;
}
.fcard--blue .fcard__arrow { background: #fff; color: var(--blue-30); }
.fcard__arrow svg { width: 22px; height: 22px; }
.fcard__stat { margin-top: auto; }
.fcard__stat .big { font-size: 72px; line-height: 1; font-weight: 400; letter-spacing: -2px; display: block; }
.fcard__stat .sub { font-size: 22px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.fcard__illus { position: absolute; pointer-events: none; }
.fcard--blue .fcard__illus  { width: 150px; right: 8px; bottom: 70px; }
.fcard--green .fcard__illus { width: 200px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.fcard--pink .fcard__illus  { width: 120px; left: 6px; bottom: 6px; }
.fcard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fcard__stars {
  position: absolute; left: 24px; bottom: 26px;
  background: var(--green-30); color: var(--blue-50);
  border-radius: var(--radius-pill); padding: 8px 14px;
  font-size: 14px; letter-spacing: 2px; font-weight: 700;
}
.fcard__mini {
  position: absolute; right: 14px; background: #fff; color: var(--ink);
  border-radius: 8px; padding: 8px 10px; width: 150px;
  box-shadow: 0 6px 14px rgba(135,14,111,.35); font-size: 9px;
}
.fcard__mini--1 { top: 150px; }
.fcard__mini--2 { top: 250px; right: 70px; }
.fcard__mini .r1 { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); }
.fcard__mini .r1 .dot { width: 8px; height: 8px; border-radius: 50%; }
.fcard__mini .r2 { color: rgba(0,0,0,.7); margin: 2px 0 6px; }
.fcard__mini .pill { display: inline-block; border: .5px solid var(--blue-30); color: var(--blue-30); border-radius: 8px; padding: 2px 8px; font-weight: 500; }

@media (max-width: 860px) {
  .fstrip { margin-bottom: -80px; }
  .fcard { flex-basis: 250px; width: 250px; }
}

/* ==========================================================================
   Feature grid (6 cards) — Features page
   ========================================================================== */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fgrid__card {
  background: #fbfcfe;
  border: 1px solid #e9eef7;
  border-radius: 20px;
  padding: 32px;
}
.fgrid__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fcebd3; color: #eb8a14;     /* card 1: peach */
  display: grid; place-items: center; margin-bottom: 22px;
}
.fgrid__icon svg { width: 26px; height: 26px; }
.fgrid__card:nth-child(2) .fgrid__icon { background: #d6ecfb; color: #2d9cdb; }
.fgrid__card:nth-child(3) .fgrid__icon { background: #e8f1fe; color: #0040c1; }
.fgrid__card:nth-child(4) .fgrid__icon { background: #fbe0f0; color: #d75ebf; }
.fgrid__card:nth-child(5) .fgrid__icon { background: #e4f8d6; color: #51af13; }
.fgrid__card:nth-child(6) .fgrid__icon { background: #f0e2fb; color: #7400d7; }
.fgrid__title { font-size: var(--fs-l); font-weight: 500; margin-bottom: 10px; }
.fgrid__text { font-size: var(--fs-s); line-height: 21px; color: var(--gray); }

/* ==========================================================================
   Feature rows (alternating) — Features page
   ========================================================================== */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.frow:last-child { margin-bottom: 0; }
.frow:nth-child(even) .frow__media { order: -1; }
.frow__eyebrow { color: var(--blue-30); font-weight: 500; font-size: var(--fs-s); }
.frow__eyebrow::before { content: "\2022\00a0"; }
.frow__title { font-size: 28px; line-height: 36px; font-weight: 400; margin: 12px 0 16px; letter-spacing: -.3px; }
.frow__text { color: var(--gray); font-size: var(--fs-m); line-height: var(--lh-m); }
.frow__checks { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.frow__checks li { display: flex; gap: 12px; align-items: center; font-size: var(--fs-s); font-weight: 500; }
.frow__checks svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; background: var(--green-70); border-radius: 50%; color: #fff; }
.frow__media {
  border-radius: 24px; min-height: 320px;
  background: linear-gradient(160deg, #dfe9ff, #eef3ff);
  display: grid; place-items: center; padding: 40px; overflow: hidden;
}
.frow__media--dark { background: linear-gradient(150deg, #1b4ad6, #0532b8); }
.frow__media--img { background: none; padding: 0; min-height: 0; border-radius: 24px; }
.frow__media--img img { width: 100%; height: auto; display: block; border-radius: 24px; }
.mockchart { width: 100%; max-width: 360px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.ptoggle { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-haze); border: 1px solid #e1e8f5; border-radius: var(--radius-pill); padding: 5px; margin: 28px auto 0; }
.ptoggle button { padding: 10px 22px; border-radius: var(--radius-pill); font-size: var(--fs-s); font-weight: 600; color: var(--gray); }
.ptoggle button.is-active { background: transparent; color: var(--blue-30); border-radius: 0; box-shadow: inset 0 -2px 0 var(--blue-30); }
.ptoggle .save { background: #fde2f3; color: #d63aa0; font-size: 12px; font-weight: 600; border-radius: var(--radius-pill); padding: 6px 12px; margin-left: 4px; }

.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 940px; margin: 56px auto 0; align-items: start; }
.pcard { border-radius: 24px; border: 1px solid #e6ebf5; background: #fff; overflow: hidden; box-shadow: 0 24px 50px rgba(5, 40, 160, .08); }
.pcard__header { color: #fff; padding: 30px 34px 26px; }
.pcard--a .pcard__header { background: linear-gradient(135deg, #1140cf 0%, #062fb2 100%); }
.pcard--b .pcard__header { background: linear-gradient(135deg, #3e78f3 0%, #1349df 100%); }
.pcard__name { font-size: var(--fs-s); font-weight: 600; opacity: .92; display: flex; align-items: center; gap: 9px; }
.pcard__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-30); flex-shrink: 0; }
.pcard__price { font-size: 40px; font-weight: 600; margin-top: 14px; letter-spacing: -1px; line-height: 1; }
.pcard__suffix { font-size: var(--fs-s); font-weight: 500; opacity: .85; letter-spacing: 0; }
.pcard__per { font-size: var(--fs-s); opacity: .8; margin-top: 8px; }
.pcard__body { padding: 28px 34px 34px; }
.pcard__tag { font-size: var(--fs-l); font-weight: 500; }
.pcard__desc { font-size: var(--fs-s); line-height: 21px; color: var(--gray); margin: 8px 0 22px; }
.pcard__btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.pcard__list { display: flex; flex-direction: column; gap: 13px; }
.pcard__list li { display: flex; gap: 12px; font-size: var(--fs-s); align-items: flex-start; }
.pcard__list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green-80); }

/* Compare table — grouped rounded panels */
.compare { max-width: 940px; margin: 0 auto; }
.crow { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center; }
.compare__head {
  background: var(--blue-haze);
  border-radius: 14px;
  padding: 16px 26px;
  margin-bottom: 16px;
}
.compare__head > div { text-align: center; color: var(--blue-30); font-weight: 600; font-size: var(--fs-s); }
.compare__head > div:first-child { text-align: left; }
.cgroup { background: #f6f9ff; border: 1px solid #eef2fb; border-radius: 16px; padding: 6px 26px 16px; margin-bottom: 16px; }
.cgroup__title { font-weight: 600; color: var(--ink); font-size: var(--fs-s); padding: 16px 0 4px; }
.cgroup .crow { padding: 13px 0; border-top: 1px solid #e7ecf7; font-size: var(--fs-s); }
.cgroup .crow > div:not(:first-child) { text-align: center; color: var(--gray); }
.cgroup .crow > div:first-child { color: var(--ink); }
.cyes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-80); }
.cyes svg { width: 13px; height: 13px; color: #fff; }
.cno { color: #c2c8d4; }
.compare__actions { display: grid; grid-template-columns: 1.7fr 1fr 1fr; margin-top: 24px; gap: 12px; }
.compare__actions > div { display: flex; justify-content: center; }
.compare__actions > div:first-child { display: none; }
@media (max-width: 720px) {
  .crow, .compare__actions { grid-template-columns: 1.6fr .7fr .7fr; }
  .compare__head, .cgroup { padding-inline: 16px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-form {
  max-width: 640px; margin: 0 auto;
  background: var(--blue-haze); border: 1px solid #e6ebf5;
  border-radius: 24px; padding: 40px;
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__field { margin-bottom: 18px; }
.cform__field label { display: block; font-size: var(--fs-s); font-weight: 500; margin-bottom: 8px; }
.cform__field input, .cform__field select, .cform__field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #d8e0f0; border-radius: 12px;
  font-family: inherit; font-size: var(--fs-s); background: #fff; color: var(--ink);
}
.cform__field textarea { resize: vertical; min-height: 120px; }
.cform__field input:focus, .cform__field select:focus, .cform__field textarea:focus { outline: 2px solid var(--blue-30); border-color: transparent; }
.cform__submit { width: 100%; justify-content: center; margin-top: 6px; }
.cform__submit:disabled { opacity: .6; cursor: not-allowed; }
.cform__status { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; font-size: var(--fs-s); font-weight: 500; }
.cform__status.is-pending { background: var(--blue-05, #eef4ff); color: var(--blue-60, #1e3a8a); }
.cform__status.is-success { background: #e7f6ec; color: #17683a; }
.cform__status.is-error { background: #fdecec; color: #a12020; }

.infocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.infocard { background: var(--blue-haze); border: 1px solid #e6ebf5; border-radius: 20px; padding: 30px; }
.infocard__icon { width: 46px; height: 46px; border-radius: 12px; background: #fce3c4; display: grid; place-items: center; margin-bottom: 18px; color: #eb8a14; }
.infocard:nth-child(2) .infocard__icon { background: #cfe6fb; color: var(--blue-30); }
.infocard:nth-child(3) .infocard__icon { background: #d8f5c2; color: var(--green-80); }
.infocard__icon svg { width: 24px; height: 24px; }
.infocard h3 { font-size: var(--fs-l); font-weight: 500; margin-bottom: 10px; }
.infocard p { font-size: var(--fs-s); line-height: 21px; color: var(--gray); }
.infocard a { color: var(--blue-30); font-weight: 600; }

@media (max-width: 860px) {
  .fgrid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .frow:nth-child(even) .frow__media { order: 0; }
  .pcards { grid-template-columns: 1fr; }
  .infocards { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
}
