/* ==========================================================================
   Finosure — tokens & components extracted from "Finosure Landing.fig"
   ========================================================================== */
:root {
  /* Brand */
  --navy:        #002366;
  --navy-deep:   #00205C;
  --navy-tint:   #F0F5FF;
  --accent:      #2944CC;
  --gold:        #D2AD76;

  /* Neutrals */
  --ink:         #1A1A1A;
  --body:        #444444;
  --body-alt:    #4D4D4D;
  --muted:       #808080;
  --line:        #E5E5E5;
  --surface:     #F5F5F5;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-ui:      'Inter', system-ui, sans-serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout — 1440 frame, 80px gutters => 1280 content; blog uses 160 => 1120 */
  --shell: 1280px;
  --blog-shell: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* height:auto neutralises the width/height presentational hints on <img>, which
   would otherwise beat aspect-ratio; the class rules below still override it. */
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 900px) { .shell { padding-inline: 40px; } }
@media (min-width: 1440px) { .shell { padding-inline: 0; } }

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

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.logo--lg img { height: 32px; }

/* --------------------------------------------------------------------------
   Buttons — Figma CTA: 120x40, r12, 1.5px navy, Space Grotesk Bold 14
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 11px 22px;
  border: 1.5px solid var(--navy); border-radius: 12px;
  background: transparent; color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .12s ease;
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: #001b52; }
.btn--block { width: 100%; }
.btn__icon { width: 16px; height: 16px; }
.btn:hover .btn__icon { filter: brightness(0) invert(1); }
.btn--solid .btn__icon { filter: brightness(0) invert(1); }

/* --------------------------------------------------------------------------
   Badges — Kicker Badge: r4, #F0F5FF, 12/700 uppercase navy
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block; padding: 4px 10px;
  border-radius: 4px; background: var(--navy-tint);
  color: var(--navy-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  line-height: 1.25; text-transform: uppercase; letter-spacing: .02em;
}
.badge--pill { border-radius: 100px; }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding-block: 88px; background: var(--white); position: relative; }
@media (max-width: 899px) { .section { padding-block: 56px; } }

.headings { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
/* The mobile frames put the kicker badge above the title. */
@media (max-width: 899px) {
  .headings { gap: 12px; }
  .headings > .badge { order: -1; }
}

.h-display {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 5.2vw, 64px); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--navy);
}
@media (max-width: 899px) { .h-display { color: var(--ink); } }

.lede {
  margin: 0; max-width: 760px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px); line-height: 1.5;
  color: var(--body-alt);
}
@media (max-width: 899px) { .lede { color: var(--muted); } }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.navbar.is-stuck { border-bottom-color: var(--line); }
.navbar--bordered {
  border-bottom: 1px solid var(--line);
  background: var(--white); backdrop-filter: none;
}

.navbar__inner { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.navbar--bordered .navbar__inner { min-height: 88px; }

.navbar__links {
  display: none; flex: 1;
  align-items: center; justify-content: center; gap: 48px;
}
@media (min-width: 900px) { .navbar__links { display: flex; } }

.navbar__link {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  line-height: 1.28; color: var(--muted);
  transition: color .18s ease;
}
.navbar--bordered .navbar__link { color: var(--body-alt); }
.navbar__link:hover, .navbar__link.is-active { color: var(--navy); }

.navbar__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: auto;
  border: 0; background: transparent; cursor: pointer;
}
@media (min-width: 900px) { .navbar__toggle { display: none; } }
.navbar__toggle img { width: 24px; height: 24px; }

.navbar__cta { display: none; }
@media (min-width: 900px) { .navbar__cta { display: inline-flex; } }

.mobile-menu {
  display: grid; gap: 2px;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 12px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Hero — Section 06
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: 48px 0; }
.hero__pattern {
  position: absolute; inset: 0 0 auto 0;
  height: 960px; opacity: .7; pointer-events: none;
  background: url('../svg/bg-pattern.svg') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}
