/* ================================================================================== */
/*  Allerem landing — precision instrument.                                           */
/*  Near-black canvas, hairline borders, brand gradient green→blue, mono for data.    */
/* ================================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* palette */
  --bg: #0a0b0e;
  --bg-raise: #0f1116;
  --bg-panel: #12141a;
  --line: rgba(237, 239, 242, 0.08);
  --line-strong: rgba(237, 239, 242, 0.14);
  --text: #f4f6f8;
  --text-2: #9ba3b5;
  --text-3: #626b80;
  --green: #7fda58;
  --green-deep: #57c02a;
  --blue: #1890ff;
  --grad: linear-gradient(92deg, #7fda58 0%, #4fc6a0 55%, #1890ff 100%);

  /* type */
  --font: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Roboto Mono", monospace;

  /* layout */
  --container: 1120px;
  --nav-h: 64px;
  --r: 14px;
  --r-sm: 9px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(127, 218, 88, 0.28);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 768px;
}

/* film grain over everything, barely there */
.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared bits ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text-sm {
  font-weight: 700;
  font-size: 13px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.section {
  padding: 118px 0;
}

.section--alt {
  background:
    radial-gradient(58% 44% at 50% 0%, rgba(24, 144, 255, 0.05), transparent 70%),
    var(--bg-raise);
  border-block: 1px solid var(--line);
}

.section__sub {
  max-width: 620px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 17px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.chip--green {
  color: var(--green);
  border-color: rgba(127, 218, 88, 0.35);
  background: rgba(127, 218, 88, 0.08);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn--lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15.5px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--text);
  color: #0c0e12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px -12px rgba(127, 218, 88, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 32px -12px rgba(127, 218, 88, 0.6);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: rgba(237, 239, 242, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.nav__links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.nav__actions .btn {
  height: 36px;
  padding: 0 15px;
  font-size: 13.5px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__mobile a:not(.btn) {
  padding: 11px 4px;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}

.nav__mobile .btn {
  margin-top: 10px;
}

.nav.is-open .nav__mobile {
  display: flex;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 92px) 0 84px;
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 30% 24%, rgba(87, 192, 42, 0.16), transparent 70%),
    radial-gradient(34% 44% at 72% 16%, rgba(24, 144, 255, 0.14), transparent 70%),
    radial-gradient(26% 34% at 52% 42%, rgba(79, 198, 160, 0.1), transparent 70%);
  filter: blur(48px);
  animation: aurora 14s ease-in-out infinite alternate;
}

@keyframes aurora {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 2%, 0) scale(1.05);
  }
}

.hero__grid {
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(58% 62% at 50% 12%, rgba(0, 0, 0, 0.5), transparent 78%);
  -webkit-mask-image: radial-gradient(58% 62% at 50% 12%, rgba(0, 0, 0, 0.5), transparent 78%);
}

