/* Cubicle Technologies website — one stylesheet for every page.
   Colours and sizes follow the Cubicle brand book (Brand Book/Design System/tokens.css).
   Change a token here and it updates everywhere. */

/* Fonts are served from our own domain (latin subsets from Google Fonts, SIL Open Font License),
   so the first paint doesn't wait on another server. Inter and Bebas Neue are preloaded in each page. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/bebas-neue-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-700-latin.woff2) format("woff2"); }

:root {
  --navy: #111827;
  --navy-2: #182132;
  --navy-3: #1e2a3d;
  --night: #07090d;
  --paper: #f6f8f1;
  --panel: #ffffff;
  --panel-2: #f8faf3;
  --line: #e1e7d6;
  --line-dark: rgba(255, 255, 255, 0.09);
  --text: #12160d;
  --text-2: #343c2a;
  --muted: #5b6450;
  --on-dark: #eef3fa;
  --on-dark-2: #c3cddb;
  --on-dark-muted: #8b96a8;
  --accent: #9eff00;
  --accent-hover: #b2ff36;
  --accent-ink: #0d1117;
  --accent-text: #3f6212;
  --accent-soft: rgba(158, 255, 0, 0.18);
  --accent-soft-dark: rgba(158, 255, 0, 0.12);
  --whatsapp: #128c4a;
  /* Cube colours: logo, charts and small markers only */
  --cube-blue: #2a7cc8;
  --cube-orange: #f0992f;
  --cube-green: #78c46f;
  --cube-purple: #aa2793;
  --cube-sky: #2aa4da;
  --cube-rust: #c7462f;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bebas Neue", "Inter", sans-serif;

  --radius-btn: 11px;
  --radius-tile: 14px;
  --radius-panel: 16px;
  --radius-card: 18px;
  --radius-big: 26px;
  --shadow-card: 0 24px 60px -36px rgba(45, 70, 10, 0.35);
  --shadow-primary: 0 10px 26px -12px rgba(132, 204, 22, 0.85);
  --shadow-float: 0 40px 90px -40px rgba(0, 0, 0, 0.75);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.tabular { font-variant-numeric: tabular-nums; }

/* Placeholder marker: anything wrapped in .ph is temporary content to replace */
.ph {
  background: repeating-linear-gradient(-45deg, rgba(240, 153, 47, 0.14) 0 6px, rgba(240, 153, 47, 0.06) 6px 12px);
  border: 1px dashed rgba(240, 153, 47, 0.7);
  border-radius: 6px;
  padding: 0 6px;
  font-style: normal;
}

/* ---------- Text roles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text);
}
.dark .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.display {
  font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase;
  line-height: 0.95;
}
.h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6vw, 64px); line-height: 0.95; letter-spacing: 0.01em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 60ch; }
.dark .lead { color: var(--on-dark-2); }
.lime { color: var(--accent); }
.olive { color: var(--accent-text); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: var(--radius-btn); border: 1px solid transparent;
  font: 600 15px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.dark .btn--ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.2); }
.dark .btn--ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.04); }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.dark .link-arrow { color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  color: var(--on-dark);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); background: rgba(17, 24, 39, 0.97); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--on-dark-2); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--on-dark); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--navy); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.25s, visibility 0.25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav .btn { display: inline-flex; margin-top: 12px; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }
@media (max-width: 420px) { .brand img { height: 44px; } }

/* ---------- Dark sections & hero ---------- */
.dark { background: var(--navy); color: var(--on-dark); }
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -320px; top: -420px;
  background: radial-gradient(closest-side, rgba(158, 255, 0, 0.22), transparent 70%);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(170, 39, 147, 0.16), transparent 70%);
}
@keyframes glow { to { transform: translate(80px, 60px) scale(1.1); } }

