/* ==========================================================================
   SJI — витрина-каталог
   Tokens · Base · Topbar · Hero · Buttons
   ========================================================================== */

:root {
  color-scheme: light;
  --paper: #EFEAE0;
  --paper-2: #F7F3EA;
  --paper-3: #E4DED1;
  --ink: #0C0C0B;
  --ink-soft: #2B2925;
  --muted: #6E685D;
  --line: rgba(12, 12, 11, .14);
  --line-soft: rgba(12, 12, 11, .08);
  --accent: #FF5C35;
  --accent-ink: #1A0A04;
  --font-display: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4.6vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip:focus {
  transform: none;
}

/* Progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(239, 234, 224, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: transform .4s var(--ease);
}

.topbar.is-hidden {
  transform: translateY(-100%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  height: 72px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.brand__dot {
  color: var(--accent);
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.topbar__pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0% { opacity: .55; transform: scale(.55); }
  70%, 100% { opacity: 0; transform: scale(1.15); }
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.topbar__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}

.topbar__link:hover {
  color: var(--ink);
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}

.topbar__cta:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-bottom: clamp(48px, 6vw, 88px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  max-width: var(--max);
  min-height: min(calc(100svh - 73px), 860px);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 76px) var(--gutter) 0;
}

.hero__copy {
  min-width: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag__num {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: .04em;
}

.hero__title {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.048em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}

.hero__title .line > span {
  display: block;
  white-space: nowrap;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  max-width: 46ch;
  margin-top: clamp(20px, 2.6vw, 30px);
  font-size: clamp(15px, 1.25vw, 17.5px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(26px, 3.2vw, 38px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}

.btn__icon {
  width: 16px;
  height: 16px;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 480px;
  margin-top: clamp(38px, 5vw, 66px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero__stat dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__stat dd {
  margin-top: 4px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.03em;
}

/* ==========================================================================
   Featured case (hero preview)
   ========================================================================== */

.featured {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: clamp(16px, 1.6vw, 22px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper-2);
  box-shadow: 0 40px 80px -56px rgba(12, 12, 11, .5);
}

.featured__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.featured__index span {
  color: var(--accent);
}

.featured__stage {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 12px;
  padding: 46px 0 clamp(20px, 2.6vw, 32px);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 62% 54% at 50% 46%, rgba(255, 92, 53, .13), transparent 72%),
    radial-gradient(ellipse 40% 30% at 50% 0%, rgba(255, 255, 255, .55), transparent 70%),
    var(--paper-3);
  animation: drift 9s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -9px, 0); }
}

.featured__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.featured__badge span {
  font-size: 6px;
  color: var(--accent);
}

.featured__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 6px 2px;
}

.featured__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.featured__text {
  max-width: 34ch;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, gap .2s var(--ease);
}

.featured__link svg {
  width: 14px;
  height: 14px;
}

.featured__link:hover {
  gap: 12px;
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Phone (iPhone shell, Vetra inside)
   ========================================================================== */

.phone {
  position: relative;
  width: clamp(198px, 17.6vw, 244px);
  aspect-ratio: 393 / 852;
  padding: 10px;
  border-radius: 23% / 10.5%;
  background: linear-gradient(152deg, #57544C 0%, #23211C 32%, #0E0D0B 58%, #403D36 100%);
  box-shadow:
    0 42px 70px -38px rgba(12, 12, 11, .65),
    0 14px 30px -18px rgba(12, 12, 11, .45),
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 0 0 4px rgba(0, 0, 0, .55);
  transform: translate3d(0, var(--phone-shift, 0px), 0);
}

.phone__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #55524A, #1B1A16);
}

.phone__btn--mute {
  left: -3px;
  top: 15%;
  height: 3.4%;
}

.phone__btn--vol-up {
  left: -3px;
  top: 22%;
  height: 6.6%;
}

.phone__btn--vol-down {
  left: -3px;
  top: 30.5%;
  height: 6.6%;
}

.phone__btn--power {
  right: -3px;
  top: 24.5%;
  height: 9.5%;
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 21% / 10%;
  background: #ECECEC;
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5);
}

.phone__island {
  position: absolute;
  top: 2.2cqw;
  left: 50%;
  z-index: 3;
  width: 30%;
  height: 7.4cqw;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone__island::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 50%;
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: #141821;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 .4cqw rgba(255, 255, 255, .05);
}

.vp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  color: #0C0C0C;
}

.vp__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6.4cqw 6.4cqw 0;
  font-size: 3.6cqw;
  font-weight: 600;
  letter-spacing: -.01em;
}

