/* Apura Work landing pages. Colors and type follow src/tokens.css; nothing here is shared with the portal at runtime. */
@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-display: swap;
  src: url("assets/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-display: swap;
  src: url("assets/poppins-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-display: swap;
  src: url("assets/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-display: swap;
  src: url("assets/poppins-700-latin.woff2") format("woff2");
}

.lp {
  --ink: #0e0e0f;
  --ink-soft: #1a181d;
  --ink-line: #2c2833;
  --on-ink: #f7f3fd;
  --on-ink-muted: #bdb6cb;
  --primary: #6a1fb7;
  --primary-hover: #551992;
  --primary-soft: #f2ebfa;
  --primary-border: #deccee;
  --lilac: #a885ff;
  --pink: #ff2d78;
  --text: #0e0e0f;
  --text-secondary: #54505e;
  --page: #f7f5fa;
  --surface: #ffffff;
  --surface-muted: #f7f3fd;
  --border: #ebe7f0;
  --success: #277746;
  --success-bg: #edf8f0;
  --warning: #85600e;
  --warning-bg: #fff8e8;
  --whatsapp: #128c4a;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
.lp *,
.lp *::before,
.lp *::after {
  box-sizing: border-box;
}
.lp h1,
.lp h2,
.lp h3,
.lp p,
.lp ul,
.lp ol {
  margin: 0;
  padding: 0;
}
.lp ul,
.lp ol {
  list-style: none;
}
.lp a {
  color: inherit;
  text-decoration: none;
}
.lp :focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px #128c4a40;
}
.btn-ghost {
  border-color: var(--ink-line);
  color: var(--on-ink);
}
.btn-ghost:hover {
  background: #ffffff10;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---- Header ---- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0e0e0fe6;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-ink);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand img {
  width: 44px;
  height: auto;
}
.audience {
  margin-left: auto;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  font-size: 13px;
  font-weight: 500;
}
.audience a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--on-ink-muted);
  white-space: nowrap;
}
.audience a[aria-current="page"] {
  background: var(--on-ink);
  color: var(--ink);
}
.top .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: none;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding: 72px 0 88px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero .for {
  font-size: 15px;
  color: var(--on-ink-muted);
}
.hero h1 {
  margin-top: 14px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
/* One phrase marked by hand, instead of a gradient. */
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C52 3.5 96 11 148 6.5S250 4 297 8' fill='none' stroke='%23ff2d78' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat 0 100% / 100% 0.22em;
  padding-bottom: 0.08em;
}
.hero .lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: 18px;
  color: var(--on-ink-muted);
}
.hero .actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* ---- Product mock (pure HTML, animated by site.js) ---- */
.mock {
  position: relative;
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  box-shadow:
    0 30px 70px #00000080,
    0 0 0 1px #ffffff14;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.6s ease;
}
.mock:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.mock-bar small {
  font-weight: 400;
  color: var(--text-secondary);
}
.chip {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--warning-bg);
  color: var(--warning);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.chip[data-tone="review"] {
  background: var(--primary-soft);
  color: var(--primary);
}
.chip[data-tone="ok"] {
  background: var(--success-bg);
  color: var(--success);
}
.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.grid th {
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  background: var(--surface-muted);
}
.grid td {
  padding: 9px 8px;
  text-align: center;
  border-top: 1px solid var(--border);
  height: 38px;
}
.grid th:first-child,
.grid td:first-child {
  text-align: left;
  padding-left: 18px;
  color: var(--text-secondary);
}
.grid td.total {
  font-weight: 600;
  color: var(--primary);
}
.grid td.filling {
  box-shadow: inset 0 0 0 2px var(--lilac);
  border-radius: 6px;
}
.mock-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}
.stat span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}
.stat b {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.accept-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.accept-list b {
  display: block;
  font-weight: 600;
}
.accept-list small {
  color: var(--text-secondary);
}
.accept-list .hours {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.accept {
  min-width: 92px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-border);
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.35s ease;
}
.accept[data-done] {
  background: var(--success-bg);
  border-color: transparent;
  color: var(--success);
}
.accept[data-press] {
  transform: scale(0.94);
  background: var(--primary-soft);
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 500;
}
.tabs span {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--surface-muted);
}
.tabs span[data-on] {
  background: var(--ink);
  color: var(--on-ink);
}
.tabs span.locked {
  opacity: 0.55;
  text-decoration: line-through;
}

