:root {
  --bg: #fafaf7;
  --bg-soft: #f3f2ed;
  --bg-card: #ffffff;
  --fg: #18181b;
  --fg-mute: #6b6b70;
  --fg-soft: #a1a1a8;
  --line: #e6e5df;
  --line-soft: #efeee9;
  --accent: #2563eb;
  --accent-fg: #ffffff;
  --accent-soft: #dbeafe;
  --ok: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, .04), 0 0 0 1px rgba(15, 15, 15, .04);
  --shadow-md: 0 8px 30px rgba(15, 15, 15, .06), 0 2px 6px rgba(15, 15, 15, .04);
  --shadow-lg: 0 30px 80px rgba(15, 15, 15, .10), 0 8px 24px rgba(15, 15, 15, .06);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-display: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
}

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--bg);
  border-radius: 2px;
  border-top-color: transparent;
  border-right-color: transparent;
}

.logo-mark.is-image {
  background: transparent;
}

.logo-mark.is-image::after {
  display: none;
}

.logo-mark.is-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.logo-name {
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--fg-mute);
}

.nav-links a:hover {
  color: var(--fg);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-fg);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--fg);
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--fg);
}

.btn-link {
  color: var(--fg-mute);
  padding: 10px 4px;
  border: none;
  background: none;
}

.btn-link:hover {
  color: var(--fg);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

/* ───── Hero ───── */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent);
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 500;
  margin: 24px 0 20px;
  text-wrap: balance;
}

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

.h1 .ital {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-mute);
  max-width: 520px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

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

.meta-lbl {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* hero stage */
.stage {
  position: relative;
  aspect-ratio: 1/1.02;
  min-height: 520px;
}

/* fake browser window */
.win {
  position: absolute;
  inset: 0 28% 22% 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}

.win-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.win-url {
  margin-left: 10px;
  flex: 1;
  background: var(--bg-soft);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  color: var(--fg-mute);
}

.win-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: calc(100% - 40px);
}

/* tiny admin panel */
.ap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ap-title {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg-mute);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ap-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ok) 15%, transparent);
  color: var(--ok);
  font-family: var(--font-mono);
}

.ap-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ap-stat {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 10px;
}

.ap-stat .lbl {
  font-size: 9px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ap-stat .val {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin-top: 2px;
}

.ap-stat .val em {
  font-style: normal;
  color: var(--accent);
}

.ap-chart {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.ap-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}

.ap-chart svg {
  width: 100%;
  height: 100%;
}

/* phone */
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 9/19;
  background: var(--fg);
  border-radius: 36px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}


.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: var(--fg);
  border-radius: 12px;
  z-index: 2;
}

.ph-hd {
  padding: 28px 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-mono);
}

.ph-name {
  font-size: 12px;
  font-weight: 600;
}

.ph-status {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ok) 15%, transparent);
  color: var(--ok);
  font-family: var(--font-mono);
}

.ph-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.ph-tab {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--fg-mute);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.ph-tab.on {
  background: var(--fg);
  color: var(--bg);
}

.ph-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  flex: 1;
}

.ph-card {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ph-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 60%, transparent), color-mix(in oklab, var(--accent) 20%, transparent));
  flex-shrink: 0;
}

