:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #f2f2f2;
  --red: #cc2900;
  --text-muted: #4a4a4a;
  --text-on-black-muted: #bdbdbd;
  --gutter: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  border-left: 2px solid var(--black);
  border-right: 2px solid var(--black);
}

.label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.display {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--black);
  border-color: var(--black);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--gutter);
  background: var(--white);
  border-bottom: 2px solid var(--black);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.wordmark::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links a:not(.btn):hover {
  color: var(--red);
}

.nav .btn {
  padding: 12px 20px;
  font-size: 14px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-bottom: 2px solid var(--black);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: 80px var(--gutter);
  border-right: 2px solid var(--black);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 0.95;
}

.hero-sub {
  max-width: 560px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.schedule {
  display: flex;
  flex-direction: column;
  background: var(--gray);
}

.schedule-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 40px;
  border-bottom: 2px solid var(--black);
}

.schedule-rows {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.schedule-rows li {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  padding: 24px 40px;
  border-bottom: 2px solid var(--black);
}

.day {
  display: flex;
  flex-direction: column;
  width: 72px;
  flex-shrink: 0;
}

.day small {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.day b {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.schedule-rows h3 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.schedule-rows p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-muted);
}

.schedule-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--black);
  color: var(--white);
}

.schedule-foot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Promise band */
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
}

.promises li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px var(--gutter);
  border-right: 2px solid var(--text-muted);
}

.promises li:last-child {
  border-right: 0;
}

.promises h2 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.promises p {
  color: var(--text-on-black-muted);
}

/* Section scaffolding */
.section {
  border-bottom: 2px solid var(--black);
}

.section-gray {
  background: var(--gray);
}

.section-head {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 24px;
  padding: 96px var(--gutter) 64px;
}

.section-head h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}

.section-head .lede {
  margin-top: 20px;
  max-width: 600px;
  font-size: 18px;
  color: var(--text-muted);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
}

.services > li {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 56px var(--gutter);
  border-right: 2px solid var(--black);
}

.services > li:last-child {
  border-right: 0;
}

.services h3 {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.services .intro {
  min-height: 130px;
}

.services .intro p {
  font-size: 17px;
  color: var(--text-muted);
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--black);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checklist-red li::before {
  background: var(--red);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--black);
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 40px;
  border-right: 2px solid var(--black);
}

.steps li:last-child {
  border-right: 0;
}

.steps b {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--red);
}

.steps h3 {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.steps p {
  color: var(--text-muted);
}

/* Example builds */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 var(--gutter) 96px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--black);
}

.tile {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--gray);
  border-bottom: 2px solid var(--black);
}

