/* Shift Dev website — brand: Black + Acid on black, Bone paper, Outfit display, Inter body, JetBrains Mono labels. */
:root {
  --black: #0B0B0D; --ink: #141417; --acid: #D7FF3B; --acid-2: #C4F02A; --bone: #EFEFEA; --paper: #F7F7F3; --white: #fff;
  --muted: #6E6E76; --muted-dark: #9A9AA3; --line: #DADAD3; --line-dark: #26262C; --text: #2E2E34;
  --display: 'Outfit', sans-serif; --body: 'Inter', 'Segoe UI', sans-serif; --mono: 'JetBrains Mono', Consolas, monospace;
  --wrap: 1180px; --gut: 24px; --step: 48px; --r: 24px; --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bone); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--black); letter-spacing: -.03em; line-height: 1.04; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; }
.acid { color: var(--acid); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--acid); }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; max-width: 17ch; }
.lede { font-size: 19px; color: var(--text); max-width: 60ch; margin-top: 18px; }
.section--dark .lede, .hero .lede { color: var(--muted-dark); }
.section--dark h2, .hero h1, .contact h2 { color: var(--white); }
.shifted { margin-left: var(--step); }
@media (max-width: 760px) { .shifted { margin-left: 0; } }

/* ---------- buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--acid { background: var(--acid); color: var(--black); }
.btn--acid:hover { background: var(--acid-2); }
.btn--ghost { color: var(--white); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--white); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--black); color: var(--black); font-family: var(--display); font-weight: 500; font-size: 14px; white-space: nowrap; }
.pill--black { background: var(--black); color: var(--white); font-weight: 600; }
.pill--acid { background: var(--acid); border-color: var(--acid); font-weight: 600; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line-dark); }
.nav__in { height: 72px; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo .mark { height: 28px; width: auto; fill: var(--acid); }
.nav__logo .wm { height: 22px; width: auto; }
.wm .wm-shift { fill: var(--white); } .wm .wm-dev { fill: var(--acid); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted-dark); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__cta { height: 42px; padding: 0 20px; font-size: 15px; }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; margin-left: auto; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; padding: 8px var(--gut) 20px; border-top: 1px solid var(--line-dark); }
.nav__mobile a { padding: 12px 0; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 20px; border-bottom: 1px solid var(--line-dark); }
.nav__mobile a.is-cta { color: var(--acid); border: 0; }
.nav.is-open .nav__mobile { display: flex; }
@media (max-width: 900px) { .nav__links, .nav__cta { display: none; } .nav__burger { display: block; } }

/* ---------- hero ---------- */
.hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: calc(100vh - 72px); padding: 72px 0 48px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.04em; max-width: 11ch; }
.hero .lede { margin-top: 24px; font-size: 20px; max-width: 46ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__art { position: relative; }
.hero__mark { width: min(100%, 460px); margin: 0 auto; overflow: visible; }
.hero__mark rect { fill: var(--acid); }
.half { transform-box: fill-box; transform-origin: center; }
.half--top { animation: slideTop 1.2s var(--ease) both; }
.half--bottom { animation: slideBottom 1.2s var(--ease) both, shift 6s ease-in-out 1.6s infinite; }
@keyframes slideTop { from { transform: translateX(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideBottom { from { transform: translateX(120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shift { 0%, 38% { transform: translateX(0); } 50%, 88% { transform: translateX(-100px); } 100% { transform: translateX(0); } }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(215,255,59,.10), transparent 70%); pointer-events: none; }
@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 32px; gap: 24px; } .hero__art { order: -1; } .hero__mark { width: 150px; margin: 0; } }

/* ticker */
.ticker { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; animation: ticker 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-dark); font-family: var(--display); font-weight: 500; font-size: 14px; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--black); color: var(--muted-dark); }
.head { max-width: 760px; }
@media (max-width: 760px) { .section { padding: 72px 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .packs .reveal:nth-child(2), .sec .reveal:nth-child(2), .stats .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .packs .reveal:nth-child(3), .sec .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .packs .reveal:nth-child(4), .sec .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .24s; }
.packs .reveal:nth-child(5), .sec .reveal:nth-child(5) { transition-delay: .32s; }
.packs .reveal:nth-child(6), .sec .reveal:nth-child(6) { transition-delay: .40s; }

/* what we do */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.card { background: var(--white); border-radius: var(--r); padding: 36px 36px 32px; display: flex; flex-direction: column; min-height: 300px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(11,11,13,.35); }
.card__n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 28px; margin: 12px 0 10px; }
.card p + p, .card > p:nth-of-type(2) { margin-bottom: auto; }
.card .pills { margin-top: 24px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; padding: 28px; } }

/* platform */
.plat { display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; margin-top: 56px; align-items: start; }
.bar { height: 60px; border-radius: 999px; display: flex; align-items: center; gap: 16px; padding: 0 28px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.bar--top { background: var(--black); color: var(--white); }
.bar__tag { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acid); }
.bar--base { background: var(--white); border: 1.5px solid var(--black); color: var(--black); font-size: 15px; font-weight: 500; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; }
.m { height: 54px; border-radius: 999px; background: var(--white); border: 1.5px solid transparent; display: flex; align-items: center; gap: 12px; padding: 0 20px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--black); cursor: pointer; text-align: left; transition: background .25s, color .25s, transform .25s var(--ease); }
.m i { width: 10px; height: 10px; border-radius: 50%; background: var(--black); flex: none; transition: background .25s; }
.m:hover { transform: translateY(-2px); }
.m.is-lit { background: var(--black); color: var(--white); }
.m.is-lit i { background: var(--acid); }
.plat__hint { margin-top: 14px; font-size: 14px; color: var(--muted); }
.plat__aside h4 { font-size: 22px; margin-bottom: 8px; }
.plat__aside > div { margin-bottom: 28px; }
.plat__aside p { color: var(--text); font-size: 16px; }
.eq { background: var(--white); border-radius: var(--r); padding: 26px 28px; }
.eq__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 22px; }
.eq p { margin-top: 14px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .plat { grid-template-columns: 1fr; } .modules { grid-template-columns: repeat(2, 1fr); } .bar__tag { display: none; } }
@media (max-width: 480px) { .modules { grid-template-columns: 1fr; } }

