/* Billabox — warm, welcoming CRM site.
   Sections: tokens, reset, typography, layout, buttons, header/nav, hero,
   strip, cards, features, pricing, quotes, stats, faq, cta, footer. */

/* ---------- tokens ---------- */
:root {
  --bg: #fffaf3;
  --surface: #ffffff;
  --surface-tint: #fff3e7;
  --ink: #2a1d18;
  --ink-muted: #6b5a52;
  --line: #f0e0d1;
  --line-strong: #e4cdb8;

  --brand: #d9480f;
  --brand-hover: #b83b0b;
  --brand-ink: #b23c0c;
  --brand-soft: #ffe7d5;
  --on-brand: #ffffff;

  --accent: #0f766e;
  --accent-soft: #dbf2ee;
  --amber: #b96b00;
  --amber-soft: #ffeecd;

  /* CTA band glow/shade — kept in the orange family on purpose */
  --cta-glow: #ffb15c;
  --cta-shade: #7a2708;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(70, 38, 20, 0.06), 0 2px 8px rgba(70, 38, 20, 0.05);
  --shadow: 0 2px 4px rgba(70, 38, 20, 0.05), 0 12px 28px rgba(70, 38, 20, 0.08);
  --shadow-lg: 0 4px 8px rgba(70, 38, 20, 0.06), 0 24px 60px rgba(70, 38, 20, 0.14);

  --font-body:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial,
    sans-serif;
  --font-display:
    'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Times New Roman',
    serif;

  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191210;
    --surface: #241b18;
    --surface-tint: #1f1613;
    --ink: #f8ece4;
    --ink-muted: #c2ac9f;
    --line: #3a2b25;
    --line-strong: #4a372f;

    --brand: #ff8a5b;
    --brand-hover: #ffa176;
    --brand-ink: #ffa176;
    --brand-soft: #3d2219;
    --on-brand: #241b18;

    --accent: #5ec8b8;
    --accent-soft: #14322e;
    --amber: #f0b357;
    --amber-soft: #35271446;

    --cta-glow: #ffd2a6;
    --cta-shade: #c2410c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 16px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.45), 0 28px 60px rgba(0, 0, 0, 0.5);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}
svg.icon {
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-hover);
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: var(--on-brand);
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: 760px;
}

