/* ==========================================================================
   PugPost — shared stylesheet
   Palette: white background, purple-blue (violet/indigo) accent.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #6d5ef3;
  --brand-dark: #5747e0;
  --brand-darker: #4536c4;
  --brand-tint: #eeebfe;
  --brand-tint-2: #f7f5ff;
  --brand-grad: linear-gradient(115deg, #8b7bff 0%, #5a6cff 100%);
  --marker: #eeff00; /* fluorescent highlighter yellow */

  /* Ink */
  --ink: #14121f;
  --ink-2: #2c2842;
  --muted: #5b5772;
  --muted-2: #8b87a3;

  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: #f7f7fc;
  --bg-tint: #f6f4ff;
  --line: #e9e7f3;
  --line-2: #dedaee;

  /* Status */
  --green: #12a15f;
  --green-tint: #e6f7ef;
  --amber: #c07d17;
  --amber-tint: #fdf3e2;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(20, 18, 31, .05), 0 1px 3px rgba(20, 18, 31, .04);
  --sh: 0 4px 16px rgba(20, 18, 31, .06), 0 1px 3px rgba(20, 18, 31, .04);
  --sh-lg: 0 18px 48px rgba(45, 33, 120, .12), 0 2px 8px rgba(20, 18, 31, .05);
  --sh-brand: 0 10px 30px rgba(109, 94, 243, .28);

  /* Layout */
  --maxw: 1200px;
  --gutter: 24px;
  --nav-h: 68px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Components below set explicit `display`, which would otherwise beat the
   UA rule for [hidden]. Keep the attribute authoritative. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink);
}
p { margin: 0; }

::selection { background: var(--brand-tint); color: var(--brand-darker); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------- Layout --------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }

.center { text-align: center; }
.stack-sm > * + * { margin-top: 10px; }

/* Small uppercase label above a section heading */
.eyebrow {
  font-family: var(--script);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}

.h1 { font-size: clamp(40px, 5.4vw, 62px); }
.h2 { font-size: clamp(32px, 4vw, 47px); }
.h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.02em; }

.lead {
  font-size: clamp(16px, 1.35vw, 18.5px);
  color: var(--muted);
  line-height: 1.62;
  max-width: 62ch;
}
.center .lead,
.cta-band .lead { margin-inline: auto; }

.accent { color: var(--brand); }
.nowrap { white-space: nowrap; }

/* Handwritten price in the hero, on a marker-style highlight band */
.price-hl {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-family: var(--script);
  font-weight: 700;
  font-size: 1.24em;
  line-height: .85;
  letter-spacing: 0;
  color: var(--brand-darker);
  padding: 0 .14em;
  white-space: nowrap;
}
.price-hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.05em;
  right: -.05em;
  top: .16em;
  bottom: .12em;
  background: var(--marker);
  border-radius: 6px;
  transform: rotate(-1.6deg);
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.center .section-head,
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: 18px; }

/* ------------------------------ Buttons --------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease,
    border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--soft { background: var(--brand-tint); color: var(--brand-darker); }
.btn--soft:hover { background: #e4dffd; }

.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16.5px; }
.btn--block { display: flex; width: 100%; }

.btn.is-disabled {
  opacity: .45;
  pointer-events: none;
  box-shadow: none;
}

.btn .arw { transition: transform .16s ease; }
.btn:hover .arw { transform: translateX(3px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.center .cta-row { justify-content: center; }

.fineprint {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .01em;
}

/* -------------------------------- Nav ----------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(20, 18, 31, .04);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.035em;
  color: var(--ink);
}
.logo__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(109, 94, 243, .35);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
.nav__links a {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav__links a:hover { background: var(--brand-tint-2); color: var(--brand); }
.nav__links a.is-active { color: var(--brand); font-weight: 600; }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 17px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; left: 0; transform: none; }
.nav__toggle span::after { top: 6px; left: 0; transform: none; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px var(--gutter) 22px;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}
.nav__mobile .btn { margin-top: 16px; }

/* -------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 68px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -20%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 40%, rgba(139, 123, 255, .16), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 26px; }

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.checks .tick {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-radius: 7px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.checks .tick svg { width: 15px; height: 15px; }


/* ------------------- Horizontal marquee carousel ------------------------ */

