/* Adward — accounting landing */

:root {
  --ink: #0d1f24;
  --ink-soft: #243a40;
  --mist: #e7eef0;
  --paper: #f4f7f8;
  --white: #ffffff;
  --teal: #1f6f63;
  --teal-deep: #145248;
  --teal-glow: #2a9a88;
  --sand: #d8c4a0;
  --line: rgba(13, 31, 36, 0.12);
  --shadow: 0 18px 50px rgba(13, 31, 36, 0.12);
  --radius: 4px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 64px;
  --dock-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  background: linear-gradient(145deg, var(--teal-glow), var(--teal-deep));
  clip-path: polygon(50% 0%, 100% 28%, 100% 72%, 50% 100%, 0% 72%, 0% 28%);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-accent {
  color: var(--teal-glow);
}

.footer-brand .brand-accent,
.site-footer .brand-accent {
  color: var(--teal-glow);
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-desktop a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--ink);
  color: var(--white);
}

/* Must beat .btn { display: inline-flex } — same specificity otherwise wins by order */
a.header-cta.btn,
.header-cta.btn {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  text-decoration: none;
  padding: 0.75rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  color: inherit;
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1.05rem;
}

.text-link {
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero — full-bleed first viewport */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  width: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(13, 31, 36, 0.4) 0%, rgba(13, 31, 36, 0.78) 50%, rgba(13, 31, 36, 0.92) 100%),
    linear-gradient(120deg, rgba(31, 111, 99, 0.45), transparent 48%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1920&q=80");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform-origin: center center;
  animation: hero-drift 20s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  /* leave room above fixed mobile dock so CTAs are not covered */
  padding: 3rem 1.25rem calc(1.75rem + var(--dock-h) + env(safe-area-inset-bottom, 0px));
}

.hero-eyebrow {
  display: block;
  margin: 0 0 1rem;
  font-size: clamp(0.82rem, 2.4vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand);
  max-width: 36rem;
}

