/* ============================================================
   QREWSOFT WEB STUDIO — product-grade system
   Default: light. Optional dark via [data-theme="dark"] (navbar toggle).
   Indigo brand · green = live · real UI mockups · sentence case only.
   ============================================================ */

:root {
  /* ---- LIGHT (default) ---- */
  --bg:        #f6f7f9;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #f2f3f6;
  --elevate:   #e6e7ec;
  --text:      #14151a;
  --text-dim:  #54565f;
  --text-mute: #868997;
  --line:      rgba(18,20,28,0.10);
  --line-2:    rgba(18,20,28,0.17);

  --brand:        #4f46e5;
  --brand-bright: #4f46e5;
  --brand-ink:    #3730a3;
  --brand-soft:   rgba(79,70,229,0.10);
  --brand-glow:   rgba(79,70,229,0.30);

  --live:       #12a150;
  --live-bright:#0e7a3c;
  --live-soft:  rgba(18,161,80,0.12);
  --amber:      #c77700;
  --danger:     #dc2626;

  --nav-bg:      rgba(246,247,249,0.82);
  --wa-ink:      #ffffff;
  --ghost-bg:    #ffffff;
  --phone-frame: #d7d9e1;
  --shadow-card: 0 24px 60px -30px rgba(20,22,35,0.24);
  --shadow-phone:0 40px 90px -42px rgba(20,22,35,0.30);
  --ambient:
    radial-gradient(920px 520px at 82% -12%, rgba(79,70,229,0.08), transparent 70%),
    radial-gradient(720px 460px at 2% 0%, rgba(18,161,80,0.05), transparent 65%);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tight: 'Inter Tight', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
}

:root[data-theme="dark"] {
  --bg:        #0b0c11;
  --bg-2:      #0e1016;
  --surface:   #14161d;
  --surface-2: #191c25;
  --elevate:   #1f2330;
  --text:      #f4f5f8;
  --text-dim:  #a4a7b4;
  --text-mute: #6b6f80;
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(255,255,255,0.12);

  --brand:        #5d5fef;
  --brand-bright: #8b8dff;
  --brand-ink:    #c9caff;
  --brand-soft:   rgba(93,95,239,0.14);
  --brand-glow:   rgba(93,95,239,0.45);

  --live:       #26d07c;
  --live-bright:#4ade80;
  --live-soft:  rgba(38,208,124,0.14);
  --amber:      #f0a63c;
  --danger:     #f0603c;

  --nav-bg:      rgba(11,12,17,0.72);
  --wa-ink:      #04240f;
  --ghost-bg:    rgba(255,255,255,0.03);
  --phone-frame: #202430;
  --shadow-card: 0 40px 80px -30px rgba(0,0,0,0.7);
  --shadow-phone:0 50px 90px -35px rgba(0,0,0,0.8);
  --ambient:
    radial-gradient(900px 520px at 78% -8%, rgba(93,95,239,0.16), transparent 70%),
    radial-gradient(700px 460px at 8% 4%, rgba(38,208,124,0.07), transparent 65%);
}

:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient page light */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--ambient);
}
body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
::selection { background: var(--brand); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.section { position: relative; padding: 112px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.display {
  font-family: var(--tight);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.03;
  overflow-wrap: break-word;
}

/* let grid/flex children shrink instead of forcing page-wide overflow */
.hero-grid > *, .problem-grid > *, .outcome-grid > *,
.tl-step > *, .split > *, .svc-cards > *, .work-row > * { min-width: 0; }
.mock, .serp-wrap { max-width: 100%; }
h1.display { font-size: clamp(33px, 4.6vw, 60px); }
h2.display { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; }
h3.display { font-size: clamp(20px, 2vw, 27px); line-height: 1.15; letter-spacing: -0.02em; }

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 52ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-bright);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
}
/* legacy alias used by inner pages */
.marker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--brand-bright); text-transform: none; letter-spacing: 0; margin-bottom: 20px; }
.marker::before { content: ''; width: 18px; height: 1px; background: var(--brand); }
.meta { font-size: 13px; color: var(--text-mute); text-transform: none; letter-spacing: 0; font-family: var(--sans); }