.hero__inner { position: relative; }
.hero__copy { display: grid; gap: 16px; justify-items: center; text-align: center; }
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 5.6vw, 64px); line-height: 1.05;
  letter-spacing: -0.015em; color: var(--navy);
}
@media (max-width: 899px) { .hero__title { color: var(--ink); line-height: 1.2; } }
.hero__sub { max-width: 760px; color: var(--body); }
@media (max-width: 899px) { .hero__sub { color: var(--muted); } }
.hero__cta { margin-top: 16px; }
@media (min-width: 900px) { .hero__cta { display: none; } }

.hero__figure {
  margin: 40px auto 0;
  width: min(819px, 100%);
  aspect-ratio: 819 / 546;
  border-radius: 24px; overflow: hidden;
}
@media (max-width: 899px) { .hero__figure { aspect-ratio: 320 / 213; } }
.hero__figure img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .7; mix-blend-mode: multiply;
}

.scroll-cue {
  display: none; margin: 24px auto 0;
  width: 56px; height: 68px; border-radius: 140px;
  background: rgba(25,42,77,.02);
  align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.scroll-cue__pill {
  width: 40px; height: 48px; border-radius: 100px;
  background: rgba(25,42,77,.1);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px;
}
.scroll-cue__pill img { width: 16px; height: 16px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(2px); } }

/* --------------------------------------------------------------------------
   Section switcher rail (bottom of each full-height section in the file)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Fixed Section Navigation
   -------------------------------------------------------------------------- */

.section-nav {
  position: fixed;

  left: 50%;
  bottom: 24px;

  transform: translateX(-50%);

  z-index: 1000;

  display: none;

  width: max-content;
  max-width: calc(100vw - 40px);

  margin: 0;
  padding: 0;

  justify-content: center;
  align-items: flex-start;

  gap: 64px;
}

@media (min-width: 1100px) {
  .section-nav {
    display: flex;
  }
}

.section-nav a {
  display: grid;
  gap: 6px;
  justify-items: center;

  min-width: 120px;

  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.28;

  color: var(--muted);
  opacity: .12;

  text-decoration: none;

  transition:
    opacity .18s ease,
    color .18s ease;
    transform .18s ease;

}

.section-nav a:hover {
  opacity: .22;
}

.section-nav a.is-current {
  color: var(--navy);
  opacity: 1;
  transform: translateY(-12px);
}

.section-nav img {
  width: 16px;
  height: 16px;

  visibility: hidden;
}

.section-nav a.is-current img {
  visibility: visible;
}

/* --------------------------------------------------------------------------
   What We Are — Section 05
   -------------------------------------------------------------------------- */
.about__copy {
  margin: 56px auto 0; max-width: 1044px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(15px, 1.9vw, 24px); line-height: 1.5;
  color: var(--body); text-align: center;
}
.about__copy p { margin: 0 0 1em; }
.about__copy p:last-child { margin-bottom: 0; }
@media (max-width: 899px) { .about__copy { color: var(--muted); } }

/* --------------------------------------------------------------------------
   How It Works — Section 04 stepper
   -------------------------------------------------------------------------- */
.stepper { display: grid; gap: 24px; margin-top: 40px; align-items: center; }
@media (min-width: 1000px) {
  .stepper { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); }
}
.stepper__figure {
  border-radius: 16px; overflow: hidden; aspect-ratio: 463 / 544;
  width: 100%; max-width: 463px; margin-inline: auto;
}
@media (max-width: 999px) { .stepper__figure { aspect-ratio: 320 / 235; } }
.stepper__figure img { width: 100%; height: 100%; object-fit: cover; }

.stepper__track { display: grid; gap: 12px; }
@media (min-width: 1000px) { .stepper__track { gap: 0; } }

.stepper__item { transition: opacity .35s ease; }
@media (min-width: 1000px) {
  .stepper__item { opacity: .5; }
  .stepper__item.is-active { opacity: 1; }
}

