/* ==========================================================================
   Nuevo AI
   Ink, bone, chile red. Oversized type on a near black canvas.
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #0d0d0d;
  --panel: #121212;
  --panel-2: #171716;
  --bone: #f5f1e8;
  --dim: #a9a396;
  --dim-2: #6f6a5f;
  --red: #d8212b;
  --red-hot: #ef2b33;
  --green: #1d9a50;
  --line: rgba(245, 241, 232, 0.1);
  --line-2: rgba(245, 241, 232, 0.06);
  --max: 1160px;
  --pad: 22px;
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* ---------- brand lockup ---------- */

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--bone);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-top {
  display: block;
  font-size: 1em;
  line-height: 0.9;
  white-space: nowrap;
}

.brand-bottom {
  display: block;
  font-size: 2.05em;
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.chile {
  display: inline-block;
  height: 0.82em;
  width: auto;
  vertical-align: -0.03em;
  margin: 0 0.02em;
}

.chile-red {
  fill: var(--red);
}

.chile-green {
  fill: var(--green);
}

.chile-stem {
  fill: var(--green);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  position: relative;
  padding: 74px 0;
  border-top: 1px solid var(--line-2);
  overflow: hidden;
}

.section > .wrap {
  position: relative;
  z-index: 1;
}

.glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 120%;
  max-width: 1100px;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(216, 33, 43, 0.26), rgba(216, 33, 43, 0.06) 55%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.glow-low::before {
  top: auto;
  bottom: -45%;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

h3 {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

.r {
  color: var(--red);
}

.dim {
  color: var(--dim);
}

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--dim);
  text-wrap: pretty;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head .lede {
  margin-top: 18px;
  font-size: 17px;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

/* ---------- kicker ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.03);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bone);
  text-align: center;
  border-radius: 14px;
}

.kicker .mark {
  width: 11px;
  height: 13px;
  flex: 0 0 auto;
  background: url("/assets/chile.svg") no-repeat center / contain;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: var(--red-hot);
}

.btn:active {
  transform: translateY(1px);
}

.btn .arw {
  font-size: 1.15em;
  line-height: 1;
  margin-top: -1px;
}

.btn-bone {
  background: var(--bone);
  color: var(--ink);
}

.btn-bone:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(245, 241, 232, 0.22);
  color: var(--bone);
}

.btn-ghost:hover {
  background: rgba(245, 241, 232, 0.06);
  border-color: rgba(245, 241, 232, 0.36);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}

.cta-row .note {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--dim-2);
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar .brand {
  font-size: 19px;
}

.topbar .btn {
  padding: 11px 14px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 46px 0 64px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -340px;
  width: 1300px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(216, 33, 43, 0.3), rgba(216, 33, 43, 0.07) 55%, transparent 76%);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto;
}

.hero .lede {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 16.5px;
}

.hero-cta {
  margin-top: 26px;
}

/* hero footnote */

.hero-foot {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dim-2);
}

/* ---------- owner ---------- */

.section.owner {
  padding-top: 8px;
}

.owner-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.owner-copy h2 {
  margin-top: 14px;
}

.owner-lede {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.6;
}

.owner-lede + .owner-lede {
  margin-top: 12px;
}

.owner-copy .btn {
  margin-top: 26px;
}

.owner-photo {
  position: relative;
  margin: 0;
}

.owner-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0b0b;
  box-shadow: 0 40px 90px -50px #000;
}

.owner-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 5px rgba(8, 8, 8, 0.72), 0 18px 44px -12px #000;
}

.owner-badge img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}

@media (min-width: 700px) {
  .section.owner {
    padding-top: 30px;
  }

  .owner-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 48px;
  }

  .owner-photo {
    order: 2;
  }

  .owner-badge {
    width: 118px;
    height: 118px;
    right: -22px;
    bottom: 22px;
  }
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.card-tag .pip {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.card-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  min-height: 2.1em;
}

.card-body {
  margin-top: 14px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.55;
}

.card-body strong {
  color: var(--bone);
  font-weight: 700;
}

.card-foot {
  margin-top: auto;
  padding-top: 20px;
}

.card-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--dim);
  font-size: 15.5px;
}

.card-list li {
  display: flex;
  gap: 9px;
}

.card-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--red);
}