.section-head { max-width: 60ch; margin-bottom: 56px; }
.section-head .lede { margin-top: 14px; }

.prose p { color: var(--text-dim); margin-bottom: 15px; max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 560;
  font-weight: 550;
  border-radius: 11px;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.16) inset, 0 8px 24px -8px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 34px -10px var(--brand-glow); }

.btn-wa {
  background: var(--live);
  color: var(--wa-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.28) inset, 0 8px 24px -10px rgba(38,208,124,0.6);
  font-weight: 600;
}
.btn-wa:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 14px 34px -10px rgba(38,208,124,0.6); }

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: var(--ghost-bg);
}
.btn-ghost:hover { border-color: var(--text-mute); background: var(--surface-2); }

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: none;
  padding-bottom: 0;
  transition: gap 0.18s var(--ease), color 0.18s var(--ease);
}
.link-arrow::after { content: '→'; transition: transform 0.18s var(--ease); }
.link-arrow:hover { gap: 11px; color: var(--brand-ink); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand .qmark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: 0 3px 10px -3px rgba(47,92,240,0.5);
}
.brand-name { font-family: var(--tight); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; line-height: 1.05; }
.brand-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  margin-top: 2px;
  text-transform: none;
}

@media (max-width: 700px) {
  .brand .qmark { width: 32px; height: 32px; }
  .brand-name { font-size: 17px; }
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px;
  font-weight: 480;
  font-weight: 450;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
  position: relative;
  transition: color 0.18s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -7px;
  width: 0; height: 1.5px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 16px; }

.theme-toggle {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-dim);
  display: grid;
  place-items: center;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-mute); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.burger { display: none; width: 30px; height: 18px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 8px; }
.burger span:nth-child(3) { top: 16px; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--bg);
  z-index: 890;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--tight);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: calc(var(--nav-h) + 72px) 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .u { color: var(--brand-bright); }
.hero h1 .strike {
  color: var(--text-mute);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 3px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }

/* ---------- Browser / device mockups ---------- */
.mock {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--elevate); display: block; }
.mock-url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-body { padding: 18px; }

/* ---------- SERP (search result) mock ---------- */
.serp-wrap { position: relative; }
.serp-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  font-size: 12.5px;
}
.serp-toggle button { padding: 7px 14px; color: var(--text-mute); font-weight: 500; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
.serp-toggle button.on { background: var(--brand); color: #fff; }
.serp-search {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 11px 16px;
  margin-bottom: 14px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.serp-search svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-mute); }
.serp-list { display: flex; flex-direction: column; gap: 10px; }
.serp-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  background: var(--surface);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.serp-item .s-name { font-weight: 600; font-size: 14.5px; color: var(--text); }
.serp-item .s-meta { font-size: 12px; color: var(--text-mute); margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.serp-item .s-stars { color: var(--amber); }
.serp-item.ghost { border-style: dashed; opacity: 0.55; }
.serp-item.ghost .s-name { color: var(--text-mute); font-style: italic; font-weight: 500; }
.serp-item.you {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), transparent), var(--surface);
  box-shadow: 0 0 0 1px var(--brand) inset, 0 20px 40px -20px var(--brand-glow);
}
.serp-item .s-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  color: var(--live-bright);
  margin-top: 8px;
}
.serp-item .s-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.serp-rank {
  position: absolute; top: -12px; left: -12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--tight); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 24px -8px var(--brand-glow);
}

