/* ==========================================================================
   Z-Plan — landing page styles
   Sections: tokens · base · utilities · hero · solutions ·
             capabilities · stages · workflow · tasks · roles · pricing ·
             about · contact · final · footer · reveal · responsive
   ========================================================================== */

/* ----------------------------------------------------------------- font */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;          /* variable font: one file covers all weights */
  font-display: swap;
  src: url("../assets/fonts/inter-variable.woff2") format("woff2");
}

/* --------------------------------------------------------------- tokens */
:root {
  /* color — a few tokens intentionally share a value (e.g. --c-bg / --c-white,
     --c-ink / --c-dark) so surfaces and text can be re-themed independently. */
  --c-ink:        #262424;        /* headings */
  --c-body:       #505050;        /* paragraph text */
  --c-muted:      #6b6b6b;        /* captions, roles (AA on light/soft surfaces) */
  --c-white:      #ffffff;
  --c-bg:         #f7f7f7;        /* page background */
  --c-bg-soft:    #f7f7f7;        /* section background */
  --c-card:       #eeeff0;        /* feature / step card background */
  --c-dark:       #262424;        /* footer, dark buttons, badges */
  --c-accent:     #1f6fe0;        /* brand blue — focus rings, input focus, logo */
  --c-accent-ink: #195fce;        /* accent text on light/soft surfaces (AA) */
  --c-accent-soft:#e3ebf8;        /* tinted chip / badge / icon backgrounds */
  --c-accent-light:#9cc7ff;       /* accent on dark surfaces (hovers, checks) */
  --c-line:       rgba(0, 0, 0, .08);
  --c-line-dash:  #cdcfd2;        /* dashed step connector */
  --c-error:      #c0392b;
  --c-success:    #1f8a4c;

  /* hero gradient — darker at the top, softly lighter through the center */
  --hero-grad:
    radial-gradient(72% 48% at 50% 37%,
      rgba(174, 220, 249, .78) 0%,
      rgba(132, 199, 239, .48) 45%,
      rgba(132, 199, 239, 0) 73%),
    linear-gradient(180deg,
      #4da5de 0%,
      #56ade4 24%,
      #78c0ec 52%,
      #a6d7f4 78%,
      #d4ecfb 100%);
  /* typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* radius */
  --r-lg:  28px;
  --r-md:  20px;
  --r-sm:  14px;
  --r-pill: 999px;

  /* layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 120px;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .6s;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
}

p { margin: 0; }

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

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

/* Two-tone ring stays visible on light, white and dark surfaces alike.
   The transparent outline keeps a visible focus ring in forced-colors mode. */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-accent);
  border-radius: 6px;
}

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

.section { padding-block: var(--section-y); }

.section-head {
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 64px;
  text-align: center;
}
.section-head__title { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.04em; }
.section-head__text {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--c-body);
}

/* buttons ------------------------------------------------------------- */
.btn {
  --btn-fs: .9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: var(--btn-fs);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 22px; }

.btn--light {
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { box-shadow: var(--shadow-md); }

.btn--ghost {
  background: rgba(255, 255, 255, .18);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .65);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .28); }