.step {
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); padding: 16px;
  display: grid; gap: 12px; justify-items: start;
  transition: padding .35s ease, margin .35s ease, box-shadow .35s ease;
}
@media (min-width: 1000px) {
  .step { padding: 24px; margin-inline: 70px; }
  .stepper__item.is-active .step {
    margin-inline: 0; padding: 31px;
    border-radius: 15.4px; border-width: 1.3px;
    box-shadow: 0 18px 40px -24px rgba(0,35,102,.25);
  }
}
.step__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.25; color: var(--ink);
  transition: font-size .35s ease;
}
.step__desc {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: 14px; line-height: 1.5; color: var(--muted);
  transition: font-size .35s ease;
}
@media (min-width: 1000px) {
  .stepper__item.is-active .step__title { font-size: 22px; }
  .stepper__item.is-active .step__desc  { font-size: 18px; }
  .stepper__item.is-active .badge { font-size: 16px; padding: 5px 13px; }
}
.stepper__connector { display: none; height: 24px; justify-content: center; }
@media (min-width: 1000px) { .stepper__connector { display: flex; } }
.stepper__connector span {
  width: 2px; height: 100%;
  background: repeating-linear-gradient(to bottom, var(--navy-deep) 0 4px, transparent 4px 8px);
}

/* --------------------------------------------------------------------------
   Why Choose Us — Section 03
   -------------------------------------------------------------------------- */
#why-choose-us {
  overflow: hidden;
}

#why-choose-us .features {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;

  width: max-content;
  max-width: none;
  margin-top: 56px;

  transform: translateX(var(--cards-x, 0px));
  transition: transform 650ms cubic-bezier(.22,1,.36,1);

  will-change: transform;
}

#why-choose-us .feature {
  flex: 0 0 410px;
  box-sizing: border-box;

  width: 410px;
  height: 240px;

  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);

  padding: 32px;

  display: grid;
  gap: 20px;
  align-content: start;

  opacity: .35;
  filter: grayscale(1);

  box-shadow: none;
  transform: none;

  transition:
    opacity .35s ease,
    filter .35s ease,
    box-shadow .35s ease;
}

/* Disable mouse-hover movement/effects */
#why-choose-us .feature:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

#why-choose-us .feature.is-card-active {
  opacity: 1;
  filter: grayscale(0);

  box-shadow: 0 18px 40px -24px rgba(0,35,102,.25);
}

#why-choose-us .feature__title {
  margin: 0;

  font-family: var(--font-jakarta);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.28;
  color: var(--ink);

  transition: font-size .35s ease;
}

#why-choose-us .feature__desc {
  margin: 0;

  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);

  transition: font-size .35s ease;
}

#why-choose-us .feature.is-card-active .feature__title {
  font-size: 22px;
}

#why-choose-us .feature.is-card-active .feature__desc {
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Request a Demo — Section 02
   -------------------------------------------------------------------------- */
.demo__cta { margin-top: 40px; }
/* The mobile frame uses a full-width 48px CTA (r14, 16px label). */
@media (max-width: 899px) {
  .demo__cta {
    width: 100%; min-height: 48px; border-radius: 14px;
    font-size: 16px; margin-top: 20px;
  }
}
.laptop { width: min(800px, 100%); margin: 64px auto 0; }
@media (max-width: 899px) { .laptop { margin-top: 32px; } }
.laptop__screen {
  background: #1A202C; border-radius: 15px; padding: 5px;
  width: 81%; margin-inline: auto;
}
.laptop__screen img {
  width: 100%; height: auto; aspect-ratio: 480 / 323.13; object-fit: cover;
  border-radius: 11px; background: #000;
}
.laptop__base {
  height: 13px; border-radius: 0 0 10px 10px; position: relative;
  background: linear-gradient(180deg, #80868A 0%, #2A2C2F 100%);
}
@media (max-width: 899px) { .laptop__base { height: 5px; } }
.laptop__base::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, #2A2C2F 0%, #80868A 21%, #80868A 77%, #2A2C2F 100%);
}
.laptop__base::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 119px; height: 5px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #2A2C2F 0%, #80868A 23%, #80868A 80%, #2A2C2F 100%);
}

