:root {
  --bg-dark: #0d151c;
  --bg-dark-2: #131f29;
  --card-dark: #16232e;
  --teal: #0f9d8f;
  --teal-bright: #2ee6c9;
  --teal-soft: #e3f6f3;
  --text: #0f1a22;
  --muted: #5a6772;
  --muted-light: #9fb1ba;
  --line: #e3e8eb;
  --line-dark: rgba(255, 255, 255, 0.08);
  --tint: #f4f7f8;
  --r: 18px;
  --wrap: 1220px;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.06; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.h3 { font-size: 1.7rem; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.grad { background: linear-gradient(100deg, #2ee6c9 0%, #0f9d8f 60%, #7ad8ff 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section--dark .eyebrow, .contact .eyebrow { color: var(--teal-bright); }
.label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section--dark .label { color: var(--teal-bright); }
.lead { font-size: 1.15rem; color: var(--muted-light); max-width: 56ch; margin-top: 22px; }
.sub { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.section--dark .sub { color: var(--muted-light); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(46,230,201,.25); background: rgba(46,230,201,.06); color: #c9efe8; font-size: .85rem; font-weight: 500; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(46,230,201,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46,230,201,0); } }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #06221e; background: linear-gradient(135deg, #2ee6c9, #12b8a6); border: 0; box-shadow: 0 10px 30px rgba(46,230,201,.25); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(46,230,201,.35); }
.btn--ghost { background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.link { display: inline-block; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 2px solid rgba(15,157,143,.3); transition: border-color .2s; margin-top: 18px; }
.link:hover { border-color: currentColor; }
.link--light { color: var(--teal-bright); }
.links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(13,21,28,.78); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line-dark); }
.nav__inner { display: flex; align-items: center; gap: 36px; height: 74px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { color: var(--muted-light); text-decoration: none; font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; width: 22px; background: #fff; margin: 6px auto; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-dark); color: #fff; overflow: hidden; padding-bottom: 72px; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(circle, rgba(46,230,201,.18), transparent 60%); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 96px 0 72px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero__visual { position: relative; height: 520px; }
.frame { position: absolute; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame--main { inset: 30px 0 60px 40px; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); }
.frame--float { width: 180px; animation: float 6s ease-in-out infinite; }
.frame--a { left: -10px; bottom: 0; height: 225px; }
.frame--b { right: -24px; top: -10px; height: 260px; width: 160px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-14px); } }
.float-stat { position: absolute; right: 30px; bottom: 6px; padding: 16px 20px; border-radius: 14px; background: rgba(13,21,28,.82); backdrop-filter: blur(12px); border: 1px solid rgba(46,230,201,.3); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.float-stat strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--teal-bright); letter-spacing: -.02em; line-height: 1.1; }
.float-stat span { font-size: .8rem; color: var(--muted-light); }
.hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(255,255,255,.02); }
.hero__stats li { padding: 26px 28px; }
.hero__stats li + li { border-left: 1px solid var(--line-dark); }
.hero__stats strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.hero__stats span { font-size: .86rem; color: var(--muted-light); }

/* ---------- Logos marquee ---------- */
.logos { padding: 48px 0 52px; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__label { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 72px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track li { height: 58px; display: grid; place-items: center; }
.marquee__track img { max-height: 54px; max-width: 170px; width: auto; filter: grayscale(1); opacity: .7; mix-blend-mode: multiply; transition: .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--tint { background: var(--tint); }
.head { margin-bottom: 56px; max-width: 760px; }
.head .sub { margin-top: 18px; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.head--split .sub { margin-top: 0; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; margin: 96px 0 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: 6px 12px; border-radius: 999px; font-size: .8rem; border: 1px solid var(--line-dark); color: #cfe0e5; background: rgba(255,255,255,.03); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { border: 1px solid var(--line); border-radius: 24px; padding: 40px; background: #fff; transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(15,26,34,.08); }
.pillar--accent { background: var(--bg-dark); color: #fff; border-color: transparent; background-image: radial-gradient(circle at 100% 0%, rgba(46,230,201,.18), transparent 50%); }
.pillar__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.pillar__top h3 { font-size: 1.7rem; }
.pillar__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-soft); color: var(--teal); font-size: 1.3rem; font-weight: 700; }
.pillar--accent .pillar__icon { background: rgba(46,230,201,.12); color: var(--teal-bright); }
.svc li { padding: 18px 0; border-top: 1px solid var(--line); }
.pillar--accent .svc li { border-color: var(--line-dark); }
.svc strong { display: block; font-weight: 600; font-size: 1.04rem; }
.svc span { color: var(--muted); font-size: .95rem; }
.pillar--accent .svc span { color: var(--muted-light); }

/* ---------- Browser frames ---------- */
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1b2833; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4a56; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 14px; padding: 4px 14px; border-radius: 8px; background: #0f1a22; color: var(--muted-light); font-size: .78rem; flex: 0 1 320px; }
.browser img { cursor: zoom-in; width: 100%; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.bento__item { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.bento__item--wide { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.4fr; align-items: center; }
.bento__text { padding: 34px 34px 26px; }
.bento__text h3 { margin-bottom: 10px; }
.bento__text p { color: var(--muted-light); font-size: .97rem; }
.bento__item img { cursor: zoom-in; border-top-left-radius: 12px; margin-left: 34px; margin-top: auto; box-shadow: -20px -20px 50px rgba(0,0,0,.35); transition: transform .5s; }
.bento__item--wide img { margin: 34px 0 34px 0; border-radius: 12px 0 0 12px; }
.bento__item:hover img { transform: translateY(-6px); }

/* ---------- Site showcase ---------- */
.site-showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; margin-top: 96px; }
.site-showcase__text h3 { font-size: 2rem; margin-bottom: 14px; }
.site-showcase__text p { color: var(--muted-light); }
.hint { margin-top: 22px; font-size: .85rem; color: var(--teal-bright) !important; }
.browser--tall .scroller { height: 560px; overflow: hidden; }
.browser--tall .scroller img { cursor: default; transform: translateY(0); transition: transform 9s cubic-bezier(.45,.05,.55,.95); }
.browser--tall:hover .scroller img { transform: translateY(calc(-100% + 560px)); }

.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: rgba(46,230,201,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232ee6c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks--light li { color: #d6e4e8; }

/* ---------- Case cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(15,26,34,.08); }
.case-card__media { height: 360px; overflow: hidden; background: var(--tint); }
.case-card__media--dark { background: var(--bg-dark); padding: 32px 32px 0; }
.case-card__media--dark img { border-radius: 10px 10px 0 0; cursor: zoom-in; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-card__media--phones { display: flex; justify-content: center; gap: 20px; padding: 32px 32px 0; background: linear-gradient(160deg, #13212b, #0d151c); }
.case-card__media--phones a { width: 44%; border-radius: 14px 14px 0 0; overflow: hidden; border: 6px solid #22323e; border-bottom: 0; transition: transform .3s; }
.case-card__media--phones a:hover { transform: translateY(-8px); }
.case-card__media--phones img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-card__body { padding: 32px; }
.case-card__body h3 { font-size: 1.6rem; margin-bottom: 10px; }
.case-card__body p { color: var(--muted); }

.pages { columns: 4 230px; column-gap: 18px; }
.pages img { width: 100%; margin-bottom: 18px; break-inside: avoid; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; transition: transform .3s, box-shadow .3s; }
.pages img:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,26,34,.12); }

/* ---------- Results ---------- */
.section--results { background: var(--bg-dark); background-image: radial-gradient(ellipse at 0% 0%, rgba(46,230,201,.08), transparent 50%); }
.filters { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; margin-bottom: 32px; }
.section--dark .filters { border-color: var(--line-dark); background: rgba(255,255,255,.03); }
.filter, .tab { border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: .2s; }
.section--dark .filter { color: var(--muted-light); }
.filter.is-active, .tab.is-active { background: var(--text); color: #fff; }
.section--dark .filter.is-active { background: var(--teal-bright); color: #06221e; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.result:hover { transform: translateY(-4px); border-color: rgba(46,230,201,.35); }
.result h3 { margin-bottom: 20px; }
.result__logo { height: 44px; width: auto; max-width: 140px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 20px; }
.result--feature { grid-column: span 3; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 48px; padding: 40px; background: linear-gradient(150deg, #182934, #121d26); }
.result--feature header { display: flex; gap: 18px; align-items: flex-start; grid-column: 1 / -1; }
.result--feature header .result__logo { margin: 0; flex: none; }
.result--feature h3 { font-size: 2rem; margin: 0; }
.result__hero { display: grid; gap: 14px; align-content: start; }
.result__hero div { padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.result__hero strong { display: block; font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.result__hero strong.t { color: var(--teal-bright); }
.result__hero span, .kpis span { font-size: .84rem; color: var(--muted-light); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.kpis li { padding: 16px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.kpis b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; }
.kpis--3 li { padding: 14px 12px; }
.kpis--3 b { font-size: 1.25rem; color: var(--teal-bright); }
.note { grid-column: 1 / -1; font-size: .78rem; color: #7d8f98; }
.svc-line { margin-top: auto; padding-top: 18px; font-size: .84rem; color: var(--muted-light); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.q { background: #fff; border-radius: 24px; padding: 44px; border: 1px solid var(--line); position: relative; }
.q::before { content: "“"; position: absolute; top: 10px; right: 30px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--teal-soft); }
.q p { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; position: relative; }
.q footer { margin-top: 26px; display: flex; flex-direction: column; }
.q footer span { color: var(--muted); font-size: .9rem; }

/* ---------- Creative ---------- */
.masonry { columns: 5 180px; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; break-inside: avoid; border-radius: 12px; cursor: zoom-in; transition: transform .3s, box-shadow .3s; }
.masonry img:hover { transform: scale(1.03); box-shadow: 0 20px 40px rgba(15,26,34,.15); }

/* ---------- Social boards ---------- */
.boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.board { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; transition: transform .3s, box-shadow .3s; }
.board:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(15,26,34,.1); }
.board h3 { font-size: 1.15rem; margin-bottom: 4px; }
.board .link { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.board__art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px; border-radius: 14px; background: #0f1a22; margin-bottom: 20px; }
.board__art i { aspect-ratio: 4/5; border-radius: 6px; background: linear-gradient(160deg, #0f9d8f, #0b5d55); }
.board__art i:nth-child(2n) { background: linear-gradient(160deg, #f3f6f7, #cfdadf); }
.board__art i:nth-child(3n) { background: linear-gradient(160deg, #2ee6c9, #0f9d8f); }
.board__art--b i:nth-child(2n) { background: linear-gradient(160deg, #263744, #18242e); }
.board__art--c i:nth-child(odd) { background: linear-gradient(160deg, #f5c86b, #d98d3c); }
.board__art--d i:nth-child(3n+1) { background: linear-gradient(160deg, #7ad8ff, #2f7fd1); }

/* ---------- Partner ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { border: 1px solid var(--line); border-radius: 22px; padding: 34px; transition: transform .3s; }
.model:hover { transform: translateY(-4px); }
.model--hi { background: var(--bg-dark); color: #fff; border-color: transparent; background-image: radial-gradient(circle at 100% 0, rgba(46,230,201,.2), transparent 55%); }
.model--hi p { color: var(--muted-light) !important; }
.num { font-family: var(--display); font-weight: 800; font-size: .9rem; color: var(--teal); }
.model--hi .num { color: var(--teal-bright); }
.model h3 { margin: 18px 0 10px; }
.model p { color: var(--muted); }
.process { margin-top: 88px; display: grid; grid-template-columns: .7fr 2fr; gap: 48px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 24px 22px; border-radius: 18px; background: var(--tint); position: relative; }
.steps li span { font-family: var(--display); font-weight: 800; color: var(--teal); font-size: .85rem; }
.steps h4 { margin: 12px 0 8px; }
.steps p { color: var(--muted); font-size: .92rem; }
.tools { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.tools ul { display: flex; flex-wrap: wrap; gap: 10px; }
.tools li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .93rem; }

/* ---------- Contact & footer ---------- */
.contact { position: relative; overflow: hidden; background: var(--bg-dark); color: #fff; padding: 150px 0; text-align: center; }
.hero__glow--contact { inset: auto auto -50% 50%; transform: translateX(-50%); }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; }
.contact .lead { margin-inline: auto; }
.footer { background: #080e13; color: var(--muted-light); padding: 40px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__inner img { height: 36px; width: auto; }
.footer__links { display: flex; gap: 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,10,14,.94); display: grid; place-items: center; padding: 48px 24px; overflow: auto; }
.lightbox img { max-width: min(1200px, 100%); border-radius: 10px; }
.lightbox__close { position: fixed; top: 16px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.8rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid, .head--split, .pillars, .duo, .site-showcase, .process, .quotes { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 440px; max-width: 640px; }
  .results { grid-template-columns: 1fr 1fr; }
  .result--feature { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .bento__item--wide { grid-template-columns: 1fr; }
  .bento__item--wide img { margin: 0 0 0 34px; border-radius: 12px 0 0 0; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: var(--bg-dark); border-bottom: 1px solid var(--line-dark); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .btn--sm { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .section { padding: 84px 0; }
  .hero__grid { padding: 64px 0 40px; }
  .hero__visual { height: 330px; }
  .frame--main { inset: 20px 10px 40px 20px; }
  .frame--float { width: 110px; }
  .frame--a { height: 138px; }
  .frame--b { height: 170px; width: 100px; right: -6px; }
  .float-stat { right: 10px; padding: 12px 14px; }
  .float-stat strong { font-size: 1.4rem; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats li:nth-child(3) { border-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero__stats li { padding: 20px; }
  .bento { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
  .result--feature { padding: 26px; }
  .result--feature header { flex-direction: column; }
  .result--feature h3 { font-size: 1.6rem; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis--3 { grid-template-columns: repeat(3, 1fr); }
  .kpis--3 b { font-size: 1.05rem; }
  .boards, .models, .steps { grid-template-columns: 1fr; }
  .head--row { flex-direction: column; align-items: flex-start; margin-top: 72px; }
  .case-card__media { height: 280px; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry img { margin-bottom: 12px; }
  .pages { columns: 2; column-gap: 12px; }
  .pages img { margin-bottom: 12px; }
  .browser--tall .scroller { height: 420px; }
  .browser--tall:hover .scroller img { transform: translateY(calc(-100% + 420px)); }
  .q { padding: 30px; }
  .q p { font-size: 1.15rem; }
  .contact { padding: 110px 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.case-card__media--dark img { object-position: top left; }
@media (max-width: 760px) { .hero__stats strong { font-size: 1.35rem; } }

/* ---------- Lending sites ---------- */
.lending { margin-top: 72px; padding: 48px; border-radius: 28px; background: linear-gradient(160deg, #eef3ff, #f6f8fb); border: 1px solid #dfe6f3; }
.lending__head { max-width: 820px; margin-bottom: 36px; }
.lending__head .sub { margin-top: 12px; }
.tags--light span { color: #23415f; border-color: #cfd9e8; background: #fff; }
.lending__sites { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.browser--light { box-shadow: 0 30px 70px rgba(20,40,80,.15), 0 0 0 1px rgba(20,40,80,.06); }
.browser figcaption { padding: 14px 18px; font-size: .9rem; font-weight: 600; background: #fff; border-top: 1px solid var(--line); }
.browser--light .scroller { height: 520px; }
.browser--light:hover .scroller img { transform: translateY(calc(-100% + 520px)); }
.hint--dark { color: var(--teal) !important; margin-top: 18px; }

/* ---------- AI videos ---------- */
.videos { margin-bottom: 72px; }
.videos__head { max-width: 720px; margin-bottom: 28px; }
.videos__head .sub { margin-top: 10px; }
.videos__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.vid { position: relative; aspect-ratio: 9/16; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; font: inherit;
  background: #0f1a22 center/cover no-repeat; box-shadow: 0 20px 44px rgba(15,26,34,.18); transition: transform .3s; }
.vid:hover { transform: translateY(-6px); }
.vid::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,21,28,.1) 30%, rgba(13,21,28,.85)); }
.vid::after { content: ""; position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  background: rgba(46,230,201,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2306221e'/%3E%3C/svg%3E") 55% 50%/26px no-repeat;
  box-shadow: 0 0 0 10px rgba(46,230,201,.18); transition: transform .3s; }
.vid:hover::after { transform: scale(1.08); }
.vid__tag, .vid__title { position: absolute; left: 16px; right: 16px; z-index: 1; }
.vid__tag { bottom: 44px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-bright); }
.vid__title { bottom: 18px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.vid.is-playing::before, .vid.is-playing::after, .vid.is-playing span { display: none; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 1080px) {
  .videos__row { grid-template-columns: repeat(3, 1fr); }
  .lending__sites { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lending { padding: 26px 18px; margin-top: 56px; }
  .browser--light .scroller { height: 420px; }
  .browser--light:hover .scroller img { transform: translateY(calc(-100% + 420px)); }
  .videos__row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.tab .count { font-size: .75rem; opacity: .55; margin-left: 4px; }
