/* Broken Innovations LTD — landing page styles */

:root {
  --bg: #0a0a0c;
  --bg-2: #0f1014;
  --surface: #15171c;
  --surface-2: #1c1f26;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --ink: #f4f4f5;
  --ink-2: #c9cbd1;
  --ink-3: #8a8d96;
  --ink-4: #5a5d66;

  --bg-light: #f6f6f3;
  --bg-light-2: #ececea;
  --surface-light: #ffffff;
  --line-light: rgba(0,0,0,0.08);
  --line-light-strong: rgba(0,0,0,0.14);
  --ink-light: #0c0d10;
  --ink-light-2: #2c2e35;
  --ink-light-3: #62656d;

  --accent: #3b5bff;          /* electric blue (default) */
  --accent-ink: #ffffff;
  --accent-soft: rgba(59,91,255,0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --max: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ───────── Sections ───────── */
section { position: relative; }
.sec-dark   { background: var(--bg); color: var(--ink); }
.sec-darker { background: #07080a; color: var(--ink); }
.sec-light  { background: var(--bg-light); color: var(--ink-light); }
.sec-cream  { background: #efece5; color: var(--ink-light); }

.sec-pad {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.density-compact .sec-pad {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.sec-light .eyebrow, .sec-cream .eyebrow { color: var(--ink-light-3); }
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; font-weight: 500; }
p  { margin: 0; }

.mono { font-family: var(--font-mono); }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10,10,12,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.015em;
  font-size: 15px;
}
.brand-mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent), #ffffff 24%));
  color: white;
  position: relative;
  overflow: hidden;
}
.brand-mark svg { width: 14px; height: 14px; }
.brand-suffix { color: var(--ink-3); font-weight: 400; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 13.5px;
}
.nav-links a {
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s, border 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(0.5px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 18px -8px var(--accent);
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--accent), #ffffff 8%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 24px -8px var(--accent);
}

.btn-ghost-dark {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }

.btn-ghost-light {
  background: transparent;
  color: var(--ink-light);
  border-color: var(--line-light-strong);
}
.btn-ghost-light:hover { background: rgba(0,0,0,0.04); }

.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 7px; }

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding-top: clamp(80px, 12vw, 168px);
  padding-bottom: clamp(72px, 10vw, 132px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 1;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  left: 50%; top: -10%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent), transparent 70%), transparent 70%);
  filter: blur(40px);
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 920px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
  width: fit-content;
}
.hero-tag .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: color-mix(in oklab, var(--accent), white 30%);
  letter-spacing: 0.04em;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #41d27c;
  box-shadow: 0 0 0 3px rgba(65,210,124,0.18);
}

.hero h1 .accent {
  color: var(--ink-3);
  font-style: normal;
}
.hero h1 .ink {
  color: var(--ink);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.5;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 4px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 28px;
  max-width: 720px;
}
.hero-stats .cell {
  background: rgba(255,255,255,0.015);
  padding: 16px 18px;
}
.hero-stats .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stats .v {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

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

/* ───────── Section heading ───────── */
.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 760px;
}
.sec-head h2 .muted { color: var(--ink-3); }
.sec-light .sec-head h2 .muted, .sec-cream .sec-head h2 .muted { color: var(--ink-light-3); }
.sec-head p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.55;
}
.sec-light .sec-head p, .sec-cream .sec-head p { color: var(--ink-light-2); }