/* --------------------------------------------------------------------------
   Get in Touch — Section 01
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 567px 1fr; gap: 64px; } }

.context-card {
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); padding: 32px; display: grid; gap: 20px;
}
.context-card h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; line-height: 1.28; color: var(--ink);
}
.context-card p {
  margin: 0;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.6; color: var(--muted);
}
.contact__points { display: grid; gap: 16px; margin-top: 32px; }
.contact-point { display: flex; align-items: center; gap: 16px; }
.contact-point__label {
  font-family: var(--font-jakarta); font-weight: 700; font-size: 12px;
  line-height: 1.25; color: var(--muted); letter-spacing: .04em;
}
.contact-point__value {
  display: block; margin-top: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  line-height: 1.25; color: var(--ink);
}

.form-card {
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--white); padding: 40px;
  display: grid; gap: 24px; align-content: start;
}
@media (max-width: 599px) { .form-card { padding: 24px; } }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-jakarta); font-weight: 600; font-size: 12px;
  line-height: 1.25; color: var(--ink);
}
.field input, .field textarea {
  width: 100%; border: 1px solid transparent; border-radius: 8px;
  background: var(--surface); padding: 12px 16px;
  font-family: var(--font-sans); font-size: 14px; line-height: 1.28;
  color: var(--ink); resize: vertical;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 120px; padding-block: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--navy);
}
.form-status { margin: 0; font-family: var(--font-sans); font-size: 13px; color: var(--navy); }
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--surface); border-top: 1px solid var(--line);
  padding-block: 56px 40px;
}
.footer__inner { max-width: var(--blog-shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1200px) { .footer__inner { padding-inline: 0; } }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 340px 1fr; } }
.footer__brand p {
  margin: 8px 0 0; max-width: 340px;
  font-family: var(--font-ui); font-size: 14px; line-height: 20px; color: var(--body-alt);
}
.footer__cols {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
@media (min-width: 900px) {
  .footer__cols { grid-template-columns: repeat(3, auto); gap: 80px; justify-content: end; }
}
.footer__cols h4 {
  margin: 0 0 16px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  line-height: 1.2; color: var(--ink); letter-spacing: .02em;
}
.footer__cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.footer__cols a {
  font-family: var(--font-ui); font-size: 14px; line-height: 1.2; color: var(--body-alt);
  transition: color .18s ease;
}
.footer__cols a:hover { color: var(--navy); }

.footer__divider { height: 1px; background: var(--line); margin-block: 48px; }
.footer__meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.footer__meta p {
  margin: 0; font-family: var(--font-ui); font-size: 12px; line-height: 1.25; color: var(--body-alt);
}
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  display: grid; place-items: center; width: 20px; height: 20px;
  opacity: .7; transition: opacity .18s ease;
}
.footer__social a:hover { opacity: 1; }
.footer__social img { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Blog listing
   -------------------------------------------------------------------------- */
.blog-shell { max-width: var(--blog-shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1200px) { .blog-shell { padding-inline: 0; } }

.blog-hero { padding-block: 80px 56px; text-align: center; }
@media (max-width: 899px) { .blog-hero { padding-block: 48px 32px; } }
.blog-hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 56px); line-height: 1.15; color: var(--ink);
}
.blog-hero p {
  margin: 0 auto; max-width: 680px;
  font-family: var(--font-display); font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.5; color: var(--body-alt);
}

.blog-toolbar {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between; padding-block: 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border: 0; border-radius: 100px;
  background: var(--surface); color: var(--body-alt);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  line-height: 1.28; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.chip:hover { background: #e9edf6; }
.chip.is-active { background: var(--navy); color: var(--white); }

.search {
  display: flex; align-items: center; gap: 8px;
  width: min(320px, 100%); height: 46px; padding-inline: 13px;
  border: 1px solid var(--line); border-radius: 39px;
}
.search img { width: 20px; height: 20px; flex: none; }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-family: var(--font-ui); font-size: 14px; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }

.card-grid {
  display: grid; gap: 40px 24px; padding-block: 24px 56px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: grid; gap: 20px;
  grid-template-rows: auto auto 1fr auto auto;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--white); padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.post-card > .badge { justify-self: start; }
.post-card__body { align-content: start; }
.post-card:hover {
  border-color: #cfd9ee;
  box-shadow: 0 24px 48px -30px rgba(0,35,102,.3);
  transform: translateY(-3px);
}
.post-card[hidden] { display: none; }
.post-card__thumb { border-radius: 16px; overflow: hidden; aspect-ratio: 317 / 220; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: grid; gap: 12px; }
.post-card__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; line-height: 1.3; color: var(--ink);
}
.post-card__excerpt {
  margin: 0;
  font-family: var(--font-ui); font-size: 14px; line-height: 20px; color: var(--body-alt);
}
.post-card__rule { height: 1px; background: var(--surface); }
.post-card__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-ui); font-size: 12px; line-height: 1.25; color: var(--body-alt);
}
.post-card__read { display: flex; align-items: center; gap: 4px; }
.post-card__read img { width: 16px; height: 16px; }

