/* =================================================================
   Suparank landing — Saaly-style static prototype
   Vanilla CSS, single file. Tokens mirror what the WP theme will use.
   ================================================================= */

:root {
  --bg:          #ffffff;
  --bg-soft:     #fafafa;
  --ink:         #0b0b0f;
  --ink-soft:    #1c1c22;   /* button hover */
  --text:        #5b5b66;
  --muted:       #8a8a93;
  --line:        #ececec;   /* small UI hairlines (cards, inputs) */
  --grid:        #e2e2e2;   /* page-wide ruled grid — meant to be seen (img #4) */
  --line-strong: #d9d9d9;

  /* Suparank brand */
  --brand:       #C86CC2;
  --brand-2:     #681C64;
  --brand-grad:  linear-gradient(135deg, #C86CC2, #681C64);

  --frame:   1280px;
  --gutter:  clamp(20px, 4vw, 64px);
  --radius:  12px;
  --radius-lg: 18px;

  --font:  "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, 0, 1);
}

* { box-sizing: border-box; }

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

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* =================================================================
   PAGE-WIDE RULED GRID  (img #4)
   - .section spans full viewport; its bottom border is the full-bleed
     horizontal rule.
   - .frame is the centered column; its left/right borders are the
     continuous vertical rules running down every section.
   ================================================================= */
.section {
  border-bottom: 1px solid var(--grid);
}

.frame {
  max-width: var(--frame);
  margin-inline: auto;
  padding-inline: var(--gutter);
  border-inline: 1px solid var(--grid);
}

/* =================================================================
   HEADER + NAV  (img #1 / #2)
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(140%) blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { fill: var(--ink); }
.brand__name { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand__logo { display: block; width: auto; height: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;       /* center links */
}
.nav__item { position: relative; }

.nav__link,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 500;
  border-radius: 9px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav__link:hover,
.nav__trigger:hover { color: var(--ink); }

.nav__item--mega[data-open="true"] .nav__trigger { background: var(--bg-soft); color: var(--ink); }
.nav__chevron { transition: transform .2s var(--ease); }
.nav__item--mega[data-open="true"] .nav__chevron { transform: rotate(180deg); }

.nav__cta { display: flex; align-items: center; gap: 8px; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn--lg { padding: 13px 22px; font-size: 16px; }
.btn--primary { background: var(--brand-grad); color: #fff; }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { color: var(--ink); }
.btn--outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { background: var(--bg-soft); transform: translateY(-1px); }

/* mega menu (img #2) */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 380px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(15, 15, 25, .22);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item--mega[data-open="true"] .mega { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__row {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background .15s var(--ease);
}
.mega__row:hover { background: var(--bg-soft); }
.mega__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
}
.mega__text { display: grid; gap: 3px; }
.mega__title { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.mega__desc { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* =================================================================
   HERO  (img #1)
   ================================================================= */
.hero__inner {
  padding-block: clamp(64px, 9vw, 120px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 15, 25, .04);
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.eyebrow:hover { transform: translateY(-1px); }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15); }

.hero__title {
  margin: 28px 0 0;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 500;
  color: var(--ink);
}

.hero__sub {
  margin: 22px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text);
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__micro { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* =================================================================
   SHOWCASE — auto-cycling tabs  (img #1 / #3)
   ================================================================= */
.showcase { background: var(--bg-soft); }

/* tab bar spans flush to the frame's vertical rules (img #1) */
.frame--flush { padding-inline: 0; }

/* Ruled-grid divider dedup: every .section already draws a full-width bottom
   rule. When a flush grid LEADS a section (no heading above it), its own
   border-top would sit 1px under the previous section's rule → a visible double
   line. Suppress the leading grid's top rule; the section divider covers it.
   (Grids that follow a .sec-head stay :first-child=false, so their top rule —
   the heading/grid divider — is untouched.) */
.section > .frame--flush:first-child > * { border-top: 0; }

.showcase__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--grid);   /* continuous line under tab row (img #5) */
}
.tab {
  position: relative;
  padding: 26px 16px;
  border: 0;
  border-right: 1px solid var(--grid);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.tab:last-child { border-right: 0; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); background: #fff; }

/* filling underline that tracks the auto-cycle (driven by Motion; scaleX) */
.tab__progress {
  position: absolute;
  left: 0; bottom: -1.5px;
  height: 3px; width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.tab__progress.is-run { animation: tabfill var(--tab-dur, 5s) linear forwards; } /* fallback only */
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.showcase__stage {
  padding-block: clamp(28px, 4vw, 56px);
}

/* ----- product app mock — neutral palette, 1:1 with the real app ----- */
.app {
  --a-fg:#0d0d0d; --a-bg:#fff; --a-side:#f9f9f9; --a-border:#ececec;
  --a-muted:#5d5d5d; --a-soft:#f0f0f0; --a-blue:#3b82f6;
  --a-ok:#10b981; --a-warn:#f59e0b; --a-err:#ef4444;
  display: grid;
  grid-template-columns: 248px 1fr;
  background: var(--a-bg);
  color: var(--a-fg);
  border: 1px solid var(--a-border);
  border-radius: 16px;
  box-shadow: 0 30px 70px -40px rgba(15, 15, 25, .28);
  overflow: hidden;
  min-height: 470px;
}
/* sidebar */
.app__side { background: var(--a-side); border-right: 1px solid var(--a-border); padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.app__side-head { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 6px 6px 12px; }
.app__side-head img { height: 20px; width: auto; display: block; }
.app__new, .app__ghost { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; font-size: 13.5px; font-weight: 500; }
.app__new { background: var(--a-fg); color: #fff; }
.app__ghost { background: transparent; color: var(--a-fg); }
.app__ghost:hover { background: var(--a-soft); }
.app__nav { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 2px; }
.app__navitem { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: var(--a-fg); }
.app__navitem:hover { background: var(--a-soft); }
.app__chatslabel { margin: 12px 6px 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--a-muted); }
.app__chats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; flex: 1; }
.app__chats li { padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__chats li.is-active { background: var(--a-border); color: var(--a-fg); }
.app__user { display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 10px 6px 2px; font-size: 13px; color: var(--a-muted); border-top: 1px solid var(--a-border); }
.app__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }

/* top bar */
.app__body { display: flex; flex-direction: column; }
.app__topbar { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--a-border); flex: none; }
.app__proj { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--a-muted); }
.app__proj b { color: var(--a-fg); font-weight: 600; }
.app__favicon { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(135deg,#C86CC2,#681C64); flex: none; }
.app__sep { color: #cfcfcf; }
.app__share { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--a-border); background: #fff; font-size: 13px; font-weight: 500; color: var(--a-fg); }

/* panels swap with tab */
.app__panel { display: none; padding: 20px; }
.app__panel.is-active { display: block; animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* score cards */
.ascores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ascore { border: 1px solid var(--a-border); border-radius: 14px; padding: 14px; }
.ascore__l { font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: var(--a-muted); }
.ascore__v { display: block; margin: 8px 0 4px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ascore__v small { font-size: 14px; color: var(--a-muted); font-weight: 500; }
.ascore__d { font-size: 12px; color: var(--a-muted); }
.ascore__d.up { color: var(--a-ok); }
.ascore__bar { display: block; margin-top: 12px; height: 6px; border-radius: 999px; background: var(--a-soft); position: relative; overflow: hidden; }
.ascore__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--a-blue); border-radius: 999px; }
.ascore__bar.amber::after { background: var(--a-warn); }

/* app card / table / findings / chart / library */
.acard { margin-top: 16px; border: 1px solid var(--a-border); border-radius: 14px; padding: 16px; }
.acard__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.acard__h b { font-size: 14px; font-weight: 600; }
.apill { font-size: 11.5px; color: var(--a-muted); border: 1px solid var(--a-border); border-radius: 999px; padding: 3px 9px; }
.atable { width: 100%; border-collapse: collapse; font-size: 13px; }
.atable th { text-align: left; font-weight: 500; color: var(--a-muted); padding: 0 8px 10px; border-bottom: 1px solid var(--a-border); }
.atable td { padding: 10px 8px; border-bottom: 1px solid var(--a-border); }
.atable tr:last-child td { border-bottom: 0; }
.adot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.adot.ok { background: var(--a-ok); } .adot.no { background: #cbd5e1; }
.sent { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; }
.sent.pos { background: rgba(16,185,129,.12); color: #0f9d6b; }
.sent.neu { background: var(--a-soft); color: var(--a-muted); }
.afinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.afinds li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--a-fg); }
.sev { flex: none; font-size: 10.5px; font-weight: 500; padding: 2px 8px; border-radius: 6px; }
.sev.err { background: rgba(239,68,68,.12); color: #d4343f; }
.sev.warn { background: rgba(245,158,11,.14); color: #b8780b; }
.sev.ok { background: rgba(16,185,129,.12); color: #0f9d6b; }
.aspeed { display: flex; gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--a-border); font-size: 12.5px; color: var(--a-muted); }
.aspeed b { color: var(--a-fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.aarea { width: 100%; height: 140px; display: block; }
.alib { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aitem { display: flex; align-items: center; gap: 12px; border: 1px solid var(--a-border); border-radius: 12px; padding: 12px; }
.aitem:hover { border-color: #c2c2c2; }
.aitem__ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--a-soft); color: var(--a-fg); }
.aitem__t { display: grid; gap: 2px; min-width: 0; }
.aitem__t b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aitem__t span { font-size: 11px; color: var(--a-muted); font-family: var(--mono); }

/* ----- shared mock bits reused by the feature cards ----- */
.bigcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bigcard__head b { font-size: 15px; }
.pill-soft { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.spark { width: 100%; height: 120px; color: #16a34a; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--red { background: #dc2626; } .dot--amber { background: #d97706; } .dot--green { background: #16a34a; }
.chat { display: grid; gap: 10px; margin-bottom: 16px; }
.chat__bubble { max-width: 78%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.chat__bubble--ai { background: var(--bg-soft); border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }
.chat__bubble--me { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }

/* =================================================================
   SHARED — centered section header
   ================================================================= */
.sec-head { padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 80px); text-align: center; }
.sec-head__title {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 500;
  letter-spacing: -.038em;
  line-height: 1.08;
  color: var(--ink);
}
.sec-head__sub {
  margin: 18px auto 0;
  max-width: 460px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text);
}

/* =================================================================
   PROBLEM -> TRANSFORMATION GRID
   ================================================================= */
.pt__wrap { /* spacing comes from .sec-head padding so the grid rules stay continuous */ }
.pt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "p1 c s1"
    "p2 c s2"
    "p3 c s3";
  gap: 1px;                       /* gap shows --grid background as inner rules */
  background: var(--grid);
  border-top: 1px solid var(--grid);
}
.pt__grid > :nth-child(1) { grid-area: p1; }
.pt__grid > :nth-child(2) { grid-area: p2; }
.pt__grid > :nth-child(3) { grid-area: p3; }
.pt__grid > :nth-child(4) { grid-area: c; }
.pt__grid > :nth-child(5) { grid-area: s1; }
.pt__grid > :nth-child(6) { grid-area: s2; }
.pt__grid > :nth-child(7) { grid-area: s3; }

.pt__cell { background: #fff; padding: clamp(22px, 2.4vw, 34px); }
.pt__cell h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.pt__cell p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }

.pt__center {
  grid-area: c;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px;
}
.pt__window {
  width: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 40px -28px rgba(15, 15, 25, .25);
  overflow: hidden;
}
.pt__window-bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pt__window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e3; }
.pt__window-body { padding: 14px; display: grid; gap: 7px; }
.pt__window-body span { height: 7px; border-radius: 4px; background: #eef0f2; }
.pt__window-body span:nth-child(odd) { width: 90%; }
.pt__window-body span:nth-child(even) { width: 62%; }
.pt__caption { font-size: 14px; color: var(--muted); }
.pt__caption b { color: var(--ink); font-weight: 500; }

/* =================================================================
   ALTERNATING FEATURE BLOCKS
   ================================================================= */
.feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grid);
  border-top: 1px solid var(--grid);
}
.feats > * { background: #fff; }

.feat__text { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feat__text h3 { margin: 0 0 12px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.feat__text > p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--text); max-width: 42ch; }
.feat__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.feat__list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); }
.feat__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.feat__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.feat__link:hover { background: var(--bg-soft); transform: translateY(-1px); }

.feat__media {
  position: relative;
  overflow: hidden;                 /* clip the parallax/zoom layer */
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 56px);
  background-color: var(--bg-soft);
}
/* soft scrim keeps the white mock card readable over the dreamy bg */
.feat__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,.32));
}
.feat__media > :not(.fx-bg) { position: relative; z-index: 2; }
.feat__shot { width: 100%; max-width: 392px; height: auto; border-radius: 16px; box-shadow: 0 28px 46px rgba(40,40,80,.20); }

/* parallax/zoom background layer (driven by scroll in main.js) */
.fx-bg {
  position: absolute;
  inset: -14% 0;                    /* vertical bleed so parallax never shows an edge */
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  pointer-events: none;
}

/* dashboard stage gets the same treatment (img #3 tab mocks) */
.showcase__stage { position: relative; overflow: hidden; }
.showcase__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.42));
}
.showcase__stage > :not(.fx-bg) { position: relative; z-index: 2; }
#showcaseBg { transition: opacity .5s var(--ease); }
.showcase__shot {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(15, 15, 25, .3);
  transition: opacity .4s var(--ease);
}
.feat__card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 50px -34px rgba(15, 15, 25, .3);
  padding: 18px;
}
.feat__card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.feat__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-grad); flex: none; }
.feat__card-head b { font-size: 14.5px; display: block; }
.feat__card-head span { font-size: 12.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font-size: 12.5px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--bg-soft); }
.feat__input { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
.feat__input b { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); flex: none; }