/* state: before / after */
.serp-list[data-state="before"] .serp-item.you { display: none; }
.serp-list[data-state="before"] .serp-item.ghost { display: block; }
.serp-list[data-state="after"] .serp-item.ghost { display: none; }
.serp-list[data-state="after"] .serp-item.them { opacity: 0.4; filter: saturate(0.4); }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; justify-content: center; }
.trust .chip {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--surface);
}
.trust .chip b { color: var(--text); font-weight: 600; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.problem-grid .prose p { font-size: 16px; }

/* ============================================================
   SERVICES (cards with mini mockups)
   ============================================================ */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.svc-visual {
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.svc-card h3 { margin-bottom: 8px; }
.svc-card > p { color: var(--text-dim); font-size: 14px; flex: 1; }
.svc-for { font-size: 12.5px; color: var(--text-mute); margin-top: 12px; }
.svc-card .link-arrow { margin-top: 16px; }

/* generic feature list (inner pages too) */
.feature-list { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; }
.feature-list li { font-size: 14px; padding-left: 24px; position: relative; color: var(--text-dim); }
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 13px; height: 13px;
  border-radius: 4px;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
}
.feature-list li::after {
  content: '';
  position: absolute; left: 4px; top: 10px;
  width: 4px; height: 7px;
  border-right: 2px solid var(--brand-bright);
  border-bottom: 2px solid var(--brand-bright);
  transform: rotate(40deg);
}

/* ============================================================
   PROCESS TIMELINE (show the process)
   ============================================================ */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; }
.tl-step {
  display: grid;
  grid-template-columns: 200px 1fr 1.1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.tl-step:first-child { border-top: none; }
.tl-when { display: flex; flex-direction: column; gap: 8px; }
.tl-num {
  font-family: var(--tight);
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.tl-num::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.tl-day { font-size: 12.5px; color: var(--text-mute); }
.tl-body h3 { margin-bottom: 10px; }
.tl-body p { color: var(--text-dim); font-size: 14.5px; max-width: 40ch; }
.tl-art { align-self: center; }

/* small artifact mocks used in the timeline */
.art-chat { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 82%;
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 13px;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.bubble.me { align-self: flex-end; background: var(--brand); color: #fff; border-color: transparent; border-bottom-right-radius: 4px; }
.bubble.them { border-bottom-left-radius: 4px; }
.art-note { display: flex; flex-direction: column; gap: 9px; }
.art-note .row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-dim); }
.art-note .row .k { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); flex-shrink: 0; }
.art-note .row.done .k { background: var(--live); }
.art-live {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--live);
  background: var(--live-soft);
  color: var(--live-bright);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
}
.art-live .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(38,208,124,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(38,208,124,0.55);} 70%{box-shadow:0 0 0 12px rgba(38,208,124,0);} 100%{box-shadow:0 0 0 0 rgba(38,208,124,0);} }

/* ============================================================
   OUTCOME (show the outcome)
   ============================================================ */
.outcome-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: stretch; }
.metric-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.metric {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 20px;
}
.metric .m-val { font-family: var(--tight); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; }
.metric .m-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.metric .m-delta { font-size: 12px; color: var(--live-bright); margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; }
.metric .m-delta::before { content: '▲'; font-size: 9px; }

.mock-phone {
  border: 8px solid var(--phone-frame);
  border-radius: 34px;
  background: var(--bg-2);
  padding: 14px 12px 16px;
  box-shadow: var(--shadow-phone);
  max-width: 300px;
  margin: 0 auto;
}
.mock-phone .notch { width: 90px; height: 5px; border-radius: 3px; background: var(--elevate); margin: 0 auto 16px; }
.mini-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 14px;
  margin-bottom: 10px;
}
.mini-card .mc-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mute); margin-bottom: 8px; }
.mini-card .mc-top .g { width: 16px; height: 16px; border-radius: 4px; background: var(--brand); }
.mini-card .mc-title { font-weight: 600; font-size: 14px; }
.mini-card .mc-sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.mini-card.enquiry { border-color: var(--live); background: linear-gradient(180deg, var(--live-soft), transparent), var(--surface); }

/* ============================================================
   WORK
   ============================================================ */
.work-list { display: flex; flex-direction: column; }
.work-row {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 44px;
}
.work-row:first-child { border-top: none; }
.w-head { display: flex; flex-direction: column; gap: 9px; }
.w-kind { font-size: 12.5px; color: var(--brand-bright); font-weight: 500; text-transform: none; letter-spacing: 0; }
.w-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.w-stack span { font-size: 11.5px; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-dim); background: var(--surface); }
.work-row .prose p { font-size: 15px; }
.w-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  border-radius: 8px;
  padding: 7px 12px;
  margin-top: 14px;
  text-transform: none; letter-spacing: 0;
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.principle:hover { border-color: var(--line-2); transform: translateY(-3px); }
.principle .p-num { font-family: var(--tight); font-weight: 600; font-size: 13px; color: var(--brand-bright); }
.principle h4 { font-family: var(--tight); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; margin: 12px 0 8px; }
.principle p { font-size: 14px; color: var(--text-dim); }

