/* DFX Studios · main website additions (loaded after style.css). */

/* ---------- floating header ---------- */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); margin-top: 12px; }
.nav-bar {
  max-width: 1140px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 16px;
  padding: 0 10px 0 20px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(12, 13, 17, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
}
.nav-logo { flex: none; }
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: none; margin: 0 auto; }
.nav-links ul { display: flex; gap: 2px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: none; flex: none; background: #000; border-color: var(--line); color: #fff; }
.nav-cta:hover { background: #fff; border-color: #fff; color: #000; }
.nav-toggle {
  margin-left: auto; min-height: 40px; padding: 8px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 14px; font-weight: 500;
}
.nav-toggle[aria-expanded='true'] { background: #fff; color: #000; border-color: #fff; }
.nav-panel {
  max-width: 1140px; margin: 8px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(12, 13, 17, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  max-height: calc(100dvh - 100px); overflow-y: auto; animation: up 0.25s var(--ease);
}
.nav-panel a:not(.btn) { display: block; padding: 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; }
.nav-panel a:not(.btn):hover { background: rgba(255, 255, 255, 0.06); }
.nav-panel .btn { margin-top: 8px; }
@media (min-width: 1000px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}

/* anchors land below the floating header */
.site section[id] { scroll-margin-top: 84px; }
.site .cmp-head { top: 80px; }

/* ---------- hero ---------- */
.site-hero { padding-top: 48px; }
.site-hero h1 { max-width: 880px; }
.hero-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
@media (min-width: 640px) {
  .hero-btns { flex-direction: row; justify-content: center; }
  .hero-btns .btn { width: auto; }
}
.site-hero .assure li:first-child { color: var(--text-2); font-weight: 400; }

/* ---------- what we do ---------- */
.svc-grid { display: grid; gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s var(--ease); }
.svc:hover { border-color: rgba(77, 121, 255, 0.55); }
.svc.is-featured { border-color: rgba(77, 121, 255, 0.55); }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.svc .badge { position: static; }
.svc-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid rgba(77, 121, 255, 0.3); color: var(--accent);
}
.svc h3 { font-size: 22px; }
.svc-tag { color: var(--text); font-weight: 500; line-height: 1.45; }
.svc-body { color: var(--text-2); font-size: 15px; }
.svc .checks { margin-bottom: 8px; }
.svc .checks li { font-size: 15px; margin-top: 10px; }
.svc-foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 14px;
}
.svc-meta { color: var(--muted); }
.svc-foot a { font-weight: 500; text-decoration: none; }
.svc-foot a:hover { text-decoration: underline; }
.svc-note { text-align: center; margin-top: 28px; color: var(--text-2); }
.svc-note a { font-weight: 500; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } .svc { padding: 32px; } }

/* ---------- free report banner ---------- */
.rb { display: grid; gap: 28px; padding: 32px 24px; }
.rb h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.rb .muted { margin-bottom: 24px; max-width: 520px; }
.rb .btn { width: 100%; max-width: 360px; }
/* the whole preview, smaller, sitting inside the card (no fade, no crop) */
.rb-shot { width: 100%; max-width: 240px; margin: 0 auto; }
.rb-shot img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .rb { grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 40px 48px; }
  .rb .btn { width: auto; }
  .rb-shot { width: 280px; max-width: none; margin: 0; }
}

/* ---------- testimonials ---------- */
#testimonials .sec-head { margin-bottom: 36px; }

/* ---------- footer ---------- */
.site .footer { padding: 56px 0 40px; }
.sf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.sf-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sf-brand p { color: var(--text-2); font-size: 14px; max-width: 280px; margin: 8px 0; }
.sf-brand a, .sf-col a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.sf-brand a:hover, .sf-col a:hover { color: var(--text); }
.sf-col p { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.sf-col li + li { margin-top: 10px; }
.site-footer .copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .sf-top { grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr; }
  .sf-brand { grid-column: auto; }
}

/* report page sits under the shared header now */
.report-page .rh { padding-top: 40px; }

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* ---------- page head ---------- */
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 8.5vw, 60px); }
.page-head .lead { margin: 20px auto 0; max-width: 640px; }
.ph-intro { margin: 28px auto 0; max-width: 620px; display: grid; gap: 12px; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .page-head { padding: 88px 0 16px; } }