.tile-black {
  background: var(--black);
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

/* Tile 1: booking calendar */
.mock {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border: 2px solid var(--black);
}

.mock-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 2px solid var(--black);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.slots span {
  padding: 9px 0;
  border: 1px solid var(--black);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.slots .pick {
  animation: pick 7.5s infinite;
}

.slots .p2 {
  animation-delay: 2.5s;
}

.slots .p3 {
  animation-delay: 5s;
}

@keyframes pick {
  0%, 4% { background: var(--white); color: var(--black); border-color: var(--black); }
  8%, 30% { background: var(--red); color: var(--white); border-color: var(--red); }
  34%, 100% { background: var(--white); color: var(--black); border-color: var(--black); }
}

/* Tile 2: stock chart */
.tile-stock {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: 24px 28px 0;
  color: var(--white);
}

.stock-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stock-head .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stock-head .live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s infinite;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 170px;
}

.bars i {
  flex: 1;
  background: var(--white);
  transform-origin: bottom;
  animation: bar 3.2s ease-in-out infinite alternate;
}

.bars i:nth-child(1) { height: 45%; animation-delay: -0.4s; }
.bars i:nth-child(2) { height: 70%; animation-delay: -1.9s; }
.bars i:nth-child(3) { height: 55%; animation-delay: -1.1s; }
.bars i:nth-child(4) { height: 95%; animation-delay: -2.6s; background: var(--red); }
.bars i:nth-child(5) { height: 60%; animation-delay: -0.8s; }
.bars i:nth-child(6) { height: 80%; animation-delay: -2.2s; }

@keyframes bar {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

/* Tile 3: support chat */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border: 2px solid var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.bubble-in {
  align-self: flex-start;
  background: var(--white);
  animation: chat-in 9s infinite;
}

.reply {
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
  max-width: 85%;
}

.bubble-out {
  max-width: 100%;
  background: var(--black);
  color: var(--white);
  animation: chat-out 9s infinite;
}

.typing {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 5px;
  padding: 14px;
  background: var(--black);
  opacity: 0;
  animation: chat-typing 9s infinite;
}

.typing i {
  width: 6px;
  height: 6px;
  background: var(--white);
  animation: dot 0.9s infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-in {
  0% { opacity: 0; transform: translateY(8px); }
  4%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes chat-typing {
  0%, 10% { opacity: 0; }
  13%, 33% { opacity: 1; }
  36%, 100% { opacity: 0; }
}

@keyframes chat-out {
  0%, 36% { opacity: 0; transform: translateY(8px); }
  40%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

@keyframes dot {
  0%, 60%, 100% { transform: none; }
  30% { transform: translateY(-4px); }
}

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

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
}

.card-body .label {
  font-size: 13px;
}

.card-body h3 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.card-body p {
  color: var(--text-muted);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0 var(--gutter);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  background: var(--white);
  border: 2px solid var(--black);
}

.plan-featured {
  border-width: 4px;
}

.plan .price {
  display: block;
  margin: 16px 0;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.plan .time {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--red);
}

.plan .btn {
  margin-top: auto;
}

.audit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 32px var(--gutter) 96px;
  padding: 28px 40px;
  background: var(--black);
  color: var(--white);
}

.audit h3 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.audit p {
  margin-top: 6px;
  color: var(--text-on-black-muted);
}

.audit a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.audit a:hover {
  color: var(--red);
}

.audit svg {
  width: 20px;
  height: 20px;
}

/* Questions */
.questions {
  display: grid;
  grid-template-columns: 5fr 7fr;
}

.questions-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 96px var(--gutter);
  border-right: 2px solid var(--black);
}

.questions-head h2 {
  font-size: clamp(40px, 4.6vw, 64px);
}

.faq {
  padding: 72px var(--gutter);
}

.faq details {
  border-bottom: 2px solid var(--black);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  max-width: 600px;
  padding-bottom: 28px;
  color: var(--text-muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  padding: 112px var(--gutter);
  background: var(--black);
  color: var(--white);
}

.contact h2 {
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.95;
}

.contact .lede {
  margin-top: 24px;
  max-width: 560px;
  font-size: 20px;
  color: var(--text-on-black-muted);
}

.contact .alt {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-on-black-muted);
}

.contact .alt a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--white);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form ::placeholder {
  color: #8f8f8f;
}

.form .hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  font-size: 15px;
  color: var(--text-on-black-muted);
}

.form-status.ok {
  color: var(--white);
  font-weight: 700;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px var(--gutter);
}

.footer .wordmark {
  font-size: 15px;
}

.footer .wordmark::before {
  width: 16px;
  height: 16px;
}

.footer p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer nav {
  display: flex;
  gap: 32px;
}

.footer nav a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer nav a:hover {
  color: var(--red);
}