.hero__content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 99px;
  border: 1px solid rgba(127, 218, 88, 0.28);
  background: rgba(127, 218, 88, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero__badge:hover {
  border-color: rgba(127, 218, 88, 0.5);
  background: rgba(127, 218, 88, 0.1);
}

.hero__badge svg {
  color: var(--text-3);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(127, 218, 88, 0.9);
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0.45;
  }
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__sub {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(16px, 2vw, 18.5px);
  color: var(--text-2);
}

.hero__cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__note {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

/* ---------- mockup ---------- */
.mockup {
  position: relative;
  margin-top: 72px;
  perspective: 1400px;
}

.mockup__glow {
  position: absolute;
  inset: 8% -4% -12%;
  background:
    radial-gradient(50% 55% at 30% 55%, rgba(87, 192, 42, 0.2), transparent 70%),
    radial-gradient(50% 55% at 74% 45%, rgba(24, 144, 255, 0.18), transparent 70%);
  filter: blur(52px);
  z-index: 0;
}

.mockup__window {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #14161c, #0e1015);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 90px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: rotateX(5deg) scale(0.995);
  transform-origin: 50% 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.mockup:hover .mockup__window {
  transform: rotateX(0deg) scale(1);
}

.mockup__titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0.85;
}

.tl--r { background: #ff5f57; }
.tl--y { background: #febc2e; }
.tl--g { background: #28c840; }

.mockup__url {
  margin-inline: auto;
  padding: 4px 14px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}

.mockup__body {
  display: grid;
  grid-template-columns: 208px 1fr;
  min-height: 380px;
}

.mockup__side {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  background: rgba(0, 0, 0, 0.18);
}

.mockup__org {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
}

.mockup__org-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--grad);
  color: #0a0b0e;
  font-size: 11px;
  font-weight: 700;
}

.mockup__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.mi {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}

.mi::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.mi--active {
  color: var(--text);
  background: rgba(127, 218, 88, 0.1);
}

.mi--active::before {
  background: var(--green);
  opacity: 1;
}

.mockup__main {
  padding: 18px 20px;
}

.mockup__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mockup__h {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* timesheet grid */
.tsheet {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}

.tsheet__row {
  display: grid;
  grid-template-columns: 1.9fr repeat(5, 1fr) 1.1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.tsheet__row:last-child {
  border-bottom: 0;
}

.tsheet__row > span {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  border-right: 1px solid var(--line);
  min-height: 36px;
}

.tsheet__row > span:last-child {
  border-right: 0;
  justify-content: flex-end;
}

.tsheet__row--head {
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.tsheet__row--head > span {
  color: var(--text-3);
  justify-content: center;
}

.tsheet__row--head > span:first-child {
  justify-content: flex-start;
}

.tsheet__row .cell {
  justify-content: center;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.cell.c1 { background: rgba(127, 218, 88, 0.06); color: #b9e8a4; }
.cell.c2 { background: rgba(127, 218, 88, 0.13); color: #c9f0b6; }
.cell.c3 { background: rgba(127, 218, 88, 0.22); color: #dcf7cd; }

.tsheet__row .num {
  justify-content: flex-end;
  color: var(--text-2);
}

.tsheet__row--total {
  background: rgba(255, 255, 255, 0.03);
}

.tsheet__row--total > span:first-child {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.tsheet__row--total .num {
  justify-content: center;
  color: var(--text);
}

.tsheet__row--total .num--strong {
  justify-content: flex-end;
  color: var(--green);
  font-weight: 700;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 2.5px;
  flex-shrink: 0;
}

.dot--blue { background: var(--blue); }
.dot--green { background: var(--green); }
.dot--amber { background: #febc2e; }

/* floating cards */
.float {
  position: absolute;
  z-index: 2;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 20, 26, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.7);
  padding: 13px 16px;
  animation: floaty 7s ease-in-out infinite;
}

.float__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.float--timer {
  top: -26px;
  right: 4.5%;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: 0.8s;
}

.float__time {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-top: 2px;
}

.float__stop {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 95, 87, 0.5);
  background: rgba(255, 95, 87, 0.12);
  position: relative;
}

.float__stop::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  background: #ff5f57;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 1.6s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 218, 88, 0.55);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(127, 218, 88, 0);
  }
}

.float--report {
  bottom: 34px;
  left: -14px;
  width: 250px;
  animation-delay: 0.3s;
}

.float--invoice {
  bottom: -30px;
  right: 6%;
  width: 232px;
  animation-delay: 1.6s;
}

.float__rows {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--text-2);
}

.float__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--text-2);
}

.float__total b {
  font-family: var(--mono);
  font-size: 17px;
  color: var(--green);
  letter-spacing: 0.01em;
}

.float__foot {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* trust strip */
.strip {
  margin-top: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.strip li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.strip li:hover {
  color: var(--green);
  border-color: rgba(127, 218, 88, 0.4);
}

/* ---------- bento ---------- */
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.004));
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(127, 218, 88, 0.45), rgba(24, 144, 255, 0.35) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.75);
}

.card:hover::before {
  opacity: 1;
}

.card--l {
  grid-column: span 3;
}

.card__viz {
  min-height: 172px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card__viz--center {
  align-items: center;
  justify-content: center;
}

.card__viz--end {
  align-items: flex-end;
}

.card__title {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card__text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
}

/* viz: week grid */
.viz-grid {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.viz-grid__head,
.vrow {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 6px;
  align-items: center;
}

.viz-grid__head span {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-align: center;
}

.viz-grid__head span:first-child {
  text-align: left;
}

.viz-grid__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.vname {
  height: 7px;
  border-radius: 4px;
  background: rgba(237, 239, 242, 0.12);
  width: 72%;
}

.h {
  height: 22px;
  border-radius: 5px;
  background: rgba(237, 239, 242, 0.045);
}

.h1x { background: rgba(127, 218, 88, 0.14); }
.h2x { background: rgba(127, 218, 88, 0.3); }
.h3x { background: rgba(127, 218, 88, 0.5); }

.viz-grid__total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.viz-grid__total b {
  color: var(--green);
}

/* viz: report */
.viz-report {
  width: 100%;
  display: flex;
  justify-content: center;
}

.viz-report__doc {
  width: min(320px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(180deg, #171a21, #10131a);
  padding: 16px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
}

.card:hover .viz-report__doc {
  transform: rotate(0deg);
}

.viz-report__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.viz-report__line {
  height: 7px;
  border-radius: 4px;
  background: rgba(237, 239, 242, 0.1);
  margin-bottom: 7px;
}

.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

.viz-report__group {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 11px 0 8px;
}

.viz-report__total {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.viz-report__total b {
  font-size: 19px;
  color: var(--green);
  letter-spacing: 0;
}

/* viz: timer */
.viz-timer {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(127, 218, 88, 0.3);
  background: rgba(127, 218, 88, 0.06);
  padding: 16px 24px;
  border-radius: 99px;
}

.viz-timer__time {
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* viz: invoice */
.viz-invoice {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  padding: 14px 16px;
  font-size: 12.5px;
}

.viz-invoice__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 10px;
}

.viz-invoice__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}

.viz-invoice__row .num {
  color: var(--text);
}

.viz-invoice__row--total {
  border-top: 1px dashed var(--line-strong);
  font-weight: 700;
  color: var(--text);
}

.viz-invoice__row--total .num {
  color: var(--green);
}

/* viz: bars */
.viz-bars {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 4px;
}

.viz-bars i {
  flex: 1;
  height: var(--v);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(127, 218, 88, 0.55), rgba(127, 218, 88, 0.12));
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.viz-bars i.up {
  background: linear-gradient(180deg, #7fda58, rgba(127, 218, 88, 0.25));
  box-shadow: 0 0 22px rgba(127, 218, 88, 0.35);
}

.card:hover .viz-bars i {
  transform: scaleY(1.04);
}

/* viz: people */
.viz-people {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viz-people__row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  padding: 11px 13px;
}

.viz-people__row > div {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.viz-people__row b {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.viz-people__row div span {
  font-size: 11.5px;
  color: var(--text-3);
  font-family: var(--mono);
}

.ava {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--a) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 45%, transparent);
  color: var(--a);
  font-weight: 700;
  font-size: 14px;
}

/* extras */
.extras {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.extras__item {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.extras__item:last-child {
  border-right: 0;
}

.extras__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.extras__item p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---------- flow ---------- */
.flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}

.flow__step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.flow__step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.flow__step:last-child::after {
  display: none;
}

.flow__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.flow__step h3 {
  margin-top: 12px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.flow__step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
}

/* migrate */
.migrate {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 40px;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(87, 192, 42, 0.07), transparent 60%),
    var(--bg-panel);
}

.migrate__text h3 {
  font-size: 25px;
  letter-spacing: -0.02em;
}

.migrate__text p {
  margin: 12px 0 22px;
  color: var(--text-2);
  font-size: 15px;
}

.migrate__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  align-content: center;
}

.migrate__list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--text-2);
}

.migrate__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M4.2 7.8 6.6 10l4.2-5' stroke='%237fda58' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat,
    rgba(127, 218, 88, 0.1);
  border: 1px solid rgba(127, 218, 88, 0.35);
}

/* ---------- pricing ---------- */
.plans {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.plan:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.plan--featured {
  border-color: rgba(127, 218, 88, 0.45);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(127, 218, 88, 0.09), transparent 70%),
    var(--bg-panel);
  box-shadow: 0 24px 60px -30px rgba(87, 192, 42, 0.4);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 99px;
  background: var(--grad);
  color: #08110a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.plan h3 {
  font-size: 15px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.plan__price {
  margin-top: 14px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan__price span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-3);
  margin-left: 6px;
}

.plan__for {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-3);
}

.plan ul {
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-2);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(127, 218, 88, 0.7);
}

/* ---------- faq ---------- */
.faq {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--text-2);
  transition: transform 0.25s ease;
}

.faq__icon::before {
  width: 9px;
  height: 1.4px;
}

.faq__icon::after {
  width: 1.4px;
  height: 9px;
}

.faq details[open] .faq__icon::after {
  transform: rotate(90deg);
}

.faq details p {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--text-2);
  max-width: 62ch;
}