/* ---------- tabs used for plan pickers ---------- */
.tabs-plan { margin-bottom: 28px; }
.tabs-plan button { padding: 8px 16px; }
@media (max-width: 479px) { .tabs-plan { width: 100%; } .tabs-plan button { flex: 1; padding: 8px 8px; font-size: 13px; white-space: normal; text-align: center; justify-content: center; } }
.tab-panel { animation: rfIn 0.3s var(--ease); }

/* ---------- pricing ---------- */
.pr-plans { padding-top: 40px; }
.term-switch { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.term-switch button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--text-2); padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; }
.term-switch button span { font-size: 12px; color: var(--accent); }
.term-switch button[aria-pressed='true'] { background: var(--accent); color: var(--text); }
.term-switch button[aria-pressed='true'] span { color: var(--text); }
.pr-grid { display: grid; gap: 16px; align-items: stretch; }
.pr-grid[data-term='month'] [data-show='quarter'], .pr-grid[data-term='quarter'] [data-show='month'] { display: none; }
.pr-card { display: flex; flex-direction: column; scroll-margin-top: 96px; }
.pr-card.is-featured { border-color: rgba(77, 121, 255, 0.55); }
.pr-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pr-top h2 { font-size: 22px; letter-spacing: 0; }
.pr-top .badge { position: static; flex: none; }
.pr-who { color: var(--text-2); font-size: 15px; margin-top: 12px; }
.pr-term .plan-price { margin: 24px 0 4px; flex-wrap: wrap; }
.pr-term .plan-price strong { font-size: 44px; }
.pr-note { color: var(--accent); font-size: 14px; font-weight: 500; }
.pr-term .checks { margin: 16px 0 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.pr-term .checks li { font-size: 15px; margin-top: 10px; }
.pr-cta { margin-top: auto; display: grid; gap: 12px; }
@media (min-width: 900px) { .pr-grid { grid-template-columns: repeat(3, 1fr); } .pr-card { padding: 32px; } }
.pricing-page #guarantee { padding-top: 64px; }
.vsteps { position: relative; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.vsteps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vs-n { color: var(--accent); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 2px; }
.vsteps h3 { margin: 10px 0 6px; font-size: 18px; }
.vsteps p { color: var(--text-2); font-size: 15px; }
.pr-custom { text-align: center; padding: 40px 24px; }
.pr-custom h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 12px; }
.pr-custom .muted { margin: 0 auto 28px; max-width: 520px; }
.pr-custom .btn { width: 100%; max-width: 360px; }

/* ---------- services ---------- */
.cap-grid { display: grid; gap: 12px; }
.cap { display: flex; flex-direction: column; gap: 8px; transition: border-color 0.3s var(--ease); }
.cap:hover { border-color: rgba(77, 121, 255, 0.55); }
.cap .svc-icon { margin-bottom: 8px; }
.cap p { color: var(--text-2); font-size: 15px; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-rows { display: grid; gap: 56px; }
.svc-row { display: grid; gap: 24px; scroll-margin-top: 96px; }
.svc-row-copy h3 { font-size: clamp(26px, 6vw, 34px); margin: 8px 0 12px; letter-spacing: -0.02em; }
.svc-row-copy .muted { margin-top: 12px; }
.svc-best { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--text); font-size: 15px; }
.svc-best span { font-size: 12px; font-weight: 500; color: var(--accent); }
.svc-row-card { display: flex; flex-direction: column; }
.svc-row-card .checks { margin-bottom: 24px; }
.svc-row-card .checks li:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .svc-rows { gap: 72px; }
  .svc-row { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .svc-row:nth-child(even) .svc-row-copy { order: 2; }
}
.plat { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; }
.plat li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; }
.plat-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }

/* ---------- about ---------- */
.story p { color: var(--text-2); font-size: 17px; margin-top: 16px; }
.story h2 { margin-bottom: 8px; }
.story .story-hl { color: var(--text); font-size: clamp(22px, 5vw, 28px); font-weight: 500; letter-spacing: -0.02em; margin: 32px 0 8px; padding-left: 16px; border-left: 3px solid var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; }
.stat b { font-size: clamp(32px, 8vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-2); font-size: 14px; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- contact ---------- */
.ct { padding-top: 40px; }
.ct-grid { display: grid; gap: 32px; }
.ct-card h2 { font-size: 24px; letter-spacing: 0; }
.ct-card .form-body { gap: 20px; }
.ct-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .ct-row { grid-template-columns: 1fr 1fr; } }
.ct-card .form-done { padding: 48px 0; }
.ct-card .form-done h2 { font-size: 32px; }
.ct-aside h2 { font-size: 20px; letter-spacing: 0; margin-bottom: 16px; }
.ct-info { display: grid; gap: 8px; }
.ct-info a, .ct-info div { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; color: var(--text); text-decoration: none; }
.ct-info a:hover { background: rgba(255, 255, 255, 0.04); }
.ct-info small { display: block; color: var(--muted); font-size: 13px; }
.ct-info strong { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.ct-report { margin-top: 20px; }
.ct-report h3 { margin-bottom: 8px; }
.ct-report .muted { font-size: 15px; margin-bottom: 12px; }
.ct-report a { font-weight: 500; text-decoration: none; }
@media (min-width: 900px) { .ct-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; } .ct-card { padding: 40px; } .ct-aside { position: sticky; top: 100px; } }