.ph-thumb.b {
  background: linear-gradient(135deg, #ffd28a, #ff7a3d);
}

.ph-thumb.c {
  background: linear-gradient(135deg, #c8e9c8, #5fb35f);
}

.ph-card .t {
  font-size: 10px;
  font-weight: 600;
}

.ph-card .p {
  font-size: 9px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}

.ph-card .add {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* floating tags around stage */
.tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag .dt {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.tag.t1 {
  top: 6%;
  left: -2%;
}

.tag.t2 {
  top: 32%;
  right: -4%;
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.tag.t2 .dt {
  background: var(--ok);
}

.tag.t3 {
  bottom: 8%;
  left: 18%;
}

/* ───── Section common ───── */
section {
  padding: 100px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

.sect-hd {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.sect-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sect-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.sect-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: 720px;
  text-wrap: balance;
  margin: 0;
}

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

.sect-title .ital {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.sect-sub {
  font-size: 17px;
  color: var(--fg-mute);
  max-width: 380px;
  line-height: 1.55;
}

/* ───── Features ───── */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 880px) {
  .feats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feats {
    grid-template-columns: 1fr;
  }
}

.feat {
  background: var(--bg-card);
  padding: 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .15s ease;
}

.feat:hover {
  background: var(--bg-soft);
}

.feat-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.feat-ic svg {
  width: 18px;
  height: 18px;
}

.feat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-soft);
  margin-left: auto;
}

.feat-top {
  display: flex;
  align-items: center;
}

.feat-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-top: 4px;
}

.feat-desc {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.55;
}

/* ───── Demo ───── */
.demo {
  background: var(--fg);
  color: var(--bg);
  border-radius: 28px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .demo {
    padding: 28px;
    border-radius: 20px;
  }
}

.demo-hd {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.demo-hd .sect-eyebrow {
  color: color-mix(in oklab, var(--bg) 60%, transparent);
}

.demo-hd .sect-eyebrow::before {
  background: var(--accent);
}

.demo-hd .sect-title {
  color: var(--bg);
}

.demo-hd .sect-sub {
  color: color-mix(in oklab, var(--bg) 65%, transparent);
}

.demo-stage {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .demo-stage {
    grid-template-columns: 1fr;
  }
}

.demo-phone {
  background: #000;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  aspect-ratio: 9/18.5;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  position: relative;
}

.demo-phone .phone-screen {
  background: #06080d;
  color: #18181b;
  border-radius: 28px;
  height: 100%;
}

.demo-frame-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
  color: color-mix(in oklab, var(--bg) 72%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.demo-phone .demo-frame-toolbar {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  padding: 0;
}

.demo-frame-toolbar a {
  color: var(--accent);
}

.demo-frame {
  width: 100%;
  border: 0;
  display: block;
  background: transparent;
}

.demo-frame-store {
  height: 100%;
  min-height: 560px;
  margin-top: 18px;
}

.demo-frame-admin {
  flex: 1;
  min-height: 640px;
  background: #111;
}

.dp-hd {
  padding: 26px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e6e5df;
}

.dp-name {
  font-weight: 600;
  font-size: 13px;
}

.dp-addr {
  font-size: 10px;
  color: #6b6b70;
  font-family: var(--font-mono);
}

.dp-tabs {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid #efeee9;
  overflow-x: auto;
  scrollbar-width: none;
}

.dp-tabs::-webkit-scrollbar {
  display: none;
}

.dp-tab {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f2ed;
  color: #6b6b70;
  font-size: 10px;
  font-family: var(--font-mono);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.dp-tab.on {
  background: #18181b;
  color: #fafaf7;
}

.dp-products {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
}

.dp-prod {
  background: #f3f2ed;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dp-prod .ph-thumb {
  width: 44px;
  height: 44px;
}

.dp-prod .meta {
  flex: 1;
  min-width: 0;
}

.dp-prod .nm {
  font-size: 12px;
  font-weight: 600;
}

.dp-prod .pr {
  font-size: 11px;
  color: #6b6b70;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.dp-prod button {
  border: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  transition: transform .12s ease;
  cursor: pointer;
}

.dp-prod button:active {
  transform: scale(.94);
}

.dp-prod button.added {
  background: var(--ok);
}

.dp-cart {
  padding: 12px 14px;
  border-top: 1px solid #efeee9;
  background: #fafaf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 28px 28px;
}

.dp-cart .lbl {
  font-size: 10px;
  color: #6b6b70;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dp-cart .total {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.dp-cart button {
  background: #18181b;
  color: #fafaf7;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.dp-cart button:disabled {
  opacity: .35;
  cursor: default;
}

/* admin panel side */
.adm {
  background: #fafaf7;
  color: #18181b;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 480px;
}

.demo-frame-toolbar-admin {
  padding: 16px 20px;
  background: #fafaf7;
  border-bottom: 1px solid #e6e5df;
  color: #6b6b70;
}

.adm-hd {
  padding: 16px 20px;
  border-bottom: 1px solid #e6e5df;
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-hd .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ok) 20%, transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: .55;
  }
}

.adm-hd .t {
  font-weight: 600;
  font-size: 13px;
}

.adm-hd .sub {
  font-size: 11px;
  color: #6b6b70;
  font-family: var(--font-mono);
  margin-left: auto;
}

.adm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #e6e5df;
}

.adm-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adm-stat .lbl {
  font-size: 10px;
  color: #6b6b70;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.adm-stat .val {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.adm-stat .val em {
  font-style: normal;
  color: var(--accent);
}

.adm-orders {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.adm-orders-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.adm-orders-hd .t {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #6b6b70;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ord {
  background: #fff;
  border: 1px solid #e6e5df;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  animation: slideIn .35s cubic-bezier(.2, .7, .2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ord-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6b6b70;
  padding: 4px 8px;
  background: #f3f2ed;
  border-radius: 6px;
}

.ord-body .nm {
  font-size: 13px;
  font-weight: 600;
}

.ord-body .it {
  font-size: 11px;
  color: #6b6b70;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.ord-amt {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.ord.fresh {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 15%, transparent);
}

.empty {
  color: #a1a1a8;
  font-size: 12px;
  text-align: center;
  padding: 32px;
  font-family: var(--font-mono);
}

/* ───── Cases ───── */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 880px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.case-cover.camatta {
  background: linear-gradient(135deg, #1a0a0a, #2a0e0e 40%, #4a1414);
}

.case-cover.bpm {
  background: linear-gradient(135deg, #f5f0e8, #e8dfd2);
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-mock {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 32px;
  bottom: -24px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  overflow: hidden;
}

.case-mock.bpm {
  background: rgba(255, 255, 255, .6);
  border-color: rgba(0, 0, 0, .06);
}

.case-mock-hd {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
}

.case-mock.bpm .case-mock-hd {
  color: rgba(0, 0, 0, .85);
  border-bottom-color: rgba(0, 0, 0, .08);
}

.case-mock-hd .nm {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.case-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.case-mock-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
}

.case-mock.bpm .case-mock-tile {
  background: linear-gradient(135deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .02));
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.case-meta .pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.case-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.case-desc {
  font-size: 14px;
  color: var(--fg-mute);
  line-height: 1.55;
}

.case-link {
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap .15s ease;
}

.case-link:hover {
  gap: 10px;
}

/* ───── Plans ───── */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.plan-featured {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.plan-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.plan-featured .plan-label {
  color: var(--fg-soft);
}

.plan-name {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.plan-price {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.plan-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--fg-mute);
}

.plan-featured .plan-price span {
  color: var(--fg-soft);
}

.plan-desc {
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.55;
}

.plan-featured .plan-desc {
  color: color-mix(in oklab, var(--bg) 60%, transparent);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.plan-featured .plan-features {
  border-top-color: rgba(255, 255, 255, .12);
}

.plan-features li {
  font-size: 14px;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-featured .plan-features li {
  color: color-mix(in oklab, var(--bg) 65%, transparent);
}

.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.plan-cta {
  margin-top: auto;
  padding-top: 8px;
}

.plan-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ───── CTA ───── */
.cta-block {
  text-align: center;
  padding: 80px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in oklab, var(--accent) 15%, transparent), transparent 70%);
  pointer-events: none;
}

.cta-block>* {
  position: relative;
}

.cta-h {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}

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

.cta-h .ital {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.cta-sub {
  font-size: 17px;
  color: var(--fg-mute);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───── Footer ───── */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.foot-col h4 {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col a {
  font-size: 14px;
  color: var(--fg);
  transition: color .15s ease;
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}

/* ───── Reveal ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.95) rotateX(-5deg);
  transform-origin: center top;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-stagger.in {
  opacity: 1;
  transform: none;
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-slide-left.in {
  opacity: 1;
  transform: none;
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-slide-right.in {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) rotateY(2deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale.in {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
}

.parallax-drift {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-stagger,
  .reveal-slide-left,
  .reveal-slide-right,
  .reveal-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ───── Client Login Modal ───── */
.client-login-modal {
  width: min(92vw, 460px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  color: var(--fg);
  box-shadow: var(--shadow-lg);
}

.client-login-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.client-login-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.client-login-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.client-login-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.client-login-head p {
  margin: 0;
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.5;
}

.client-login-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--fg-mute);
  font-size: 1.4rem;
  line-height: 1;
}

.client-login-close:hover {
  color: var(--fg);
  background: var(--bg-soft);
}

.client-login-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: -4px;
}

.cl-tab {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cl-tab.on {
  background: var(--bg-soft);
  color: var(--fg);
}

.cl-tab:hover:not(.on) {
  color: var(--fg);
}

.cl-form {
  display: none;
  gap: 16px;
  flex-direction: column;
}

.cl-form.active {
  display: flex;
}

.client-login-field {
  display: grid;
  gap: 6px;
}

.client-login-field span {
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.client-login-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}

.client-login-field input:focus {
  border-color: var(--accent);
}

.client-login-feedback {
  min-height: 20px;
  margin: 0;
  color: #ef4444;
  font-size: 14px;
}

.client-login-submit {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  border: none;
  transition: all .15s ease;
}

.client-login-submit:hover {
  background: var(--accent);
  color: var(--accent-fg);
}

.client-login-submit:disabled {
  opacity: .5;
}

/* ───── Responsive stage ───── */
@media (max-width: 980px) {
  .stage {
    min-height: 400px;
    aspect-ratio: 1/0.9;
  }
}

@media (max-width: 880px) {
  .demo-stage {
    justify-items: center;
  }

  .demo-frame-admin,
  .adm {
    display: none !important;
  }

  .demo-phone {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .logo {
    font-size: 16px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 560px) {
  .stage {
    display: none;
  }
}