/* ---------- cta ---------- */
.cta {
  position: relative;
  padding: 130px 0 140px;
  overflow: hidden;
  text-align: center;
}

.cta__aurora {
  position: absolute;
  inset: auto -10% -55%;
  height: 560px;
  background:
    radial-gradient(42% 55% at 38% 50%, rgba(87, 192, 42, 0.2), transparent 70%),
    radial-gradient(42% 55% at 64% 55%, rgba(24, 144, 255, 0.16), transparent 70%);
  filter: blur(56px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
}

.cta p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.cta__btns {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 36px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-3);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .card,
  .card--l {
    grid-column: span 1;
  }

  .float--report {
    left: 8px;
  }
}

@media (max-width: 900px) {
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .section {
    padding: 88px 0;
  }

  .mockup__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mockup__side {
    display: none;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow__step::after {
    display: none;
  }

  .migrate {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .plan--featured {
    order: -1;
  }

  .extras {
    grid-template-columns: 1fr;
  }

  .extras__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .extras__item:last-child {
    border-bottom: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

  .hero {
    padding-top: calc(var(--nav-h) + 64px);
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 12px;
    text-align: left;
  }

  .float--timer {
    position: static;
    margin: 14px auto 0;
    width: fit-content;
    animation: none;
  }

  .float--report,
  .float--invoice {
    display: none;
  }

  .mockup {
    margin-top: 48px;
  }

  .strip {
    margin-top: 64px;
  }

  .tsheet__row {
    grid-template-columns: 1.6fr repeat(5, 1fr) 1fr;
    font-size: 10.5px;
  }

  .tsheet__row > span {
    padding: 7px 6px;
  }
}