/* ---------- blog ---------- */
.blog-list { padding-top: 40px; }
.post-grid { display: grid; gap: 16px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s var(--ease); }
.post-card:hover { border-color: rgba(77, 121, 255, 0.55); }
.post-card h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card .muted { font-size: 15px; }
.post-more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 500; font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); font-size: 13px; }
.post-meta > * + *::before { content: '·'; margin: 0 8px; }
.post-meta span:first-child { color: var(--accent); font-weight: 500; }
@media (min-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card.is-lead { grid-column: 1 / -1; padding: 40px; }
  .post-card.is-lead h2 { font-size: 32px; max-width: 760px; }
  .post-card.is-lead .muted { max-width: 680px; font-size: 16px; }
}
.post-head, .post-body, .post-end { max-width: 760px; }
.post-head { padding-top: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-back { display: inline-block; color: var(--text-2); text-decoration: none; font-size: 14px; margin-bottom: 24px; }
.post-back:hover { color: var(--text); }
.post-head h1 { font-size: clamp(32px, 7vw, 48px); margin-top: 16px; }
.post-body { padding-top: 32px; }
.post-body > p, .post-body li { color: #c9c9ce; font-size: 18px; line-height: 1.75; }
.post-body > p + p { margin-top: 20px; }
.post-body h2 { font-size: clamp(24px, 5vw, 30px); margin: 48px 0 16px; }
.post-body h3 { font-size: 20px; margin: 36px 0 12px; }
.post-body ul { list-style: disc; padding-left: 24px; margin: 16px 0; }
.post-table { margin: 24px 0 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.post-table table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 15px; }
.post-table th, .post-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.post-table th { border-top: 0; background: var(--surface-2); font-weight: 500; color: var(--text); }
.post-table td { color: var(--text-2); }
.post-table th:last-child { color: var(--accent); }
.post-end { padding-top: 56px; }
.post-cta { text-align: center; padding: 36px 24px; }
.post-cta h2 { font-size: clamp(24px, 5vw, 30px); margin-bottom: 12px; }
.post-cta .muted { margin-bottom: 24px; }
.post-more-title { font-size: 24px; margin-bottom: 24px; }
@media (min-width: 900px) { .post-head { padding-top: 72px; } }

/* ---------- legal pages (terms + privacy) ---------- */
.tos { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 64px; }
.tos-body { min-width: 0; }
.tos h1 { font-size: clamp(36px, 8vw, 56px); letter-spacing: -0.03em; line-height: 1.1; }
.tos-meta { margin-top: 16px; color: var(--muted); font-size: 14px; }
.tos-meta span + span::before { content: '·'; margin: 0 8px; }
.tos-intro { margin-top: 32px; color: var(--text-2); }
.tos-toc { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tos-toc p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.tos-toc ol { display: grid; grid-template-columns: 1fr; gap: 6px 24px; counter-reset: toc; }
.tos-toc li { counter-increment: toc; font-size: 15px; }
.tos-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-size: 13px; margin-right: 10px; font-variant-numeric: tabular-nums; }
.tos-toc a { color: var(--text-2); text-decoration: none; }
.tos-toc a:hover { color: var(--text); }
.tos-body section { padding-top: 48px; scroll-margin-top: 90px; }
.tos-body section h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(22px, 5vw, 26px); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 16px; }
.tos-body section h2 .n { color: var(--accent); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tos-body section h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.tos-body section p { color: var(--text-2); margin-bottom: 12px; }
.tos-body section ul { list-style: none; padding: 0; margin-bottom: 12px; }
.tos-body section li { position: relative; color: var(--text-2); padding: 4px 0 4px 20px; }
.tos-body section li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.tos-body b, .tos-body strong { color: var(--text); }
.tos .price { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.tos .price:first-of-type { border-top: 1px solid var(--line); }
.tos .price b { white-space: nowrap; }
.tos .prices { margin: 8px 0 16px; }
.tos .note { background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 16px 0; color: var(--text-2); font-size: 15px; }
.tos-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (min-width: 561px) { .tos-toc ol { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .tos { max-width: 1040px; display: grid; grid-template-columns: 220px minmax(0, 720px); column-gap: 64px; justify-content: center; padding-top: 72px; }
  .tos-head { grid-column: 1 / -1; margin-bottom: 8px; }
  .tos .tos-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; margin-top: 40px; padding: 0; border: 0; }
  .tos .tos-toc ol { grid-template-columns: 1fr; gap: 0; }
  .tos .tos-toc li { font-size: 14px; }
  .tos .tos-toc li::before { display: none; }
  .tos .tos-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); transition: color 0.15s ease, border-color 0.15s ease; }
  .tos .tos-toc a:hover, .tos .tos-toc a.active { color: var(--text); border-left-color: var(--accent); }
}

/* =====================================================================
   HOME: pain points → what we do
   ===================================================================== */
#pains { padding-bottom: 0; }
.bridge { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 48px; text-align: center; }
.bridge p { max-width: 560px; font-size: clamp(18px, 4.4vw, 22px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.bridge-line { position: relative; display: grid; place-items: end center; width: 40px; height: 72px; color: var(--accent); }
.bridge-line::before { content: ''; position: absolute; top: 0; bottom: 20px; left: 50%; width: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25)); }
.bridge-line .i { transform: rotate(90deg); width: 20px; height: 20px; }
#services { padding-top: 24px; }

/* =====================================================================
   HOW IT WORKS: neutral line, each step on its own card
   ===================================================================== */
.site .timeline { gap: 16px; }
.site .timeline::before { background: rgba(255, 255, 255, 0.12); width: 1px; left: 20px; }
.site .tl-node { background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text); font-size: 14px; box-shadow: 0 0 0 6px var(--bg); }
.site .tl-body { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s var(--ease); }
.site .tl-item:hover .tl-body { border-color: rgba(77, 121, 255, 0.55); }
.site .tl-item:hover .tl-node { border-color: var(--accent); color: var(--accent); }
.site .tl-body h3 { margin: 12px 0 8px; font-size: 18px; }
@media (min-width: 900px) {
  .site .timeline { gap: 16px; }
  .site .timeline::before { left: 20px; right: calc((100% - 48px) / 4 - 20px); top: 20px; width: auto; height: 1px; background: rgba(255, 255, 255, 0.12); }
  .site .tl-item { gap: 20px; }
  .site .tl-body { height: 100%; padding: 24px; }
}

/* ---------- case studies + reviews in one section ---------- */
.reviews-title { text-align: center; font-size: 20px; color: var(--text-2); font-weight: 500; margin-bottom: 24px; }