/* ============================================================
   STEPS (compact, inner pages)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  position: relative;
}
.step-when { font-size: 12.5px; color: var(--brand-bright); font-weight: 500; text-transform: none; letter-spacing: 0; display: block; margin-bottom: 14px; }
.step h4 { font-family: var(--tight); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-bottom: 9px; }
.step p { font-size: 13.5px; color: var(--text-dim); }
.step-dot { position: absolute; top: 24px; right: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }

/* ============================================================
   CAPABILITIES (inner page)
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-cell { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 22px; }
.cap-cell h4 { font-size: 13px; font-weight: 600; color: var(--brand-bright); margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.cap-cell p { font-size: 13.5px; color: var(--text-dim); }

/* ============================================================
   SPLIT (inner pages)
   ============================================================ */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 52px; align-items: start; }
.annot { font-size: 13.5px; line-height: 1.5; color: var(--text-mute); }
.topline { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 40px; font-size: 13px; color: var(--text-mute); }

/* ============================================================
   TEAM NOTE
   ============================================================ */
.note {
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background:
    radial-gradient(600px 300px at 90% -10%, var(--brand-soft), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(28px, 5vw, 56px);
}
.note .eyebrow, .note .marker { margin-bottom: 24px; }
.note p {
  font-family: var(--tight);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.015em;
  max-width: 54ch;
  margin-bottom: 18px;
}
.note .sign { font-size: 13px; color: var(--text-mute); margin-top: 26px; }
.note .sign b { display: block; font-family: var(--tight); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--text); text-transform: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 2px;
  text-align: left;
  font-family: var(--tight);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.faq-sign { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq-sign::before, .faq-sign::after { content: ''; position: absolute; background: var(--brand-bright); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.faq-sign::before { top: 6.5px; left: 0; width: 15px; height: 2px; }
.faq-sign::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item.open .faq-sign::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a p { padding: 0 2px 24px; color: var(--text-dim); max-width: 72ch; font-size: 15px; }

/* ============================================================
   CLOSE
   ============================================================ */
.close-block {
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background:
    radial-gradient(700px 340px at 15% -20%, var(--brand-soft), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(32px, 6vw, 68px);
}
.close-block h2 { margin-bottom: 16px; max-width: 20ch; }
.close-block .lede { max-width: 54ch; margin-bottom: 30px; }
.close-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.close-actions .meta a { color: var(--brand-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 32ch; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; text-transform: none; letter-spacing: 0; }
.footer-col a, .footer-col li { display: block; font-size: 14px; color: var(--text-dim); padding: 5px 0; transition: color 0.18s var(--ease); }
.footer-col a:hover { color: var(--brand-bright); }
.footer-credentials { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.footer-credentials span { font-size: 12px; color: var(--text-dim); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; text-transform: none; letter-spacing: 0; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 12.5px; color: var(--text-mute); flex-wrap: wrap; gap: 10px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--live); color: var(--wa-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -8px rgba(38,208,124,0.6), 0 1px 0 rgba(255,255,255,0.3) inset;
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float svg { width: 27px; height: 27px; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .art-live .pulse { animation: none; }
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-head { padding: calc(var(--nav-h) + 76px) 0 60px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; margin-bottom: 20px; }
.page-head .lede { max-width: 56ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .problem-grid, .outcome-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-cards { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .tl-art { align-self: start; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr 1fr; }
  .work-row { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .section { padding: 76px 0; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .steps, .principles { grid-template-columns: 1fr; }
  .metric-panel { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .topline { flex-direction: column; gap: 6px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .metric-panel { grid-template-columns: 1fr; }
}
