/* ==========================================================
   Oussama Bengoudifa — Portfolio design v2
   Each project page sets its own colours on <body>:
   --pc (brand), --pc-ink (text on brand), --pc-deep (dark shade), --pt (tint)
   ========================================================== */

:root {
  --ink: #0e1420;
  --ink-2: #2a3345;
  --muted: #5b6478;
  --line: #e3e7ef;
  --mist: #f5f7fb;
  --paper: #ffffff;
  --accent: #3550ff;
  --amber: #ffb020;

  --pc: #3550ff; --pc-ink: #fff; --pc-deep: #2238d6; --pt: #eef0ff;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.7); }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(53, 80, 255, .7); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--light { background: #fff; color: var(--ink); }
.btn--glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--live { background: #e7f7ee; color: #16794a; }
.status--progress { background: #e8eeff; color: #2f45c9; }
.status--done { background: #eef1f5; color: #4a5568; }
.status--stopped { background: #fff4e0; color: #8a5300; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; }
.nav__in { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em; font-size: 16px; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 34px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { opacity: .8; transition: opacity .2s, color .2s; }
.nav__links a:hover, .nav__links a.active { opacity: 1; color: var(--accent); }
.nav.dark { color: #fff; }
.nav.dark .brand__mark { background: #fff; color: var(--ink); }
.nav.dark .nav__links a.active { color: var(--amber); }
.nav.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.nav.scrolled .brand__mark { background: var(--ink); color: #fff; }
.nav.scrolled .nav__links a.active { color: var(--accent); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ==========================================================
   DEVICES
   ========================================================== */
.phone { --w: 300px; width: var(--w); aspect-ratio: 9 / 19.2; flex: none; border-radius: 46px; background: #0b0f17; padding: 11px; position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #0b0f17; z-index: 3; }
.phone__screen { height: 100%; border-radius: 36px; background: #fff; overflow: hidden; color: var(--ink); position: relative; font-size: 12px; line-height: 1.35; }
.phone--poster { --w: 350px; aspect-ratio: 600 / 1067; padding: 0; border-radius: 32px; overflow: hidden; background: #ff7534; }
.phone--poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.meta dd a { text-decoration: underline; text-underline-offset: 3px; }

.ps-top { position: absolute; top: 14px; left: 26px; right: 26px; display: flex; justify-content: space-between; font-weight: 700; font-size: 11px; z-index: 2; }
.ps-top i { width: 34px; height: 10px; border-radius: 4px; background: currentColor; opacity: .8; }
.ps { padding: 48px 16px 70px; display: flex; flex-direction: column; gap: 11px; }
.ps-h { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ps-sub { color: #6b7385; font-size: 11px; }
.ps-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7385; margin-top: 2px; }
.ps-search { display: flex; align-items: center; gap: 8px; height: 38px; border-radius: 12px; background: #f2f4f7; padding: 0 12px; color: #6b7385; font-size: 11.5px; }
.ps-search svg { width: 14px; height: 14px; flex: none; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-chips span { font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: #eef1f4; color: #384152; }
.ps-chips span.on { background: var(--pc); color: var(--pc-ink); }
.ps-card { display: flex; gap: 10px; padding: 8px; border-radius: 14px; border: 1px solid #e8ebf0; align-items: center; }
.ps-card b { display: block; font-size: 12.5px; }
.ps-card small { display: block; color: #6b7385; font-size: 10.5px; margin: 1px 0 3px; }
.ps-rate { font-size: 10.5px; font-weight: 800; color: var(--pc-deep); }
.ps-img { width: 56px; height: 56px; border-radius: 10px; flex: none; }
.ps-cover { height: 190px; }
.ps-row { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink-2); padding: 9px 0; border-bottom: 1px solid #eef0f3; }
.ps-line { height: 7px; border-radius: 4px; background: #eaedf2; flex: none; }
.ps-range { height: 6px; border-radius: 4px; background: #e6e9ee; position: relative; }
.ps-range i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--pc); }
.ps-range i::after { content: ""; position: absolute; right: -8px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--pc); }
.ps-btn { height: 42px; border-radius: 12px; background: var(--pc); color: var(--pc-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px; margin-top: 4px; flex: none; }
.ps-tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 58px; border-top: 1px solid #eef0f3; display: flex; justify-content: space-around; align-items: center; background: #fff; }
.ps-tabbar i { width: 22px; height: 22px; border-radius: 7px; background: #e5e8ed; }
.ps-tabbar i.on { background: var(--pc); }
.ps-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ps-tiles div { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; color: #384152; text-align: center; }
.ps-tiles i { width: 42px; height: 42px; border-radius: 13px; background: var(--pt); display: grid; place-items: center; }
.ps-tiles i::after { content: ""; width: 16px; height: 16px; border-radius: 5px; background: var(--pc); }
.ps-banner { border-radius: 14px; padding: 14px; color: var(--pc-ink); background: linear-gradient(135deg, var(--pc), color-mix(in srgb, var(--pc) 62%, #000)); font-weight: 800; font-size: 14px; line-height: 1.2; }
.ps-banner small { display: block; font-weight: 600; font-size: 10px; opacity: .85; margin-top: 4px; }
.ps-bar { height: 7px; border-radius: 4px; background: #eef0f3; overflow: hidden; flex: none; }
.ps-bar i { display: block; height: 100%; background: var(--pc); border-radius: 4px; }
.ps-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid #e8ebf0; font-size: 11px; font-weight: 700; }
.ps-item small { display: block; font-weight: 500; color: #6b7385; font-size: 10px; }
.ps-item > span:last-child { color: var(--pc-deep); font-weight: 800; }
.ps-big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.g1 { background: linear-gradient(135deg, #f7b267, #f4845f); }
.g2 { background: linear-gradient(135deg, #8fd3b0, #2e7d5b); }
.g3 { background: linear-gradient(135deg, #c2b0ff, #6c5ce7); }
.g4 { background: linear-gradient(135deg, #ffd56b, #e8a317); }
.g5 { background: linear-gradient(135deg, #9ad0ec, #3a7bd5); }

.browser { --bw: 560px; width: var(--bw); flex: none; border-radius: 14px; background: #fff; overflow: hidden; color: var(--ink); font-size: 12px; line-height: 1.35; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.06); }
.browser__bar { height: 34px; background: #eef1f5; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #e3e7ef; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 14px; height: 20px; flex: 1; max-width: 300px; border-radius: 6px; background: #fff; font-family: var(--mono); font-size: 10px; color: #8a93a6; display: flex; align-items: center; padding: 0 10px; }
.browser__screen { height: 330px; overflow: hidden; }
.bs { display: flex; height: 100%; }
.bs-side { width: 138px; flex: none; background: #f7f8fb; border-right: 1px solid #eceff4; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.bs-logo { font-weight: 800; font-size: 12px; margin-bottom: 10px; display: flex; gap: 7px; align-items: center; }
.bs-logo i { width: 14px; height: 14px; border-radius: 4px; background: var(--pc); }
.bs-nav { font-size: 11px; padding: 6px 8px; border-radius: 7px; color: #5b6478; font-weight: 600; }
.bs-nav.on { background: var(--pt); color: var(--pc-deep); }
.bs-main { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bs-h { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.bs-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #7a8396; }
.bs-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bs-card { border: 1px solid #eceff4; border-radius: 10px; padding: 10px 12px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.bs-card b { font-size: 11.5px; }
.bs-sug { font-size: 10.5px; font-weight: 600; color: var(--ink-2); border-left: 3px solid var(--pc); }
.bs-table { border: 1px solid #eceff4; border-radius: 10px; overflow: hidden; font-size: 10.5px; }
.bs-tr { display: grid; grid-template-columns: var(--cols); gap: 8px; padding: 7px 10px; border-top: 1px solid #f0f2f6; align-items: center; }
.bs-tr.head { background: #f7f8fb; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #7a8396; border-top: 0; }
.bs-pill { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--pt); color: var(--pc-deep); white-space: nowrap; width: max-content; }
.bs-pill.ok { background: #e7f7ee; color: #16794a; }
.bs-pill.muted { background: #eef1f5; color: #6b7385; }
.bs-btn { display: inline-flex; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--pc); color: var(--pc-ink); font-weight: 700; font-size: 10.5px; align-items: center; white-space: nowrap; }
.bs-input { height: 30px; border: 1px solid #e3e7ef; border-radius: 8px; padding: 0 10px; display: flex; align-items: center; color: #8a93a6; font-size: 10.5px; flex: 1; min-width: 120px; }
.bs-stat { flex: 1; gap: 2px; }
.bs-stat b { font-size: 17px; font-weight: 800; }
.bs-stat span { font-size: 10px; color: #7a8396; }
.bs-hl { background: color-mix(in srgb, var(--pc) 30%, #fff); }
.bs-split { display: grid; grid-template-columns: 1fr 168px; gap: 12px; }
.bs-split--tree { grid-template-columns: 150px 1fr; }
.bs-col { display: flex; flex-direction: column; gap: 7px; }
.bs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bs-steps { display: flex; gap: 8px; }
.bs-steps span { font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #eef1f5; color: #6b7385; }
.bs-steps span.on { background: var(--pc); color: var(--pc-ink); }
.bs-tree { font-size: 10.5px; font-weight: 600; color: #5b6478; white-space: pre; gap: 7px; }
.bs-tree .on { color: var(--pc-deep); font-weight: 800; }

/* ==========================================================
   HOME
   ========================================================== */
.hero { position: relative; overflow: hidden; height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; display: flex; align-items: center; padding: 78px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 520px at 88% 12%, rgba(53, 80, 255, .10), transparent 62%), radial-gradient(640px 420px at 0% 95%, rgba(255, 107, 61, .08), transparent 60%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.avail { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #eaf7ef; color: #17663f; font-weight: 700; font-size: 14px; }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -0.04em; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fact { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.fact svg { width: 16px; height: 16px; color: var(--accent); }

.combo { position: relative; height: 470px; }
.combo__browser { position: absolute; top: 0; right: -40px; }
.combo__browser .browser { zoom: .82; }
.combo__phone { position: absolute; left: 10px; bottom: -10px; z-index: 2; }
.combo__phone .phone { zoom: .58; }
.combo__api { position: absolute; right: 0; bottom: 0; z-index: 3; width: 250px; background: var(--ink); color: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -25px rgba(14,20,32,.55); display: flex; flex-direction: column; }
.combo__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.combo__node { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 9px 12px; }
.combo__node b { display: block; font-size: 13.5px; }
.combo__node small { font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.6); }
.combo__edge { width: 2px; height: 16px; margin-left: 20px; background: repeating-linear-gradient(180deg, var(--amber) 0 4px, transparent 4px 8px); background-size: 2px 8px; animation: drip .8s linear infinite; }
@keyframes drip { to { background-position: 0 8px; } }
.stat-float { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: 0 24px 50px -24px rgba(14, 20, 32, .35); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.stat-float span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 2px; }

.proof { padding: 20px 0 100px; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { border-top: 2px solid var(--ink); padding-top: 18px; }
.stat b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 14px; }
.sec-head > p { color: var(--muted); font-size: 18px; max-width: 520px; justify-self: end; }

.work { padding: 40px 0 120px; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card { border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(14, 20, 32, .4); }
.card__media { height: 300px; position: relative; overflow: hidden; background: radial-gradient(420px 240px at 50% 110%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%), var(--pt); }
.stage { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .stage { transform: translateX(-50%) translateY(-10px); }
.stage--phone .phone { zoom: .62; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.stage--browser .browser { zoom: .74; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.card__body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card__meta { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .status { font-size: 12px; padding: 4px 10px; }
.card h3 { font-size: 27px; letter-spacing: -.025em; line-height: 1.15; }
.card p { color: var(--ink-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.tags span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.card__link { margin-top: auto; padding-top: 12px; font-weight: 800; display: inline-flex; gap: 8px; align-items: center; color: var(--pc-deep); }
.card__link svg { width: 18px; height: 18px; }
.card--cta { grid-column: 1 / -1; background: var(--ink); color: #fff; border: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; }
.card--cta h3 { font-size: 36px; margin: 10px 0 8px; }
.card--cta p:not(.eyebrow) { color: rgba(255,255,255,.75); }

.how { padding: 110px 0; background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { background: #fff; border-radius: 22px; padding: 24px; border: 1px solid var(--line); }
.step b { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin: 12px 0 8px; letter-spacing: -.015em; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.easy { margin-top: 22px; background: var(--ink); color: #fff; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.easy h3 { font-size: 32px; letter-spacing: -.025em; }
.easy > div > p { color: rgba(255,255,255,.7); margin-top: 12px; }
.easy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.easy li { display: flex; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,.88); line-height: 1.45; }
.easy li svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 1px; }

.about { padding: 120px 0; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.about h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 24px; }
.about p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; margin-bottom: 16px; }
.tl li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tl li:first-child { border-top: 1px solid var(--line); }
.tl time { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.tl b { display: block; font-weight: 800; }
.tl span { color: var(--muted); font-size: 15px; }

.cta { background: var(--ink); color: #fff; padding: 120px 0 50px; position: relative; overflow: hidden; margin-top: 120px; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 90% 0%, rgba(53,80,255,.28), transparent 60%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(40px, 5.2vw, 72px); max-width: 940px; letter-spacing: -.035em; }
.cta p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 20px; margin-top: 20px; max-width: 640px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 100px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.6); }

/* ==========================================================
   CASE STUDY
   ========================================================== */
.cs-hero {
  position: relative; color: #fff; padding: 118px 0 140px; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 35%, color-mix(in srgb, var(--pc) 40%, transparent), transparent 60%),
    radial-gradient(700px 500px at 8% 100%, rgba(255, 176, 32, .10), transparent 60%),
    linear-gradient(165deg, color-mix(in srgb, var(--pc) 42%, #0b0f17) 0%, color-mix(in srgb, var(--pc) 22%, #070a10) 55%, #05070b 100%);
}
.cs-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 72%); }
.subnav { position: relative; display: flex; justify-content: flex-end; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); padding: 18px 0; margin-bottom: 64px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.subnav a { white-space: nowrap; }
.subnav a:hover { color: #fff; }
.subnav a.active { color: var(--amber); }
.cs-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.cs-hero h1 { font-size: clamp(42px, 5.2vw, 74px); letter-spacing: -.04em; margin: 18px 0 24px; }
.cs-hero .lead { font-size: 20px; color: rgba(255,255,255,.8); max-width: 590px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-tags span { font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.cs-hero__visual { position: relative; display: flex; justify-content: flex-end; padding-right: 20px; }
.cs-hero__visual.is-web { padding: 84px 0 96px; }
.cs-hero__visual.is-web .browser { --bw: 620px; margin-right: -150px; }
.glass { position: absolute; z-index: 4; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 700; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.glass span { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.illus-note { position: absolute; bottom: -34px; right: 20px; width: 300px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.5); white-space: nowrap; }
.is-web .illus-note { bottom: -30px; right: 0; width: auto; }

.tldr { position: relative; z-index: 5; margin-top: -64px; background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -30px rgba(14,20,32,.35); display: grid; grid-template-columns: repeat(3, 1fr); }
.tldr > div { padding: 30px 32px; }
.tldr > div + div { border-left: 1px solid var(--line); }
.tldr b { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pc-deep); margin-bottom: 10px; }
.tldr p { font-size: 17px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }

.cs-intro { padding: 110px 0 100px; }
.cs-intro__grid { display: grid; grid-template-columns: 290px 1fr; gap: 80px; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: .14em; color: var(--pc-deep); margin-bottom: 34px; display: flex; align-items: center; gap: 10px; }
.wordmark i { width: 14px; height: 14px; border-radius: 4px; background: var(--pc); }
.meta { display: flex; flex-direction: column; gap: 26px; }
.meta dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.meta dd { font-weight: 600; color: var(--ink-2); font-size: 16px; }
.story h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 28px; max-width: 760px; }
.story p { font-size: 19px; color: var(--ink-2); margin-bottom: 20px; max-width: 730px; }
.story p.hl { font-weight: 800; color: var(--ink); }
.services { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 38px; border-top: 1px solid var(--line); }
.services h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.services ul li { position: relative; padding-left: 20px; margin-bottom: 10px; font-weight: 600; color: var(--ink-2); }
.services ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pc); }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }

.strip { position: relative; overflow: hidden; height: 820px; padding-bottom: 60px; display: flex; align-items: center; background: linear-gradient(180deg, #fff 0%, var(--pt) 100%); }
.strip--web { height: 600px; }
.strip__track { display: flex; flex: none; width: max-content; animation: marquee 90s linear infinite; }
.strip .phone { zoom: .8; margin-right: 40px; }
.strip .browser { zoom: .78; margin-right: 46px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.caption { position: absolute; left: 16px; right: 16px; bottom: 26px; margin: 0; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

.band { background: var(--pt); padding: 30px 0 120px; }
.band__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 60px; }
.band h2 { font-size: clamp(38px, 4.4vw, 60px); color: color-mix(in srgb, var(--pc-deep) 70%, #000); }
.band .lead { font-size: 24px; font-weight: 800; color: color-mix(in srgb, var(--pc-deep) 70%, #000); margin-bottom: 18px; line-height: 1.35; letter-spacing: -.01em; }
.band p { font-size: 18px; color: color-mix(in srgb, var(--pc-deep) 35%, #26303f); }
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.req div { background: #fff; border-radius: 18px; padding: 20px; font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.req span { display: block; font-family: var(--mono); font-size: 11px; color: var(--pc-deep); letter-spacing: .14em; margin-bottom: 10px; }

.arch-sec { padding: 120px 0 60px; }
.arch-card { background: var(--mist); border: 1px solid var(--line); border-radius: 30px; padding: 30px; overflow-x: auto; }
.arch { min-width: 900px; width: 100%; height: auto; }
.arch text { font-family: var(--font); }
.arch .box { fill: #fff; stroke: #d5dce8; stroke-width: 1.5; }
.arch .t { font-size: 17px; font-weight: 800; fill: var(--ink); }
.arch .s { font-family: var(--mono); font-size: 12.5px; fill: var(--muted); }
.arch .pill rect { fill: var(--pt); }
.arch .pill text { font-family: var(--mono); font-size: 12px; fill: var(--pc-deep); font-weight: 600; }
.arch .aws { fill: color-mix(in srgb, var(--pc) 3%, transparent); stroke: color-mix(in srgb, var(--pc-deep) 45%, #fff); stroke-width: 1.5; stroke-dasharray: 6 6; }
.arch .aws-l { font-size: 14px; font-weight: 800; fill: color-mix(in srgb, var(--pc-deep) 70%, #000); }
.arch .aws-s { font-family: var(--mono); font-size: 12px; fill: var(--muted); }
.arch .edge { fill: none; stroke: var(--pc-deep); stroke-width: 2; stroke-dasharray: 6 7; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -13; } }
.arch .lbl { font-family: var(--mono); font-size: 11.5px; fill: var(--pc-deep); font-weight: 600; }
.arch .num circle { fill: var(--amber); }
.arch .num text { font-size: 13px; font-weight: 800; fill: var(--ink); }
.arch .ci rect { fill: var(--ink); }
.arch .ci text { fill: #fff; }
.arch .node, .arch .edge, .arch .num, .arch .lbl { opacity: 0; transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.arch .node { transform: translateY(10px); }
.arch.in .node, .arch.in .edge, .arch.in .num, .arch.in .lbl { opacity: 1; transform: none; }
.arch-note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.dec-sec { padding: 60px 0 110px; }
.decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dec { border: 2px dashed #cbd5e3; border-radius: 26px; padding: 28px; background: #fff; position: relative; }
.dec__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); font-weight: 800; font-size: 14px; }
.dec h3 { font-size: 23px; margin: 16px 0 20px; letter-spacing: -.02em; line-height: 1.2; }
.todo { position: absolute; top: 26px; right: 24px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #fff1d6; color: #8a5300; padding: 5px 9px; border-radius: 999px; }
.dec dl { display: grid; gap: 16px; }
.dec dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.ghost { height: 9px; border-radius: 6px; background: #e9eef5; margin-bottom: 6px; }
.w90 { width: 90%; } .w75 { width: 75%; } .w60 { width: 60%; } .w45 { width: 45%; }
.hint { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 18px; line-height: 1.5; }

.panel { background: linear-gradient(160deg, var(--pt), #f7f9fb); border-radius: 34px; padding: 60px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; }
.panel h2 { font-size: clamp(32px, 3.6vw, 46px); color: color-mix(in srgb, var(--pc-deep) 70%, #000); margin: 14px 0 26px; }
.check li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--pc-deep) 16%, transparent); font-weight: 600; color: var(--ink-2); }
.check li svg { flex: none; width: 22px; height: 22px; color: var(--pc-deep); margin-top: 1px; }
.side { display: flex; flex-direction: column; gap: 18px; }
.scard { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 20px 50px -30px rgba(14, 20, 32, .3); }
.scard h3 { font-size: 21px; margin: 12px 0 10px; letter-spacing: -.015em; }
.scard p { color: var(--ink-2); font-size: 16px; }
.scard.ghosted { border: 2px dashed #cbd5e3; box-shadow: none; }

.quote-sec { padding: 110px 0 40px; }
.quote { border: 2px dashed #cbd5e3; border-radius: 30px; padding: 50px 56px; position: relative; }
.quote blockquote { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: #8f9bb0; letter-spacing: -.015em; line-height: 1.35; max-width: 900px; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.next-sec { padding: 60px 0 0; }
.next { display: grid; grid-template-columns: 1fr 360px; align-items: center; gap: 40px; padding: 0 0 0 56px; height: 340px; border-radius: 34px; background: var(--pt); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.next:hover { transform: translateY(-4px); }
.next h3 { font-size: clamp(26px, 3vw, 40px); margin: 12px 0 14px; letter-spacing: -.03em; }
.next p:not(.eyebrow) { color: var(--ink-2); }
.next__media { align-self: stretch; position: relative; }
.next__media .phone { zoom: .62; position: absolute; left: 50%; top: 60px; transform: translateX(-50%) rotate(6deg); }
.next__media .browser { zoom: .62; position: absolute; left: 20px; top: 70px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cs-hero__visual.is-web .browser { margin-right: -260px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__grid, .cs-hero__grid, .cs-intro__grid, .band__grid, .panel, .easy, .about__grid, .sec-head, .work__grid, .services { grid-template-columns: 1fr; }
  .sec-head > p { justify-self: start; }
  .combo { display: none; }
  .hero { max-height: none; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .decisions, .req, .tldr { grid-template-columns: 1fr; }
  .tldr > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cs-hero__visual { margin-top: 30px; justify-content: center; padding-right: 0; }
  .cs-hero__visual.is-web { padding: 20px 0 50px; }
  .cs-hero__visual.is-web .browser { zoom: .8; margin-right: 0; }
  .illus-note { right: auto; left: 50%; transform: translateX(-50%); }
  .is-web .illus-note { bottom: 0; }
  .strip { height: 700px; }
  .strip--web { height: 520px; }
  .subnav { justify-content: flex-start; overflow-x: auto; gap: 24px; }
  .panel, .quote, .easy { padding: 34px 28px; }
  .card--cta { flex-direction: column; align-items: flex-start; grid-column: auto; }
  .next { grid-template-columns: 1fr; height: auto; padding: 40px 28px 0; }
  .next__media { height: 260px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav .brand > span:last-child { display: none; }
  .stat-float { display: none; }
  .steps, .easy ul { grid-template-columns: 1fr; }
  .stat b { font-size: 36px; }
  .card__media { height: 240px; }
  .stage--phone .phone { zoom: .52; }
  .stage--browser .browser { zoom: .56; }
  .card__body { padding: 24px; }
  .tl li { grid-template-columns: 1fr; gap: 4px; }
  .cs-hero { padding-bottom: 120px; }
  .phone { --w: 260px; }
  .cs-hero__visual.is-web .browser { zoom: .58; }
  .glass { display: none; }
}

/* Static mode (for screenshots) & reduced motion */
.static .reveal { opacity: 1; transform: none; transition: none; }
.static *, .static *::before, .static *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* readable badges over bright store images */
.has-poster .glass { background: rgba(20, 12, 10, .82); }

/* ---------- Product features ---------- */
.feat { padding: 120px 0; }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 56px; border-top: 2px solid var(--pc); }
.loop li { position: relative; padding: 30px 28px 0 0; }
.loop span { position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--pc-deep); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff; }
.loop b { font-size: 20px; letter-spacing: -.01em; }
.loop p { color: var(--muted); font-size: 16px; margin-top: 4px; line-height: 1.5; }
.app { --ac: var(--pc-deep); --at: var(--pt); --ai: var(--pc); display: grid; grid-template-columns: 340px 1fr; gap: 56px; background: var(--at); border-radius: 32px; padding: 48px; align-items: center; }
.app + .app { margin-top: 28px; }
.app--pro, .sys__col--pro { --ac: #1f3fae; --at: #edf1ff; --ai: #2a4fd0; }
.app__img img { display: block; width: 100%; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.app__kind { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ac); }
.app h3 { font-size: clamp(32px, 3.4vw, 46px); margin: 10px 0 14px; }
.app__text { font-size: 18px; color: var(--ink-2); max-width: 620px; }
.app__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-top: 30px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--ac) 18%, transparent); }
.app__groups h4 { font-size: 18px; }
.app__groups p { font-size: 15.5px; color: var(--muted); margin: 5px 0 12px; line-height: 1.5; }
.app__groups ul { display: flex; flex-wrap: wrap; gap: 7px; }
.app__groups li { background: rgba(255,255,255,.75); border-radius: 99px; padding: 4px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.app__groups li.mine { background: var(--ac); color: #fff; }
.app__groups li svg, .feat__legend svg { width: 14px; height: 14px; flex: none; }
.feat__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.feat__legend .mine { display: inline-flex; align-items: center; gap: 6px; background: var(--pc-deep); color: #fff; font-weight: 600; border-radius: 99px; padding: 4px 12px; }

/* ---------- System map ---------- */
.sys { background: var(--ink); border-radius: 32px; padding: 44px; color: #fff; }
.sys__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; }
.sys__col { --ai: var(--pc); display: flex; flex-direction: column; }
.sys__col--web { --ai: #35b98a; }
.sys__col--pro { --ai: #5b7dff; }
.sys__user { align-self: center; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 8px 18px; font-weight: 700; font-size: 15px; }
.sys__user i { width: 8px; height: 8px; border-radius: 50%; background: var(--ai); }
.sys__line { width: 2px; height: 30px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.5) 0 5px, transparent 5px 10px); background-size: 2px 10px; animation: sysflow .9s linear infinite; }
@keyframes sysflow { to { background-position: 0 10px; } }
.sys__app { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--ai); border-radius: 18px; padding: 22px; }
.sys__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sys h3 { font-size: 22px; }
.sys small { display: block; font-size: 14px; color: rgba(255,255,255,.66); line-height: 1.4; margin-top: 3px; }
.sys__app ul { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.sys__app li { font-size: 13.5px; font-weight: 600; border-radius: 99px; padding: 4px 12px; background: color-mix(in srgb, var(--ai) 22%, transparent); }
.sys b.sys__num { font-size: 13px !important; }
.sys__num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 13px; display: grid; place-items: center; }
.sys__layers { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 20px 22px 22px; }
.sys__layers > p, .sys__cycle > p { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.66); margin-bottom: 14px; }
.sys__layers > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sys__layers > div > div { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.07); border-radius: 12px; padding: 14px 16px; }
.sys__layers b, .sys__back b, .sys__cycle li > b:first-child { font-size: 16px; }
.sys__back { border: 1.5px dashed rgba(255,255,255,.28); border-radius: 18px; padding: 16px 22px; text-align: center; }
.sys__cycle { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.sys__cycle ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sys__cycle li { position: relative; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px 18px; }
.sys__cycle li small { color: var(--muted); padding-right: 8px; }
.sys__cycle li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 2px; background: rgba(255,255,255,.5); }
.sys__cycle .sys__num { position: absolute; top: 12px; right: 12px; }
@media (max-width: 960px) {
  .feat { padding: 80px 0; }
  .loop { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--pc); margin-left: 14px; gap: 24px; }
  .loop li { padding: 0 0 0 34px; }
  .loop span { top: 0; left: -15px; }
  .app { grid-template-columns: 1fr; gap: 30px; padding: 26px; }
  .app__img { max-width: 260px; margin: 0 auto; }
  .sys { padding: 24px; }
  .sys__cols { grid-template-columns: 1fr; }
  .sys__layers > div { grid-template-columns: 1fr 1fr; }
  .sys__cycle ol { grid-template-columns: 1fr; }
  .sys__cycle li + li::before { left: 28px; top: -12px; width: 2px; height: 12px; }
}
@media (max-width: 560px) {
  .app__groups, .sys__layers > div { grid-template-columns: 1fr; }
}

/* ---------- Stories ---------- */
.sys__nums { display: inline-flex; gap: 6px; flex: none; }
.sys__cycle .sys__nums { position: absolute; top: 12px; right: 12px; }
.sys__cycle .sys__nums .sys__num { position: static; }
.stories { padding: 60px 0 100px; }
.st { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding: 52px 0; border-top: 1px solid var(--line); }
.st__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); font-weight: 800; }
.st__tag { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--pc-deep); margin: 18px 0 8px; }
.st header h3 { font-size: 30px; line-height: 1.15; }
.st dl { display: grid; gap: 22px; }
.st dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; }
.st dt { font-weight: 800; }
.st dd { color: var(--ink-2); font-size: 18px; max-width: 560px; }
.st__flow { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 30px; }
.st__flow li { position: relative; background: var(--pt); color: color-mix(in srgb, var(--pc-deep) 75%, #000); border-radius: 12px; padding: 9px 15px; font-weight: 700; font-size: 14.5px; }
.st__flow li:not(:last-child)::after { content: ""; position: absolute; right: -20px; top: calc(50% - 4px); width: 7px; height: 7px; border: solid var(--pc-deep); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.st__more-t { font-size: 26px; padding-top: 48px; border-top: 1px solid var(--line); margin-bottom: 22px; }
.st__more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st__more > div { background: var(--mist); border-radius: 20px; padding: 26px; }
.st__more h4 { font-size: 19px; margin-bottom: 8px; }
.st__more p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) {
  .st { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .st__more { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .st dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Real product screens ---------- */
.phone--shot { aspect-ratio: auto; height: auto; }
.phone--shot .phone__screen { aspect-ratio: 780 / 1688; height: auto; }
.phone--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st__shots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 44px; padding: 52px 36px; background: var(--pt); border-radius: 28px; overflow-x: auto; }
.st__shots .phone { zoom: .9; box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); }
.st__shots--4 { gap: 30px; }
.st__shots--4 .phone { zoom: .79; }
.st { row-gap: 44px; }
.st__more + .st__shots { margin-top: 28px; }
@media (max-width: 1240px) { .st__shots--4 .phone { zoom: .64; } }
@media (max-width: 960px) {
  .st__shots { justify-content: flex-start; padding: 32px 24px; gap: 24px; scroll-snap-type: x proximity; }
  .st__shots .phone, .st__shots--4 .phone { zoom: .8; scroll-snap-align: center; }
}

/* ---------- Logo ---------- */
.brand__logo { width: 52px; height: auto; flex: none; fill: var(--ink); transition: fill .3s; }
.brand__logo .accent { fill: var(--accent); }
.nav.dark .brand__logo { fill: #fff; }
.nav.dark .brand__logo .accent { fill: #a3b1ff; }
.nav.dark.scrolled .brand__logo { fill: var(--ink); }
.nav.dark.scrolled .brand__logo .accent { fill: var(--accent); }

/* ---------- Case-study hero: exactly one screen on desktop ---------- */
.has-duo .glass { background: rgba(20, 12, 10, .86); }
.duo { display: flex; }
.duo__i--2 { margin-left: -56px; margin-top: 44px; position: relative; z-index: 2; }
.duo__i--1 { position: relative; z-index: 1; margin-bottom: 44px; }
@media (min-width: 961px) {
  .cs-hero { height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; padding: 84px 0 92px; display: flex; }
  .cs-hero > .wrap { display: flex; flex-direction: column; min-height: 0; }
  .subnav { margin-bottom: 0; padding: 13px 0; flex: none; }
  .cs-hero__grid { flex: 1; min-height: 0; }
  .cs-hero h1 { font-size: clamp(34px, min(4.6vw, 8svh), 70px); margin: 14px 0 18px; }
  .cs-hero .lead { font-size: clamp(16px, 2.4svh, 20px); }
  .hero-tags { margin-top: clamp(16px, 3svh, 30px); }
  .cs-hero__visual .hero-device { zoom: .92; }
  .cs-hero__visual.is-web { padding: 64px 0 70px; }
  .has-duo { padding-right: 0; }
  .has-duo .hero-device { zoom: .82; }
  .illus-note { bottom: -26px; }
}
@media (min-width: 961px) and (max-height: 880px) { .cs-hero__visual .hero-device { zoom: .76; } .has-duo .hero-device { zoom: .74; } }
@media (min-width: 961px) and (max-height: 770px) { .cs-hero__visual .hero-device { zoom: .66; } .has-duo .hero-device { zoom: .69; } .duo__i--2 { margin-top: 24px; } .duo__i--1 { margin-bottom: 24px; } }
@media (min-width: 961px) and (max-height: 700px) { .cs-hero__visual .hero-device { zoom: .56; } .has-duo .hero-device { zoom: .57; } }
@media (min-width: 961px) and (max-height: 640px) { .cs-hero__visual .hero-device { zoom: .5; } .has-duo .hero-device { zoom: .48; } .cs-hero { padding-bottom: 80px; } }
@media (max-width: 960px) { .duo__i .hero-device { zoom: .72; } }
@media (max-width: 560px) { .duo__i .hero-device { zoom: .62; } }
@media (min-width: 961px) and (max-width: 1240px) { .has-duo .glass { display: none; } }
@media (min-width: 961px) and (max-width: 1240px) and (max-height: 700px) { .has-duo .glass { display: none; } }
@media (min-width: 961px) and (max-height: 880px) { .cs-hero__visual.is-web .hero-device { zoom: .9; } }
@media (min-width: 961px) and (max-height: 770px) { .cs-hero__visual.is-web .hero-device { zoom: .86; } }
@media (min-width: 961px) and (max-height: 700px) { .cs-hero__visual.is-web .hero-device { zoom: .7; } }

/* ---------- Dates and "current" badge ---------- */
.now, .tl .now { display: inline-flex; align-items: center; gap: 7px; background: #e7f7ee; color: #16794a; border-radius: 99px; padding: 3px 11px; font-size: 13px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.meta .now { margin-top: 8px; }
.now--dark { background: rgba(52, 211, 120, .16); color: #7ff0b0; }
.hero-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hero-when__d { font-weight: 700; font-size: 15px; }
.tl li { grid-template-columns: 185px 1fr; }
@media (max-width: 560px) { .tl li { grid-template-columns: 1fr; } }

/* ---------- Client logos ---------- */
.hero-logo { display: block; height: 38px; width: auto; }
.wordmark img { display: block; height: 44px; width: auto; }
.card__logo { display: block; height: 30px; width: auto; flex: 0 0 auto; margin-right: 100%; margin-bottom: 4px; }
@media (max-width: 560px) { .hero-logo { height: 34px; } }

.app__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.app__dl { background: var(--ac); color: #fff; border-radius: 99px; padding: 5px 14px; font-size: 14px; font-weight: 700; }
.has-duo .glass span { text-transform: none; letter-spacing: .06em; font-size: 12px; opacity: .8; }

/* one download badge per phone: left side of temtem, right side of temtem Pro */
.duo__i { position: relative; }
.duo__i .glass { white-space: nowrap; }
.duo__i .glass--1 { top: 15%; right: calc(100% - 20px); }
.duo__i .glass--2 { bottom: 17%; left: calc(100% - 66px); }
@media (min-width: 1241px) { .has-duo { padding-right: 62px; } .has-duo .illus-note { right: 62px; } }

/* ---------- Release timeline, wide logos ---------- */
.rel-sec { padding: 0 0 100px; }
.rel { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 0 26px; border-top: 2px solid var(--pc); }
.rel li { position: relative; padding-top: 28px; }
.rel li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--pc-deep); box-shadow: 0 0 0 6px #fff; }
.rel time { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--pc-deep); }
.rel b { display: block; font-size: 26px; letter-spacing: -.02em; margin: 4px 0; }
.rel p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.hero-logo--wide { height: 22px; }
.wordmark--wide img { height: 25px; }
@media (max-width: 960px) {
  .rel-sec { padding-bottom: 70px; }
  .rel { grid-template-columns: 1fr; gap: 26px; border-top: 0; border-left: 2px solid var(--pc); margin-left: 8px; }
  .rel li { padding: 0 0 0 28px; }
  .rel li::before { top: 3px; left: -8px; }
}
@media (max-width: 560px) { .hero-logo--wide { height: 20px; } }
.card__logo--wide { height: 20px; margin-top: 5px; margin-bottom: 9px; }

/* ---------- Dashboard screenshots ---------- */
.browser--shot { --bw: 100%; }
.browser--shot img { display: block; width: 100%; aspect-ratio: 1200 / 760; }
.st__shots--web { flex-direction: column; align-items: center; gap: 36px; }
.st__shots--web .browser { max-width: 960px; box-shadow: 0 34px 60px -34px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width: 960px) { .st__shots--web { gap: 20px; padding: 20px 16px; } }

/* Web screenshots: strip, hero and timeline */
.strip .browser--shot { width: 720px; flex: 0 0 720px; }
.browser--shot > img { display: block; width: 100%; height: auto; }
.rel__shot { margin-top: 64px; }
.rel__shot + .arch-note { margin-top: 16px; }
.cs-hero__visual.is-webshot { padding-right: 0; }
.cs-hero__visual.is-webshot .browser { --bw: 600px; width: 600px; margin-right: -40px; }
@media (min-width: 961px) {
  .cs-hero__grid:has(.is-webshot) { grid-template-columns: 1.05fr .95fr; gap: 44px; }
  .cs-hero__visual.is-webshot .hero-device { zoom: 1; width: min(620px, 46vw, calc((100svh - 400px) * 1.48)); }
  .cs-hero__visual.is-webshot .illus-note { margin: 0; }
}
@media (max-width: 960px) {
  .cs-hero__visual.is-webshot .browser { zoom: 1; width: 100%; margin-right: 0; }
  .strip .browser--shot { width: 340px; flex-basis: 340px; }
}
.hero-logo--wide[src$=".svg"] { height: 28px; }
.wordmark--wide img[src$=".svg"] { height: 34px; width: auto; }
@media (max-width: 960px) { .cs-hero__visual.is-webshot .illus-note { left: 0; right: 0; transform: none; width: 100%; white-space: normal; letter-spacing: .04em; } }
.stage--browser .browser--shot { width: 560px; }
.card__logo--wide[src$=".svg"] { height: 26px; margin-top: 2px; margin-bottom: 6px; }

/* Full-width composition in a story */
.st__shots--art { padding: 0; overflow: hidden; }
.st__shots--art .art { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .st__shots--art { padding: 0; } .st__shots--art { border-radius: 18px; } }

.st__shots--art { border: 1px solid #e3e3e6; }

.st__shots--art:has(.art--inset) { padding: 56px 24px; background-color: #e7e5e4; background-image: linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px), linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px); background-size: 40px 40px; }
.st__shots--art .art--inset { width: 100%; max-width: 820px; border-radius: 14px; box-shadow: 0 26px 50px -26px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width: 700px) { .st__shots--art:has(.art--inset) { padding: 18px; } .st__shots--art .art--inset { border-radius: 8px; } }

/* Feature list by area */
.built { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; margin-top: 8px; }
.built h4 { font-size: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--pc-deep); margin-bottom: 6px; }
.built ul { list-style: none; padding: 0; margin: 0; }
.built li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #ececf0; font-size: 16px; line-height: 1.45; }
.built svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--pc-deep); }
.st__more:empty { display: none; }
@media (max-width: 960px) { .built { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
@media (max-width: 600px) { .built { grid-template-columns: 1fr; } }

.st__more-t + .built { margin-top: 30px; }
.st__shots--art .art--inset[src*="progress"] { box-shadow: none; }

/* ==========================================================
   CONTACT PAGE
   ========================================================== */
.ct { min-height: 100svh; padding: 110px 0 40px; display: flex; align-items: center; background: radial-gradient(760px 520px at 92% 8%, #e3e8ff, transparent 65%), radial-gradient(620px 460px at 0% 100%, #fff3da, transparent 62%), var(--paper); }
.ct__grid { display: grid; grid-template-columns: .86fr 1fr; gap: 72px; align-items: center; }
.ct h1 { font-size: clamp(38px, min(4.4vw, 7.6svh), 62px); letter-spacing: -.04em; margin: 20px 0 16px; }
.ct__lead { font-size: 18px; color: var(--muted); max-width: 460px; }
.ct__list { margin-top: 26px; max-width: 490px; }
.ct__list li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ct__list svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ct__list div { flex: 1; min-width: 0; line-height: 1.35; }
.ct__list small { display: block; font-size: 13.5px; color: var(--muted); }
.ct__list b, .ct__list div a { font-size: 16.5px; font-weight: 700; overflow-wrap: anywhere; }
.ct__list div a:hover { color: var(--accent); }
.ct__mini { font: 700 14px var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 17px; cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s; }
.ct__mini:hover { border-color: var(--accent); }
.ct__mini--on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ct__links { display: flex; gap: 24px; margin-top: 20px; }
.ct__links a { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; font-size: 15px; }
.ct__links svg { width: 15px; transform: rotate(-45deg); }
.ct__links a:hover { color: var(--accent); }
.ct__card { background: #fff; border-radius: 28px; padding: 26px 30px 30px; box-shadow: 0 50px 90px -50px rgba(20,32,80,.45), 0 0 0 1px rgba(14,20,32,.06); min-height: 560px; display: flex; flex-direction: column; min-width: 0; }
.ct__card > section { flex: 1; display: flex; flex-direction: column; }
.ct__card > section[hidden] { display: none; }
.ct__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; background: var(--mist); border-radius: 999px; padding: 5px; margin-bottom: 22px; }
.ct__tabs button { border: 0; background: none; font: 700 15.5px var(--font); color: var(--muted); border-radius: 999px; padding: 12px; cursor: pointer; }
.ct__tabs [aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(14,20,32,.3); }
.ct form { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.ct fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct legend, .ct form > label, .ct__two > label { font-weight: 700; font-size: 15px; padding: 0; }
.ct legend { margin-bottom: 10px; }
.ct legend small, .ct label > small { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 6px; }
.ct__days { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.ct__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ct__days label, .ct__slots label, .ct__topics label { position: relative; cursor: pointer; }
.ct__days input, .ct__slots input, .ct__topics input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ct__days span, .ct__slots span, .ct__topics span { display: block; text-align: center; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s, color .15s; }
.ct__days span { padding: 9px 2px; line-height: 1.25; }
.ct__days b { display: block; font-size: 19px; }
.ct__days small { font-size: 12.5px; color: var(--muted); }
.ct__slots span, .ct__topics span { padding: 11px 8px; font-weight: 700; font-size: 15.5px; }
.ct__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct label:hover > input:not(:checked) + span { border-color: #aab6ff; }
.ct input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.ct input:checked + span small { color: rgba(255,255,255,.85); }
.ct input:focus-visible + span { outline: 3px solid #b9c3ff; outline-offset: 2px; }
.ct__slots.miss span { border-color: #e5484d; }
.ct__picked { background: #eef1ff; color: #2536b8; border-radius: 12px; padding: 11px 16px; font-weight: 600; font-size: 15px; }
.ct__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct input:not([type=radio]), .ct textarea { display: block; width: 100%; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 15px; font: 500 16px var(--font); color: var(--ink); background: #fff; resize: vertical; }
.ct input:not([type=radio]):focus, .ct textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px #e7ebff; }
.ct ::placeholder { color: #8b94a7; }
.ct__go { width: 100%; justify-content: center; border: 0; cursor: pointer; font-family: var(--font); margin-top: auto; flex: none; }
.ct__done h2 { font-size: 28px; outline: 0; }
.ct__done > p { color: var(--muted); margin: 10px 0 20px; }
.ct__send { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ct__send .btn { justify-content: center; padding: 0 10px; }
.ct__done pre { flex: 1; margin: 20px 0 16px; background: var(--mist); border-radius: 16px; padding: 17px 19px; font: 500 15px/1.55 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.ct__foot { display: flex; justify-content: space-between; }
.ct__ext { margin: auto 0; text-align: center; display: grid; gap: 22px; justify-items: center; font-size: 18px; }
@media (min-width: 961px) and (max-height: 720px) { .ct { padding: 92px 0 22px; } .ct__list li { padding: 9px 0; } .ct__list { margin-top: 18px; } .ct__lead { font-size: 16.5px; } .ct__card { padding: 18px 24px 22px; min-height: 500px; } .ct__tabs { margin-bottom: 14px; } .ct form { gap: 12px; } .ct__days span { padding: 5px 2px; } .ct__slots span { padding: 8px; } .ct__picked { padding: 8px 14px; } .ct legend { margin-bottom: 7px; } .ct__tabs button { padding: 10px; } .ct input:not([type=radio]) { padding: 10px 14px; margin-top: 6px; } }
@media (max-width: 1100px) { .ct__grid { gap: 40px; } .ct__days { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .ct { align-items: flex-start; } .ct__grid { grid-template-columns: 1fr; } .ct__lead, .ct__list { max-width: none; } }
@media (max-width: 560px) { .ct { padding-top: 100px; } .ct__card { margin-inline: -10px; padding: 18px; border-radius: 24px; min-height: 0; } .ct__two { grid-template-columns: 1fr; } .ct__slots { gap: 7px; } .ct__list li { gap: 13px; } .ct__list b, .ct__list div a { font-size: 15.5px; } }

.ct__picked { background: var(--mist); color: var(--muted); }
.ct__picked.on { background: #eef1ff; color: #2536b8; }
@media (min-width: 961px) and (max-height: 720px) { .ct h1 { margin: 12px 0 10px; } .ct__list li { padding: 7px 0; } .ct__links { margin-top: 12px; } .ct__card { min-height: 0; padding: 14px 22px 18px; } .ct form { gap: 9px; } .ct legend { margin-bottom: 5px; } .ct__go { height: 46px; } }
@media (min-width: 961px) and (max-height: 660px) { .ct { padding: 80px 0 14px; } .ct h1 { font-size: 40px; } .ct__list small { font-size: 12.5px; } .ct__days b { font-size: 17px; } }
@media (max-width: 560px) { .ct__list div a { font-size: 14px; white-space: nowrap; } .ct__list li { gap: 11px; } .ct__list .ct__mini { padding: 8px 13px; } }

@media (min-width: 961px) and (max-height: 800px) and (min-height: 721px) { .ct { padding: 92px 0 20px; } .ct__card { padding: 22px 28px 24px; } .ct__tabs { margin-bottom: 16px; } .ct form { gap: 14px; } }
@media (min-width: 961px) and (max-width: 1100px) { .ct__days { grid-template-columns: repeat(8, 1fr); gap: 4px; } .ct__days b { font-size: 16px; } .ct__days small { font-size: 11.5px; } .ct__days span { border-radius: 11px; } }

/* ---------- Landing page v3 ---------- */
.hero--v3 { max-height: 980px; }
.hero--v3 .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); z-index: 2; pointer-events: none; }
.hero--v3 .hero__txt { pointer-events: auto; }
.hero--v3 h1 { font-size: clamp(38px, min(4.7vw, 8.4vh), 74px); margin: 20px 0 18px; }
.hero--v3 .lead { max-width: 540px; }
.hero__facts { display: flex; gap: 34px; margin-top: clamp(24px, 4.6vh, 46px); }
.hero__facts li { border-left: 2px solid var(--line); padding-left: 14px; }
.hero__facts b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.hero__facts span { color: var(--muted); font-size: 13.5px; }
.wall { position: absolute; inset: 0 0 0 51%; overflow: hidden; }
.wall__in { position: absolute; top: -18%; left: 2%; height: 136%; display: flex; gap: 20px; transform: rotate(7deg); transform-origin: 50% 50%; }
.wall__col { height: 100%; }
.wall__col--1, .wall__col--3 { width: clamp(150px, 13.2vw, 205px); }
.wall__col--2 { width: clamp(270px, 24vw, 375px); }
.wall__track { display: flex; flex-direction: column; will-change: transform; }
.wall__track--up { animation: wallUp 70s linear infinite; }
.wall__track--down { animation: wallDown 90s linear infinite; }
.wall__col--3 .wall__track { animation-duration: 84s; }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wi { margin-bottom: 20px; overflow: hidden; background: #fff; box-shadow: 0 22px 44px -26px rgba(14, 20, 32, .45), 0 0 0 1px rgba(14, 20, 32, .06); flex: none; }
.wi img { display: block; width: 100%; height: auto; }
.wi--p { border-radius: 24px; border: 5px solid #11151d; }
.wi--w { border-radius: 14px; }

.brands { padding: 30px 0 56px; border-top: 1px solid var(--line); }
.brands__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 34px; margin-top: 22px; }
.brands__i img { display: block; height: 24px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .68; transition: filter .25s, opacity .25s; }
.brands__i--temtem img, .brands__i--repasgo img { height: 32px; }
.brands__i--naviresto img { height: 20px; }
.brands__i--capcompare img { height: 22px; }
.brands__i:hover img { filter: none; opacity: 1; }

.can { padding: 10px 0 110px; }
.can__list li { display: grid; grid-template-columns: .8fr 1.25fr .55fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.can__list li:last-child { border-bottom: 1px solid var(--line); }
.can__list h3 { font-size: 27px; letter-spacing: -.025em; }
.can__list div p { color: var(--ink-2); font-size: 17.5px; }
.can__list small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.can__links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; justify-self: end; min-width: 150px; }
.can__links a, .about__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); transition: color .2s; }
.can__links a svg, .about__links a svg { width: 16px; height: 16px; color: var(--accent); transition: transform .2s; }
.can__links a:hover, .about__links a:hover { color: var(--accent); }
.can__links a:hover svg { transform: translateX(3px); }
.about__links { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 10px; }

.work__grid { gap: 64px 32px; }
.card { border: 0; border-radius: 0; overflow: visible; background: none; }
.card:hover { transform: none; box-shadow: none; }
.card__media { height: 400px; border-radius: 28px; }
.card__body { padding: 24px 4px 0; gap: 8px; }
.card__top { justify-content: flex-start; gap: 12px; }
.card__name { font-size: 15px; font-weight: 800; color: var(--pc-deep); }
.card h3 { font-size: 29px; transition: color .2s; }
.card:hover h3 { color: var(--pc-deep); }
.card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin-top: 8px; font-size: 14px !important; color: var(--muted) !important; }
.stage { top: 52px; }
.stage--phone .phone { zoom: .74; }
.stage__duo { display: flex; gap: 26px; align-items: flex-start; }
.stage__duo .phone:nth-child(2) { margin-top: 64px; }
.stage--browser .browser { zoom: .84; }

.steps--line { gap: 34px; }
.steps--line li { border-top: 2px solid var(--ink); padding-top: 18px; }
.steps--line b { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.steps--line h3 { font-size: 23px; margin: 10px 0 8px; letter-spacing: -.02em; }
.steps--line p { font-size: 16px; color: var(--muted); line-height: 1.5; }

.faq { padding: 110px 0 20px; }
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.faq h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 28px; }
.faq__facts { display: grid; gap: 14px; }
.faq__facts li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.45; }
.faq__facts svg { width: 21px; height: 21px; flex: none; color: var(--accent); margin-top: 2px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 20px; font-weight: 800; letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--accent); transition: transform .25s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 17px; }

@media (max-width: 1240px) { .stage__duo { gap: 18px; } .stage--phone .phone { zoom: .64; } .stage--browser .browser { zoom: .7; } .card__media { height: 350px; } }
@media (min-width: 961px) and (max-height: 720px) { .hero--v3 h1 { margin: 14px 0 12px; } .hero--v3 .btns { margin-top: 22px; } .hero--v3 .lead { font-size: 17.5px; } }
@media (min-width: 961px) and (max-width: 1180px) { .hero__facts { gap: 18px; } .hero__facts span { font-size: 12.5px; } }
@media (max-width: 960px) {
  .hero--v3 { height: auto; max-height: none; min-height: 0; display: block; padding-top: 104px; }
  .hero--v3 .hero__grid { grid-template-columns: 1fr; }
  .wall { position: relative; inset: auto; height: 420px; margin-top: 44px; }
  .wall__in { left: 50%; margin-left: -330px; width: 660px; justify-content: center; }
  .wall__col--1, .wall__col--3 { width: 160px; } .wall__col--2 { width: 290px; }
  .can__list li { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .can__links { justify-self: start; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .faq__grid { grid-template-columns: 1fr; gap: 34px; }
  .steps--line { grid-template-columns: 1fr 1fr; }
  .work__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero--v3 h1 { font-size: 41px; }
  .hero__facts { flex-direction: column; gap: 14px; }
  .brands__row { justify-content: flex-start; gap: 24px 30px; }
  .brands__i img { height: 20px; } .brands__i--temtem img, .brands__i--repasgo img { height: 28px; } .brands__i--naviresto img { height: 17px; } .brands__i--capcompare img { height: 19px; }
  .card__media { height: 300px; } .stage--phone .phone { zoom: .52; } .stage--browser .browser { zoom: .5; }
  .card h3 { font-size: 25px; }
  .steps--line { grid-template-columns: 1fr; } .faq summary { font-size: 18px; } .faq details p { padding-right: 0; }
}
.static .wall__track--up { transform: translateY(-9%); } .static .wall__track--down { transform: translateY(-30%); }
.hero--v3 h1 em { display: block; }
@media (min-width: 961px) { .hero--v3 h1 { white-space: nowrap; } .hero--v3 .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .76fr); } }
@media (max-width: 560px) { .hero--v3 h1 { font-size: clamp(34px, 10.2vw, 44px); } .hero--v3 h1 em br { display: none; } }
/* Seven logos on one line, and longer project names in the case study menu */
.brands__i--bea img, .brands__i--cnl img { height: 30px; }
@media (max-width: 560px) { .brands__i--bea img, .brands__i--cnl img { height: 25px; } }
@media (min-width: 961px) and (max-width: 1240px) { .brands__row { gap: 20px 18px; } .brands__i img { zoom: .84; } }

/* ---------- Scroll: header ---------- */
section[id] { scroll-margin-top: 40px; }
#work { scroll-margin-top: 62px; }
#can { scroll-margin-top: 92px; }
#how, #about, #faq { scroll-margin-top: 0; }
.nav { --nav: 0; transition: color .35s ease; background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.nav::before, .nav::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nav::before { background: #fff; box-shadow: 0 1px 0 var(--line); opacity: var(--nav); transition: opacity .12s linear; }
.nav.dark::before { opacity: 0; transition: opacity .35s ease; }
.nav.dark.scrolled::before { opacity: 1; }
.nav.dark::after { background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 22%, #070a10) 45%, transparent); opacity: calc(var(--nav) * .96); bottom: -26px; transition: opacity .35s ease; }
.nav.dark.scrolled::after { opacity: 0; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pc-deep); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; transition: opacity .3s; }
.nav.scrolled .nav__progress { opacity: 1; }

/* ---------- Scroll: movement ---------- */
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal { transform: translateY(34px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform 1.05s cubic-bezier(.16,.8,.24,1); transition-delay: var(--d, 0s); }
.split.reveal { opacity: 1; transform: none; transition: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .06em .16em 0; margin: -.06em -.06em -.16em 0; }
.w > span { display: inline-block; translate: 0 115%; transition: translate .95s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 45ms); }
.split.in .w > span { translate: 0 0; }
.seq { opacity: 0; translate: 0 26px; transition: opacity .7s ease var(--d, 0s), translate .9s cubic-bezier(.16,.84,.24,1) var(--d, 0s); }
.seqs.in > .seq { opacity: 1; translate: 0 0; }
.st__shots { overflow: auto hidden; }
.st__shots > .seq { translate: 0 28px; }
.rise { transition: scale 1.1s cubic-bezier(.16,.84,.24,1), opacity .8s ease; }
.arch-card.rise:not(.in), .sys.rise:not(.in), .panel.rise:not(.in) { scale: .965; }
.st__flow li:not(:last-child)::after { transition: opacity .4s ease calc(var(--d, 0s) + .35s); }
.st__n { transition: scale .7s cubic-bezier(.3,1.6,.5,1) .15s; }
.st.reveal:not(.in) .st__n { scale: .4; }
.st.reveal { transform: none; }
/* Lines draw themselves */
.can__list li, .steps--line li, .stat { position: relative; border-top-color: transparent !important; }
.can__list li::before, .steps--line li::before, .stat::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.16,.84,.24,1) var(--d, 0s); }
.steps--line li::before, .stat::before { top: -2px; height: 2px; background: var(--ink); }
.js .reveal:not(.in)::before { transform: scaleX(0); }
.can__list li.reveal, .steps--line li.reveal, .stat.reveal { opacity: 1; transform: none; }
.can__list li > *, .steps--line li > *, .stat > * { transition: opacity .8s ease, translate 1s cubic-bezier(.16,.84,.24,1); transition-delay: calc(var(--d, 0s) + .12s); }
.js .can__list li:not(.in) > *, .js .steps--line li:not(.in) > *, .js .stat:not(.in) > * { opacity: 0; translate: 0 26px; }
.can__list li > :nth-child(2) { transition-delay: .2s; } .can__list li > :nth-child(3) { transition-delay: .28s; }
.rel.seqs { border-top-color: transparent; position: relative; }
.rel.seqs::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--pc); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.3,.7,.2,1); }
.rel.seqs.in::before { transform: scaleX(1); }
/* Cards */
.card.reveal { opacity: 1; transform: none; }
.card__media { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.15s cubic-bezier(.16,.84,.24,1), opacity .6s ease; transition-delay: var(--d, 0s); }
.js .card.reveal:not(.in) .card__media { clip-path: inset(12% 5% 12% 5% round 40px); opacity: 0; }
.card .stage { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card__body > * { transition: opacity .7s ease, translate .9s cubic-bezier(.16,.84,.24,1), color .2s; transition-delay: calc(var(--d, 0s) + .18s); }
.js .card.reveal:not(.in) .card__body > :not(.split) { opacity: 0; translate: 0 20px; }
.paused .wall__track, .paused .strip__track, .strip.paused .strip__track, .paused .edge, .paused .float { animation-play-state: paused; }
.faq details p { animation: faqIn .45s cubic-bezier(.16,.84,.24,1); }
@keyframes faqIn { from { opacity: 0; translate: 0 -8px; } }
@media (max-width: 960px) { .st__shots.seqs, .rise { scale: 1 !important; } }
/* From page to page */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }
.nav { view-transition-name: site-nav; }
/* Nothing moves for people who ask for it, and in screenshots */
.static .w > span, .static .seq, .static .rise, .static .st__shots.seqs, .static .card__media, .static .card .stage, .static .card__body > *, .static .can__list li > *, .static .steps--line li > *, .static .stat > * { opacity: 1 !important; translate: 0 0 !important; scale: 1 !important; clip-path: inset(0 0 0 0 round 28px); transition: none !important; }
.static .can__list li > *, .static .steps--line li > *, .static .stat > *, .static .card__body > *, .static .seq { clip-path: none; }
.static .reveal::before { transform: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } @view-transition { navigation: none; } }

/* ---------- The eighth card: your product ---------- */
.card--you { --pc: #3550ff; --pc-deep: #2f47e0; --pt: #eef1ff; }
.card--you .card__media { background: radial-gradient(520px 300px at 50% 112%, rgba(53,80,255,.24), transparent 70%), radial-gradient(360px 240px at 96% 0%, rgba(255,176,32,.2), transparent 70%), var(--pt); }
.ask { position: absolute; left: 50%; top: 52px; width: min(470px, 86%); height: 420px; transform: translateX(-50%); border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -30px rgba(22,36,120,.4); overflow: hidden; }
.ask__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f1f3f8; }
.ask__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .ask__bar i:nth-child(2) { background: #febc2e; } .ask__bar i:nth-child(3) { background: #28c840; }
.ask__bar span { margin-left: 10px; background: #fff; border-radius: 6px; padding: 2px 70px 2px 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ask__body { padding: 26px 28px; }
.card .ask__q { font-size: 25px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.ask__q::after { content: ""; display: inline-block; width: 3px; height: 24px; margin-left: 5px; background: var(--accent); vertical-align: -4px; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ask__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.ask__chips a { padding: 10px 16px; border-radius: 999px; border: 1.5px solid #d5dbf5; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; transition: background .2s, color .2s, border-color .2s, opacity .7s ease var(--d, 0s), translate .9s cubic-bezier(.16,.84,.24,1) var(--d, 0s); }
.ask__chips a:hover, .ask__chips a:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.ask__sketch { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 26px; }
.ask__sketch i { height: 66px; border: 2px dashed #d5dbf5; border-radius: 12px; } .ask__sketch i:first-child { grid-row: span 2; height: auto; }
.card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--pc-deep); } .card__go svg { width: 17px; height: 17px; transition: transform .2s; } .card__go:hover svg { transform: translateX(4px); }
@media (max-width: 1240px) { .ask { top: 34px; } }
@media (max-width: 560px) { .ask { top: 24px; width: 90%; } .ask__body { padding: 18px 18px; } .card .ask__q { font-size: 20px; } .ask__chips { gap: 7px; margin-top: 13px; } .ask__chips a { padding: 8px 12px; font-size: 13.5px; } }
.nav:not(.dark) .nav__progress { display: none; }
h2, .card h3, .st header h3 { text-wrap: balance; }
.tldr.reveal, .tldr.rise { opacity: 1; }
.tldr.reveal:not(.in) { transform: translateY(46px); }
.js .tldr:not(.in) > div { opacity: .0; } .tldr > div { transition: opacity .8s ease .15s; } .static .tldr > div { opacity: 1 !important; }
.nav.dark::after { background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 30%, #0a0e15) 76%, transparent); opacity: var(--nav); bottom: -20px; }

/* ---------- Hero screens: a clean panel, no fade ---------- */
.wall { background: #e8ecff; border-radius: 32px; }
.wall__in { top: -14%; left: 4%; height: 128%; gap: 22px; }
.wi { box-shadow: 0 18px 34px -24px rgba(24, 34, 96, .5), 0 0 0 1px rgba(24, 34, 96, .06); margin-bottom: 22px; }
@media (min-width: 961px) { .wall { inset: 88px 24px 24px 53.5%; } }
@media (max-width: 960px) { .wall { margin: 44px 16px 0; border-radius: 24px; } }

/* ---------- Devices: one calm movement each ---------- */
.strip { height: 660px; padding-bottom: 50px; }
.strip--web { height: 560px; }
.strip__track { will-change: transform; align-items: center; }
.strip.rise { transition: none; }
@media (max-width: 960px) { .strip { height: 600px; } .strip--web { height: 420px; } }
.cs-hero__visual.reveal { opacity: 1; transform: none; transition: none; }
.cs-hero__visual .hero-device, .cs-hero__visual .glass { transition: opacity .7s ease, translate .9s cubic-bezier(.16,.84,.24,1); transition-delay: .15s; }
.cs-hero__visual .duo__i--2 .hero-device { transition-delay: .27s; }
.cs-hero__visual .glass { transition-delay: .55s; }
.js:not(.static) .cs-hero__visual:not(.in) .hero-device { opacity: 0; translate: 0 34px; }
.js:not(.static) .cs-hero__visual:not(.in) .glass { opacity: 0; translate: 0 12px; }
.wall__in { left: 6%; transform: rotate(5deg); }
@media (min-width: 961px) { .hero--v3 .lead { max-width: min(540px, 46vw); } .hero--v3 .hero__facts { gap: clamp(18px, 2.3vw, 34px); } }
@media (max-width: 960px) { .wall__in { left: 50%; } }
@media (max-width: 960px) { .wall { margin-bottom: 40px; } }

/* Landing order: numbers, then the case studies directly, then what I can take on */
.proof { padding-bottom: 64px; }
.work { padding: 20px 0 100px; }
#work { scroll-margin-top: 76px; }

/* Contact: email only */
.ct--mail { text-align: center; }
.ct--mail h1 { max-width: 15ch; margin: 22px auto 18px; font-size: clamp(38px, min(6vw, 9.5svh), 84px); text-wrap: balance; }
.ct--mail .ct__lead { max-width: 560px; margin: 0 auto; font-size: clamp(17px, 1.5vw, 20px); }
.ct__email { display: flex; justify-content: center; align-items: center; gap: 14px; margin: clamp(26px, 5svh, 46px) 0 22px; }
.ct__email a { font-weight: 800; font-size: clamp(17px, 2.5vw, 32px); letter-spacing: -.025em; border-bottom: 3px solid #cfd6ff; transition: border-color .2s, color .2s; }
.ct__email a:hover { color: var(--accent); border-color: var(--accent); }
.ct--mail .ct__send { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ct--mail .ct__send .btn { padding: 0 24px; }
.ct--mail .ct__links { justify-content: center; flex-wrap: wrap; margin-top: clamp(28px, 5svh, 48px); }
@media (max-width: 560px) { .ct--mail .ct__send { flex-direction: column; } .ct__email { gap: 9px; } .ct--mail .ct__links { gap: 12px 22px; } }