/* Brand graphic: cube's rounded stripes at 30°, bleeding off the edge */
.stripes { position: absolute; z-index: -1; pointer-events: none; inset: 0; overflow: hidden; }
.stripes i {
  position: absolute; display: block; height: 22px; border-radius: 999px;
  transform: rotate(-30deg); transform-origin: left center; opacity: 0.14;
  animation: drift 14s ease-in-out infinite alternate;
}
.stripes i:nth-child(1) { width: 520px; right: -140px; top: 18%; background: var(--accent); }
.stripes i:nth-child(2) { width: 420px; right: -150px; top: 26%; background: var(--cube-sky); animation-delay: -3s; }
.stripes i:nth-child(3) { width: 600px; right: -260px; top: 34%; background: var(--cube-blue); animation-delay: -6s; }
.stripes i:nth-child(4) { width: 380px; right: -180px; top: 82%; background: var(--cube-orange); animation-delay: -9s; }
@keyframes drift { to { translate: -40px 20px; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-title { font-size: clamp(52px, 7vw, 92px); }
.hero-title .line { display: block; }
.hero-note { font-size: 14px; color: var(--on-dark-muted); display: flex; gap: 8px; align-items: center; }
.hero-note .i { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Illustrative POS screen ---------- */
.mock {
  position: relative; border-radius: var(--radius-big);
  background: linear-gradient(180deg, #1b2537, #141c2b);
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-float);
  padding: 18px; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 900px) { .mock { transform: none; } }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.mock-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.mock-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.mock-panel { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); border-radius: var(--radius-panel); padding: 14px; }
.mock-scan { display: flex; align-items: center; gap: 10px; background: rgba(7, 9, 13, 0.6); border: 1px solid var(--line-dark); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 12px; }
.mock-scan .i { width: 16px; height: 16px; color: var(--accent); }
.mock-scan .caret { width: 2px; height: 14px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-lines { display: grid; gap: 8px; min-height: 196px; align-content: start; }
.mock-line {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 13px;
  padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04);
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s var(--ease);
}
.mock-line.in { opacity: 1; transform: none; }
.mock-line small { display: block; color: var(--on-dark-muted); font-size: 11px; }
.mock-line b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mock-total { display: grid; gap: 10px; }
.mock-total .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-muted); }
.mock-total .amt { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.mock-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-pay span { text-align: center; font-size: 12px; padding: 8px; border-radius: 10px; border: 1px solid var(--line-dark); color: var(--on-dark-2); }
.mock-pay span.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft-dark); }
.mock-btn { text-align: center; font-weight: 600; font-size: 14px; padding: 12px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); }
.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.mock-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(158, 255, 0, 0.25); height: 20%; transition: height 1s var(--ease); }
.mock-bars i:last-child { background: var(--accent); }
.mock-toast {
  position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px 10px 10px; font-size: 13px; font-weight: 600;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.4s, transform 0.4s var(--ease);
}
.mock-toast.in { opacity: 1; transform: none; }
.mock-toast .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--whatsapp); color: #fff; }
.mock-toast small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.mock-caption { margin-top: 12px; font-size: 12px; color: var(--on-dark-muted); text-align: right; }
.section--panel .mock-caption { color: var(--muted); }
@media (max-width: 520px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-toast { left: 8px; bottom: -14px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Trust strip (facts only) */
.facts { border-top: 1px solid var(--line-dark); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; gap: 12px; align-items: center; padding: 22px 18px; font-size: 14px; color: var(--on-dark-2); border-left: 1px solid var(--line-dark); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts .i { color: var(--accent); }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .facts ul { grid-template-columns: 1fr; } .facts li { padding: 14px 0; } }

/* Product cards */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.p-card {
  position: relative; display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-big);
  background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: inherit; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #cfd9bd; }
.p-card--featured {
  grid-row: span 2; background: var(--navy); color: var(--on-dark); border-color: var(--navy);
  padding: clamp(28px, 4vw, 44px);
}
.p-card--featured:hover { border-color: var(--accent); box-shadow: 0 40px 80px -40px rgba(17, 24, 39, 0.8); }
.p-card--featured::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -220px; z-index: 0;
  background: radial-gradient(closest-side, rgba(158, 255, 0, 0.2), transparent 70%); transition: transform 0.6s var(--ease);
}
.p-card--featured:hover::after { transform: scale(1.2); }
.p-card > * { position: relative; z-index: 1; }
.p-badge { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.lockup { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 54px); line-height: 0.9; letter-spacing: 0.01em; display: flex; align-items: center; gap: 12px; }
.lockup img { width: 52px; height: 52px; }
.lockup .w { color: var(--accent-text); }
.p-card--featured .lockup .w, .dark .lockup .w { color: var(--accent); }
.p-card p { color: var(--muted); }
.p-card--featured p { color: var(--on-dark-2); }
.p-list { display: grid; gap: 10px; font-size: 15px; }
.p-list li { display: flex; gap: 10px; align-items: flex-start; }
.p-list .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-text); }
.p-card--featured .p-list .i, .dark .p-list .i { color: var(--accent); }
.p-card .link-arrow { margin-top: 6px; }
@media (max-width: 860px) { .products-grid { grid-template-columns: 1fr; } .p-card--featured { grid-row: auto; } }

/* Feature tabs */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.tab-list { display: grid; gap: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
.tab-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: var(--radius-tile); border: 1px solid transparent; background: transparent;
  font: 600 15px/1.3 var(--font-sans); color: var(--muted); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tab-btn .tile { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); transition: background 0.25s, color 0.25s; flex: none; }