.vp__indicators {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.vp__ico {
  height: 3.2cqw;
  width: auto;
  fill: currentColor;
}

.vp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5.2cqw 5.6cqw 0;
}

.vp__brand {
  font-size: 5.2cqw;
  font-weight: 600;
  letter-spacing: -.035em;
}

.vp__avatar {
  display: grid;
  place-items: center;
  width: 8.8cqw;
  height: 8.8cqw;
  border-radius: 50%;
  background: #0C0C0C;
  color: #F4F4F4;
  font-size: 3.1cqw;
  font-weight: 500;
  letter-spacing: .02em;
}

.vp__body {
  flex: 1;
  padding: 4.4cqw 5.6cqw 0;
}

.vp__label {
  font-size: 3.2cqw;
  letter-spacing: .04em;
  color: #6B6B6B;
}

.vp__value {
  margin-top: .8cqw;
  font-size: 9.4cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.vp__dec {
  color: #8A8A8A;
}

.vp__unit {
  margin-left: .8cqw;
  font-size: 3.3cqw;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .02em;
  color: #6B6B6B;
}

.vp__fiat {
  margin-top: 1.6cqw;
  font-size: 3.2cqw;
  color: #6B6B6B;
}

.vp__fiat span {
  opacity: .8;
}

.vp__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.62;
  margin-top: 4.6cqw;
  padding: 3.8cqw;
  overflow: hidden;
  border-radius: 4.6cqw;
  background: linear-gradient(150deg, #303030 0%, #121212 56%, #1C1C1C 100%);
  color: #F4F4F4;
  font-size: 3cqw;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
}

.vp__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  letter-spacing: .12em;
}

.vp__card-row--bottom {
  font-size: 2.7cqw;
  letter-spacing: .02em;
  opacity: .62;
}

.vp__card-brand {
  font-size: 3.1cqw;
  font-weight: 600;
  letter-spacing: .24em;
}

.vp__card-sheen {
  position: absolute;
  inset: -30% -60% auto auto;
  width: 90%;
  height: 160%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .075) 48%, rgba(255, 255, 255, 0));
  transform: rotate(8deg);
}

.vp__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4cqw;
  margin-top: 3.6cqw;
}

.vp__action {
  display: grid;
  place-items: center;
  height: 10.4cqw;
  border: 1px solid rgba(12, 12, 11, .16);
  border-radius: 999px;
  font-size: 3.2cqw;
  font-weight: 500;
}

.vp__action--on {
  border-color: #0C0C0C;
  background: #0C0C0C;
  color: #F4F4F4;
}

.vp__cash {
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  margin-top: 3.4cqw;
  padding: 2.8cqw 3.2cqw;
  border-radius: 3.8cqw;
  background: rgba(12, 12, 11, .05);
}

.vp__cash-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 6.6cqw;
  height: 6.6cqw;
  border-radius: 50%;
  background: #FF5C35;
  color: #fff;
  font-size: 3cqw;
  font-weight: 600;
}

.vp__cash-body b {
  display: block;
  font-size: 3cqw;
  font-weight: 600;
  letter-spacing: -.01em;
}

.vp__cash-body i {
  display: block;
  margin-top: .4cqw;
  font-size: 2.7cqw;
  font-style: normal;
  color: #7A7A7A;
}

.vp__section {
  margin-top: 4cqw;
  font-size: 3.1cqw;
  font-weight: 600;
  letter-spacing: -.01em;
}

.vp__txs {
  margin-top: 1.6cqw;
}

.vp__txs li {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 2cqw 0;
  border-top: 1px solid rgba(12, 12, 11, .07);
}

.vp__tile {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 7.8cqw;
  height: 7.8cqw;
  border-radius: 2.6cqw;
  background: #E0E0E0;
  font-size: 3cqw;
  font-weight: 600;
  color: #4A4A4A;
}

.vp__tx-main {
  flex: 1;
  min-width: 0;
}

.vp__tx-main b {
  display: block;
  font-size: 3.1cqw;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp__tx-main i {
  display: block;
  margin-top: .2cqw;
  font-size: 2.6cqw;
  font-style: normal;
  color: #8A8A8A;
}

.vp__tx-amount {
  flex: 0 0 auto;
  font-size: 3cqw;
  font-weight: 500;
  color: #6B6B6B;
}

.vp__tx-amount--in {
  color: #0C0C0C;
}

.vp__tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: auto;
  padding: 2.6cqw 2cqw 4.6cqw;
  border-top: 1px solid rgba(12, 12, 11, .08);
  background: rgba(236, 236, 236, .92);
}

.vp__tab {
  display: grid;
  place-items: center;
  color: #9A9A9A;
}

.vp__tab svg {
  width: 5.4cqw;
  height: 5.4cqw;
}