/* featured case study: his own business, with the receipts */

.case {
  padding: 24px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(216, 33, 43, 0.1), transparent 58%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.case-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-logo {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.case-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.case-brand-text strong {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.case-brand-text span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.case-flag {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(216, 33, 43, 0.38);
  border-radius: 999px;
  background: rgba(216, 33, 43, 0.1);
  color: var(--red-hot);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-title {
  max-width: 22ch;
  font-size: clamp(26px, 6.2vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line-2);
}

.case-stat {
  padding: 16px 14px;
  background: rgba(10, 10, 10, 0.5);
}

.case-stat b {
  display: block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.case-stat span {
  display: block;
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--dim-2);
}

.case-stamp {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--dim-2);
}

.case-stamp::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--green);
}

.case-cols {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.case-copy {
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.55;
}

.case-copy strong {
  color: var(--bone);
  font-weight: 700;
}

.case-cols .card-list {
  margin-top: 0;
  align-content: start;
}

/* wide open slot card */

.card-cta {
  gap: 22px;
}

.card-cta .card-title {
  min-height: 0;
}

.card-cta .card-body {
  max-width: 58ch;
}

.card-cta-action {
  display: flex;
  align-items: flex-end;
}

@media (min-width: 700px) {
  .card-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .card-cta-action {
    flex: 0 0 260px;
  }
}

/* placeholder frame for future video testimonials */

.slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border: 1px dashed rgba(245, 241, 232, 0.16);
  border-radius: 12px;
  background: rgba(245, 241, 232, 0.02);
  color: var(--dim-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.slot .dot-play {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot .dot-play svg {
  width: 11px;
  height: 11px;
  fill: var(--dim-2);
  margin-left: 1px;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-2);
}

.stat {
  padding: 30px 22px;
  background: var(--ink-2);
  text-align: center;
}

.stat-num {
  font-size: clamp(34px, 8vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim-2);
  line-height: 1.4;
}

/* ---------- tabs ---------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-2);
}

.tab {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.tab[aria-selected="true"] {
  background: var(--bone);
  color: var(--ink);
}

.tab-wrap {
  display: flex;
  justify-content: center;
}

.panel[hidden] {
  display: none;
}

.phases {
  display: grid;
  gap: 14px;
}

.phase {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.phase-when {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.phase h3 {
  margin-top: 10px;
  font-size: 22px;
}

.phase p {
  margin-top: 12px;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- team ---------- */

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.person {
  flex: 1 1 260px;
  max-width: 350px;
}

.person {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.person-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(216, 33, 43, 0.14), transparent 60%),
    linear-gradient(180deg, #161616, #0d0d0d);
  border-bottom: 1px solid var(--line-2);
  color: var(--dim-2);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.person-meta {
  padding: 18px 20px 22px;
}

.person-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.person-logo {
  width: 26px;
  height: 26px;
  margin-left: 6px;
  object-fit: contain;
  vertical-align: -5px;
}

.person-role {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.person-bio {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.5;
}

.person-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.person-proof b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.person-proof span {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim-2);
}

/* ---------- mission + values ---------- */

.mission {
  margin: 26px 0 0;
  padding: 24px;
  border-left: 2px solid var(--red);
  background: rgba(216, 33, 43, 0.06);
  border-radius: 0 12px 12px 0;
}

.mission-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.mission p {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

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

.value {
  flex: 1 1 100%;
}

.value {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.value-num {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--red);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}

.value h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.value p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.5;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--bone);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.faq-q:hover {
  background: rgba(245, 241, 232, 0.03);
}

.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.08);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--bone);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-a {
  padding: 0 20px 20px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}

.faq-a p + p {
  margin-top: 12px;
}

.faq-a strong {
  color: var(--bone);
  font-weight: 700;
}

/* ---------- guarantee ---------- */

.guarantee {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 26px;
  border: 1px solid rgba(216, 33, 43, 0.4);
  border-radius: 24px;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(216, 33, 43, 0.18), transparent 62%),
    linear-gradient(180deg, #141110, #0c0c0c);
  text-align: center;
  overflow: hidden;
}

.guarantee h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.guarantee .promise {
  max-width: 26ch;
  margin: 18px auto 0;
  font-size: clamp(19px, 2.6vw, 25px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.guarantee .fine {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dim-2);
}

/* ---------- fit list ---------- */

.fit {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.fit li {
  display: flex;
  gap: 11px;
  font-size: 15.5px;
  color: var(--dim);
  line-height: 1.45;
}

.fit li .tick {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(29, 154, 80, 0.16);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
}

/* dashboard mockup */

.dash {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #141414, #0c0c0c);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 1);
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 14px;
}

.dash-bar i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2c2c2c;
}

.dash-title {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(29, 154, 80, 0.14);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dash-live .pip {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-tile {
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #0f0f0f;
}

.dash-tile.wide {
  grid-column: 1 / -1;
}

.dash-k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.dash-v {
  margin-top: 6px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dash-v.green {
  color: var(--green);
}

.dash-v small {
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--dim-2);
  margin-left: 3px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
  margin-top: 12px;
}

.bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red), rgba(216, 33, 43, 0.35));
  height: 20%;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-in .bars i:nth-child(1) { height: 34%; transition-delay: 0.05s; }
.is-in .bars i:nth-child(2) { height: 48%; transition-delay: 0.1s; }
.is-in .bars i:nth-child(3) { height: 41%; transition-delay: 0.15s; }
.is-in .bars i:nth-child(4) { height: 62%; transition-delay: 0.2s; }
.is-in .bars i:nth-child(5) { height: 74%; transition-delay: 0.25s; }
.is-in .bars i:nth-child(6) { height: 88%; transition-delay: 0.3s; }
.is-in .bars i:nth-child(7) { height: 100%; transition-delay: 0.35s; }

/* ---------- footer ---------- */

.footer {
  padding: 44px 0 40px;
  border-top: 1px solid var(--line-2);
  background: #080808;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer .brand {
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-links a,
.footer-meta a {
  color: var(--dim);
  text-decoration: none;
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--bone);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: var(--dim);
}

.disclaimer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--dim-2);
  max-width: 78ch;
}

.copyright {
  margin-top: 16px;
  font-size: 11.5px;
  color: #4d4a43;
}

/* ---------- mobile action bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn {
  flex: 1;
  padding: 15px 12px;
  font-size: 11px;
}

.mobile-bar .btn-call {
  flex: 0 0 58px;
  padding: 0;
}

.mobile-bar .btn-call svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

body.has-bar {
  padding-bottom: 76px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 10px;
  background: #0c0c0c;
  color: var(--bone);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
}

.field textarea {
  min-height: 82px;
  resize: vertical;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23a9a396' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}

.field select:invalid {
  color: #6b655b;
}

.field select option {
  color: var(--bone);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(216, 33, 43, 0.75);
  box-shadow: 0 0 0 3px rgba(216, 33, 43, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #565149;
}

.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-note {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim-2);
}

.form-error {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 33, 43, 0.4);
  border-radius: 10px;
  background: rgba(216, 33, 43, 0.1);
  font-size: 12.5px;
  color: #f3c3c5;
}

.form-error.show {
  display: block;
}

/* ---------- booking section ---------- */

.book-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

.book-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(216, 33, 43, 0.08), transparent 58%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}