.hero-title {
  margin: 0;
  max-width: min(16ch, 100%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.hero-brand {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-markets {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-ctas .btn {
  max-width: 100%;
}

/* Sections shared */

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 24ch;
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Trust */

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

.trust-list {
  list-style: none;
  margin: 0;
  padding: 1.35rem 1.25rem;
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 600;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--teal-glow);
  border-radius: 50%;
}

/* Pain */

.pain {
  background:
    linear-gradient(180deg, #dde7e9 0%, var(--paper) 100%);
}

.pain-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pain-item {
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.pain-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.pain-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Approach */

.approach {
  background: var(--white);
}

.approach-grid {
  display: grid;
  gap: 2.5rem;
}

.check-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--white);
  background: var(--teal-glow);
}

.chat-demo {
  background: linear-gradient(160deg, #0d1f24, #16363c);
  color: var(--white);
  padding: 1.5rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}

.approach-aside {
  background: linear-gradient(160deg, #0d1f24, #16363c);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: center;
  box-shadow: var(--shadow);
  min-height: 220px;
}

.approach-aside-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.approach-aside-line:last-child {
  color: var(--teal-glow);
}

.chat-bubble {
  max-width: 92%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  animation: chat-in 0.6s var(--ease) both;
}

.chat-bubble p {
  margin: 0;
  font-size: 0.98rem;
}

.chat-client {
  background: rgba(255, 255, 255, 0.08);
  justify-self: start;
}

.chat-reply {
  background: var(--teal);
  justify-self: end;
}

.chat-meta {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.chat-bubble:nth-child(2) {
  animation-delay: 0.15s;
}
.chat-bubble:nth-child(3) {
  animation-delay: 0.3s;
}
.chat-bubble:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Services */

.services {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(42, 154, 136, 0.12), transparent),
    var(--paper);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

.service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
}

/* Pricing */

.pricing {
  background: var(--white);
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.pricing-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pricing-tab:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.pricing-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.pricing-panel {
  margin-top: 1.5rem;
}

.pricing-panel[hidden] {
  display: none;
}

.pricing-panel-note {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.pricing-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.price-card {
  position: relative;
  padding: 1.25rem 1.1rem;
  background: var(--mist);
  border: 1px solid var(--line);
}

.price-card.is-featured {
  background:
    linear-gradient(145deg, rgba(31, 111, 99, 0.12), transparent 55%),
    var(--white);
  border-color: rgba(31, 111, 99, 0.35);
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.pricing-amount {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-amount small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.price-card-desc {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-includes {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.pricing-includes h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.pricing-includes .btn {
  margin-top: 1.5rem;
}

.pricing-fineprint {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.check-list-cols {
  gap: 0.75rem;
}

/* Freebies */

.freebies {
  background: var(--ink);
  color: var(--white);
  overflow: visible;
}

.freebies .section-kicker {
  color: var(--teal-glow);
}

.freebies .section-lead,
.free-item p {
  color: rgba(255, 255, 255, 0.78);
}

.free-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.free-item {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: visible;
  min-width: 0;
}

.free-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.free-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.freebies .text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--teal-glow);
}

/* About */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  background:
    linear-gradient(160deg, rgba(13, 31, 36, 0.25), rgba(31, 111, 99, 0.35)),
    url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=900&q=80") center 20% / cover no-repeat;
  background-color: var(--mist);
}

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

.tag-list li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Testimonials */

.testimonials {
  background: var(--white);
}

.testimonials-note {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.quote p {
  margin: 0;
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.quote footer {
  margin-top: 1rem;
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.95rem;
}

/* FAQ */

.faq {
  background:
    linear-gradient(180deg, var(--mist), var(--paper));
}

.faq-inner {
  max-width: 760px;
}

.faq-list {
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.25rem 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  font-weight: 500;
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Contact */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-channels {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-channels span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.contact-channels a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: #9a6b2f;
  background: #f7efd9;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--sand);
}

.contact-note:empty,
.contact-note[hidden] {
  display: none;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--mist);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-legal {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.form-success {
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(31, 111, 99, 0.12);
  border-left: 3px solid var(--teal);
  font-weight: 600;
  color: var(--teal-deep);
}

.form-error {
  margin: 0;
  padding: 0.9rem 1rem;
  background: #fdeceb;
  border-left: 3px solid #c0392b;
  font-weight: 600;
  color: #8e2a21;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-form .btn {
  justify-self: start;
}

/* Final CTA */

.final-cta {
  background:
    linear-gradient(135deg, rgba(31, 111, 99, 0.14), transparent 45%),
    var(--mist);
  border-top: 1px solid var(--line);
}

.final-cta .section-title {
  max-width: 22ch;
}

.final-markets {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.final-cta .btn {
  margin-top: 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 1.25rem 6.5rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

/* Mobile dock */

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(244, 247, 248, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-sizing: border-box;
  min-height: var(--dock-h);
}

.mobile-dock .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.mobile-dock .btn-ghost:hover {
  color: var(--teal);
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Responsive */

@media (min-width: 720px) {
  .trust-list {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1.25rem;
  }

  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .pain-item {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
  }

  .pain-item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .free-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .quote {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 1.25rem;
  }

  .quote:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .check-list-cols {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    padding-bottom: 3rem;
  }

  .mobile-dock {
    display: none;
  }

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

  :root {
    --dock-h: 0px;
  }
}

@media (min-width: 1024px) {
  .header-bar {
    gap: 1.25rem;
    padding: 0.75rem 1.25rem;
  }

  .nav-desktop {
    display: flex;
    flex-wrap: nowrap;
  }

  a.header-cta.btn,
  .header-cta.btn {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .approach-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3.5rem;
  }

  .about-portrait {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }

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

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

  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

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

  .hero-bg,
  .chat-bubble,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