.vp__tab.is-on {
  color: #0C0C0C;
}

.vp__home {
  position: absolute;
  bottom: 1.8cqw;
  left: 50%;
  z-index: 4;
  width: 34%;
  height: .9cqw;
  border-radius: 999px;
  background: #0C0C0C;
  transform: translateX(-50%);
}

/* ==========================================================================
   Catalog
   ========================================================================== */

.catalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 5.4vw, 72px) var(--gutter) clamp(64px, 8vw, 104px);
  scroll-margin-top: 72px;
}

.catalog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.catalog__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog__meta {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, auto) minmax(0, 1fr) auto 46px;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  padding: clamp(24px, 3.2vw, 42px) clamp(6px, 1.4vw, 20px);
  border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease);
}

.row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .45s var(--ease);
}

.row > * {
  position: relative;
  z-index: 1;
}

.row__index {
  align-self: start;
  padding-top: .6em;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.row__name {
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.045em;
}

.row__desc {
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.row__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.row__tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.row__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.row__arrow svg {
  width: 19px;
  height: 19px;
}

@media (hover: hover) {
  .row:hover::before {
    transform: scaleY(1);
  }

  .row:hover {
    color: var(--paper);
  }

  .row:hover .row__index,
  .row:hover .row__desc,
  .row:hover .row__tags span {
    color: rgba(239, 234, 224, .6);
  }

  .row:hover .row__tags span {
    border-color: rgba(239, 234, 224, .22);
  }

  .row:hover .row__arrow {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
  }
}

.row:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.catalog__note {
  margin-top: 20px;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* Floating hover previews */
.preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s;
}

.preview.is-on {
  opacity: 1;
  visibility: visible;
}

.preview__phone {
  width: 244px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 30px;
  background: #ECECEC;
  color: #0C0C0C;
  box-shadow: 0 40px 70px -38px rgba(12, 12, 11, .55), 0 10px 24px -16px rgba(12, 12, 11, .4);
}

.preview__phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview__brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.preview__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0C0C0C;
  color: #F4F4F4;
  font-size: 9.5px;
}

.preview__label {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6B6B6B;
}

.preview__value {
  margin-top: 2px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.preview__value em {
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  color: #6B6B6B;
}

.preview__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(150deg, #303030, #121212 60%, #1C1C1C);
  color: #F4F4F4;
  font-size: 9px;
  letter-spacing: .12em;
}

.preview__card span {
  display: flex;
  justify-content: space-between;
}

.preview__card span:first-child {
  font-weight: 600;
  letter-spacing: .24em;
}

.preview__card span:last-child {
  opacity: .55;
  letter-spacing: .02em;
}

.preview__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.preview__pills span {
  display: grid;
  place-items: center;
  height: 30px;
  border: 1px solid rgba(12, 12, 11, .16);
  border-radius: 999px;
  font-size: 10px;
}

.preview__pills span:first-child {
  border-color: #0C0C0C;
  background: #0C0C0C;
  color: #F4F4F4;
}

.preview__section {
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6B6B6B;
}

.preview__tx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(12, 12, 11, .07);
  font-size: 10px;
}

.preview__tx span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #E0E0E0;
  font-size: 9px;
  font-weight: 600;
  color: #4A4A4A;
}

.preview__tx b {
  flex: 1;
  font-weight: 500;
}

.preview__tx i {
  font-style: normal;
  color: #6B6B6B;
}

.preview__browser {
  width: 316px;
  overflow: hidden;
  border: 1px solid rgba(21, 20, 15, .12);
  border-radius: 16px;
  background: #F3EEE5;
  box-shadow: 0 40px 70px -38px rgba(12, 12, 11, .5), 0 10px 24px -16px rgba(12, 12, 11, .35);
}

.preview__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(21, 20, 15, .1);
  background: #EAE3D6;
}

.preview__chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D2CABB;
}

.preview__chrome i {
  margin-left: 8px;
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A8375;
}

.preview__page {
  padding: 16px 18px 18px;
  color: #15140F;
}

.preview__kicker {
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A8375;
}