.book-side {
  display: grid;
  gap: 20px;
}

.book-fit {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.book-fit .fit {
  margin-top: 12px;
}

.booking {
  display: none;
}

.booking,
section[id] {
  scroll-margin-top: 96px;
}

.booking.show {
  display: block;
}

.booking-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 34ch;
}

.calendly-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0c0c;
  overflow: hidden;
}

.calendly-shell iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
}

.calendly-placeholder {
  padding: 26px 20px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
}

.calendly-placeholder code {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(245, 241, 232, 0.07);
  color: var(--bone);
  font-size: 11.5px;
}

/* form fields: 16px keeps iOS from zooming on focus, 50px is an easy tap */

.field input,
.field select,
.field textarea {
  font-size: 16px;
  min-height: 50px;
  padding: 14px;
}

.field textarea {
  min-height: 96px;
  line-height: 1.45;
}

.submit-wrap .btn {
  min-height: 56px;
}

@media (min-width: 700px) {
  .book-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 26px;
  }

  .book-card {
    padding: 30px;
  }

  .booking-title {
    font-size: 23px;
  }
}

/* ---------- legal pages ---------- */

.page-head {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line-2);
}

.page-head h1 {
  font-size: clamp(32px, 5vw, 50px);
  max-width: 22ch;
}