.marquee {
  position: relative;
  display: grid;
  gap: 16px;
  /* Fade the edges so cards enter and leave softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  height: var(--rowh, 168px);
  will-change: transform;
  animation: marquee-left var(--dur, 46s) linear infinite;
}
.marquee__row--reverse { animation-name: marquee-right; }
.marquee:hover .marquee__row { animation-play-state: paused; }

@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; }
  .marquee { overflow-x: auto; }
}

/* A single placeholder card in the carousel.
   Rows are a fixed height; each card's aspect ratio sets its width. */
.mcard {
  position: relative;
  flex: none;
  height: 100%;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--brand-tint-2);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
}
.mcard img {
  height: 100%;
  width: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.mcard--tall img { aspect-ratio: 10 / 14; }
.mcard--wide img { aspect-ratio: 16 / 10; }
.mcard--email img { aspect-ratio: 4 / 5; }

.mcard__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: rgba(20, 18, 31, .78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ------------------------------ Channels -------------------------------- */

.channels { padding: 34px 0; border-block: 1px solid var(--line); }
.channels__label {
  font-family: var(--script);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
}
/* The logo strip scrolls right to left, on the same keyframes as the hero. */
.channels__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.channels__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  will-change: transform;
  animation: marquee-left var(--dur, 42s) linear infinite;
}
.channels__marquee:hover .channels__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .channels__track { animation: none; }
  .channels__marquee { overflow-x: auto; }
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  opacity: .78;
  transition: opacity .18s ease, color .18s ease;
}
.channel:hover { opacity: 1; color: var(--ink); }
.channel svg { width: 21px; height: 21px; }

/* ---------------------------- How it works ------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.step:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.step__num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-tint);
  color: var(--brand-darker);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 9px; font-size: 19px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step__ui { margin-top: 22px; }

/* Mock UI panels inside the steps */
.mock {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px;
  display: grid;
  gap: 8px;
}
.mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 550;
}
.mock__row--on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.mock__price { color: var(--brand); font-weight: 700; font-size: 13px; }
.mock__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 2px 2px 4px;
}
.mock__dot {
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; flex: none;
}
.mock__dot--done { background: var(--green-tint); color: var(--green); }
.mock__dot--todo { background: #f0eef8; color: var(--muted-2); }
.mock__left { display: flex; align-items: center; gap: 9px; }
.pill-status {
  font-size: 10.5px;
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--pill);
  font-weight: 650;
}
.pill-status--wait { background: var(--amber-tint); color: var(--amber); }
.pill-status--ok { background: var(--green-tint); color: var(--green); }
.pill-status--rev { background: var(--brand-tint); color: var(--brand-darker); }
.mock__bar {
  height: 6px;
  border-radius: 99px;
  background: #e7e4f4;
  overflow: hidden;
}
.mock__bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* ------------------------------ Portfolio ------------------------------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  padding: 9px 20px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--sh-sm);
}

.tabpanel[hidden] { display: none; }

.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.grid-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.grid-landing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.tile {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--brand-tint-2);
  box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.tile img { width: 100%; object-fit: cover; }
.tile--post img { aspect-ratio: 1 / 1; }
.tile--video img { aspect-ratio: 9 / 16; }

