/* =========================================================================
   Acey Ignacio – Franchise Operations Coaching
   styles.css

   How this file is organised (read top to bottom):
   1. Design tokens  – every color, font and size lives in :root. Change a value
      here and the whole site updates. Dark mode redefines only the colors.
   2. Base           – resets and default element styles.
   3. Layout         – .wrap, sections, grids.
   4. Components     – header, buttons, cards, ledger, steps, FAQ, form, footer.
   5. Motion         – optional, only runs if the browser supports it and the
      visitor has not asked for reduced motion.

   Layout idea: an "operator's ledger". Mono-spaced figures with dotted
   leaders, a deep petrol band for proof, and one amber accent for actions.
   ========================================================================= */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:
    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* light palette */
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-2: #e8edeb;
  --fg: #12242b;
  --muted: #4b5f67;
  --line: #ccd6d3;
  --link: #0f4c5c;
  --band-bg: #0f3a47;
  --band-fg: #eaf1ef;
  --band-muted: #b4c6cb;
  --accent: #e9a820;
  --accent-fg: #1a1403;
  --focus: #0f4c5c;

  --wrap: 76rem;
  --radius: 4px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1317;
    --surface: #101d24;
    --surface-2: #15272f;
    --fg: #e6eeec;
    --muted: #9db1b7;
    --line: #243a42;
    --link: #7fcbdc;
    --band-bg: #0e2b35;
    --band-fg: #eaf1ef;
    --band-muted: #a9bec4;
    --accent: #f2b632;
    --accent-fg: #1a1403;
    --focus: #f2b632;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0a1317;
  --surface: #101d24;
  --surface-2: #15272f;
  --fg: #e6eeec;
  --muted: #9db1b7;
  --line: #243a42;
  --link: #7fcbdc;
  --band-bg: #0e2b35;
  --band-fg: #eaf1ef;
  --band-muted: #a9bec4;
  --accent: #f2b632;
  --accent-fg: #1a1403;
  --focus: #f2b632;
  color-scheme: dark;
}

/* 2. BASE ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.25rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

p {
  margin: 0;
  text-wrap: pretty;
  max-width: 65ch;
}
ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}
li + li {
  margin-top: 0.4rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.6rem 1rem;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* 3. LAYOUT -------------------------------------------------------------- */
/* .wrap centres content and keeps a safe side gutter on every phone. */
.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section.band + .section,
.section + .section.band {
  border-top: 0;
}