/* industries */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.pack { background: var(--white); border-radius: var(--r); padding: 28px 26px 24px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pack:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(11,11,13,.35); }
.pack h3 { font-size: 21px; margin-bottom: 10px; }
.pack__for { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pack > p:last-of-type { margin-bottom: auto; font-size: 15px; }
.pack .pills { margin-top: 20px; }
.pack .pill { height: 30px; padding: 0 12px; font-size: 13px; }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }
@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } }

/* why: comparison + demo promise */
.cmp { margin-top: 56px; border: 1px solid var(--line-dark); border-radius: 20px; overflow: hidden; }
.cmp__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; border-top: 1px solid var(--line-dark); }
.cmp__row:first-child { border-top: 0; }
.cmp__row > span { padding: 18px 22px; font-size: 15px; color: var(--muted-dark); }
.cmp__row > span:first-child { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--white); }
.cmp__row > .is-us { background: var(--ink); color: var(--white); font-weight: 500; position: relative; }
.cmp__head > span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding-top: 20px; padding-bottom: 20px; }
.cmp__head > .is-us { color: var(--acid); }
.cmp__head > .is-us::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--acid); border-radius: 0 0 3px 3px; }
.demo { margin-top: 32px; background: var(--acid); color: var(--black); border-radius: var(--r); padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.demo .eyebrow { color: var(--black); opacity: .65; }
.demo h3 { font-size: 28px; margin-bottom: 10px; }
.demo p { font-size: 16px; max-width: 60ch; }
.demo .btn--acid { background: var(--black); color: var(--white); }
.demo .btn--acid:hover { background: var(--ink); }
.proof__line { margin-top: 32px; font-size: 14px; color: var(--muted-dark); max-width: 70ch; }
@media (max-width: 900px) {
  .cmp__row { grid-template-columns: 1fr 1fr; }
  .cmp__row > span:nth-child(2), .cmp__row > span:nth-child(3) { display: none; }
  .cmp__head > span:first-child { visibility: hidden; }
  .demo { grid-template-columns: 1fr; padding: 28px; }
}

/* how */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); overflow: hidden; }
.steps__line i { display: block; height: 100%; width: 100%; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.is-in .steps__line i { transform: scaleX(1); }
.step { background: var(--white); border-radius: 20px; padding: 28px 26px; margin-top: 24px; }
.step:nth-child(3) { margin-top: 48px; } .step:nth-child(4) { margin-top: 72px; } .step:nth-child(5) { margin-top: 96px; }
.step__w { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 21px; margin: 10px 0 8px; }
.step p { font-size: 15px; }
.after { margin-top: 48px; background: var(--black); color: var(--muted-dark); border-radius: var(--r); padding: 36px 40px; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.after h3 { color: var(--white); font-size: 28px; }
.after .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); margin-bottom: 6px; }
.after p { font-size: 15px; }
.incl { margin-top: 36px; }
.incl .eyebrow { margin-bottom: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step, .step:nth-child(n) { margin-top: 24px; } .after { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .after { grid-template-columns: 1fr; } }

/* security */
.sec { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-top: 56px; }
.sec__it { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.sec__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--black); display: flex; align-items: center; justify-content: center; }
.sec__ic svg { width: 24px; height: 24px; stroke: var(--acid); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sec h3 { font-size: 21px; margin: 4px 0 6px; }
.sec p { font-size: 16px; }
.law { margin-top: 48px; background: var(--white); border-radius: 18px; padding: 20px 24px; font-size: 15px; display: flex; gap: 18px; align-items: center; }
.law .pill { flex: none; }
@media (max-width: 760px) { .sec { grid-template-columns: 1fr; } .law { flex-direction: column; align-items: flex-start; } }

/* contact */
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(34px, 4.4vw, 54px); }
.contact__email { margin-top: 28px; color: var(--muted-dark); }
.contact__email a { color: var(--white); font-weight: 600; border-bottom: 1.5px solid var(--acid); }
.form { background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.form input, .form select, .form textarea { font: 500 16px/1.4 var(--body); color: var(--white); background: var(--black); border: 1.5px solid var(--line-dark); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--acid); }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-dark) 50%), linear-gradient(135deg, var(--muted-dark) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: 14px; color: var(--muted-dark); }
.form__status.is-ok { color: var(--acid); }
.form__status.is-err { color: #FF7A7A; }
.form.is-sent { opacity: .75; }
@media (max-width: 900px) { .contact__in { grid-template-columns: 1fr; gap: 40px; } .form__row { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* footer */
.footer { background: var(--black); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 56px 0 28px; }
.footer__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.footer__logo { width: 150px; height: auto; }
.footer__legal { margin-top: 20px; font-size: 13px; line-height: 1.6; max-width: 56ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; justify-content: flex-end; }
.footer__links a { font-size: 14px; color: var(--muted-dark); transition: color .2s; }
.footer__links a:hover { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .footer__in { grid-template-columns: 1fr; } .footer__links { justify-content: flex-start; } }

/* focus & motion */
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .half--top, .half--bottom, .ticker__track { animation: none; }
  .steps__line i { transform: scaleX(1); transition: none; }
  .btn, .card, .pack, .m { transition: none; }
}