.tile__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.tile__play i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
}
.tile__play i::after {
  content: "";
  width: 0; height: 0;
  margin-left: 3px;
  border-left: 12px solid var(--brand);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.tile__meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.tile__chip {
  padding: 4px 9px;
  border-radius: var(--pill);
  background: rgba(20, 18, 31, .74);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

/* Browser-chrome frame for landing page / website examples */
.frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh);
  transition: transform .2s ease, box-shadow .2s ease;
}
.frame:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ddd9ec; flex: none;
}
.frame__url {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.chip {
  padding: 8px 15px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  cursor: pointer;
  transition: all .16s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.chip small { opacity: .6; margin-left: 5px; font-size: 11px; }

/* ---------------------------- Plan builder ------------------------------ */

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.svc-list { display: grid; gap: 12px; }

.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
  position: relative;
}
.svc:hover { border-color: var(--line-2); }
.svc.is-added {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint), var(--sh-sm);
}
.svc__flag {
  position: absolute;
  top: -9px;
  left: 20px;
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--pill);
  box-shadow: var(--sh-brand);
}
.svc__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.svc__title { flex: 1; min-width: 0; }
.svc__title h3 { font-size: 16.5px; letter-spacing: -.02em; }
.svc__from { font-size: 13px; color: var(--muted); margin-top: 3px; }
.svc__from b { color: var(--brand); font-weight: 650; }

.svc__add {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--brand);
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .16s ease;
}
.svc__add:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.svc__info {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  cursor: help;
  display: grid;
  place-items: center;
}
.svc__info:hover { border-color: var(--brand); color: var(--brand); }

.svc__body {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  gap: 13px;
}
.svc__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.svc__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 3px;
  background: #fff;
}
.stepper button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.stepper button:hover:not(:disabled) { background: var(--brand); color: #fff; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output {
  min-width: 92px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding-inline: 6px;
}

