@font-face {
  font-family: "Satoshi";
  src: local("Satoshi"), local("Satoshi Variable"), local("Satoshi Regular");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #26415a;
  --pink: #e9204f;
  --hero: #f7fbff;
  --ink: #1f3448;
  --muted: #66717c;
  --white: #fff;
  --faq: #2c4b67;
  --gradient: linear-gradient(90.38deg, #26415a 10.93%, #e9204f 92.21%);
  --hero-gradient: linear-gradient(33.91deg, #26415a 16.56%, #e9204f 86.53%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Satoshi", "Avenir Next", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Full-width hero shell. Inner content stays aligned on large screens. */
.site-shell {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(46px, 4.5vw, 86px);
}
/* Same proportional technique as the hero: the shell is a query container
   capped at 1920, and section metrics below are Figma-1920 px ÷ 19.2 in
   cqw — exact at 1920, scaling identically below. max() floors keep text
   readable at narrow widths. */
.content-shell {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  container-type: inline-size;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding-top: 28px;
}
.logo img { width: 126px; height: auto; }

/* HERO
   The container is an unpadded query container with a fixed aspect ratio
   (1440×620, the approved desktop proportion). Every visual-layer metric
   below is in cqw (1% of container width), so the composition renders
   pixel-identically at any width — and freezes once .site-shell caps the
   container at 1920px. */
.hero {
  overflow: hidden;
  background: var(--hero);
}
.hero__container {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1920 / 890;
  display: flex;
  align-items: center;
  padding-inline: 0; /* shell padding moves to the text column */
}
.hero__content {
  position: relative;
  z-index: 6;
  width: 53%;
  max-width: 980px;
  padding: 104px 0 42px clamp(46px, 4.5vw, 86px);
}
/* Hero type scale measured off the 1920 design: eyebrow/desc 18px,
   title 64px/78px, checklist 16px/24px, button 16px — ÷19.2 → cqw with
   px floors for the narrow text-only hero. */
.eyebrow {
  margin: 0 0 max(18px, 1.56cqw);
  font-size: max(13px, 0.94cqw);
  line-height: 1.45;
  color: #293b4c;
}
.hero__title {
  margin: 0 0 max(20px, 2.5cqw);
  font-size: max(34px, 3.33cqw);
  line-height: 1.22;
  letter-spacing: .012em;
  font-weight: 800;
  color: var(--navy);
}
/* width:fit-content shrinks each line's gradient surface to its own text,
   so every line runs the full navy→pink range and ends vivid pink —
   one gradient across the whole block leaves short lines stuck purple. */
.hero__title .line {
  display: block;
  width: fit-content;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc {
  margin: 0 0 max(18px, 1.67cqw);
  font-size: max(13px, 0.94cqw);
  line-height: 1.45;
  color: #203243;
}
.checklist {
  max-width: max(470px, 28.5cqw);
  padding: 0;
  margin: 0 0 max(22px, 2.08cqw);
  list-style: none;
}
.checklist li {
  position: relative;
  margin: max(12px, 0.94cqw) 0;
  padding-left: max(28px, 1.88cqw);
  font-size: max(13px, 0.83cqw);
  line-height: 1.5;
  color: #333333;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: max(16px, 1.04cqw);
  height: max(16px, 1.04cqw);
  display: grid;
  place-items: center;
  border-radius: max(4px, 0.26cqw);
  background: var(--navy);
  color: #fff;
  font-size: max(9px, 0.63cqw);
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.hero__cta {
  min-width: max(126px, 8.65cqw);
  padding: max(11px, 0.68cqw) max(22px, 1.46cqw);
  font-size: max(13px, 0.83cqw);
  border-radius: max(5px, 0.42cqw);
}

/* overflow:hidden crops the blob at the container edges, exactly like the
   Figma frame crops the ellipse. */
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
/* Exact Figma ellipse spec on the 1920 frame (÷19.2 → cqw):
   933.9×854.3 at (1038, -225.5), rotated 25.12°. Its bottom (y≈636)
   aligns with the illustration's bottom (113+518=631) — cards 3 and 4
   straddle / sit below that edge, as in the design. */
.hero__blob {
  position: absolute;
  z-index: 1;
  top: -5.14cqw;
  left: 59.06cqw;
  width: 52.64cqw;
  height: 42.00cqw;
  transform: rotate(25.12deg);
  border-radius: 50%;
  background: var(--hero-gradient);
}
/* Exact Figma illustration spec: 548×518 at (1288, 113) on the 1920 frame */
.hero__illustration {
  position: absolute;
  z-index: 2;
  top: 1.10cqw;
  left: 69.08cqw;
  width: 28.54cqw;
  height: auto;
  object-fit: contain;
}
/* Figma card spec: 240×200, radius 40px, text 21px/34px @1920 → ÷19.2 */
.float-card {
  position: absolute;
  z-index: 5;
  width: 12.5cqw;
  min-height: 10.42cqw;
  padding: 1cqw 0.8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 2.08cqw;
  box-shadow: 0 14px 36px rgba(38, 65, 90, .09);
}
.float-card img {
  width: 2.8cqw;
  height: 2.8cqw;
  margin-bottom: 0.63cqw;
  object-fit: contain;
}
.float-card p {
  margin: 0;
  color: var(--navy);
  font-size: 1.094cqw;
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0.03em;
}
.float-card span { color: var(--pink); }
/* Card centers measured from the reference (as fractions of the 826px
   hero height), minus half the 240×200 box */
.float-card--1 { top: 2.78cqw; left: 55.25cqw; }
.float-card--2 { top: 16.21cqw; left: 53.05cqw; }
.float-card--3 { top: 29.04cqw; left: 64.45cqw; }
.float-card--4 { top: 32.02cqw; left: 83.15cqw; }

/* SHARED SECTION HEADINGS */
.section-heading {
  position: relative;
  margin: 0 auto max(34px, 4.3cqw);
  text-align: center;
}
.section-heading h2 {
  display: inline-block;
  margin: 0 0 max(12px, 0.83cqw);
  font-size: max(22px, 1.5625cqw);
  line-height: 1.2;
  font-weight: 700;
  color: #252525;
}
/* Real design underline: 5px pink line anchored to the heading's left,
   fading to transparent rightward — drawn as h2::after so its width
   follows each heading's own text width. */
.section-heading h2::after {
  content: "";
  display: block;
  width: 57%;
  height: max(3px, 0.26cqw);
  margin-top: max(8px, 0.52cqw);
  background: linear-gradient(89.99deg, #E9204F 0.02%, rgba(233, 32, 79, 0) 100%);
}
.section-heading__underline { display: none; }
.section-heading p {
  margin: 0;
  font-size: max(14px, 0.94cqw);
  line-height: 1.6;
  color: #5d6570;
}

/* TEMPLATES */
.templates { padding: max(48px, 6cqw) 0 max(48px, 4.6cqw); }
.templates__grid {
  width: 70.16cqw;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.86cqw 5cqw;
}
.template-card h3 { margin: 0 0 1.2cqw; font-size: max(15px, 1.09cqw); font-weight: 700; color: #171717; }
.template-card > img {
  width: 100%;
  aspect-ratio: 1.81 / 1;
  object-fit: cover;
  border: 1px solid #e4e9ef;
  border-radius: max(3px, 0.26cqw);
}
.template-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.04cqw; margin-top: 1.56cqw; }
.btn--sm { min-height: max(34px, 2.34cqw); font-size: max(13px, 0.78cqw); }

/* FAQ */
.faq {
  padding: clamp(46px, 4.6vw, 88px) 0;
  color: #fff;
  background: var(--faq);
}
.faq__inner {
  width: 81.25cqw;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 38.65cqw 40.2cqw;
  gap: 2.4cqw;
}
.faq__visual img { width: 100%; margin-inline: auto; }
.section-heading--left { margin: 0 0 max(20px, 1.7cqw); text-align: left; }
.section-heading--left .section-heading__underline { margin-left: 0; }
.section-heading--light h2 { color: #fff; }
.section-heading--light p { color: rgba(255,255,255,.86); font-size: max(14px, 0.89cqw); line-height: 1.6; }
.accordion { display: grid; gap: max(10px, 0.83cqw); }
.accordion__item { overflow: hidden; border-radius: max(6px, 0.42cqw); background: #fff; color: #222; }
.accordion__header {
  width: 100%; min-height: max(44px, 3.125cqw); padding: 0 max(16px, 1.25cqw); border: 0; background: #fff; color: #222;
  display: flex; align-items: center; justify-content: space-between; text-align: left; font-size: max(13px, 0.83cqw); font-weight: 500;
}
.accordion__header svg { width: max(14px, 0.94cqw); height: max(14px, 0.94cqw); fill: none; stroke: currentColor; stroke-width: 1.7; }
.accordion__body { display: none; padding: 0 max(16px, 1.25cqw) max(16px, 1.15cqw) max(32px, 2.2cqw); }
.accordion__body p { margin: 6px 0 0; color: #8a9199; font-size: max(12px, 0.78cqw); line-height: 1.6; }
.accordion__item.is-open .accordion__body { display: block; }

/* SERVICES */
.services { padding: max(48px, 5cqw) 0; }
.services .section-heading { margin-bottom: max(28px, 2.9cqw); }
.services__grid {
  width: 74.4cqw;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--hero);
}
.service-tile { aspect-ratio: 1 / 1; margin: 0; }
.service-tile--image img { width: 100%; height: 100%; object-fit: cover; }
.service-tile--card {
  padding: 2cqw 1.5cqw; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: var(--hero);
}
.service-tile--card > img { width: max(40px, 3.125cqw); height: max(40px, 3.125cqw); margin-bottom: max(14px, 1.2cqw); object-fit: contain; }
.service-tile--card h3 { margin: 0 0 max(8px, 0.7cqw); color: var(--navy); font-size: max(15px, 1.25cqw); }
.service-tile--card p { max-width: max(220px, 19.5cqw); margin: 0; font-size: max(12px, 0.78cqw); line-height: 1.6; }
.site-footer { padding: clamp(20px, 1.5vw, 29px) 0; text-align: center; background: var(--navy); color: #fff; }
.site-footer p { margin: 0; font-size: clamp(13px, 0.83vw, 16px); opacity: .9; }

@media (max-width: 1000px){
  .hero__visual { display: none; }
}
@media (max-width: 1200px) {
  .site-shell { padding-inline: 44px; }
  /* Below 1200 the text column outgrows the fixed 1440:620 aspect ratio
     and the proportional composition breaks — drop the visual entirely
     and let the hero become a text-only band. */
  .hero__container { aspect-ratio: auto; padding-inline: 44px; }
  .hero__content { width: 100%; padding: 104px 0 42px; }
  .hero__title { font-size: px; }
}

@media (max-width: 900px) {
  .site-shell, .content-shell { width: min(calc(100% - 40px), 850px); padding-inline: 0; }
  .hero__content { padding: 106px 0 35px; }
  /* Proportional cqw widths are too narrow once the shell itself shrinks —
     go full-width inside the shell below this point. */
  .templates__grid, .services__grid, .faq__inner { width: 100%; }
  .faq__inner { grid-template-columns: 1fr 1.1fr; gap: 30px; }
}

@media (max-width: 767px) {
  .site-header { padding-top: 20px; }
  .logo img { width: 108px; }
  .hero__content { padding-top: 92px; }
  .hero__title { font-size: clamp(34px, 10vw, 43px); }
  .eyebrow, .hero__desc { font-size: 13px; }
  .checklist li { font-size: 18px; }
  .section-heading h2 { font-size: 19px; }
  .templates__grid, .faq__inner { grid-template-columns: 1fr; }
  .faq { min-height: auto; }
  .faq__visual img { max-width: 330px; }
  .section-heading--left { text-align: center; }
  .section-heading--left .section-heading__underline { margin-left: auto; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-tile { aspect-ratio: auto; min-height: 200px; }
}

@media (max-width: 480px) {
  .site-shell, .content-shell { width: min(calc(100% - 24px), 850px); }
  .templates, .services { padding-block: 46px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 220px; }
}