.page-head .lede {
  margin-top: 16px;
  max-width: 62ch;
}

.prose {
  padding: 40px 0 70px;
  max-width: 720px;
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.65;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.prose a {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: rgba(245, 241, 232, 0.3);
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--bone);
  font-weight: 700;
}

/* ---------- thank you ---------- */

.thanks {
  position: relative;
  padding: 44px 0 70px;
  overflow: hidden;
}

.thanks::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -320px;
  width: 1100px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(29, 154, 80, 0.18), transparent 72%);
  pointer-events: none;
}

.thanks > .wrap {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.thanks h1 {
  max-width: 20ch;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  font-size: 15.5px;
  color: var(--bone);
  line-height: 1.45;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
  padding-top: 3px;
}

.small-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.small-videos .slot {
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.1em;
  border-radius: 10px;
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .bars i {
    transition: none;
  }
  .dash-live .pip {
    animation: none;
  }
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */

@media (min-width: 700px) {
  :root {
    --pad: 32px;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 52px 0 76px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .card-wide {
    grid-column: 1 / -1;
  }

  .case {
    padding: 32px;
  }

  .case-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-cols {
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .phases {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .phase {
    padding: 26px;
  }

  .values {
    gap: 14px;
  }

  .value {
    flex: 0 1 calc(50% - 7px);
  }

  .value {
    padding: 22px;
  }

  .team {
    gap: 18px;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }

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

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1000px) {
  body {
    font-size: 17px;
  }

  .topbar {
    padding: 18px 0;
  }

  .topbar .brand {
    font-size: 22px;
  }

  .topbar .btn {
    padding: 13px 22px;
    font-size: 11px;
  }

  .hero {
    padding: 54px 0 88px;
  }

  .hero .lede {
    font-size: 18px;
    max-width: 660px;
  }

  .kicker {
    font-size: 10.5px;
    letter-spacing: 0.15em;
    border-radius: 999px;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .section-head .lede {
    font-size: 18px;
  }

  .section {
    padding: 112px 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card-wide {
    grid-column: 1 / -1;
  }

  .card {
    padding: 28px;
  }

  .value {
    flex: 0 1 calc(33.333% - 10px);
  }

  .guarantee {
    padding: 56px 48px;
  }

  .faq-q {
    padding: 20px 24px;
    font-size: 16px;
  }

  .faq-a {
    padding: 0 24px 22px;
  }

  .mobile-bar {
    display: none;
  }

  body.has-bar {
    padding-bottom: 0;
  }
}

/* hide the mobile bar on desktop even without JS */

@media (min-width: 1000px) {
  .mobile-bar {
    display: none;
  }
}

/* ---------- small additions ---------- */

.who-copy {
  max-width: 720px;
  margin: 0 auto;
}

.who-lede {
  font-size: 18px;
  line-height: 1.55;
}

.fit-lead {
  margin-top: 22px;
  font-weight: 700;
  color: var(--bone);
}

.submit-wrap {
  margin-top: 16px;
}

.footer-meta {
  margin-top: 16px;
}

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

.faq-q {
  list-style: none;
}

.faq-item[open] {
  background: var(--panel-2);
}

a.btn {
  text-decoration: none;
}

.person-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(245, 241, 232, 0.16);
  border-radius: 10px;
  pointer-events: none;
}

.person-photo:has(img)::after {
  display: none;
}

.person-photo img ~ span {
  display: none;
}

/* featured person: photo beside the bio */

@media (min-width: 700px) {
  .person-wide {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 840px;
  }

  .person-wide .person-photo {
    flex: 0 0 300px;
    aspect-ratio: 1 / 1;
    border-bottom: 0;
    border-right: 1px solid var(--line-2);
  }

  .person-wide .person-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
  }

  .person-wide .person-name {
    font-size: 26px;
  }

  .person-wide .person-bio {
    font-size: 15.5px;
    max-width: 46ch;
  }
}

.form-error.info {
  border-color: rgba(29, 154, 80, 0.4);
  background: rgba(29, 154, 80, 0.1);
  color: #cfe9d8;
}

.form-error a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