.svc__price { font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.svc__price span { font-size: 12.5px; color: var(--muted-2); font-weight: 500; }

.svc__remove {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted-2);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.svc__remove:hover { color: #d0435b; }

/* Service info dialog, opened from the "i" button on a plan card */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(560px, calc(100vw - 32px));
  color: var(--ink);
  overflow: visible;
}
.modal::backdrop {
  background: rgba(20, 18, 31, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal[open] .modal__panel { animation: modal-in .18s ease-out; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 30px 30px 32px;
  box-shadow: var(--sh-lg);
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .15s ease, color .15s ease;
}
.modal__close:hover { border-color: var(--brand); color: var(--brand); }
.modal__title { font-size: clamp(21px, 3vw, 25px); padding-right: 44px; margin-bottom: 14px; }
.modal__body p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.modal__body p + p { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  .modal[open] .modal__panel { animation: none; }
}

/* Per-unit upgrade block (e.g. animate my posts) */
.upsell {
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  padding: 14px 15px;
  background: var(--bg-alt);
  display: grid;
  gap: 10px;
  transition: border-color .18s ease, background .18s ease;
}
.upsell.is-on {
  border-style: solid;
  border-color: var(--brand);
  background: var(--brand-tint-2);
}
.upsell__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.upsell__name { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.upsell__tag {
  display: inline-block;
  margin-left: 4px;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--brand-tint);
  color: var(--brand-darker);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  font-weight: 650;
  vertical-align: 1px;
}
.upsell.is-on .upsell__tag { background: #fff; }
.upsell__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.upsell__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.upsell__total { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.upsell__total span { font-size: 12.5px; font-weight: 500; color: var(--muted-2); }
.upsell__total span:only-child { font-size: 13px; font-style: italic; }

/* Upgrade shown as a sub-line under its parent service in the summary */
.line--sub .line__name { padding-left: 12px; position: relative; color: var(--muted); }
.line--sub .line__name::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.line--sub .line__val { color: var(--brand-darker); }

/* Website tier options */
.opts { display: grid; gap: 9px; }
.opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all .16s ease;
}
.opt:hover { border-color: var(--brand); background: var(--brand-tint-2); }
.opt input { margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.opt.is-on { border-color: var(--brand); background: var(--brand-tint-2); box-shadow: 0 0 0 2px var(--brand-tint); }
.opt__body { flex: 1; min-width: 0; }
.opt__name { font-weight: 620; font-size: 14.5px; }
.opt__note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.opt__price { text-align: right; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.opt__price small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted-2); }

/* More add-ons disclosure */
.more-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease;
}
.more-toggle:hover { border-color: var(--brand); background: var(--brand-tint-2); }
.more-toggle b { font-size: 15px; }
.more-toggle p { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }

/* Estimate panel */
.estimate {
  position: sticky;
  top: calc(var(--nav-h) + 18px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.estimate__head {
  padding: 18px 22px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.estimate__head .logo { color: #fff; font-size: 16px; }
.estimate__head .logo__mark { width: 25px; height: 25px; border-radius: 8px; font-size: 13px; }
.estimate__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.estimate__body { padding: 20px 22px 22px; }
.estimate__sub {
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.lines { display: grid; gap: 11px; margin-bottom: 16px; }
.line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.line__name { color: var(--ink-2); font-weight: 550; }
.line__name small { display: block; font-weight: 400; color: var(--muted-2); font-size: 12px; }
.line__val { font-weight: 700; white-space: nowrap; }
.line--once .line__val { color: var(--brand-darker); }

.empty-note {
  font-size: 13.5px;
  color: var(--muted-2);
  padding: 14px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  text-align: center;
  margin-bottom: 16px;
}

.perks {
  list-style: none;
  padding: 14px 0 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.perks li {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.perks .tick { color: var(--green); font-weight: 800; flex: none; }

.total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.total__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.total__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.total__val { font-size: 30px; font-weight: 750; letter-spacing: -.035em; }
.total__val small { font-size: 13px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.total__row--once .total__val { font-size: 20px; color: var(--brand-darker); }

.estimate__note {
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.5;
  margin-top: 14px;
}
.estimate__share {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.estimate__share button {
  border: 0;
  background: none;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.estimate__share p { font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }

/* Sticky mobile summary bar */
.sticky-sum {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20, 18, 31, .07);
}
.sticky-sum__meta { min-width: 0; }
.sticky-sum__count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sticky-sum__price { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

/* --------------------- Detailed service cards --------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { box-shadow: var(--sh-lg); border-color: var(--line-2); }

.plan__cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 650;
  margin-bottom: 10px;
}
.plan__name { font-size: 20px; letter-spacing: -.025em; margin-bottom: 9px; }
.plan__desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 20px; }

.plan__pricing {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.plan__tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.plan__tier {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--pill);
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.plan__tier:hover { border-color: var(--brand); color: var(--brand); }
.plan__tier.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.plan__amount {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}
.plan__amount span { font-size: 14px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }

.plan__tiers-list { display: grid; gap: 10px; }
.plan__tierrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.plan__tiername { font-size: 14px; font-weight: 620; }
.plan__tiernote { font-size: 12px; color: var(--muted-2); margin-top: 2px; max-width: 34ch; }
.plan__tierprice { text-align: right; font-size: 16px; font-weight: 700; white-space: nowrap; letter-spacing: -.02em; }
.plan__tierprice small { display: block; font-size: 11px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }

.plan__inclabel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
  margin-bottom: 12px;
}
.plan__incs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.plan__incs li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.plan__incs .tick { color: var(--brand); font-weight: 800; flex: none; }
.plan__foot { margin-top: auto; }

.plans-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted-2);
}
.plans-note span { display: inline-flex; gap: 7px; align-items: center; }
.plans-note span::before { content: "✓"; color: var(--green); font-weight: 800; }

/* -------------------------- Pro / upsell banner ------------------------- */

.pro {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 34px;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, #221d3d 0%, #322a63 55%, #453aa0 100%);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.pro h3 { color: #fff; font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 10px; }
.pro p { color: rgba(255, 255, 255, .74); font-size: 15px; max-width: 62ch; }
.pro__price { font-size: 34px; font-weight: 750; letter-spacing: -.035em; }
.pro__price small { font-size: 14px; font-weight: 500; opacity: .65; }
.pro__rule {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
}
.pro .btn--soft { background: #fff; color: var(--brand-darker); }
.pro .btn--soft:hover { background: #f2effe; }

/* ----------------------------- Guarantee -------------------------------- */

.guarantee {
  display: grid;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh);
}
.guarantee__seal {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--brand-tint);
  border: 2px dashed var(--brand);
  color: var(--brand-darker);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.15;
  font-weight: 750;
  font-size: 15px;
  letter-spacing: -.02em;
  flex: none;
}
.guarantee__seal small { display: block; font-size: 10px; letter-spacing: .1em; font-weight: 600; opacity: .75; text-transform: uppercase; margin-top: 3px; }
.guar-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 12px; }
.guar-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.guar-list .tick {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 6px; background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}

/* ---------------------------- Cost compare ------------------------------ */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.cmp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-sm);
}
.cmp__name { font-size: 14.5px; font-weight: 650; }
.cmp__price { font-size: 24px; font-weight: 750; letter-spacing: -.035em; }
.cmp__price small { font-size: 13px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.cmp__con {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
  display: flex;
  gap: 7px;
  align-items: center;
}
.cmp__con::before { content: "✕"; color: #d0435b; font-size: 10px; font-weight: 800; }

.cmp--win {
  grid-column: 1 / -1;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding: 30px;
}
.cmp--win .cmp__name { color: rgba(255, 255, 255, .55); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.cmp--win .cmp__price { color: #fff; font-size: 40px; }
.cmp--win .cmp__price small { color: rgba(255, 255, 255, .55); }
.cmp--win p { color: rgba(255, 255, 255, .72); font-size: 14.5px; max-width: 60ch; }
.cmp__wins { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.cmp__wins li { display: flex; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.cmp__wins .tick { color: #8b7bff; font-weight: 800; }
.cmp__win-inner { display: grid; gap: 22px; align-items: center; }

/* ---------------------------- Case studies ------------------------------ */

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.case__stat {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.case__statlabel { font-size: 12.5px; color: var(--muted-2); }
.case__svc {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 650;
}
.case__client { font-weight: 700; font-size: 15px; }
.case p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.case__link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* -------------------------------- FAQ ----------------------------------- */

.faq { display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .16s ease;
}
.faq__q:hover { color: var(--brand); }
.faq__n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  flex: none;
  width: 22px;
}
.faq__q span:not(.faq__n):not(.faq__ic) { flex: 1; }
.faq__ic {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  position: relative;
  transition: transform .22s ease, background .18s ease, border-color .18s ease;
}
.faq__ic::before, .faq__ic::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: opacity .2s ease, background .18s ease;
}
.faq__ic::before { width: 11px; height: 1.8px; }
.faq__ic::after { width: 1.8px; height: 11px; }
.faq__q[aria-expanded="true"] .faq__ic { background: var(--brand); border-color: var(--brand); transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__ic::before { background: #fff; }
.faq__q[aria-expanded="true"] .faq__ic::after { opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 42px 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 74ch;
}

/* ------------------------------ CTA band -------------------------------- */

.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: 60px 40px;
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(139, 123, 255, .22), transparent 65%),
    var(--bg-tint);
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta-band h2 { margin-bottom: 14px; }

.statband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line-2);
}
.statband div { text-align: center; }
.statband b {
  display: block;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -.035em;
}
.statband span { font-size: 12.5px; color: var(--muted-2); }

/* ------------------------------- Footer --------------------------------- */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 62px 0 30px;
  margin-top: 0;
}
.footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.footer__blurb { font-size: 14px; color: var(--muted); max-width: 42ch; margin-top: 16px; }
.footer__status {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer__status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
}
.footer__cols h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
  font-weight: 650;
}
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__cols a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.footer__cols a:hover { color: var(--brand); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-2);
}
.footer__bottom nav { display: flex; gap: 18px; }

/* ============================ ORDER / CHECKOUT ========================== */

.conav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.conav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.conav__back {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.conav__back:hover { color: var(--brand); }
.conav__secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-tint);
  padding: 5px 11px;
  border-radius: var(--pill);
  font-weight: 650;
}

/* Step indicator */
.osteps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.ostep {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-2);
}
.ostep i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
}
.ostep.is-on { color: var(--ink); }
.ostep.is-on i {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(109, 94, 243, .32);
}
.osteps__line {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: var(--line-2);
}

/* Layout */
.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.otrust {
  list-style: none;
  padding: 18px 20px;
  margin: 22px 0 40px;
  display: grid;
  gap: 10px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.otrust li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.otrust .tick { color: var(--brand); font-weight: 800; flex: none; }

/* Service groups */
.ogroup { margin-bottom: 34px; }
.ogroup__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ogroup__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.ogroup__sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 650;
  margin: 26px 0 12px;
}

.ocards { display: grid; gap: 12px; }

.ocard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ocard:hover { border-color: var(--line-2); }
.ocard.is-on {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint), var(--sh-sm);
}
.ocard--addon { background: var(--bg-alt); }

.ocard__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.ocard__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-darker);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.ocard__name { font-size: 16px; font-weight: 680; letter-spacing: -.02em; }
.ocard__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }

/* Select control */
.field { position: relative; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 13px 42px 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field select:hover { border-color: var(--brand); }
.field select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
  outline: none;
}
.field::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.field select.is-empty { color: var(--muted-2); font-weight: 500; }

.ocard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ocard__range { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.ocard__range small { font-size: 12.5px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.ocard__clear {
  border: 0;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--muted-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ocard__clear:hover { color: #d0435b; }

/* Platform chips on the add-on */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}
.platform svg { width: 13px; height: 13px; }

/* Summary line quantities */
.line__qty {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 2px 7px;
  border-radius: var(--pill);
  font-weight: 650;
  margin-left: 8px;
  white-space: nowrap;
}

.order-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

@media (min-width: 980px) {
  .order { grid-template-columns: minmax(0, 1fr) 372px; gap: 34px; }
}
@media (max-width: 979px) {
  .order .estimate { position: static; }
}

/* ---------------------------- Reveal on scroll -------------------------- */

/* Scoped to .js (set by main.js) so a script failure can never leave the
   page's content permanently invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------- Breakpoints ------------------------------ */

@media (min-width: 700px) {
  .pro { grid-template-columns: 1fr auto; padding: 40px; }
  .guarantee { grid-template-columns: auto 1fr; padding: 48px; }
  .cmp__win-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 980px) {
  .hero { padding: 76px 0 96px; }
  .hero__inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 48px;
  }
  .marquee { margin-right: calc(50% - 50vw); }
  .builder { grid-template-columns: minmax(0, 1fr) 372px; gap: 30px; }
  .footer__top { grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); gap: 60px; }
}

@media (max-width: 979px) {
  .estimate { position: static; }
}

@media (max-width: 620px) {
  .conav__secure { display: none; }
  .conav__back { font-size: 13px; white-space: nowrap; }
  .osteps { gap: 8px; }
  .ostep { font-size: 12.5px; }
  .osteps__line { display: none; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .section { padding: 68px 0; }
  .checks { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 22px; }
  .guarantee { padding: 30px; }
  .pro { padding: 28px; }
  body.has-sticky-sum { padding-bottom: 84px; }
  .sticky-sum { display: flex; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .marquee__row { --rowh: 132px; }
  .grid-posts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .grid-videos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .grid-landing { grid-template-columns: 1fr; }
  .faq__a p { padding-inline: 0 0; }
  .faq__q { font-size: 15.5px; gap: 12px; }
  .stepper output { min-width: 74px; font-size: 12.5px; }
}