/* ───────── About strip ───────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-lede {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink-light);
  text-wrap: pretty;
}
.about-lede em {
  font-style: normal;
  color: var(--ink-light-3);
}
.about-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.about-meta .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 14px;
}
.about-meta .row .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-light-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: center;
}
.about-meta .row .v { color: var(--ink-light); }

/* ───────── Services ───────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  background: var(--bg);
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  position: relative;
  transition: background 0.2s;
}
.service:hover { background: var(--surface); }
.service .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.service .ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--accent);
}
.service h3 { color: var(--ink); }
.service p { color: var(--ink-3); font-size: 13.5px; line-height: 1.55; }
.service-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ───────── Products ───────── */
.products-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
@media (max-width: 980px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line-light);
  background: var(--surface-light);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.product-card.dark {
  background: #0e0f13;
  border-color: var(--line);
  color: var(--ink);
}
.product-card .pc-meta {
  padding: 22px 24px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-light);
}
.product-card.dark .pc-meta { border-bottom-color: var(--line); }
.product-card-bare { min-height: 0; }
.product-card-bare .pc-stage {
  padding: 0;
  background: #0a0a0c;
  display: block;
  flex: 1;
  min-height: 0;
  aspect-ratio: 1448 / 1086;
}
.product-card-bare .pc-stage > * {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  aspect-ratio: auto;
  display: block;
}
.product-card-bare .pc-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-title {
  display: flex; flex-direction: column; gap: 4px;
}
.pc-title .kind {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light-3);
}
.product-card.dark .pc-title .kind { color: var(--ink-3); }
.pc-title h3 { font-size: 20px; }
.pc-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--ink-light-3);
  border: 1px solid var(--line-light);
}
.product-card.dark .pc-badge {
  background: rgba(255,255,255,0.05);
  color: var(--ink-3);
  border-color: var(--line);
}
.pc-stage {
  flex: 1;
  padding: 18px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,0,0,0.04), transparent 70%),
    var(--bg-light-2);
  position: relative;
  overflow: hidden;
}
.product-card.dark .pc-stage {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--accent), transparent 80%), transparent 70%),
    #0a0b0e;
}

