/* Tjvex — site.css
   Brand tokens are at the top. Every section is a "band" that sets its own
   colours, so light and dark sections share the same components. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0b1030;
  --ink-deep: #070a22;
  --ink-raise: #151c4d;
  --paper: #f2f4fb;
  --white: #ffffff;
  --cobalt: #2f54ff;
  --cobalt-deep: #1e3bd6;
  --apricot: #ff9a5a;
  --mint: #24c08a;
  --text: #10163a;
  --display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--cobalt); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bands (section colour themes) ---------- */
.band { --bg: var(--paper); --fg: var(--text); --mut: #555d86; --line: rgba(16, 22, 58, 0.13); --card: var(--white); --tag: var(--cobalt); --soft: rgba(47, 84, 255, 0.08);
  background: var(--bg); color: var(--fg); padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.band--white { --bg: var(--white); --card: var(--paper); }
.band--ink { --bg: var(--ink); --fg: #f1f3ff; --mut: #a6aed8; --line: rgba(255, 255, 255, 0.14); --card: var(--ink-raise); --tag: var(--apricot); --soft: rgba(255, 255, 255, 0.07); }
.band--cobalt { --bg: var(--cobalt); --fg: #fff; --mut: #d5dcff; --line: rgba(255, 255, 255, 0.28); --card: rgba(255, 255, 255, 0.12); --tag: #fff; --soft: rgba(255, 255, 255, 0.14); }
.band--tight { padding: clamp(40px, 5vw, 64px) 0; }
.band--flush-top { padding-top: 0; }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--mut); max-width: 58ch; }
.note { font-size: 0.9rem; color: var(--mut); }
.tag { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; color: var(--tag); margin-bottom: 18px; }
.tag::before { content: ""; width: 9px; height: 9px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }

/* Section heading: title left, supporting text right */
.head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lede { justify-self: end; }
.head--stack { grid-template-columns: 1fr; max-width: 820px; }
.head--stack .lede { justify-self: start; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--body); padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-deep); }
.band--cobalt .btn--primary { background: #fff; color: var(--cobalt-deep); }
.band--cobalt .btn--primary:hover { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--line); color: var(--fg); }
.btn--line:hover { border-color: var(--fg); }
.btn--sm { padding: 12px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tag); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.more:hover { opacity: 0.75; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 100; background: rgba(11, 16, 48, 0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #f1f3ff; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.top__in { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a, .menu button.menu__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 500 0.98rem var(--body); color: #dfe3fb; background: none; border: 0; cursor: pointer; }
.menu a:hover, .menu button.menu__btn:hover, .menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.09); }
.menu__btn svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub:hover .menu__btn svg, .has-sub.open .menu__btn svg { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); left: -16px; width: 580px; padding: 14px; background: #fff; color: var(--text); border-radius: 20px; box-shadow: 0 30px 70px rgba(7, 10, 34, 0.35); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.sub::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--text); font-weight: 600; }
.sub a span { display: block; font-weight: 400; font-size: 0.86rem; color: #5a628a; }
.sub a:hover { background: var(--paper); color: var(--cobalt-deep); }
.sub .sub__all { grid-column: 1 / -1; border-top: 1px solid rgba(16,22,58,.1); border-radius: 0 0 12px 12px; margin-top: 6px; color: var(--cobalt-deep); }
.top__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.2); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Animated logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; color: inherit; }
.logo__mark { width: 40px; height: 40px; overflow: visible; }
.logo__word { font: 700 1.6rem/1 var(--display); letter-spacing: -0.05em; display: inline-flex; }
.logo__word span { display: inline-block; }
.logo__word .logo__studio { font-weight: 400; letter-spacing: -0.03em; opacity: .72; margin-left: .26em; }
.lg-tile { fill: var(--cobalt); transform-origin: 24px 24px; }
.lg-stroke { fill: none; stroke: #fff; stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.lg-dot { fill: var(--apricot); transform-origin: 35px 15px; }
.lg-ring { fill: none; stroke: var(--apricot); stroke-width: 2; transform-origin: 35px 15px; opacity: 0; }
.logo.play .lg-tile { animation: lg-tile .7s cubic-bezier(.2, 1.5, .4, 1) both; }
.logo.play .lg-bar { animation: lg-draw .45s .35s cubic-bezier(.6, 0, .2, 1) both; }
.logo.play .lg-stem { animation: lg-draw .55s .6s cubic-bezier(.6, 0, .2, 1) both; }
.logo.play .lg-dot { animation: lg-pop .5s 1s cubic-bezier(.2, 1.9, .4, 1) both; }
.logo.play .lg-ring { animation: lg-ping .9s 1.15s ease-out both; }
.logo.play .logo__word span { animation: lg-letter .5s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: calc(.75s + var(--i) * .06s); }
.logo:not(.play) .lg-ring { animation: lg-idle 7s ease-out 3s infinite; }
@keyframes lg-tile { from { transform: scale(0) rotate(-120deg); } to { transform: none; } }
@keyframes lg-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes lg-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes lg-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes lg-idle { 0%, 84% { transform: scale(1); opacity: 0; } 85% { opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes lg-letter { from { transform: translateY(70%) rotate(8deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 20%, rgba(47, 84, 255, 0.5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(255, 154, 90, 0.14), transparent 70%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; color: #c3c9ec; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts li { font-size: 0.95rem; color: var(--mut); }
.facts b { display: block; font: 650 1.5rem/1.2 var(--display); color: var(--fg); letter-spacing: -0.03em; }

/* Call demo */
.demo { position: relative; padding-bottom: 46px; }
.call { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 40px 90px rgba(3, 6, 28, 0.55); position: relative; z-index: 2; }
.call__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(16, 22, 58, 0.1); }
.call__who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.call__who small { display: block; font-weight: 400; color: #5a628a; font-size: 0.82rem; }
.call__av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.call__av svg { width: 22px; height: 22px; }
.call__live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; color: #0d8a60; background: rgba(36, 192, 138, 0.14); padding: 6px 12px; border-radius: 999px; }
.call__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.wave { display: flex; align-items: center; gap: 4px; height: 46px; margin: 16px 0 12px; }
.wave i { flex: 1; background: var(--cobalt); border-radius: 3px; height: 20%; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--n) * -0.09s); opacity: .85; }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: calc(30% + var(--h) * 1%); } }
.talk { display: flex; flex-direction: column; gap: 9px; min-height: 236px; }
.talk p { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.93rem; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.talk p.on { opacity: 1; transform: none; }
.talk .them { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 5px; }
.talk .us { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 5px; }
.call__done { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(16, 22, 58, 0.1); }
.pill { font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: #3a4270; }
.pill--ok { background: rgba(36, 192, 138, 0.16); color: #0b7a55; }
.crm { position: absolute; right: -18px; bottom: 0; z-index: 3; background: var(--ink-raise); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-md); padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 50px rgba(3, 6, 28, 0.5); font-size: 0.9rem; }
.crm b { display: block; font-size: 0.98rem; }
.crm span { color: #a6aed8; }
.crm__ic { width: 38px; height: 38px; border-radius: 11px; background: var(--apricot); display: grid; place-items: center; color: var(--ink); }
.crm__ic svg { width: 20px; height: 20px; }

/* ---------- Client strip ---------- */
.clients { display: flex; align-items: center; gap: 18px 44px; flex-wrap: wrap; }
.clients p { color: var(--mut); font-size: 0.95rem; max-width: 16ch; line-height: 1.35; }
.clients ul { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; flex: 1; justify-content: space-between; }
.clients li { font: 650 1.25rem var(--display); letter-spacing: -0.03em; color: #39406d; opacity: .8; }

/* ---------- Service rows ---------- */
.rows { border-top: 1.5px solid var(--fg); }
.row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) auto 52px; gap: 28px; align-items: center; padding: 26px 18px; margin: 0 -18px; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .2s, color .2s, border-radius .2s; }
.row h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -0.03em; }
.row p { color: var(--mut); font-size: 1rem; transition: color .2s; }
.row__from { font-weight: 600; font-size: 0.95rem; white-space: nowrap; color: var(--mut); transition: color .2s; }
.row__go { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.row__go svg { width: 20px; height: 20px; }
.row:hover { background: var(--cobalt); color: #fff; border-radius: var(--r-md); border-bottom-color: transparent; }
.row:hover p, .row:hover .row__from { color: #dbe1ff; }
.row:hover .row__go { background: #fff; border-color: #fff; color: var(--cobalt-deep); transform: rotate(-45deg); }
.ai-flag { display: inline-block; vertical-align: middle; margin-left: 10px; font: 700 0.7rem/1 var(--body); letter-spacing: 0; padding: 5px 8px; border-radius: 6px; background: var(--apricot); color: var(--ink); position: relative; top: -3px; }

/* ---------- Own-AI compare ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 1081px) { .split--top > div:first-child:not(:only-child) { position: sticky; top: 110px; } }
.split h2 { margin-bottom: 20px; }
.split .lede { margin-bottom: 30px; }
.checks { display: grid; gap: 14px; margin-bottom: 34px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--mut); }
.checks li b { color: var(--fg); font-weight: 600; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--tag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%230b1030' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.band:not(.band--ink) .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 600 0.9rem var(--body); color: var(--mut); }
.cmp thead th:last-child { background: var(--cobalt); color: #fff; }
.cmp td:nth-child(2) { color: var(--mut); }
.cmp td:last-child { font-weight: 600; background: rgba(47, 84, 255, 0.16); }
.cmp td:first-child { font-weight: 500; }

/* ---------- Work ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work { display: block; }
.work__cover { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--c1, var(--ink)); }
.work__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.work:hover .work__cover img { transform: scale(1.04); }
.work__cover--hero { aspect-ratio: 16 / 9; }
.work__cover svg { width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.work:hover .work__cover svg { transform: scale(1.04); }
.work__kind { position: absolute; left: 20px; top: 20px; background: rgba(255, 255, 255, 0.94); color: var(--text); font-size: 0.82rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; }
.work__meta { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin: 20px 4px 6px; }
.work__meta h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.work__meta span { font-size: 0.9rem; color: var(--mut); text-align: right; }
.work > p { color: var(--mut); margin: 0 4px; max-width: 52ch; }
.work:hover h3 { color: var(--tag); }

.shots { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.shot { margin: 0; flex: 1 1 520px; min-width: 0; }
.shot--phone { flex: 0 1 250px; }
.shot img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); }
.shot--phone img { border-radius: 26px; }
.shot figcaption { font-size: 0.88rem; color: var(--mut); margin-top: 12px; }
.grid2--panels { gap: 20px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 6px 28px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 650 clamp(3rem, 6.5vw, 5.4rem)/1 var(--display); letter-spacing: -0.05em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats li > span { color: var(--mut); font-size: 1.02rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 28px 0 0; position: relative; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--fg); color: var(--bg); font: 650 1.3rem var(--display); margin-bottom: 26px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; left: 52px; right: 0; top: 26px; border-top: 1.5px dashed var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--mut); font-size: 0.98rem; }
.step small { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.86rem; color: var(--tag); background: var(--soft); padding: 5px 11px; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.voices { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.voices__tabs { display: grid; gap: 10px; }
.voice-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; font: inherit; transition: background .2s, border-color .2s; }
.voice-tab b { display: block; font-size: 1rem; }
.voice-tab > span:last-child > span { font-size: 0.86rem; color: var(--mut); }
.voice-tab:hover { border-color: var(--fg); }
.voice-tab[aria-selected="true"] { background: var(--card); border-color: var(--apricot); }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 650 1rem var(--display); color: var(--ink); background: var(--apricot); }
.voice { display: none; }
.voice.on { display: block; animation: voice .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes voice { from { opacity: 0; transform: translateY(14px); } }
.voice__stars { display: flex; gap: 4px; margin-bottom: 26px; color: var(--apricot); }
.voice__stars svg { width: 22px; height: 22px; }
.voice blockquote { margin: 0 0 30px; font: 500 clamp(1.5rem, 2.9vw, 2.5rem)/1.22 var(--display); letter-spacing: -0.03em; text-wrap: pretty; }
.voice figcaption { display: flex; align-items: center; gap: 14px; }
.voice figcaption b { display: block; }
.voice figcaption > span:nth-child(2) > span { color: var(--mut); font-size: 0.93rem; }
.voice__built { margin-left: auto; font-size: 0.86rem; color: var(--mut); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.no-js .voice { display: block; margin-bottom: 48px; } .no-js .voices { grid-template-columns: 1fr; } .no-js .voices__tabs { display: none; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; display: flex; flex-direction: column; }
.plan--hot { background: var(--ink); color: #f1f3ff; border-color: var(--ink); --mut: #a6aed8; --line: rgba(255, 255, 255, 0.16); --fg: #f1f3ff; --tag: var(--apricot); }
.plan__flag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; background: var(--apricot); color: var(--ink); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 6px; }
.plan__for { color: var(--mut); font-size: 0.95rem; min-height: 3em; }
.plan__price { margin: 22px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__price small { display: block; color: var(--mut); font-size: 0.88rem; }
.plan__price b { font: 650 3rem/1.05 var(--display); letter-spacing: -0.05em; }
.plan__price b span { font: 500 1rem var(--body); letter-spacing: 0; color: var(--mut); }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; flex: 1; font-size: 0.98rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--tag); transform: rotate(45deg); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line); }
.ptable thead th { font-size: 0.9rem; color: var(--mut); font-weight: 600; }
.ptable td:first-child { font: 600 1.15rem var(--display); letter-spacing: -0.02em; }
.ptable td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.ptable td:nth-child(3), .ptable td:nth-child(4) { color: var(--mut); }
.ptable a:hover { color: var(--tag); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1.5px solid var(--fg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 1.25rem/1.3 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M17 11v12M11 17h12' stroke='%2310163a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mut); padding: 0 60px 26px 0; max-width: 70ch; }

/* ---------- Closing CTA ---------- */
.close { text-align: left; }
.close__in { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: end; }
.close h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin-bottom: 22px; }
.close__side { display: grid; gap: 12px; }
.close__side .contactline { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; transition: border-color .2s, background .2s; }
.close__side a.contactline:hover { border-color: var(--fg); background: var(--soft); }
.contactline svg { width: 22px; height: 22px; color: var(--tag); flex: none; }
.contactline small { display: block; font-weight: 400; color: var(--mut); font-size: 0.85rem; }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 100% 0%, rgba(47, 84, 255, 0.45), transparent 70%); pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); max-width: 17ch; margin-bottom: 22px; }
.phero .lede { color: #c3c9ec; margin-bottom: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--mut); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.keyfacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.keyfacts li { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 18px; font-size: 0.88rem; color: var(--mut); }
.keyfacts b { display: block; font: 650 1.2rem var(--display); color: var(--fg); letter-spacing: -0.02em; }

/* ---------- Generic content blocks ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 44px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.point { padding-top: 22px; border-top: 1.5px solid var(--fg); }
.point h3 { margin-bottom: 8px; font-size: 1.25rem; }
.point p { color: var(--mut); font-size: 0.99rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: 0.94rem; background: var(--card); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
.panel h3 { margin-bottom: 14px; }
.panel dl { margin: 0; display: grid; gap: 14px; }
.panel dt { font-size: 0.86rem; color: var(--mut); }
.panel dd { margin: 2px 0 0; font-weight: 600; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--mut); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--cobalt-deep); text-decoration: underline; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder__pic { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--cobalt); display: grid; place-items: center; font: 700 6rem var(--display); color: #fff; letter-spacing: -0.06em; overflow: hidden; }
.founder__pic img { width: 100%; height: 100%; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.member { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.member__pic { aspect-ratio: 1; border-radius: 20px; background: var(--cobalt); display: grid; place-items: center; font: 700 2.6rem var(--display); color: #fff; letter-spacing: -0.06em; overflow: hidden; }
.member__pic--alt { background: var(--ink); }
.member__pic img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 4px 0 4px; }
.member .member__role { color: var(--tag); font-weight: 600; margin-bottom: 10px; }
.member p { color: var(--mut); }

/* ---------- Forms ---------- */
.form { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(16, 22, 58, 0.1); display: grid; gap: 16px; box-shadow: 0 30px 70px rgba(11, 16, 48, 0.1); }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--text); padding: 14px 15px; border-radius: var(--r-sm); border: 1.5px solid rgba(16, 22, 58, 0.18); background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 84, 255, 0.16); }
.form textarea { resize: vertical; min-height: 130px; }
.form .hp { position: absolute; left: -9999px; }
.form small { color: #5a628a; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-deep); color: #f1f3ff; padding: clamp(64px, 8vw, 104px) 0 28px; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: 40px; }
.foot__about p { color: #a6aed8; margin-top: 20px; max-width: 30ch; }
.foot h4 { font: 600 0.95rem var(--body); letter-spacing: 0; color: var(--apricot); margin-bottom: 18px; }
.foot__grid li { margin-bottom: 11px; }
.foot__grid li a { color: #dfe3fb; }
.foot__grid li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__contact a { display: flex; gap: 10px; align-items: center; }
.foot__contact svg { width: 18px; height: 18px; color: var(--cobalt); flex: none; }
.foot__word { font: 750 min(17.5vw, 14.6rem)/1.22 var(--display); letter-spacing: -0.075em; margin: clamp(8px, 2vw, 28px) 0 0 -0.05em; background: linear-gradient(180deg, #e3e8ff 5%, #6f86ff 45%, rgba(47, 84, 255, 0.12) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.foot__base { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 24px; color: #a6aed8; font-size: 0.92rem; }
.foot__base nav { display: flex; align-items: center; gap: 26px; }
.foot__base a:hover { color: #fff; }
.totop { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--apricot); display: grid; place-items: center; color: #fff; transition: background .2s, color .2s; }
.totop:hover { background: var(--apricot); color: var(--ink) !important; }
.totop svg { width: 20px; height: 20px; }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.22), 0 14px 30px rgba(7, 10, 34, 0.3); transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu, .top__cta .btn--line { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 22px 40px; background: var(--ink); overflow-y: auto; }
  .menu.open a, .menu.open button.menu__btn { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .menu.open .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; box-shadow: none; background: rgba(255,255,255,.06); margin: 8px 0; }
  .menu.open .has-sub.open .sub { display: grid; }
  .menu.open .sub a { color: #fff; border: 0; font-size: 1rem; padding: 11px 14px; }
  .menu.open .sub a span { display: none; }
  .hero__in, .split, .close__in, .voices, .founder { grid-template-columns: 1fr; }
  .demo { max-width: 560px; }
  .head { grid-template-columns: 1fr; }
  .head .lede { justify-self: start; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan__for { min-height: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .voices__tabs { grid-template-columns: repeat(3, 1fr); }
  .voice-tab > span:last-child > span { display: none; }
  .founder__pic { max-width: 260px; }
  .team { grid-template-columns: 1fr; }
  .member { grid-template-columns: 88px 1fr; gap: 18px; padding: 20px; }
  .member__pic { font-size: 2rem; border-radius: 16px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .row { grid-template-columns: 1fr 48px; gap: 8px 16px; padding: 22px 18px; }
  .row p { grid-column: 1; grid-row: 2; }
  .row__from { grid-column: 1; grid-row: 3; }
  .row__go { grid-column: 2; grid-row: 1 / span 3; width: 46px; height: 46px; }
  .works { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .clients p { max-width: none; flex-basis: 100%; }
  .clients ul { justify-content: flex-start; gap: 10px 28px; }
  .clients li { font-size: 1.1rem; }
  .crm { right: 8px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ptable td { border: 0; padding: 2px 0; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .grid3, .form__two, .steps, .voices__tabs { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__contact { grid-column: 1 / -1; }
  .btnrow .btn { width: 100%; }
  .top__cta .btn { display: none; }
  .cmp th, .cmp td { padding: 12px 12px; font-size: 0.86rem; }
  .voice__built { display: none; }
  .shot--phone { flex: 1 1 40%; }
  .talk { min-height: 270px; }
  .work__meta { flex-direction: column; gap: 2px; }
  .work__meta span { text-align: left; }
  .stats li { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .talk p { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------ Blog ------------------------------ */
.chips--dark li { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.chips--dark li a { color: #fff; }
.chips li small { opacity: .55; margin-left: 4px; font-weight: 500; }
.chips li:hover { border-color: var(--fg); }
.phero .chips { margin-top: 6px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -24px rgba(16, 22, 58, .35); }
.post__cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.post__cover img, .bcover { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcover { display: grid; place-items: end start; padding: 22px; box-sizing: border-box;
  background: radial-gradient(120% 120% at 100% 0%, hsl(var(--h) 90% 62% / .9), transparent 60%), linear-gradient(135deg, hsl(var(--h) 70% 36%), var(--ink) 85%); }
.bcover span { font: 600 .9rem var(--body); color: #fff; background: rgba(255, 255, 255, .14); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.post__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.post__body h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
.post__body h3 a:hover { color: var(--cobalt-deep); }
.post__body > p { color: var(--mut); font-size: .98rem; flex: 1; }
.post__tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; font-weight: 600; color: var(--tag); }
.post__tags a:hover { text-decoration: underline; }
.post__tags--dark { color: var(--apricot); margin-bottom: 18px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .9rem; color: var(--mut); margin-top: 4px; }
.post__meta--dark { color: #c3c9ec; font-size: 1rem; margin-top: -8px; }
.who { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-weight: 600; }
.post__meta--dark .who { color: #fff; }
.who__pic { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--cobalt); color: #fff; display: grid; place-items: center; font: 700 .7rem var(--display); flex: none; }
.who__pic img { width: 100%; height: 100%; object-fit: cover; }

.post--feat { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 28px; }
.post--feat .post__cover { aspect-ratio: auto; min-height: 340px; }
.post--feat .post__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post--feat .post__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.post--feat .post__body > p { font-size: 1.08rem; flex: 0; }

.phero--post h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.phero--post .lede { max-width: 64ch; }
.article .wrap { max-width: 1120px; }
.article__cover { margin: -180px 0 clamp(36px, 5vw, 64px); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(7, 10, 34, .6); }
.article__cover img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 88px); align-items: start; }
.prose--article { max-width: 70ch; font-size: 1.1rem; }
.prose--article > p:first-child { font-size: 1.22rem; color: var(--fg); }
.prose--article h2 { font-size: 1.85rem; margin: 52px 0 14px; letter-spacing: -0.02em; }
.prose--article h3 { font-size: 1.3rem; margin: 34px 0 10px; }
.prose--article p, .prose--article li { line-height: 1.7; }
.prose--article ol { list-style: decimal; padding-left: 24px; }
.prose--article li { margin-bottom: 8px; }
.prose--article blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cobalt); color: var(--fg); font-size: 1.18rem; font-family: var(--display); font-weight: 500; }
.prose--article blockquote p { color: inherit; }
.prose--article img { max-width: 100%; height: auto; border-radius: 16px; margin: 10px 0; }
.prose--article figure { margin: 28px 0; }
.prose--article figcaption { font-size: .9rem; color: var(--mut); margin-top: 8px; }
.prose--article code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.prose--article pre { background: var(--ink); color: #e9ecff; padding: 20px 22px; border-radius: 14px; overflow-x: auto; margin: 22px 0; font-size: .92rem; line-height: 1.55; }
.prose--article pre code { background: none; padding: 0; color: inherit; }
.prose--article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .98rem; }
.prose--article th, .prose--article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose--article th { font-weight: 600; color: var(--fg); }
.prose--article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose--article strong { color: var(--fg); }

.article__side { position: sticky; top: 96px; display: grid; gap: 20px; }
.authorbox { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.authorbox__pic { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; background: var(--cobalt); color: #fff; display: grid; place-items: center; font: 700 1.3rem var(--display); }
.authorbox__pic img { width: 100%; height: 100%; object-fit: cover; }
.authorbox strong { display: block; font-size: 1.05rem; }
.authorbox > div > span { display: block; font-size: .88rem; color: var(--tag); font-weight: 600; margin: 2px 0 8px; }
.authorbox__pic span { color: #fff; }
.authorbox p { font-size: .93rem; color: var(--mut); margin-bottom: 10px; }
.authorbox a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.authorbox a svg { width: 16px; height: 16px; }
.sidecta { padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.sidecta h3 { font-size: 1.2rem; margin-bottom: 8px; }
.sidecta p { color: #c3c9ec; font-size: .95rem; margin-bottom: 18px; }

@media (max-width: 980px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .post--feat { grid-template-columns: 1fr; }
  .post--feat .post__cover { aspect-ratio: 16 / 9; min-height: 0; }
  .article__grid { grid-template-columns: 1fr; }
  .article__side { position: static; }
  .article__cover { margin-top: -110px; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .prose--article { font-size: 1.03rem; }
  .authorbox { grid-template-columns: 52px 1fr; }
  .authorbox__pic { width: 52px; height: 52px; }
}
