/* ---------- Tokens ---------- */
:root {
  /* Earth and Ink palette */
  --ink: #14181B;
  --moss: #3F5D4B;
  --moss-deep: #2C4436;
  --clay: #9C6F4E;
  --clay-deep: #7A5539;
  --oat: #EDE6DA;
  --sand: #DDD3C4;
  --ash: #565D64;
  /* Supporting colours outside the palette */
  --white: #FFFFFF;
  --error: #B3261E;
  --bg-top: #f6f7f9;
  --bg-bottom: #d7dbe1;
  --max-width: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-card: 32px;
  --whatsapp-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347M12.05 21.785h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884a9.82 9.82 0 0 1 6.988 2.896 9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.885-9.885 9.885M20.52 3.449C18.24 1.245 15.24 0 12.045 0 5.463 0 .104 5.359.101 11.945c0 2.096.549 4.142 1.595 5.945L0 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.585 0 11.946-5.36 11.949-11.946A11.87 11.87 0 0 0 20.52 3.45'/%3E%3C/svg%3E");
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg-bottom);
  background-image: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

/* ---------- Navigation ---------- */
/* Sticky glass header: it stays on screen while content scrolls beneath it. The page
   background colour at partial opacity plus a blur keeps the nav text readable. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg-top) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* The logo is favicon.svg, which carries its own rounded corners and colours. At 28px it
   sits inline with the 20px wordmark without making the header any taller. */
.brand__logo {
  flex: none;
  width: auto;
  height: 28px;
}

.brand__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav__phone {
  padding: 0.5rem 1.125rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__phone:hover {
  color: var(--white);
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Home wrapper ---------- */
/* Hero and value cards share one centred 1100px column. */
.home {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 60rem;
  margin: 0 auto;
  padding-block: 88px 104px;
  padding-inline: var(--gutter);
  text-align: center;
}

/* Services headline is a long question, so it gets the site's full content width instead
   of the shared 60rem measure. Vertical padding is inherited from .hero (88/104px, 56/64px on phones). */
.hero--wide {
  max-width: var(--max-width);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 7.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Homepage headline: breaks at the full stop, so it is sized separately from the
   shared .hero__title used on the other pages. */
.home .hero__title {
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

.hero__line {
  display: block;
}

.hero__subtitle {
  max-width: 40rem;
  margin: 1.5rem auto 2.5rem;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 0;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  text-decoration: none;
  background: var(--moss);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--moss-deep);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 25%, transparent);
}

.btn:focus-visible {
  outline-color: var(--ink);
  outline-offset: 4px;
  border-radius: 999px;
}

/* ---------- Value proposition ---------- */
.values {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem);
}

.values__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.values__lead {
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  max-width: 44rem;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.card {
  /* Subgrid: every card's heading and paragraph sit on shared rows, so text lines up
     across the row even when one heading wraps. */
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0.875rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.4vw, 2rem);
  text-align: center;
  background: var(--oat);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 12%, transparent);
}

.card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.375rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.card p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
}

/* ---------- About page ---------- */
.hero__subtitle--muted {
  font-weight: 500;
  color: var(--ash);
}

.founders {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.founders__photos {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.founder {
  flex: 0 1 17.5rem;
  min-width: 0;
  margin: 0;
}

.founder img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 24px;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ink) 18%, transparent);
}

.founder figcaption {
  display: grid;
  gap: 0.375rem;
  margin-top: 1rem;
  text-align: center;
}

.founder__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.founder__role {
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Long-form text: a centred 800px reading column, headings centred, copy left-aligned. */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.prose h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.prose p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose__list li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.6;
}

.prose__list li:last-child {
  margin-bottom: 0;
}

.prose__list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--moss);
  border-radius: 50%;
}

.cta {
  padding: 0 var(--gutter) clamp(4rem, 10vw, 7rem);
  text-align: center;
}

.credentials {
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.credentials__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--oat);
  border: 2px solid var(--sand);
  border-radius: var(--radius-card);
}

.credentials__inner h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.credentials__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
}

.credentials__item dt {
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash);
}

.credentials__item dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
}

.credentials__item a {
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

.credentials__item a:hover {
  border-bottom-color: transparent;
}

/* ---------- Analysis page ---------- */
.analysis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(3rem, 8vw, 6rem);
}

.badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.analysis__title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.analysis__text {
  max-width: 32rem;
  margin: 0 0 1rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--ink);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 0.5rem 0;
  font: inherit;
  font-size: 1.125rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ash);
  border-radius: 0;
  transition: border-color 0.15s ease;
}

.field input:hover {
  border-bottom-color: var(--ink);
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: 0 2px 0 0 var(--ink);
}

.field input:user-invalid {
  border-bottom-color: var(--error);
  box-shadow: 0 2px 0 0 var(--error);
}

.btn--block {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
}

/* ---------- Services page ---------- */
.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.section-lead {
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  max-width: 44rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--ink);
  text-align: center;
}

.pricing,
.routine {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 56rem;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius-card);
}