.btn--dark {
  background: var(--c-dark);
  color: var(--c-white);
}
.btn--dark:hover { background: #000; box-shadow: var(--shadow-md); }

/* brand --------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  display: block;
  width: clamp(118px, 11vw, 156px);
  height: auto;
}
.brand--footer .brand__logo { width: 156px; }

/* ----------------------------------------------------------------- HERO */
.hero {
  position: relative;
  margin: 14px;
  padding-bottom: 0;
  border-radius: var(--r-lg);
  background: var(--hero-grad);
  overflow: hidden;
  isolation: isolate;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
}
.hero > .navbar.container {
  max-width: none;
  margin-inline: 0;
  padding: 26px;
}

.hero__content {
  text-align: center;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title {
  max-width: 16ch;
  margin-top: 22px;
  font-size: clamp(2.4rem, 6.2vw, 3.5rem);
  letter-spacing: -.055em;
  color: var(--c-white);
}
.hero__lead {
  max-width: 46ch;
  margin-top: 22px;
  font-size: 1.125rem;
  color: #fff;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

/* polished entrance for the first viewport */
.text-type__visible { display: inline; }
.text-word {
  display: inline-block;
  white-space: nowrap;
}
.text-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.42em) scale(.98);
  filter: blur(6px);
  animation: text-type-in .48s var(--ease) forwards;
  will-change: opacity, transform, filter;
}

.js .brand,
.js .navbar .btn,
.js .hero__actions .btn {
  animation: hero-fade-up .7s var(--ease) both;
  will-change: opacity, transform, filter;
}
.js .brand { animation-delay: .08s; }
.js .navbar .btn { animation-delay: .18s; }
.js .hero__actions .btn:nth-child(1) { animation-delay: 1.62s; }
.js .hero__actions .btn:nth-child(2) { animation-delay: 1.74s; }

/* device mockup */
.hero__visual { margin-top: 60px; padding: 0 var(--gutter); }
.hero__device {
  position: relative;
  width: min(1040px, 92%);
  margin-inline: auto;
}
.js .hero__device {
  animation: hero-device-in 1s var(--ease) 1.32s both;
  transform-origin: 50% 100%;
  will-change: opacity, transform, filter;
}
/* desktop app screenshot — sits flush to the hero's bottom edge,
   so only the top corners are rounded */
.hero__screen {
  display: block;
  width: 100%;
  border-radius: var(--r-md) var(--r-md) 0 0;
  /* drop-shadow follows the device silhouette (not the image rectangle),
     so there is no light plate/halo around the transparent corners */
  filter: drop-shadow(0 20px 36px rgba(16, 24, 40, .20));
}

.hero__card {
  position: absolute;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
.js .hero__card {
  animation: hero-card-in .78s var(--ease) 1.58s both;
  transform-origin: 70% 45%;
  will-change: opacity, transform, filter;
}
.hero__card--goals { width: 33%; top: 22%; right: -3%; }

@keyframes text-type-in {
  0% {
    opacity: 0;
    transform: translateY(.42em) scale(.98);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-device-in {
  from {
    opacity: 0;
    transform: translate3d(0, 54px, 0) scale(.965);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translate3d(42px, 20px, 0) scale(.92);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ------------------------------------------------- FEATURES / SOLUTIONS grid */
.solutions > .container {
  width: auto;
  max-width: none;
  margin-inline: 14px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 44px;
  background: var(--c-card);
  border-radius: var(--r-md);
  overflow: hidden;
}
.feature__media {
  width: 100%;
  height: clamp(300px, 24vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 0;
}
.feature__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-sm);
}
.feature__title { margin-top: 28px; font-size: 1.25rem; letter-spacing: -.02em; }
.feature__text {
  max-width: 34ch;
  margin-top: 10px;
  padding-inline: 24px;
  font-size: 1rem;
  color: var(--c-body);
}

/* ---------------------------------------------------------------- STEPS */
.steps { background: var(--c-bg-soft); }

.steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.steps__aside {
  position: sticky;
  top: 110px;
}
.steps__title { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.04em; }
.steps__text { margin-top: 18px; margin-bottom: 32px; font-size: 1.0625rem; }

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  position: relative;
  padding-left: 56px;
  padding-bottom: 40px;
}
/* dashed connector running through the number badges */
.step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: -6px;
  border-left: 2px dashed var(--c-line-dash);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: .9rem;
  font-weight: 600;
}

.step__card {
  background: var(--c-card);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: center;
}
.step__body { padding: 28px 24px 40px; }
.step__heading { font-size: 1.25rem; letter-spacing: -.02em; }
.step__text { margin-top: 10px; font-size: 1rem; }

/* ========================================================== CONTACT */
.contact {
  padding-block: 14px;
  background: var(--c-bg);
}
.contact > .container {
  max-width: none;
  padding-inline: 14px;
}
.contact__shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 28px);
  padding: clamp(36px, 5.8vw, 82px);
  background: var(--hero-grad);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.contact__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .45), transparent 36%),
    linear-gradient(315deg, rgba(31, 111, 224, .18), transparent 42%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  gap: 34px;
  justify-content: center;
  align-items: stretch;
  width: min(760px, 100%);
  margin-inline: auto;
}
.contact__intro {
  text-align: center;
}
.contact__title {
  max-width: none;
  margin-top: 0;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -.05em;
  color: var(--c-white);
}
.contact__lead {
  max-width: 620px;
  margin-inline: auto;
  margin-top: 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.0625rem;
}

.contact__info {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 52px);
  background: rgba(38, 36, 36, .92);
  color: rgba(255, 255, 255, .8);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.contact__infotitle { color: var(--c-white); font-size: 1.25rem; margin-bottom: 20px; }
.contact__list { margin: 0; }
.contact__list > div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact__list dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.contact__list dd { margin: 4px 0 0; font-size: 1.0625rem; color: var(--c-white); }
.contact__list a:hover { color: var(--c-accent-light); }