.section {
  padding-block: var(--section-y);
}
.section--tinted {
  background: var(--surface-tint);
}
.section--pull-up {
  padding-top: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 620px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid {
    gap: 1.5rem;
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.section-head__text {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  margin: 0;
}

.center-text {
  text-align: center;
  margin-top: 2rem;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-soft);
  padding-bottom: 2px;
}
.link-arrow:hover {
  border-bottom-color: currentColor;
}

.prose {
  max-width: 42rem;
  margin-inline: auto;
}
.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-top: 2.5rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover {
  color: var(--ink);
  border-color: var(--brand);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  min-height: 52px;
  font-size: 1.0625rem;
}
.btn--block {
  width: 100%;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  flex: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  flex: none;
}
.logo__mark {
  display: block;
  line-height: 0;
}
.logo__mark svg {
  border-radius: 9px;
}
.logo__word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.site-header__collapse {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.nav-item > a:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.nav-item > a[aria-current='page'] {
  color: var(--brand-ink);
  background: var(--brand-soft);
}
.nav-item__chevron {
  transition: transform 0.15s ease;
}
.nav-item.has-children:hover .nav-item__chevron,
.nav-item.has-children:focus-within .nav-item__chevron {
  transform: rotate(180deg);
}

.nav-sublist {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  list-style: none;
  padding: 0.4rem;
  /* The air under the parent link is a transparent top border, not an offset:
     it belongs to the panel's own box, so hover survives the trip down. */
  border: 1px solid var(--line);
  border-top: 0.4rem solid transparent;
  background: var(--surface);
  background-clip: padding-box;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.nav-item.has-children:hover .nav-sublist,
.nav-item.has-children:focus-within .nav-sublist {
  display: block;
}
.nav-sublist a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  text-decoration: none;
}
.nav-sublist a:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.nav-sublist a[aria-current='page'] {
  color: var(--brand-ink);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 4px;
}
.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header__row {
    justify-content: space-between;
  }
  .site-header__collapse {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 1.25rem;
  }
  .site-header.is-open .site-header__collapse {
    display: flex;
  }
  .site-header.is-open {
    border-bottom-color: var(--line);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .nav-item > a {
    padding: 0.75rem 0.9rem;
  }
  .nav-sublist {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.25rem 1.25rem;
  }
  .nav-item__chevron {
    display: none;
  }
  .site-header__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .site-header__actions .btn {
    width: 100%;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(60rem 30rem at 15% -10%, var(--brand-soft), transparent 65%),
    radial-gradient(46rem 28rem at 95% 0%, var(--accent-soft), transparent 60%);
}
.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin-bottom: 1rem;
}
.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.hero__reassurance li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__reassurance .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* Photo hero (landing pages). The image URL is passed in from the template as
   --hero-photo / --hero-photo-lg, since published site assets live outside
   src/assets and so can't be referenced from this file. A dark scrim carries the
   copy: on mobile the text sits straight over the photo, from 960px it leans left
   and the image is allowed to breathe on the right, behind the mock. */
.hero--photo {
  background-color: #150e0a;
  background-image:
    linear-gradient(180deg, rgba(21, 14, 10, 0.9) 0%, rgba(21, 14, 10, 0.76) 55%, rgba(21, 14, 10, 0.84) 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  color: #fdf5ee;
}
@media (min-width: 960px) {
  .hero--photo {
    background-image:
      linear-gradient(
        100deg,
        rgba(21, 14, 10, 0.93) 0%,
        rgba(21, 14, 10, 0.82) 40%,
        rgba(21, 14, 10, 0.45) 72%,
        rgba(21, 14, 10, 0.3) 100%
      ),
      var(--hero-photo-lg, var(--hero-photo));
  }
}
.hero--photo .eyebrow {
  color: #ffc39c;
}
.hero--photo h1 {
  color: #fffaf5;
  text-shadow: 0 1px 24px rgba(21, 14, 10, 0.45);
}
.hero--photo .hero__lead {
  color: rgba(253, 245, 238, 0.88);
}
.hero--photo .hero__reassurance {
  color: rgba(253, 245, 238, 0.82);
}
.hero--photo .hero__reassurance .icon {
  color: #7fd8c8;
}
.hero--photo .btn--ghost {
  color: #fffaf5;
  border-color: rgba(255, 250, 245, 0.55);
}
.hero--photo .btn--ghost:hover {
  background: rgba(255, 250, 245, 0.16);
  color: #fffaf5;
}
.hero--photo :focus-visible {
  outline-color: #7fd8c8;
}

/* hero mock: a hand-drawn pipeline, pure markup */
.hero__visual {
  position: relative;
}
.mock {
  position: relative;
  /* Mocken har egen ljus yta, så den sätter sin egen textfärg i stället för att
     ärva hero-sektionens — .hero--photo tvingar annars in ljus text här. */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  rotate: -1.2deg;
}
.mock__bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-tint);
}
.mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock__bar span:first-child {
  background: var(--brand);
  opacity: 0.7;
}

.mock__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 1rem;
}
.mock__coltitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mock__coltitle span {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-radius: var(--r-pill);
  padding: 0 0.4rem;
  font-size: 0.7rem;
}
.mock__card {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
}
.mock__card strong {
  font-weight: 600;
}
.mock__card span {
  color: var(--ink-muted);
  font-size: 0.75rem;
}
.mock__card--warm {
  border-left-color: var(--amber);
}
.mock__card--won {
  border-left-color: var(--accent);
}

.mock__toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem 1.1rem;
  padding: 0.7rem 0.9rem;
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 500;
}
.mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- logo strip ---------- */
.strip {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-block: 1px solid var(--line);
}
.strip__label {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink-muted);
}

/* ---------- cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  flex: none;
}
.card__title {
  font-size: 1.1875rem;
  margin: 0;
}
.card__text {
  color: var(--ink-muted);
  margin: 0;
}
.card__meta {
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin: 0;
}

.card--link {
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  color: inherit;
  border-color: var(--brand);
}
.card--link .card__text {
  color: var(--brand-ink);
  font-weight: 600;
}

.card--step {
  position: relative;
}
.card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* ---------- page head ---------- */
.page-head {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(48rem 24rem at 20% -30%, var(--brand-soft), transparent 65%),
    radial-gradient(40rem 22rem at 90% -20%, var(--accent-soft), transparent 60%);
  text-align: center;
}
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-head__lead {
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  color: var(--ink-muted);
  margin: 0 auto;
  max-width: 40rem;
}
.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