/* ───────── Why us ───────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .why-grid { grid-template-columns: 1fr; } }

.why-cell {
  background: var(--bg);
  padding: 26px 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.why-cell .why-n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.why-cell h3 { font-size: 17px; letter-spacing: -0.015em; }
.why-cell p { color: var(--ink-3); font-size: 13px; line-height: 1.55; }

/* ───────── Contact ───────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.contact-grid-single .contact-right { border-left: 0; }

.contact-left {
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in oklab, var(--accent), transparent 78%), transparent 60%),
    var(--surface);
  display: flex; flex-direction: column; gap: 24px;
}
.contact-right {
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface-2);
  border-left: 1px solid var(--line);
}
@media (max-width: 880px) {
  .contact-right { border-left: 0; border-top: 1px solid var(--line); }
}

.contact-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 9px;
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border 0.15s, background 0.15s, box-shadow 0.15s;
}
.field select { color-scheme: dark; }
.field select option {
  background: var(--surface-2);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: color-mix(in oklab, var(--accent), white 10%);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(255,255,255,0.05);
}
.field textarea { min-height: 110px; resize: vertical; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .row-2 { grid-template-columns: 1fr; } }

.contact-meta {
  display: grid; gap: 14px;
  font-size: 14px;
}
.contact-meta .item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-meta .item:last-child { border-bottom: 0; }
.contact-meta .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: center;
}
.contact-meta .v { color: var(--ink); }

/* ───────── Footer ───────── */
.footer {
  background: #07080a;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding-top: 56px;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; }
.footer ul a { color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }

.footer-blurb { font-size: 13.5px; color: var(--ink-3); max-width: 360px; line-height: 1.55; margin-top: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
@media (max-width: 620px) { .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; } }

/* ───────── Hero device strip ───────── */
.hero-devices {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 16px;
  align-items: end;
}
@media (max-width: 880px) { .hero-devices { grid-template-columns: 1fr; } }

/* Icon helpers */
.svg-stroke { stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Mobile nav adjustments */
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ───────── Mockups ───────── */
.mk { font-family: var(--font-sans); }
.mk-mono { font-family: var(--font-mono); }

/* Phone */
.phone {
  width: 230px; aspect-ratio: 9/19.5;
  background: #0d0e12;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 8px;
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  background: #f6f6f3;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 18px; border-radius: 12px; background: #0d0e12;
  z-index: 2;
}
.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px 6px; font-size: 9px; font-weight: 600; color: #111;
  font-family: var(--font-sans);
}
.ph-body { flex: 1; padding: 14px 14px 0; overflow: hidden; }
.ph-greet { font-size: 8px; color: #888; letter-spacing: 0.04em; font-family: var(--font-mono); text-transform: uppercase; }
.ph-title { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #111; margin-top: 4px; }
.ph-balance {
  margin-top: 10px;
  background: linear-gradient(135deg, #0c0d10, #1a1d24);
  border-radius: 14px;
  padding: 12px;
  color: white;
  position: relative; overflow: hidden;
}
.ph-balance::after {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent 70%);
  opacity: 0.5;
}
.ph-balance .lbl { font-size: 8px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); }
.ph-balance .num { font-size: 18px; font-weight: 600; margin-top: 2px; letter-spacing: -0.02em; }
.ph-balance .sub { font-size: 8px; color: rgba(255,255,255,0.6); margin-top: 8px; display: flex; gap: 4px; align-items: center; }
.ph-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.ph-action { background: white; border-radius: 10px; padding: 8px 4px; text-align: center; font-size: 7px; color: #111; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.ph-action .d { width: 18px; height: 18px; border-radius: 6px; background: #f0efea; display: grid; place-items: center; }
.ph-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.ph-list .hd { font-size: 8px; color: #777; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); margin-bottom: 2px; }
.ph-tx { background: white; border-radius: 10px; padding: 8px; display: flex; align-items: center; gap: 8px; }
.ph-tx .av { width: 22px; height: 22px; border-radius: 7px; background: #eceae3; }
.ph-tx .nm { font-size: 9px; font-weight: 500; color: #111; }
.ph-tx .sb { font-size: 7.5px; color: #888; margin-top: 1px; }
.ph-tx .am { font-size: 9px; font-weight: 600; margin-left: auto; color: #111; }
.ph-tx .am.neg { color: #ad3a3a; }

/* Browser */
.browser {
  width: 100%; max-width: 720px;
  background: #f3f2ee;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.25);
}
.br-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #eaeae6;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.br-dots { display: flex; gap: 5px; }
.br-dot { width: 10px; height: 10px; border-radius: 50%; background: #d8d6cf; }
.br-url {
  flex: 1;
  height: 24px;
  border-radius: 6px;
  background: #fff;
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #555;
  border: 1px solid rgba(0,0,0,0.05);
}
.br-url .dot { width: 6px; height: 6px; border-radius: 50%; background: #41c46c; }
.br-body {
  background: #fff;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  min-height: 260px;
}
.br-side { display: flex; flex-direction: column; gap: 12px; border-right: 1px solid rgba(0,0,0,0.06); padding-right: 18px; }
.br-side .grp { font-size: 9px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); }
.br-side .item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #444; padding: 5px 8px; border-radius: 6px; }
.br-side .item.active { background: rgba(0,0,0,0.04); color: #111; font-weight: 500; }
.br-side .ic { width: 12px; height: 12px; border-radius: 3px; background: #ddd; }
.br-side .item.active .ic { background: var(--accent); }
.br-main h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #111; margin: 0 0 4px; font-family: var(--font-sans); }
.br-main .crumb { font-family: var(--font-mono); font-size: 10px; color: #888; }
.br-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.br-stat { padding: 12px; border: 1px solid rgba(0,0,0,0.08); border-radius: 8px; }
.br-stat .l { font-size: 9px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); }
.br-stat .v { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: #111; margin-top: 2px; }
.br-stat .d { font-size: 9px; color: #41a35c; font-family: var(--font-mono); margin-top: 2px; }
.br-chart {
  margin-top: 14px; height: 80px; border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent), transparent 92%), transparent 90%);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.br-chart svg { width: 100%; height: 100%; }

/* Dashboard / tool */
.dash {
  width: 100%;
  border-radius: 12px;
  background: #0c0d10;
  border: 1px solid rgba(255,255,255,0.07);
  color: #eaeaea;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}
.dash-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
}
.dash-hd .ttl { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.dash-hd .pill { font-family: var(--font-mono); font-size: 9px; padding: 3px 8px; border-radius: 999px; background: rgba(65,210,124,0.15); color: #6be59d; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-body { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-card { border: 1px solid rgba(255,255,255,0.06); border-radius: 9px; padding: 12px; background: rgba(255,255,255,0.02); }
.dash-card .l { font-family: var(--font-mono); font-size: 9px; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-card .v { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.dash-card .bars { display: flex; align-items: end; gap: 3px; height: 32px; margin-top: 8px; }
.dash-card .bars span { flex: 1; background: var(--accent); opacity: 0.7; border-radius: 2px; }

/* Game */
.game {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #2a1f47, transparent 50%),
    radial-gradient(circle at 80% 70%, #0e1b3a, transparent 60%),
    linear-gradient(180deg, #0a0d1c, #0a0a14);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}
.game-img { background: #0a0a0c; }
.game-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