.band {
  background: var(--band-bg);
  color: var(--band-fg);
}
.band a {
  color: var(--accent);
}
.band :focus-visible {
  outline-color: var(--accent);
}
.band .muted {
  color: var(--band-muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 1rem);
}
.muted {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.band .eyebrow {
  color: var(--band-muted);
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
}
.band .lede {
  color: var(--band-muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

/* Responsive card grids use container queries: the grid reacts to the space it
   is given, not to the screen size. */
.cards {
  container-type: inline-size;
}
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@container (min-width: 42rem) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (min-width: 66rem) {
  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .split.even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 4. COMPONENTS ---------------------------------------------------------- */

/* Header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-header;
}
.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--fg);
  margin-right: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav li + li {
  margin-top: 0;
}
.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  border-bottom-color: var(--line);
}
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}
.site-nav a.btn {
  border-bottom-width: 2px;
}

.icon-btn,
.nav-toggle {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding-inline: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover,
.nav-toggle:hover {
  border-color: var(--fg);
}
.nav-toggle {
  display: none;
}

@media (max-width: 68rem) {
  .js .nav-toggle {
    display: inline-flex;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1rem max(16px, env(safe-area-inset-right, 0px)) 1.5rem
      max(16px, env(safe-area-inset-left, 0px));
  }
  .js .site-nav[data-open="true"] {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .site-nav a {
    display: block;
    padding-block: 0.7rem;
  }
  .site-nav a.btn {
    display: inline-flex;
    margin-top: 0.5rem;
  }
}
@media (max-width: 68rem) {
  .site-nav ul {
    flex-wrap: wrap;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 86%, black);
  border-color: color-mix(in srgb, var(--accent) 86%, black);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.band .btn-primary,
.band .btn-primary:hover {
  color: var(--accent-fg);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 1.1rem + 3.8vw, 3.5rem);
  max-width: 22ch;
}

/* Ledger: the signature element. A list of figures with dotted leaders. */
.ledger {
  background: var(--band-bg);
  color: var(--band-fg);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.ledger h2 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--band-muted);
  margin-bottom: 1.1rem;
}
.ledger dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.ledger .row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.ledger dt {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.ledger dt::after {
  content: "";
  flex: 1;
  min-width: 1rem;
  border-bottom: 1px dotted var(--band-muted);
  transform: translateY(-0.3em);
}
.ledger dd {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ledger .note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--band-muted);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card h3 a:hover {
  text-decoration: underline;
}
.card .more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
}
.card ul {
  color: var(--muted);
}
.card.flat {
  background: transparent;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Stats */
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}
.band .stat span {
  color: var(--band-muted);
}
.stats {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 56rem) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Steps: a real sequence, so it is numbered. */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .steps.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .steps.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.steps li {
  counter-increment: step;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}
.steps li::before {
  content: "Step " counter(step);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.band .steps li::before {
  color: var(--band-muted);
}
.steps h3 {
  font-size: 1.15rem;
}

/* Tables (results ledger) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 40rem;
  font-size: 0.98rem;
}
th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface-2);
}
tr:last-child td {
  border-bottom: 0;
}
td.fig {
  font-family: var(--font-mono);
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Callout */
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.callout strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Monogram block used on the About page in place of a photo */
.monogram {
  aspect-ratio: 4 / 5;
  max-width: 22rem;
  width: 100%;
  background: var(--band-bg);
  color: var(--accent);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem);
  letter-spacing: -0.05em;
}

/* Timeline (dates are the information) */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.timeline li {
  margin: 0;
  display: grid;
  gap: 0.35rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .timeline li {
    grid-template-columns: 11rem minmax(0, 1fr);
  }
}
.timeline time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}
.timeline h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

/* Form */
form {
  display: grid;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
label {
  font-weight: 600;
  font-size: 0.95rem;
}
input,
select,
textarea {
  font: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  width: 100%;
  min-height: 3rem;
}
textarea {
  min-height: 9rem;
  resize: vertical;
}
.form-result {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mono-box {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  overflow-wrap: anywhere;
  user-select: all;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.fineprint {
  margin-top: 2.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 70ch;
}

/* 5. MOTION -------------------------------------------------------------- */
/* Cross-page transitions: supported browsers fade between pages. */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none;
  }
}

/* Scroll-driven reveal: runs on the browser's compositor, no JavaScript. Content
   is always readable; it only eases in as it enters the screen. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes rise {
      from {
        opacity: 0.3;
        translate: 0 1.25rem;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }
  }
}

/* Self-check (business-coaching.html) */
fieldset.checks {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.checks legend {
  padding: 0;
  margin-bottom: 0.75rem;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.55rem;
  border-top: 1px solid var(--line);
}
.check input {
  width: 1.35rem;
  height: 1.35rem;
  min-height: 0;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--accent);
}
.check label {
  font-weight: 500;
  cursor: pointer;
}

/* Fixes from the screenshot review */
.ledger a {
  color: var(--accent);
}
.ledger :focus-visible {
  outline-color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes rise {
      from {
        opacity: 0.6;
        translate: 0 1rem;
      }
      to {
        opacity: 1;
        translate: 0 0;
      }
    }
  }
}

.site-nav a.btn {
  font-weight: 700;
  font-size: 1rem;
}

/* ---- Subtle experience + free guide additions ---- */
.proofline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  max-width: none;
}
.stats.quiet {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  gap: 1.25rem 2rem;
}
.stats.quiet .stat b {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--link);
}
.stats.quiet .stat span {
  font-size: 0.88rem;
}
[hidden] {
  display: none !important;
}
/* ---- Headshot ---- */
.avatar {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  background: var(--surface);
  flex: none;
}
.avatar-lg {
  width: clamp(9rem, 30vw, 12.5rem);
  height: auto;
  border-width: 3px;
}
.proofrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.proofrow .proofline {
  border: 0;
  padding: 0;
  margin: 0;
}

/* ---- Hero path card ---- */
.path-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid;
  gap: 1rem;
}
.path-card h2 {
  font-size: 1.5rem;
}
.path-card ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.path-card li::marker {
  color: var(--accent-ink, var(--link));
  font-weight: 700;
}

/* ---- pricing page ---- */

/* Big price numbers: "$499  one time" */
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
}
.price .amt {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}
.price .per {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Checkmark lists ("What you get"). The check is drawn with CSS borders,
   so no image file is needed. */
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(-45deg) translateY(-0.15em);
}

/* The four-step path at the top of the page */
.price-path {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: none;
}
.price-path li {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-path h3 {
  font-size: 1.15rem;
}
.price-path p {
  margin: 0;
}
.step-no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.step-price {
  margin-top: auto !important;
  padding-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

/* The three coaching cards. "featured" adds the amber border and the
   "Most popular" badge to the middle card. */
.tiers {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tier .btn {
  margin-top: auto;
  align-self: flex-start;
}
.tier.featured {
  border: 2px solid var(--accent);
}
.tier-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.25rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.tier-rhythm {
  margin: 0;
}

/* Layout changes with screen width: 1 column on phones, 2 path steps and
   3 coaching cards on tablets, 4 path steps on wide screens. */
@media (min-width: 48rem) {
  .price-path {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 70rem) {
  .price-path {
    grid-template-columns: repeat(4, 1fr);
  }
}