.tier--primary {
  background: var(--oat);
  border-color: var(--moss);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--ink) 14%, transparent);
}

/* Lifted out of flow onto the card edge so both tiers' content starts level. */
.tier .badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--white);
  white-space: nowrap;
  background: var(--moss);
  border-color: var(--moss);
}

.tier__name {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
}

.tier__price strong {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tier__price span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ash);
}

.tier__setup {
  margin: 0;
  padding-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ash);
  border-bottom: 1px solid var(--sand);
}

.tier__list {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier__list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.tier__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--moss);
  border-radius: 50%;
}

.btn--outline {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
}

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

.pricing__note {
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
  max-width: 44rem;
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: center;
}

.routine__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.routine__step {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--white) 60%, transparent);
  border-radius: var(--radius-card);
}

.routine__step--highlight {
  color: var(--white);
  background: var(--moss-deep);
}

.routine__label {
  display: inline-block;
  margin-bottom: 0.875rem;
  padding: 0.3125rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clay-deep);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
}

.routine__step h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.routine__step p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.routine__step--highlight p {
  color: color-mix(in srgb, var(--white) 82%, transparent);
}

/* clay-deep is unreadable on the dark card, so the pill goes white there. */
.routine__step--highlight .routine__label {
  color: var(--white);
}

/* The order we do things in: a plain numbered sequence, not cards. */
.sequence {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.sequence__intro,
.sequence__outro {
  margin: 0;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.65;
}

.sequence__intro {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.sequence__outro {
  font-weight: 700;
}

.sequence__list {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-bottom: 2px solid var(--sand);
}

.sequence__item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1rem;
  padding: 1.375rem 0;
  border-top: 2px solid var(--sand);
  counter-increment: step;
}

/* The number is generated, and list semantics already announce the position, so the
   empty alt text (second declaration) stops screen readers reading it twice. Browsers
   without alt-text support ignore that line and keep the first. */
.sequence__item::before {
  content: counter(step);
  content: counter(step) / "";
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sequence__item p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Later stages read as muted: the number and text both drop to ash. */
.sequence__item--later {
  color: var(--ash);
}

.exit {
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5rem);
}

.exit__inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  background: var(--oat);
  border: 2px solid var(--sand);
  border-radius: var(--radius-card);
}

.exit__inner h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.exit__inner p {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: clamp(2rem, 5vw, 3rem) var(--gutter);
  color: var(--white);
  background: var(--moss-deep);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--white) 75%, transparent);
}

/* Facebook: a moss "f" on an oat disc. Moss or ink drawn straight onto the dark footer
   would be roughly 1.5:1, so the brand colour sits on a light disc. 44px is a comfortable tap target. */
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--oat);
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.site-footer__social:hover {
  background: var(--white);
}

/* a:focus-visible squares corners to 4px; keep the disc round while focused */
.site-footer__social:focus-visible {
  border-radius: 50%;
}

.site-footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--moss);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nap {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  justify-self: end;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.5;
  text-align: right;
  color: color-mix(in srgb, var(--white) 75%, transparent);
}

.site-footer__nap-name {
  font-weight: 700;
  color: var(--white);
}

/* Tap-to-call: vertical padding gives the phone link a target about 43px tall, matching the header pill. */
.site-footer__nap a {
  padding-block: 0.625rem;
}

.site-footer a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--white) 75%, transparent);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline-color: var(--white);
}

/* ---------- Sticky WhatsApp bar (phones only) ---------- */
/* Hidden by default; the phone-width query below reveals it. */
.whatsapp-bar {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem var(--gutter);
  padding-bottom: calc(0.9375rem + env(safe-area-inset-bottom, 0px));
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  background: var(--moss);
  box-shadow: 0 -6px 20px color-mix(in srgb, var(--ink) 22%, transparent);
}

.whatsapp-bar__icon {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--white);
  /* WhatsApp glyph, masked so it inherits the bar's text colour. */
  mask: var(--whatsapp-glyph) center / contain no-repeat;
  -webkit-mask: var(--whatsapp-glyph) center / contain no-repeat;
}

.whatsapp-bar:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav,
  .nav__links {
    justify-content: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__legal {
    align-items: center;
  }

  .site-footer__nap {
    align-items: center;
    justify-self: center;
    text-align: center;
  }

  .credentials__list {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer ul {
    justify-content: center;
  }

  .values__grid {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin: 0 auto;
  }

  .analysis {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }

  .pricing__grid,
  .routine__grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-block: 56px 64px;
  }
}

/* Phones only: reveal the sticky bar and keep it clear of page content. */
@media (max-width: 600px) {
  .whatsapp-bar {
    display: flex;
  }

  body {
    padding-bottom: 4.25rem;
  }
}

@media (max-width: 520px) {
  .founders__photos {
    flex-direction: column;
    align-items: center;
  }

  .founder {
    flex: none;
    width: min(100%, 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .field input,
  .site-footer a,
  .site-footer__social,
  .nav__phone,
  .btn--outline {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