/* ---- Sections ---- */
.section {
  padding: 88px 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  max-width: 44em;
  margin-bottom: 48px;
}
.section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-secondary);
}

/* The path of one hour: a line that fills as the page scrolls. */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.path::before,
.path-fill {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
}
.path-fill {
  right: auto;
  width: calc((100% - 48px) * var(--progress, 0));
  background: var(--primary);
  transition: width 0.25s linear;
}
.step {
  position: relative;
  padding-top: 64px;
}
.step .dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.4s ease;
}
.step[data-on] .dot {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
}
.step p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* A screen and what it solves, side by side, alternating. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.feature:nth-of-type(even) .shot {
  order: -1;
}
.feature h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.feature p {
  margin-top: 12px;
  color: var(--text-secondary);
}
.shot {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px #33204f12;
  overflow: hidden;
  font-size: 13px;
}
.shot header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.shot header small {
  font-weight: 400;
  color: var(--text-secondary);
}
.shot li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
}
.shot li:first-child {
  border-top: 0;
}
.shot li > :first-child {
  flex: 1;
  min-width: 0;
}
.shot b {
  font-weight: 600;
}
.shot li small {
  display: block;
  color: var(--text-secondary);
}
.shot .num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.shot .chip {
  margin: 0;
}
.shot .muted {
  opacity: 0.45;
}
.bars li {
  display: grid;
  grid-template-columns: 92px 1fr auto;
}
.bars i {
  height: 10px;
  border-radius: 5px;
  background: var(--primary);
  width: var(--w);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bars li:nth-child(2) i {
  background: var(--lilac);
}
.bars li:nth-child(3) i {
  background: var(--ink);
}
.motion .reveal:not([data-in]) .bars i {
  transform: scaleX(0);
}
.log li {
  align-items: flex-start;
}
.log time {
  flex: none !important;
  width: 86px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.field {
  margin: 14px 16px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.field + .field {
  margin-top: -4px;
}
.field em {
  font-style: normal;
  font-weight: 600;
  color: var(--success);
}
.field.no em {
  color: #ad3645;
}

/* The rest of the product, as plain text. */
.also {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.also dt {
  font-weight: 600;
}
.also dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.compare th {
  padding: 0 0 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.compare td {
  width: 50%;
  padding: 16px 24px 16px 0;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.compare td:first-child {
  color: var(--text-secondary);
}
.compare td:last-child {
  font-weight: 500;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.trust b {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.trust p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}
.trust li {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.cta {
  padding: 80px 0;
  background: var(--ink);
  color: var(--on-ink);
}
.cta h2 {
  max-width: 18em;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.cta p {
  margin-top: 16px;
  max-width: 36em;
  color: var(--on-ink-muted);
  font-size: 17px;
}
.cta .actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.foot {
  padding: 28px 0;
  background: var(--ink);
  color: var(--on-ink-muted);
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.foot a:hover {
  color: var(--on-ink);
}

/* ---- Entrance on scroll ---- */
/* Hidden only once site.js is running, so the page reads fine without it. */
.reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.motion .reveal[data-in] {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 64px;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mock,
  .mock:hover {
    transform: none;
  }
  .section {
    padding: 64px 0;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }
  .feature:nth-of-type(even) .shot {
    order: 0;
  }
  .also {
    grid-template-columns: 1fr 1fr;
  }
  .top .btn {
    display: none;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  /* The path turns into a vertical timeline. */
  .path {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .path::before,
  .path-fill {
    top: 24px;
    bottom: 24px;
    left: 22px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .path-fill {
    bottom: auto;
    height: calc((100% - 48px) * var(--progress, 0));
    width: 3px;
    background: var(--primary);
    transition: height 0.25s linear;
  }
  .step {
    padding: 0 0 0 68px;
    min-height: 48px;
  }
}
@media (max-width: 620px) {
  .top .wrap {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px;
  }
  .also {
    grid-template-columns: 1fr;
  }
  .compare td {
    font-size: 15px;
    padding-right: 14px;
  }
  .audience a {
    padding: 7px 11px;
  }
  .hero .btn {
    width: 100%;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .grid th:nth-child(4),
  .grid td:nth-child(4),
  .grid th:nth-child(5),
  .grid td:nth-child(5) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion .reveal {
    opacity: 1;
    transform: none;
  }
}