/* Tablet */
@media (max-width: 1080px) {
  :root {
    --gutter: 40px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero,
  .questions,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .questions-head {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .questions-head {
    padding-bottom: 48px;
  }

  .services,
  .plans,
  .cards {
    grid-template-columns: 1fr;
  }

  .services > li {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .services > li:last-child {
    border-bottom: 0;
  }

  .services .intro {
    min-height: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li:nth-child(2n) {
    border-right: 0;
  }

  .steps li:nth-child(-n + 2) {
    border-bottom: 2px solid var(--black);
  }

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

  .promises li {
    border-right: 0;
    border-bottom: 2px solid var(--text-muted);
  }

  .promises li:last-child {
    border-bottom: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .audit {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Phone */
@media (max-width: 600px) {
  :root {
    --gutter: 20px;
  }

  .page {
    border-left: 0;
    border-right: 0;
  }

  .nav {
    height: 64px;
  }

  html {
    scroll-padding-top: 64px;
  }

  .hero-copy {
    padding-top: 56px;
    padding-bottom: 56px;
    gap: 40px;
  }

  .hero-sub,
  .contact .lede {
    font-size: 18px;
  }

  .actions .btn {
    width: 100%;
  }

  .schedule-head,
  .schedule-rows li,
  .schedule-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .schedule-head {
    flex-direction: column;
    gap: 4px;
  }

  .day {
    width: 60px;
  }

  .day b {
    font-size: 40px;
  }

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

  .steps li {
    border-right: 0;
    border-bottom: 2px solid var(--black);
    padding: 40px 20px;
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .plan {
    padding: 28px 20px;
  }

  .audit {
    padding: 24px 20px;
  }

  .faq {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .faq summary {
    font-size: 19px;
  }

  .contact {
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 48px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

/* ---------- Motion and texture layer ---------- */

:root {
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Faint drawing-board grid so open space reads as deliberate */
.hero-copy,
.section-gray {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Headline: each word rises out of its own mask on load */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0;
  margin: -0.06em 0;
}

.hero h1 .w > span {
  display: inline-block;
}

.js .hero h1 .w > span {
  transform: translateY(115%);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 90ms + 120ms);
}

@keyframes rise {
  to { transform: none; }
}

.js .hero .fade {
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Self-playing build schedule */
.schedule-progress {
  height: 8px;
  border-bottom: 2px solid var(--black);
  background: var(--white);
}

.schedule-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 0.6s var(--ease-out);
}

.schedule-rows li {
  transition: background 0.35s, color 0.35s;
}

.schedule-rows li p,
.schedule-rows li small {
  transition: color 0.35s;
}

.schedule-rows li::after {
  content: "";
  width: 22px;
  height: 22px;
  margin-left: auto;
  flex-shrink: 0;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}

.schedule-rows li.is-done::after {
  opacity: 1;
}

.schedule-rows li.is-active {
  background: var(--black);
  color: var(--white);
}

.schedule-rows li.is-active p,
.schedule-rows li.is-active small {
  color: var(--text-on-black-muted);
}

.schedule-rows li.is-active::after {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
  opacity: 1;
  -webkit-mask: none;
  mask: none;
  animation: pulse 1s infinite;
}

/* Marquee band */
.marquee {
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  border-bottom: 2px solid var(--black);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track > span {
  display: flex;
  flex-shrink: 0;
}

.marquee b {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0 18px 28px;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.marquee b::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--white);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Reveal on scroll: JS adds .reveal, then .in when the element enters view */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

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

/* Hover feedback */
.card,
.plan {
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn svg,
.audit a svg,
.steps b {
  transition: transform 0.2s var(--ease-out);
}

.services > li {
  transition: background 0.2s;
}

.nav-links a:not(.btn) {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

@media (hover: hover) {
  .card:hover,
  .plan:hover {
    transform: translate(-6px, -6px);
    box-shadow: 6px 6px 0 var(--black);
  }

  .plan-featured:hover {
    box-shadow: 6px 6px 0 var(--red);
  }

  .btn:hover svg {
    transform: translate(3px, -3px);
  }

  .audit a:hover svg {
    transform: translateX(5px);
  }

  .services > li:hover {
    background: var(--gray);
  }

  .steps li:hover b {
    transform: translateX(8px);
  }

  .nav-links a:not(.btn):hover::after {
    transform: scaleX(1);
  }
}

@media (max-width: 600px) {
  .marquee b {
    font-size: 20px;
    gap: 20px;
    padding: 14px 0 14px 20px;
  }

  .tile {
    padding: 20px;
  }

  .tile-stock {
    padding: 20px 20px 0;
  }
}

/* Visitors who ask for less motion get the finished state with nothing moving */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .hero h1 .w > span {
    transform: none;
  }

  .js .hero .fade,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Language toggle ---------- */
.lang {
  display: inline-flex;
  border: 2px solid var(--black);
}

.nav-links .lang a.lang-link {
  display: inline-flex;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav-links .lang a.lang-link::after {
  display: none;
}

html[lang="en"] .lang a.lang-link[hreflang="en"],
html[lang="es"] .lang a.lang-link[hreflang="es"] {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 10px;
  }

  .nav .wordmark {
    font-size: 15px;
    gap: 8px;
  }

  .nav .wordmark::before {
    width: 16px;
    height: 16px;
  }

  .nav .btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .nav-links .lang a.lang-link {
    padding: 7px 8px;
    font-size: 12px;
  }
}

/* Spanish service names wrap to two lines; keep the three checklists aligned */
@media (min-width: 1081px) {
  html[lang="es"] .services .intro {
    min-height: 170px;
  }
}

/* Packages without prices: the name carries the card */
.plan .plan-name {
  margin-bottom: 14px;
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

@media (min-width: 1081px) {
  .plan > div:first-child {
    min-height: 124px;
  }
}

@media (min-width: 1081px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plan .plan-name {
    font-size: clamp(26px, 2.4vw, 34px);
  }
}

/* ---------- Koma Dev wordmark: KOMA large, "dev" small ---------- */
.wordmark .wm {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
}

.wordmark .wm small {
  font-size: 0.6em;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--red);
}

/* ---------- Logo mark: the K built from a bar and a chevron ---------- */
.wordmark::before,
.footer .wordmark::before {
  width: 28px;
  height: 28px;
  background: url("/logo-mark.svg") center / contain no-repeat;
}

.footer .wordmark::before {
  width: 22px;
  height: 22px;
}

@media (max-width: 600px) {
  .nav .wordmark::before {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 600px) {
  .nav .wordmark {
    font-size: 17px;
  }

  .wordmark .wm small {
    font-size: 0.72em;
  }
}