/* ============================================================= FINAL CTA */
.final { background: var(--c-dark); color: var(--c-white); }
.final__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.final__title { margin-top: 14px; font-size: clamp(2.2rem, 5vw, 3.25rem); letter-spacing: -.04em; color: var(--c-white); }
.final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* --------------------------------------------------------------- FOOTER */
.footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, .7);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 64px 40px;
}
.footer__line { margin-top: 18px; font-size: .9375rem; max-width: 32ch; }
.footer__coltitle { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col a { padding-block: 7px; font-size: .9375rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--c-white); }
.footer__legal {
  padding-block: 28px 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__legal p { font-size: .8125rem; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.footer__legal p:first-child { color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------- reveal anim */
/* Hidden state applies only when JS is active (html.js is set inline in <head>),
   so the page is fully visible if scripts are blocked or fail to load. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive breakpoints live at the very end of this file, after every
   component's base styles, so the media-query overrides reliably win. */

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .brand,
  .js .navbar .btn,
  .js .hero__actions .btn,
  .js .hero__device,
  .js .hero__card,
  .text-char {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
  [data-reveal],
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* =========================================================================
   Z-PLAN sections — built on the same tokens/components as above
   ========================================================================= */

/* shared bits ----------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-accent-ink);
}
.eyebrow--dark { color: var(--c-muted); }
.eyebrow--light { color: rgba(255, 255, 255, .7); }

/* gradient-accent words inside headings (matches source's emphasis).
   Stops kept dark enough for AA-large contrast on light backgrounds. */
.grad {
  background: linear-gradient(90deg, var(--c-accent-ink), #2d7be0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--ink { background: none; color: var(--c-ink); }
.grad--light { background: linear-gradient(90deg, #9cc7ff, #e2eeff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* outline button variant */
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { border-color: var(--c-ink); }

/* image placeholders (swap for real screenshots later) */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  flex: 1; align-self: stretch;
  width: 100%; min-height: 150px;
  padding: 24px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--c-body);
  background: linear-gradient(135deg, var(--c-accent-soft), #eef3fb);
  border: 1px dashed var(--c-line-dash);
  border-radius: var(--r-sm);
}

/* section backgrounds — alternating rhythm ----------------------------- */
.solutions       { background: var(--c-bg); }
.features-section { background: var(--c-bg); }
.workflow        { background: var(--c-bg); }
.tasks           { background: var(--c-bg-soft); }
.roles           { background: var(--c-bg); }
.pricing         { background: var(--c-bg); }
.about           { background: var(--c-bg-soft); }

/* CAPABILITIES ---------------------------------------------------------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap { padding: 30px; background: var(--c-card); border-radius: var(--r-md); }
.cap__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--c-ink);
  background: transparent;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
}
.cap__icon::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask: var(--cap-icon) center / contain no-repeat;
          mask: var(--cap-icon) center / contain no-repeat;
}
.cap__icon--table { --cap-icon: url("../assets/icons/lucide/table-2.svg"); }
.cap__icon--workflow { --cap-icon: url("../assets/icons/lucide/workflow.svg"); }
.cap__icon--users { --cap-icon: url("../assets/icons/lucide/users-round.svg"); }
.cap__icon--file-check { --cap-icon: url("../assets/icons/lucide/file-check-2.svg"); }
.cap__icon--chart { --cap-icon: url("../assets/icons/lucide/chart-column.svg"); }
.cap__icon--bell { --cap-icon: url("../assets/icons/lucide/bell-ring.svg"); }
.cap__title { font-size: 1.125rem; letter-spacing: -.02em; }
.cap__text { margin-top: 10px; font-size: .9375rem; color: var(--c-body); }

/* STAGES — left-aligned step cards with bullet lists -------------------- */
.steps .step__card { text-align: left; }
.steps .step__body { padding: 34px 34px 36px; }
.step__heading { margin-top: 8px; }
.step__list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.step__list li {
  position: relative;
  min-height: 42px;
  padding: 10px 12px 10px 42px;
  font-size: .925rem;
  line-height: 1.45;
  color: var(--c-body);
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--c-line);
  border-radius: 14px;
}
.step__list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
}

/* WORKFLOW (4 steps) ---------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.flow__step { padding: 30px 24px; background: var(--c-card); border-radius: var(--r-md); }
.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--c-ink);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1;
  background: transparent;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
}
.flow__title { margin-top: 18px; font-size: 1.0625rem; }
.flow__text { margin-top: 8px; font-size: .9rem; color: var(--c-body); }

/* TASKS — annual cycle + checklist ------------------------------------- */
.cycle { text-align: center; }
.cycle__track { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cycle__track li { flex: 1; padding: 22px 18px; text-align: left; background: var(--c-card); border-radius: var(--r-md); }
.cycle__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--c-ink);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1;
  background: transparent;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
}
.cycle__track b { display: block; margin-top: 10px; font-size: 1rem; font-weight: 600; color: var(--c-ink); }
.cycle__track i { display: block; margin-top: 4px; font-size: .85rem; font-style: normal; color: var(--c-muted); }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  min-height: 76px;
  padding: 20px 22px;
  text-align: left;
  font-size: .96rem;
  line-height: 1.5;
  color: var(--c-body);
  background: var(--c-card);
  border: 0;
  border-radius: var(--r-sm);
}

/* ROLES ----------------------------------------------------------------- */
.roles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role { padding: 28px; background: var(--c-card); border-radius: var(--r-md); }
.role__badge { display: inline-block; padding: 4px 12px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--c-accent-ink); background: var(--c-accent-soft); border-radius: var(--r-pill); }
.role__name { margin-top: 16px; font-size: 1.375rem; letter-spacing: -.02em; }
.role__text { margin-top: 10px; font-size: .9375rem; color: var(--c-body); }

/* PRICING --------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tier { position: relative; padding: 36px 32px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.tier--featured { color: #fff; background: var(--c-dark); border-color: var(--c-dark); transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.tier__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 16px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--c-accent); border-radius: var(--r-pill); }
.tier__badge { font-size: .8125rem; color: var(--c-muted); }
.tier--featured .tier__badge { color: rgba(255, 255, 255, .6); }
.tier__name { margin-top: 6px; font-size: 1.5rem; letter-spacing: -.02em; }
.tier--featured .tier__name { color: #fff; }
.tier__price { margin-top: 18px; font-size: 2.25rem; font-weight: 600; letter-spacing: -.03em; color: var(--c-ink); }
.tier--featured .tier__price { color: #fff; }
.tier__price span { font-size: 1.25rem; color: var(--c-muted); }
.tier__terms { margin-top: 10px; min-height: 3em; font-size: .85rem; color: var(--c-muted); }
.tier--featured .tier__terms { color: rgba(255, 255, 255, .6); }
.tier__cta { width: 100%; margin-top: 24px; }
.tier__features { margin: 24px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--c-line); }
.tier--featured .tier__features { border-top-color: rgba(255, 255, 255, .15); }
.tier__features li { position: relative; margin-bottom: 12px; padding-left: 26px; font-size: .9375rem; }
.tier__features li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--c-accent-ink); }
.tier--featured .tier__features li::before { color: var(--c-accent-light); }

/* ABOUT ----------------------------------------------------------------- */
.about {
  background: var(--c-bg-soft);
  overflow: hidden;
}
.about__grid {
  display: block;
}
/* let grid columns shrink below their content's min-content width (prevents overflow) */
.about__grid > *,
.contact__grid > *,
.steps__grid > * { min-width: 0; }
.about__intro { max-width: 760px; }
.about__title {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -.045em;
}
.about__lede {
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--c-ink);
}
.about__p { margin-top: 18px; font-size: .98rem; color: var(--c-body); }

/* =========================================================================
   RESPONSIVE — placed last so these overrides win over all base components
   ========================================================================= */
@media (max-width: 900px) {
  :root { --section-y: 88px; }

  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .steps__aside { position: static; }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .roles__grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier--featured { transform: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__intro { max-width: none; }
  .contact__title { max-width: none; }
  .contact__info { min-height: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checklist { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  /* let card visuals scale with the card instead of sitting in a fixed box */
  .feature__media { height: auto; aspect-ratio: 16 / 11; padding: 28px 24px 0; }

  .hero { margin: 8px; }
  .hero > .navbar.container { padding: 18px; }
  .solutions > .container { margin-inline: 8px; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .hero__visual { margin-top: 44px; }
  .hero__device { width: 96%; }
  /* the detailed desktop screenshot is busy — drop overlay cards on small screens */
  .hero__card { display: none; }

  .features__grid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .roles__grid { grid-template-columns: 1fr; }
  .contact__shell { padding: 22px; border-radius: var(--r-md); }
  .contact__title { max-width: none; }
  .contact__info { padding: 24px; }
  .cycle__track { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; }
  .final__actions .btn { flex: 1; }
}