.empty-state {
  padding: 48px 0 72px; text-align: center;
  font-family: var(--font-ui); font-size: 14px; color: var(--muted);
}
.empty-state[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Blog post
   -------------------------------------------------------------------------- */
.article-hero { padding-block: 80px 40px; text-align: center; }
@media (max-width: 899px) { .article-hero { padding-block: 40px 24px; } }
.article-hero h1 {
  margin: 24px 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px); line-height: 1.15; color: var(--ink);
}
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  font-family: var(--font-ui); font-size: 14px; line-height: 1.2; color: var(--body-alt);
}
.article-figure { max-width: var(--blog-shell); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 1200px) { .article-figure { padding-inline: 0; } }
.article-figure img {
  width: 100%; height: auto; aspect-ratio: 1120 / 580;
  object-fit: cover; border-radius: 24px;
}

.article-body {
  max-width: 760px; margin-inline: auto; padding: 56px 20px 72px;
  font-family: var(--font-ui);
}
.article-body h2 {
  margin: 40px 0 16px;
  font-family: var(--font-ui); font-weight: 700; font-size: 20px;
  line-height: 1.3; color: var(--ink);
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 20px; font-size: 16px; line-height: 24px; color: var(--body-alt); }
.article-body blockquote {
  margin: 32px 0; padding: 24px 28px;
  border-left: 3px solid var(--navy); border-radius: 0 12px 12px 0;
  background: var(--surface);
}
.article-body blockquote p { margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.article-body blockquote cite {
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  font-style: normal; color: var(--accent); letter-spacing: .03em;
}
.article-body ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 16px; }
.article-body li { display: flex; gap: 16px; align-items: flex-start; }
.article-body li::before {
  content: ''; flex: none; width: 8px; height: 8px; margin-top: 7px;
  border-radius: 100px; background: var(--navy);
}
.article-body li span { font-size: 16px; line-height: 20px; color: var(--body-alt); }

/* --------------------------------------------------------------------------
   Compact footer — the landing frame has no desktop footer at all; the file
   only defines one inside `landing-mobile` (MobileFooter, centred, 4 links).
   -------------------------------------------------------------------------- */
.footer--compact {
  display: grid; gap: 32px; justify-items: center; text-align: center;
  padding: 40px 20px 32px;
}
@media (min-width: 900px) { .footer--compact { display: none; } }