.preview__headline {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.preview__blue {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 0 14px;
  height: 32px;
  border-radius: 9px;
  background: #2D4BFF;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}

.preview__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.preview__rows span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(21, 20, 15, .1);
}

.preview__rows span:nth-child(2) { width: 82%; }
.preview__rows span:nth-child(3) { width: 58%; }

.preview__caption {
  margin-top: 12px;
  font-size: 8.5px;
  letter-spacing: .04em;
  color: #8A8375;
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(14px, 1.8vw, 22px) clamp(10px, 1.5vw, 20px);
  padding-right: clamp(20px, 3vw, 40px);
  font-size: clamp(17px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.marquee__dot {
  font-size: .5em;
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Stack
   ========================================================================== */

.stack {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) var(--gutter) clamp(56px, 7vw, 96px);
  scroll-margin-top: 72px;
}

.stack__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  padding-bottom: clamp(36px, 4.6vw, 60px);
}

.stack__title {
  margin-top: clamp(18px, 2.2vw, 28px);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
}

.stack__lead {
  max-width: 44ch;
  padding-bottom: .4em;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  color: var(--muted);
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.step__index {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent);
}

.step__title {
  margin-top: 14px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -.02em;
}

.step__text {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: 72px;
}

.contact::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 53, .16), transparent 62%);
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}

.contact__tag {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(239, 234, 224, .55);
}

.contact__title {
  max-width: 22ch;
  margin-top: clamp(18px, 2.4vw, 30px);
  font-size: clamp(38px, 6vw, 90px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.05em;
}

.contact__text {
  max-width: 46ch;
  margin-top: clamp(18px, 2.4vw, 26px);
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(239, 234, 224, .6);
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(28px, 3.6vw, 44px);
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  transition: background-color .24s var(--ease), color .24s var(--ease);
}

.contact__cta-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: var(--accent);
  transition: background-color .24s var(--ease), color .24s var(--ease), transform .24s var(--ease);
}

.contact__cta-icon svg {
  width: 18px;
  height: 18px;
}

.contact__cta:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact__cta:hover .contact__cta-icon {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px);
}

.footer__word {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: clamp(84px, 25vw, 340px);
  font-weight: 700;
  line-height: .76;
  letter-spacing: -.06em;
}

.footer__word span {
  color: var(--accent);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--max);
  margin: clamp(28px, 3.4vw, 44px) auto 0;
  padding: 22px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__links a {
  transition: color .2s ease;
}

.footer__links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Motion
   ========================================================================== */

.js .line > span {
  transform: translateY(112%);
  transition: transform 1s var(--ease);
}

.js .hero__title .line:nth-child(1) > span { transition-delay: .05s; }
.js .hero__title .line:nth-child(2) > span { transition-delay: .13s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .21s; }

.js .tag,
.js .hero__lead,
.js .hero__actions,
.js .hero__stats,
.js .featured {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

.js .tag { transition-delay: .05s; }
.js .hero__lead { transition-delay: .34s; }
.js .hero__actions { transition-delay: .42s; }
.js .hero__stats { transition-delay: .5s; }
.js .featured { transition-delay: .22s; }

.js.is-loaded .line > span,
.js.is-loaded .tag,
.js.is-loaded .hero__lead,
.js.is-loaded .hero__actions,
.js.is-loaded .hero__stats,
.js.is-loaded .featured {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .line > span,
  .js .tag,
  .js .hero__lead,
  .js .hero__actions,
  .js .hero__stats,
  .js .featured,
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .featured__stage {
    animation: none;
  }

  .topbar__pulse::after {
    animation: none;
  }

  .marquee__track {
    animation: none;
  }

  .phone,
  .btn,
  .row,
  .row::before,
  .row__arrow,
  .featured__link,
  .contact__cta,
  .contact__cta-icon {
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: clamp(40px, 6vw, 64px);
  }

  .featured {
    max-width: 540px;
    margin: 0 auto;
  }

  .phone {
    width: clamp(220px, 40vw, 280px);
  }

  .stack__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .stack__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .row {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    row-gap: 10px;
    column-gap: 16px;
    align-items: center;
  }

  .row__index {
    grid-column: 1;
    grid-row: 1 / span 3;
    padding-top: .4em;
  }

  .row__name {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(32px, 7vw, 48px);
  }

  .row__arrow {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  .row__desc {
    grid-column: 2 / -1;
    grid-row: 2;
    max-width: 52ch;
    font-size: 13.5px;
  }

  .row__tags {
    grid-column: 2 / -1;
    grid-row: 3;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .contact__title {
    font-size: clamp(28px, 6.4vw, 48px);
  }

  .topbar__inner {
    height: 64px;
  }

  .topbar__link {
    display: none;
  }

  .topbar__status {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
  }

  .btn {
    width: 100%;
  }

  .hero__stats {
    max-width: none;
  }

  .featured__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .featured__link {
    align-self: flex-start;
  }

  .marquee__group {
    padding-block: 14px;
  }

  .stack__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__row {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(32px, 9.4vw, 40px);
  }

  .hero__stat dt {
    font-size: 9px;
    letter-spacing: .06em;
  }

  .row__tags span:nth-child(n+2) {
    display: none;
  }
}