.tab-btn .tile .i { width: 18px; height: 18px; }
.tab-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.6); }
.tab-btn[aria-selected="true"] { background: var(--panel); border-color: var(--line); color: var(--text); box-shadow: var(--shadow-card); }
.tab-btn[aria-selected="true"] .tile { background: var(--accent); color: var(--accent-ink); }
.tab-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-big); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-card); }
.tab-panel[hidden] { display: none; }
.tab-panel.enter { animation: rise 0.45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.tab-panel h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 10px; }
.tab-panel > p { color: var(--muted); margin-bottom: 24px; max-width: 58ch; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { padding: 18px; border-radius: var(--radius-tile); background: var(--panel-2); border: 1px solid var(--line); }
.feat h4 { font-size: 15px; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.feat h4 .i { width: 18px; height: 18px; color: var(--accent-text); }
.feat p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { width: auto; flex: none; padding: 10px 14px; }
  .tab-btn .tile { width: 30px; height: 30px; }
}
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-card); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.025); transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: rgba(158, 255, 0, 0.45); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--accent); display: block; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--on-dark-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy { display: grid; gap: 18px; }
.about-copy p { color: var(--text-2); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value { padding: 22px; border-radius: var(--radius-card); background: var(--panel); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value .tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 14px; }
.value h3 { font-size: 16px; margin-bottom: 6px; }
.value p { font-size: 14px; color: var(--muted); }
.about-meta { display: grid; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 6px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .values { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-big); padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; top: -300px; background: radial-gradient(closest-side, rgba(158, 255, 0, 0.2), transparent 70%); }
.cta-band h2 { font-size: clamp(38px, 5vw, 58px); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-tile); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease); }
a.contact-item:hover { border-color: var(--accent-text); transform: translateX(4px); }
.contact-item .tile { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.contact-item small { display: block; font-size: 12px; color: var(--muted); }
.contact-item strong { font-weight: 600; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-big); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-card); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font: 400 15px/1.4 var(--font-sans); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(158, 255, 0, 0.38); }
.field .err { font-size: 13px; color: #b91c1c; min-height: 0; }
.field.invalid input { border-color: #b91c1c; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Product page */
.p-hero h1 { font-size: clamp(56px, 9vw, 112px); }
.p-hero .lockup-img { width: 72px; height: 72px; }
.p-hero-head { display: flex; align-items: center; gap: 16px; }
.crumbs { font-size: 14px; color: var(--on-dark-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.f-card { padding: 24px; border-radius: var(--radius-card); background: var(--panel); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.f-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: #cfd9bd; }
.f-card .tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.f-card:hover .tile { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.f-card h3 { font-size: 17px; margin-bottom: 6px; }
.f-card p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-3 { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-tile); background: #fff4e0; border: 1px solid #ecc58a; color: #8a4b08; font-size: 14px; }
.notice .i { margin-top: 2px; }
.f-card--link { display: grid; align-content: start; text-decoration: none; color: inherit; }
.f-card--link .link-arrow { margin-top: 14px; font-size: 15px; }

/* Industry and guide pages: readable text blocks */
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p, .prose li { color: var(--text-2); }
.prose h2:not(.h2) { font-size: clamp(22px, 2.6vw, 28px); margin-top: 18px; }
.prose h3 { font-size: 18px; margin-top: 8px; }
.prose ul:not(.p-list), .prose ol { display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent-text); font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-tile); transition: border-color 0.25s; }
.faq details[open] { border-color: #cfd9bd; box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 20px; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); display: grid; gap: 10px; }
.faq details a { color: var(--accent-text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-2); padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h2 { color: var(--on-dark); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-dark-2); transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 56px; width: auto; margin-left: -10px; }
.footer-brand p { margin-top: 12px; max-width: 34ch; color: var(--on-dark-muted); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-dark-muted); font-size: 13px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whatsapp); color: #fff;
  box-shadow: 0 16px 34px -12px rgba(18, 140, 74, 0.8);
  transform: scale(0); transition: transform 0.4s var(--ease);
}
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Video reels (vertical 9:16 ads) ---------- */
.reels-section { overflow: hidden; isolation: isolate; }
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(24px, 5vw, 56px); }
.reel { margin: 0; display: grid; gap: 16px; align-content: start; }
.reel-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000;
  border: 6px solid #22262d; box-shadow: var(--shadow-float), 0 0 0 1px var(--line-dark);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reel:hover .reel-frame { transform: translateY(-6px); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; padding-left: 4px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(158, 255, 0, .55), 0 14px 30px -10px rgba(0,0,0,.7);
  animation: reel-pulse 2.2s ease-out infinite; transition: transform .2s var(--ease);
}
.reel-play:hover { transform: scale(1.08); }
@keyframes reel-pulse { 0% { box-shadow: 0 0 0 0 rgba(158,255,0,.5), 0 14px 30px -10px rgba(0,0,0,.7); } 100% { box-shadow: 0 0 0 22px rgba(158,255,0,0), 0 14px 30px -10px rgba(0,0,0,.7); } }
.reel-dur { position: absolute; right: 14px; top: 14px; padding: 3px 9px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.reel-frame.playing .reel-play, .reel-frame.playing .reel-dur { display: none; }
.reel figcaption { display: grid; gap: 6px; }
.reel figcaption b { font-size: 18px; color: var(--on-dark); }
.reel figcaption > span { color: var(--on-dark-2); font-size: 15px; }
.reel details { font-size: 14px; color: var(--on-dark-muted); }
.reel summary { cursor: pointer; color: var(--accent); font-weight: 600; width: max-content; }
.reel details ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
@media (max-width: 640px) { .reels { grid-template-columns: minmax(0, 320px); } }