.footer--compact .footer__brand { display: grid; gap: 8px; justify-items: center; }
.footer--compact .footer__brand p {
  margin: 0; max-width: 320px;
  font-family: var(--font-display); font-size: 14px; line-height: 1.5;
  color: var(--body-alt);
}
.footer__links { display: grid; gap: 12px; justify-items: center; }
.footer__links a {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  line-height: 1.28; color: var(--ink);
}
.footer__copyright {
  margin: 0;
  font-family: var(--font-display); font-size: 12px; line-height: 1.25;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Full-page section paging — one section per viewport, animated transitions.
   Desktop only; below 900px (or on very short viewports) the page reverts to
   ordinary document scrolling, matching the stacked mobile frames.
   The `fp-on` class is set by site.js once the engine takes over.
   -------------------------------------------------------------------------- */
.fp-on, .fp-on body { height: 100%; overflow: hidden; }

.fp-on .navbar { position: fixed; top: 0; left: 0; right: 0; }

.fp-on .fp {
  height: 100vh; height: 100dvh;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.fp-on .fp::-webkit-scrollbar { width: 0; height: 0; }

.fp-on .fp > section {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding-block: 104px 116px;
}
.fp-on .fp > section { overflow: hidden; }
/* Scaled by site.js when a section would not otherwise fit one viewport. The
   pinned nav and scroll cue sit outside this wrapper so they never scale. */
.fp-on .fp > section > .shell { width: 100%; transform-origin: center center; }

/* Pinned to the bottom of the section, as in the frames (16px from the edge). */
.fp-on .scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; }

/* Keep the tallest sections inside one viewport where it is cheap to do so. */
.fp-on .hero__figure { margin-top: 28px; height: min(546px, 46vh); width: auto; }
.fp-on .hero__figure img { width: auto; height: 100%; }
.fp-on .about__copy { margin-top: 40px; }
.fp-on .stepper { margin-top: 24px; }
.fp-on .stepper__figure { height: min(544px, 52vh); width: auto; aspect-ratio: 463 / 544; }

/* The stepper is the one block that will not fit a 900px viewport at its
   drawn size (4 cards + connectors ≈ 730px). In paging mode the cards run
   wider and tighter so each description holds one line, which buys back the
   ~200px needed. Normal-scroll mode keeps the frame's 70px indent. */
.fp-on .step { margin-inline: 24px; padding: 18px 20px; gap: 10px; }
.fp-on .stepper__item.is-active .step { margin-inline: 0; padding: 24px; gap: 12px; }
.fp-on .stepper__connector { height: 10px; }
.fp-on .step__desc { font-size: 13px; }
.fp-on .stepper__item.is-active .step__title { font-size: 20px; }
.fp-on .stepper__item.is-active .step__desc { font-size: 16px; }
.fp-on #how-it-works { padding-block: 84px 88px; }
.fp-on #how-it-works .headings { gap: 12px; }

/* Short laptop windows: tighten the stepper again, otherwise it falls below the
   scale floor and this one section ends up scrolling while the rest page. */
@media (min-width: 900px) and (max-height: 840px) {
  .fp-on .step { padding: 14px 18px; gap: 8px; }
  .fp-on .stepper__item.is-active .step { padding: 18px 20px; gap: 10px; }
  .fp-on .step__title { font-size: 15px; }
  .fp-on .stepper__item.is-active .step__title { font-size: 18px; }
  .fp-on .stepper__item.is-active .step__desc { font-size: 14px; }
  .fp-on .stepper__connector { height: 8px; }
  .fp-on #how-it-works { padding-block: 76px 80px; }
}
.fp-on .features,
.fp-on .contact { margin-top: 40px; }
.fp-on .laptop { margin-top: 36px; }
.fp-on .laptop__screen img { height: min(422px, 34vh); width: 100%; object-fit: cover; }

/* Content of the incoming section animates in; leaving resets it, so moving
   back and forth replays the transition rather than showing a static slide. */
.fp-on .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1) var(--fp-delay, 0s),
              transform .62s cubic-bezier(.22,.61,.36,1) var(--fp-delay, 0s);
}
.fp-on .fp > section.is-active .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .fp-on .reveal,
  .fp-on .fp > section.is-active .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue__pill img { animation: none; }
}
/* ============================================================
   WHY CHOOSE US — HORIZONTAL CARD NAVIGATION
   ============================================================ */

#why-choose-us {
  overflow: hidden;
}

#why-choose-us .features {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;

  width: max-content;
  max-width: none;

  transform: translateX(var(--cards-x, 0px));

  transition:
    transform 650ms cubic-bezier(.22, 1, .36, 1);

  will-change: transform;
}

#why-choose-us .feature {
  flex: 0 0 330px;

  opacity: .35;

  transform:
    scale(.94);

  filter:
    grayscale(1);

  transition:
    opacity 450ms ease,
    transform 450ms cubic-bezier(.22, 1, .36, 1),
    filter 450ms ease;

  will-change:
    opacity,
    transform;
}

#why-choose-us .feature.is-card-active {
  opacity: 1;

  transform:
    scale(1);

  filter:
    grayscale(0);
}