/* =================================================================
   LOGO CLOUD  (img #4)
   ================================================================= */
.logos__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 40px;
  flex-wrap: wrap;
}
.logos__label { flex: none; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.logos__row { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.logo { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #b6b6bd; transition: color .15s var(--ease); }
.logo:hover { color: var(--ink); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { border-bottom: 0; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--grid);
}
.site-footer__tag { margin: 16px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h4 { margin: 0 0 4px; font-size: 13px; font-weight: 500; color: var(--ink); }
.site-footer__col a { font-size: 14.5px; color: var(--text); transition: color .15s var(--ease); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  flex-wrap: wrap;
}
.site-footer__copy { margin: 0; font-size: 14px; color: var(--muted); }
.site-footer__social { display: flex; gap: 16px; }
.site-footer__social a { display: inline-flex; align-items: center; color: var(--muted); transition: color .15s var(--ease); }
.site-footer__social a:hover { color: var(--ink); }
.site-footer__social svg { display: block; width: 18px; height: 18px; }

/* =================================================================
   PLATFORM SHOWCASE  (node diagram + category list)
   ================================================================= */
.platform__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grid);
  border-top: 1px solid var(--grid);
}
.platform__cols > * { background: #fff; }

.platform__diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-soft);
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}
/* animated orbit */
.orbit__ring { position: absolute; inset: 0; animation: orbit-spin 64s linear infinite; }
.orbit:hover .orbit__ring, .orbit:hover .orbit__chip-in { animation-play-state: paused; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__wires line { stroke: var(--grid); stroke-width: .4; }
.orbit__wires circle { fill: none; stroke: var(--grid); stroke-width: .35; stroke-dasharray: 1.2 2; }
.orbit__hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 64px; height: 64px; display: grid; place-items: center;
  background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(104,28,100,.45);
}
.orbit__hub img { width: 30px; height: 30px; }
.orbit__chip { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.orbit__chip-in {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px 7px 8px; font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
  box-shadow: 0 8px 18px -12px rgba(15,15,25,.28);
  animation: orbit-spin 64s linear infinite reverse;
}
.orbit__chip-in img { width: 16px; height: 16px; display: block; }
@media (prefers-reduced-motion: reduce) { .orbit__ring, .orbit__chip-in { animation: none; } }

.platform__list { padding: clamp(20px, 3vw, 44px) clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.platform__row { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.platform__row:last-child { border-bottom: 0; }
.platform__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; }
.platform__row h3 { margin: 0 0 5px; font-size: 16.5px; font-weight: 500; letter-spacing: -.02em; }
.platform__row p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* =================================================================
   CAPABILITIES GRID  (lead scene + 6 cards)
   ================================================================= */
/* scroll-hijack scrollytelling */
.caps__scrolly {
  position: relative;
  min-height: 360vh;                 /* scroll distance for the pinned scrub */
  border-top: 1px solid var(--grid);
  background: linear-gradient(180deg, #fbfcfe, var(--bg-soft));
}
.caps__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: visible;                 /* don't clip the floating-card shadows */
}
.caps__steps { position: relative; width: 100%; max-width: 1140px; height: 68vh; }
.caps__step {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  opacity: 0;
  transform: translateY(28px) scale(.98);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.caps__step.is-active { opacity: 1; transform: none; }
.caps__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--brand-2); }
.caps__copy h3 { margin: 16px 0 14px; font-size: clamp(26px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
.caps__copy p { margin: 0; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; color: var(--text); max-width: 40ch; }
.caps__vis { position: relative; aspect-ratio: 1 / 1; width: min(100%, 62vh); height: auto; justify-self: center; }
.caps__float { position: absolute; height: auto; border-radius: 14px; box-shadow: 0 26px 44px rgba(40,40,80,.18); will-change: transform; }
.caps__float--solo { width: 74%; left: 13%; top: 8%; }
.caps__float--a { width: 60%; left: 2%; top: 8%; z-index: 2; }
.caps__float--b { width: 44%; right: 0; bottom: 6%; z-index: 1; }
.caps__float--c { width: 35%; right: 5%; top: 4%; z-index: 3; }
.caps__dots { display: flex; gap: 8px; }
.caps__dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); transition: width .3s var(--ease), background .3s var(--ease); }
.caps__dots span.is-active { width: 22px; background: var(--ink); }
/* mobile: drop the pin, stack the steps as normal blocks */
@media (max-width: 768px) {
  .caps__scrolly { min-height: 0; }
  .caps__sticky { position: static; height: auto; padding-block: clamp(40px, 8vw, 64px); }
  .caps__steps { position: static; height: auto; display: grid; gap: clamp(40px, 9vw, 72px); }
  .caps__step { position: static; opacity: 1; transform: none; grid-template-columns: 1fr; gap: 24px; }
  .caps__vis { position: static; aspect-ratio: auto; width: auto; height: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
  .caps__float { position: static; width: auto; height: auto; max-width: 62%; transform: none !important; }
  .caps__float--b { max-width: 44%; }
  .caps__float--solo { max-width: 82%; }
  .caps__dots { display: none; }
}


/* =================================================================
   TESTIMONIAL
   ================================================================= */
.testi__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 6vw, 84px); }
.testi__proof { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.testi__shot { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 26px 46px rgba(40,40,80,.18); }
.testi__shot--chat { max-width: 430px; }
.testi__shot--gsc { align-self: flex-end; max-width: 300px; margin-top: -48px; margin-right: -4%; position: relative; }
.testi__quotes { display: grid; gap: 16px; }
.testi__card { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; background: #fff; }
.testi__card blockquote { margin: 0 0 16px; font-size: 17px; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.testi__card figcaption { display: flex; align-items: center; gap: 12px; }
.testi__avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #cbd5e1, #94a3b8); flex: none; }
.testi__card figcaption b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.testi__card figcaption span span { font-size: 13px; color: var(--muted); }
.testi__note { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 768px) {
  .testi__grid { grid-template-columns: 1fr; }
  .testi__proof { align-items: center; }
  .testi__shot--chat { max-width: 420px; margin: 0 auto; }
  .testi__shot--gsc { align-self: center; max-width: 260px; margin: 14px auto 0; }
}

/* =================================================================
   PRICING
   ================================================================= */
.toggle { display: inline-flex; margin: 28px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 8px; transition: color .15s var(--ease); }
.toggle button.is-active { background: var(--ink); color: #fff; }
.toggle .save { font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--brand); color: #fff; }
.toggle button.is-active .save { background: rgba(255,255,255,.22); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grid);
  border-top: 1px solid var(--grid);
}
.plan { background: #fff; padding: clamp(28px, 3vw, 42px); position: relative; }
.plan__banner { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-100%); background: var(--brand-grad); color: #fff; text-align: center; font-size: 12.5px; font-weight: 500; padding: 8px; }
.plan--pop { background: #fcfcfd; }
.plan__name { font-size: 17px; font-weight: 500; color: var(--ink); }
.plan__price { margin: 14px 0 4px; font-size: clamp(38px, 4vw, 52px); font-weight: 500; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.plan__price span { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan__desc { margin: 0 0 22px; font-size: 14px; color: var(--muted); }
.plan .btn { width: 100%; justify-content: center; }
.plan__features { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.plan__features li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.plan__features li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b0b0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 8vw, 104px); }
.faq__head { align-self: start; }
.faq__title { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.faq__sub { margin: 18px 0 0; max-width: 36ch; font-size: 16px; color: var(--text); }
.faq__list { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 0; background: transparent; text-align: left; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.faq__icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--text); max-width: 52ch; }
/* native <details>: hide default marker */
.faq__item summary { list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }

/* =================================================================
   FINAL CTA (dotted field)
   ================================================================= */
.cta__inner {
  text-align: center;
  padding-block: clamp(72px, 10vw, 140px);
  background-image: radial-gradient(var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta__title { margin: 0 auto; max-width: 16ch; font-size: clamp(32px, 4.4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; color: var(--ink); }
.cta__sub { margin: 20px auto 0; max-width: 480px; font-size: clamp(15px, 1.6vw, 18px); color: var(--text); }
.cta__actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =================================================================
   MOBILE NAV + PRESS STATES + SCROLL REVEAL
   ================================================================= */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60; flex-direction: column; gap: 4px; padding: 14px clamp(20px, 4vw, 40px) 22px; border-top: 1px solid var(--grid); background: #fff; box-shadow: 0 26px 40px -22px rgba(15,15,25,.28); }
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { display: flex; animation: menuDrop .22s var(--ease); }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu a:not(.btn) { padding: 13px 4px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* press states */
.btn:active { transform: translateY(0) scale(.975); }
.eyebrow:active, .feat__link:active { transform: scale(.99); }

/* on-scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE  (Framer-style: desktop ≥1200, tablet, phone)
   ================================================================= */
/* tablet */
@media (max-width: 1024px) {
  .nav__links, .nav__signin { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { margin-left: auto; }   /* hidden links no longer fill the row; keep burger on the right */
  .nav { height: 64px; }

  .pt__grid { grid-template-columns: 1fr; grid-template-areas: "p1" "p2" "p3" "c" "s1" "s2" "s3"; }
  .plans { grid-template-columns: 1fr; }
  .plan__banner { position: static; transform: none; border-radius: 8px 8px 0 0; margin: -8px -8px 18px; }
  .faq__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }

  /* alternating blocks → single column, keep text-before-media per feature */
  .feats { display: flex; flex-direction: column; }
  .feats > :nth-child(1) { order: 1; } .feats > :nth-child(2) { order: 2; }
  .feats > :nth-child(4) { order: 3; } .feats > :nth-child(3) { order: 4; }
  .feats > :nth-child(5) { order: 5; } .feats > :nth-child(6) { order: 6; }
  .feats > :nth-child(8) { order: 7; } .feats > :nth-child(7) { order: 8; }

  .platform__cols { grid-template-columns: 1fr; }
}

/* phone */
@media (max-width: 600px) {
  .nav__cta .btn--primary { display: none; }   /* CTA lives in the drawer; keep the top bar to logo + burger */
  #showcaseApp { height: 640px; overflow: hidden; }   /* fixed height so auto-cycling tabs don't jump the layout */
  .showcase__tabs { grid-template-columns: repeat(2, 1fr); }
  .tab { padding: 18px 12px; font-size: 15px; }
  .tab:nth-child(2) { border-right: 0; }
  .tab:nth-child(1), .tab:nth-child(2) { border-bottom: 1px solid var(--grid); }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .ascores { grid-template-columns: 1fr; }
  .alib { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(1), .stats .stat:nth-child(2) { border-bottom: 1px solid var(--grid); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .mega { width: min(92vw, 360px); }
  .orbit__chip-in { font-size: 10.5px; padding: 5px 9px 5px 7px; }
  .orbit__chip-in img { width: 13px; height: 13px; }
}

/* =================================================================
   SUBPAGE PRIMITIVES  (about, legal, blog, guides, article, careers,
   changelog, contact, feature pages) — built from the same tokens + grid.
   ================================================================= */

/* footer legal links (bar) */
.site-footer__legal { display: flex; gap: 18px; }
.site-footer__legal a { font-size: 14px; color: var(--text); transition: color .15s var(--ease); }
.site-footer__legal a:hover { color: var(--ink); }

/* --- page hero (compact subpage header) --- */
.page-hero { text-align: center; padding-block: clamp(52px, 6vw, 92px) clamp(28px, 3.5vw, 48px); }
.page-hero__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--brand-2); }
.page-hero__title { margin: 14px auto 0; max-width: 20ch; font-size: clamp(34px, 5vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.page-hero__sub { margin: 18px auto 0; max-width: 560px; font-size: clamp(15px, 1.7vw, 19px); line-height: 1.55; color: var(--text); }
.page-hero__actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- author hero (author archive) --- */
.author-hero { text-align: center; padding-block: clamp(48px, 6vw, 84px) clamp(28px, 3.5vw, 44px); }
.author-hero__avatar { display: block; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.author-hero__role { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--brand-2); }
.author-hero__name { margin: 10px auto 0; max-width: 20ch; font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.author-hero__bio { margin: 16px auto 0; max-width: 560px; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.55; color: var(--text); }
.author-hero__links { margin-top: 20px; display: flex; gap: 18px; justify-content: center; }
.author-hero__links a { font-size: 14px; color: var(--text); transition: color .15s var(--ease); }
.author-hero__links a:hover { color: var(--ink); }

/* --- prose (legal + articles) --- */
.prose { max-width: 720px; margin-inline: auto; padding-block: clamp(36px, 4.5vw, 60px) clamp(52px, 7vw, 88px); color: var(--text); font-size: 16px; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.prose h3 { margin-top: 1.5em; font-size: 19px; font-weight: 600; color: var(--ink); }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 18px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose hr { border: 0; border-top: 1px solid var(--grid); margin: 1.8em 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.legal-note { max-width: 720px; margin: 0 auto clamp(24px,3vw,36px); padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--bg-soft); font-size: 13.5px; color: var(--muted); }

/* --- values / benefits (3-up ruled grid, matches .feats) --- */
.values, .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grid); border-top: 1px solid var(--grid); }
.value, .benefit { background: #fff; padding: clamp(28px, 3.4vw, 44px); }
.value__ic, .benefit__ic { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--brand-2); margin-bottom: 16px; }
.value h3, .benefit h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; color: var(--ink); }
.value p, .benefit p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }

/* --- team (labeled placeholder) --- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,24px); padding-block: clamp(24px,4vw,48px) clamp(40px,6vw,72px); }
.team__member { text-align: center; }
.team__avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.team__member b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.team__member span { font-size: 13px; color: var(--muted); }

/* --- posts archive (blog + guides) --- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); padding-block: clamp(14px, 2vw, 20px) clamp(56px, 8vw, 96px); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(40,40,80,.28); }
.post-card__thumb { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: var(--bg-soft); }
.post-card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__cat { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); }
.post-card__title { font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.post-card__excerpt { font-size: 14.5px; color: var(--text); line-height: 1.5; }
.post-card__meta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted); }

/* --- single article (blog post / guide) --- */
.article { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.article__head { max-width: 720px; margin: 0 auto; text-align: center; }
.article__cat { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-2); }
.article__cat a { color: inherit; }
.article__cat a:hover { text-decoration: underline; }
.article__title { margin: 14px auto 0; max-width: 22ch; font-size: clamp(30px, 4.4vw, 48px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); }
.article__meta { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.article__meta a { color: inherit; }
.article__meta a:hover { color: var(--ink); text-decoration: underline; }
.article__cover { max-width: 900px; margin: clamp(28px,4vw,44px) auto; aspect-ratio: 16/9; border-radius: var(--radius-lg); background-size: cover; background-position: center; background-color: var(--bg-soft); }

/* --- changelog --- */
.changelog { max-width: 760px; margin: 0 auto; padding-block: clamp(24px,4vw,40px) clamp(56px,8vw,96px); }
.changelog--empty { text-align: center; }
.changelog--empty p { margin: 0 auto; max-width: 46ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.cl-entry { padding: clamp(24px,3vw,36px) 0; border-top: 1px solid var(--grid); }
.cl-entry:first-child { border-top: 0; padding-top: 0; }
.cl-entry__aside { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cl-entry__ver { display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.cl-entry__date { font-size: 13px; color: var(--muted); }
.cl-entry__body h3 { margin: 0 0 12px; font-size: 19px; font-weight: 600; color: var(--ink); }
.cl-entry__body ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; }
.cl-entry__body li { font-size: 15px; color: var(--text); }
.cl-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; padding: 1px 7px; border-radius: 5px; margin-right: 7px; }
.cl-tag--new { color: #16794a; background: #e7f6ee; }
.cl-tag--fix { color: #8a5a00; background: #fbf1dc; }
.cl-tag--improved { color: var(--brand-2); background: #f4e9f3; }

/* --- careers roles --- */
.roles { max-width: 820px; margin: 0 auto; padding-block: clamp(24px,4vw,40px) clamp(56px,8vw,96px); }
.role { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--grid); }
.role:first-child { border-top: 1px solid var(--grid); }
.role__info h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: var(--ink); }
.role__meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.role__apply { flex: none; }

/* --- contact --- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px,6vw,80px); align-items: start; }
.contact__info h2 { margin: 0 0 14px; font-size: clamp(24px,2.6vw,32px); font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.contact__info p { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 42ch; }
.contact__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__points li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.contact__points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-grad); }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200,108,194,.18); }
.form__note { font-size: 12.5px; color: var(--muted); }

/* subpage responsive */
@media (max-width: 900px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .values, .benefits { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; }
  .values, .benefits { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cl-entry { grid-template-columns: 1fr; gap: 12px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .role { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* =================================================================
   MOTION GUARD
   ponytail: animations are intentionally kept on even under Reduce Motion
   (explicit request). Re-add a reduced path here for stricter a11y.
   ================================================================= */

/* =================================================================
   WordPress theme additions: skip-link + breadcrumbs
   ================================================================= */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; font-size: 14px; }
.skip-link:focus { left: 0; }

.crumbs-bar > .frame { padding-block: 13px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--text); }
.crumbs a:hover { color: var(--ink); }
.crumbs li[aria-current="page"] { color: var(--ink); }

/* contact form: honeypot (off-screen) + submit notice */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; margin: 0; }
.form__notice--ok { background: #e7f6ee; color: #16794a; border: 1px solid #bfe6cf; }
.form__notice--err { background: #fdecec; color: #b42318; border: 1px solid #f6cccc; }