/* ---------- feature rows ---------- */
.feature-rows {
  display: grid;
  gap: 1.25rem;
}
.feature-row {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 820px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.feature-row h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}
.feature-row p {
  color: var(--ink-muted);
  margin: 0;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.checklist .icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.25rem;
  color: var(--accent);
}

/* ---------- pricing ---------- */
.tier {
  --tier-pad: clamp(1.5rem, 3.5vw, 2rem);
  --tier-badge-row: 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Every tier reserves the badge row, badged or not, so the names and prices
     line up across the row. */
  padding: calc(var(--tier-pad) + var(--tier-badge-row)) var(--tier-pad) var(--tier-pad);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.tier--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.tier__badge {
  /* Out of flow: in flow it would push the featured tier's name down. */
  position: absolute;
  top: var(--tier-pad);
  left: var(--tier-pad);
  margin: 0;
  padding: 0.2rem 0.7rem;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier__name {
  font-size: 1.25rem;
  margin: 0;
}
.tier__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
}
.tier__period {
  color: var(--ink-muted);
  font-size: 0.875rem;
  margin: 0;
}
.tier__description {
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
}
.tier__features {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
}
.tier__features .icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--accent);
}
.tier .btn {
  margin-top: auto;
}

/* ---------- quotes ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.45;
}
.quote blockquote::before {
  content: '”';
  color: var(--brand);
  margin-right: 0.1em;
}
.quote__by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.875rem;
  flex: none;
}
.quote__name {
  display: block;
  font-weight: 600;
}
.quote__role {
  display: block;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 820px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: var(--brand-ink);
  margin: 0 0 0.25rem;
}
.stat__label {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- visit block ---------- */
.visit {
  /* Sits under the contact cards in the same section — matches the grid gap. */
  margin-top: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 960px) {
  .visit {
    margin-top: 1.5rem;
  }
}
.visit h2 {
  font-size: 1.25rem;
}
.visit p {
  margin: 0 0 0.35rem;
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 0.75rem;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.25rem 1.25rem;
}
.faq__item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.75rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__marker {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brand-ink);
}
.faq__marker::before,
.faq__marker::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq__marker::after {
  transform: rotate(90deg);
}
.faq__item[open] .faq__marker::after {
  transform: rotate(0deg);
}
.faq__item p {
  color: var(--ink-muted);
  padding-bottom: 1rem;
  margin: 0;
}

/* ---------- cta band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-radius: var(--r-xl);
  /* Warm-only glow: a teal blob over orange mixes to a mouldy green. */
  background:
    radial-gradient(
      34rem 20rem at 12% 6%,
      color-mix(in srgb, var(--cta-glow) 60%, transparent),
      transparent 70%
    ),
    radial-gradient(
      30rem 20rem at 92% 104%,
      color-mix(in srgb, var(--cta-shade) 55%, transparent),
      transparent 70%
    ),
    linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: var(--on-brand);
  box-shadow: var(--shadow-lg);
}
.cta__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: inherit;
}
.cta__text {
  max-width: 38rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  color: color-mix(in srgb, var(--on-brand) 88%, transparent);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
}
.cta .btn--primary {
  background: var(--on-brand);
  color: var(--brand-ink);
}
.cta .btn--primary:hover {
  background: var(--on-brand);
  color: var(--brand-hover);
}
.cta .btn--ghost {
  color: var(--on-brand);
  border-color: color-mix(in srgb, var(--on-brand) 45%, transparent);
}
.cta .btn--ghost:hover {
  background: color-mix(in srgb, var(--on-brand) 15%, transparent);
  color: var(--on-brand);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.site-footer__blurb {
  color: var(--ink-muted);
  max-width: 26rem;
  margin-top: 1rem;
}
.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.site-footer__group ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.site-footer__group a {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  padding: 0.15rem 0;
}
.site-footer__group a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
}
.site-footer__bottom p {
  margin: 0;
}