/* ---------- footer: review badges + social ---------- */
.sf-bottom { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.sf-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-badges img { width: 140px; height: auto; border-radius: 10px; }
.sf-badges a { display: block; border-radius: 10px; transition: opacity 0.2s var(--ease); }
.sf-badges a:hover { opacity: 0.85; }
.sf-social { display: flex; gap: 8px; }
.sf-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease); }
.sf-social a:hover { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, 0.04); }
.sf-social svg { width: 20px; height: 20px; }
.site-footer .copy { margin-top: 24px; padding-top: 0; border-top: 0; }
@media (min-width: 640px) { .sf-badges img { width: 160px; } }
@media (min-width: 900px) { .sf-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
@media (max-width: 639px) {
  .sf-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sf-badges img { width: 100%; border-radius: 8px; }
}

/* =====================================================================
   PRICING: "what happens after you buy" as one sideways timeline
   (one row tall on every screen, scroll or use the arrows)
   ===================================================================== */
.htl { position: relative; }
.htl-track {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none;
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.htl-track::-webkit-scrollbar { display: none; }
.htl.at-end .htl-track { -webkit-mask-image: none; mask-image: none; }
.htl-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.htl-track ol { display: flex; gap: 12px; width: max-content; padding: 4px 0; }
.htl-step { position: relative; flex: 0 0 min(78vw, 280px); display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
/* line from this node to the next one */
.htl-step:not(:last-child)::before { content: ''; position: absolute; top: 18px; left: 36px; right: -12px; height: 1px; background: rgba(255, 255, 255, 0.12); }
.htl-node {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--text); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
}
.htl-card { flex: 1; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s var(--ease); }
.htl-step:hover .htl-card { border-color: rgba(77, 121, 255, 0.55); }
.htl-step:hover .htl-node { border-color: var(--accent); color: var(--accent); }
.htl-card h3 { margin: 12px 0 8px; font-size: 17px; }
.htl-card p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.htl-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.htl-bar { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-right: 8px; }
.htl-bar span { display: block; height: 100%; width: 30%; background: var(--accent); border-radius: inherit; transform-origin: left; transition: margin-left 0.15s linear; }
.htl-ctrl .mq-btn:disabled { opacity: 0.35; cursor: default; }
@media (min-width: 900px) { .htl-step { flex-basis: calc((min(100vw, 1140px) - 48px - 36px) / 4); } }

/* ---------- languages (home, above the final CTA) ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lang { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 168px; padding: 24px 20px; transition: border-color 0.3s var(--ease); }
.lang:hover { border-color: rgba(77, 121, 255, 0.55); }
.lang:hover::after { opacity: 1; }
.lang-hi { font-size: clamp(30px, 8vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.lang-hi[dir='rtl'] { align-self: flex-start; letter-spacing: 0; }
.lang-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.lang-name strong { font-weight: 500; color: var(--text-2); }
.lang-name span { color: var(--muted); }
@media (min-width: 900px) { .lang-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .lang { min-height: 200px; padding: 28px; } }

/* ---------- one spacing rhythm ---------- */
/* no benefit strip under the hero here, so it gets the normal section gap */
.site .hero { padding-bottom: 64px; }
/* every inner page: the title sits the same distance above its content */
.site .page-head { padding-bottom: 0; }
.site .page-head + .section { padding-top: 56px; }
@media (min-width: 900px) {
  .site .hero { padding-bottom: 84px; }
  .pricing-page #guarantee { padding-top: 84px; }
}

/* ---------- shorter pages on phones ---------- */
.more-inline { min-height: 44px; margin-top: 12px; font-size: 14px; }
@media (max-width: 639px) {
  .checks.is-clamped:not(.is-open) li:nth-child(n + 5) { display: none; }
  .cap-grid:not(.is-open) .cap:nth-child(n + 4) { display: none; }
}

/* ---------- SEO additions ---------- */
/* Small brand line that sits inside the main heading. */
.h1-kicker { display: block; margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
@media (min-width: 900px) { .h1-kicker { font-size: 15px; margin-bottom: 18px; } }
/* 404 page */
.nf { padding-bottom: 96px; }
.nf-btns { justify-content: center; margin-top: 32px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 32px; }
.nf-links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nf-links a:hover { color: var(--text); }
/* Short "plain answer" block (what is X?). */
.answer { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; }
.answer p { color: #c9c9ce; font-size: 18px; line-height: 1.7; }
.answer p + p { margin-top: 16px; }

/* ---------- blog post blocks (new posts) ---------- */
.post-body ol { list-style: decimal; padding-left: 26px; margin: 16px 0; }
.post-body li + li { margin-top: 8px; }
.post-body a { text-underline-offset: 3px; }
.post-body h2 { scroll-margin-top: 96px; }
.post-answer { margin: 0 0 32px; padding: 20px 22px; border: 1px solid rgba(77, 121, 255, 0.45); border-radius: var(--radius); background: var(--accent-soft); }
.post-answer .label { color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.post-answer p:last-child { color: var(--text); font-size: 18px; line-height: 1.65; }
.post-note { margin: 24px 0; padding: 16px 20px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; color: #c9c9ce; font-size: 16px; line-height: 1.65; }
.post-code { margin: 20px 0; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: #d6d9e0; font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.post-toc { margin: 0 0 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-toc p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.post-body .post-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 6px; }
.post-body .post-toc li { counter-increment: toc; font-size: 15px; line-height: 1.5; margin: 0; }
.post-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-size: 13px; margin-right: 10px; font-variant-numeric: tabular-nums; }
.post-toc a { color: var(--text-2); text-decoration: none; }
.post-toc a:hover { color: var(--text); }
.post-versus { display: grid; gap: 12px; margin: 24px 0; }
.pv { padding: 22px; }
.pv-tag { color: var(--muted); font-size: 13px; font-weight: 500; }
.pv.is-b { border-color: rgba(77, 121, 255, 0.55); }
.pv.is-b .pv-tag { color: var(--accent); }
.pv-title { color: var(--text); font-size: 20px; font-weight: 600; line-height: 1.3; margin: 6px 0 12px; }
.pv ul { list-style: none; padding: 0; margin: 0; }
.pv li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }
.pv li + li { margin-top: 8px; }
.pv li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (min-width: 640px) { .post-versus { grid-template-columns: 1fr 1fr; } }
.post-body .post-flow { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 0; }
.post-body .post-flow li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 22px; margin: 0; }
.post-flow li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.14); }
.pf-n { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(77, 121, 255, 0.55); border-radius: 50%; color: var(--accent); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; background: var(--bg); }
.post-flow strong { display: block; color: var(--text); font-size: 18px; font-weight: 600; line-height: 1.3; padding-top: 7px; }
.post-flow p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin-top: 6px; }
.post-stats { display: grid; gap: 12px; margin: 24px 0; }
.ps { padding: 20px; }
.ps-value { color: var(--accent); font-size: clamp(30px, 7vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.ps-label { color: var(--text-2); font-size: 15px; line-height: 1.5; margin-top: 8px; }
.ps-src { color: var(--muted); font-size: 13px; margin-top: 10px; }
.ps-src a { color: var(--text-2); }
@media (min-width: 640px) { .post-stats { grid-template-columns: repeat(3, 1fr); } }
.post-fig { margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-fig figcaption { color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.bars-rows { display: grid; gap: 10px; }
.bars-row { display: grid; grid-template-columns: 92px 1fr 62px; align-items: center; gap: 12px; }
.bars-label { color: var(--text-2); font-size: 14px; }
.bars-svg { width: 100%; height: 18px; }
.bars-svg .pos { fill: var(--accent); }
.bars-svg .neg { fill: #6b7280; }
.bars-svg .bars-zero { fill: rgba(255, 255, 255, 0.28); }
.bars-val { color: var(--text); font-size: 14px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bars-row.is-best .bars-label, .bars-row.is-best .bars-val { color: var(--accent); }
.fig-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 16px; }
.fig-note a { color: var(--text-2); }
.post-body .post-sources { padding-left: 22px; }
.post-body .post-sources li { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.post-sources a { color: var(--text-2); overflow-wrap: anywhere; }
.post-body .faq { margin-top: 8px; }
.post-body .faq details p { font-size: 16px; }
.post-table td a { color: var(--accent); }
.post-table td b { color: var(--text); font-weight: 500; }

/* ---------- offer pages ---------- */
.offer-hero { padding-bottom: 16px; }
.offer-hero h1 { font-size: clamp(34px, 8vw, 60px); }
.offer-table { margin: 0; }
.offer-table table { min-width: 640px; }
.offer-note { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-top: 16px; max-width: 760px; }
.offer-check { display: grid; gap: 14px; }
.offer-check li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.offer-check p { color: var(--text-2); font-size: 17px; line-height: 1.6; padding-top: 7px; }
.offer-check b { color: var(--text); font-weight: 500; }
.post-grid.three .post-card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.post-grid.three .post-card h3 a { color: var(--text); text-decoration: none; }
.post-grid.three .post-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
@media (min-width: 640px) { .svc-grid.is-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .post-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .cap-grid.is-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- offer page visuals ---------- */
.offer-hero .lead { max-width: 720px; }
.offer-note { margin-left: auto; margin-right: auto; text-align: center; }
.offer-cta { display: flex; justify-content: center; margin-top: 32px; }
.offer-cta .btn { width: 100%; max-width: 420px; }
.offer-versus { max-width: 900px; margin: 0 auto; }
.offer-versus .pv { padding: 28px; }
.offer-versus .pv-title { font-size: 22px; }
.offer-versus .pv li { font-size: 16px; }
.offer-plan { gap: 14px; }
.offer-plan .checks { margin-bottom: 12px; }
.offer-plan .btn { margin-top: auto; }
.offer-plan.is-featured { border-color: rgba(77, 121, 255, 0.55); }
.svc-grid.is-2 { max-width: 900px; margin: 0 auto; }
.offer-hub { max-width: 900px; margin: 0 auto; }
.offer-hub .tabs { justify-content: center; }
.offer-hub .hub-shot { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.offer-hub .hub-shot img { width: 100%; height: auto; }

/* Growth stages: three cards with bars that rise from one to the next. */
.stages { display: grid; gap: 12px; }
.stage { display: flex; flex-direction: column; gap: 8px; }
.stage h3 { font-size: 20px; margin-top: 4px; }
.stage p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.stage .tag { align-self: flex-start; }
.stage-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-bottom: 12px; }
.stage-bars i { width: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.stage-bars i:nth-child(1) { height: 20%; }
.stage-bars i:nth-child(2) { height: 38%; }
.stage-bars i:nth-child(3) { height: 56%; }
.stage-bars i:nth-child(4) { height: 76%; }
.stage-bars i:nth-child(5) { height: 100%; }
.stage.lv-1 .stage-bars i:nth-child(-n + 1),
.stage.lv-2 .stage-bars i:nth-child(-n + 3),
.stage.lv-3 .stage-bars i { background: var(--accent); }
.stage.lv-3 { border-color: rgba(77, 121, 255, 0.55); }
@media (min-width: 860px) { .stages { grid-template-columns: repeat(3, 1fr); } .stage { padding: 28px; } }

/* SaaS content funnel: bands that narrow from awareness to decision. */
.funnel { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.fn-row { display: grid; gap: 10px; }
.fn-band {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
  min-height: 84px; margin: 0 auto; padding: 14px 32px; text-align: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 22px 100%);
}
.fn-stage { color: var(--text); font-size: 18px; font-weight: 600; }
.fn-q { color: #c9d4ff; font-size: 14px; }
.fn-row:nth-child(1) .fn-band { width: 100%; background: rgba(77, 121, 255, 0.16); }
.fn-row:nth-child(2) .fn-band { width: 86%; background: rgba(77, 121, 255, 0.28); }
.fn-row:nth-child(3) .fn-band { width: 72%; background: rgba(77, 121, 255, 0.42); }
.fn-row:nth-child(4) .fn-band { width: 58%; background: rgba(77, 121, 255, 0.6); }
.fn-row:nth-child(4) .fn-q { color: #fff; }
.fn-info { padding: 4px 8px 14px; text-align: center; }
.fn-info p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.fn-info p + p { margin-top: 4px; }
.fn-info b { color: var(--text); font-weight: 500; }
@media (min-width: 860px) {
  .fn-row { grid-template-columns: 440px 1fr; align-items: center; gap: 36px; }
  .fn-info { padding: 0; text-align: left; border-left: 1px solid var(--line); padding-left: 24px; }
}
