/* ==========================================================================
   MarkDev Software House - site stylesheet
   Palette: ink navy, paper white, teal accent, signal orange
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  --ink: #0b1220;
  --ink-soft: #182135;
  --ink-line: #26314b;

  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #e1e7f0;
  --line-strong: #cbd5e5;

  --body: #33405c;
  --muted: #62708c;
  --muted-on-ink: #a9b6cf;

  --teal: #0b7f5f;
  --teal-dark: #08664c;
  --teal-bright: #14b88a;
  --teal-wash: #e9f6f1;

  --orange: #f97316;
  --orange-wash: #fef3e9;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, 0.14);

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1160px;
  --gutter: 1.25rem;
  --header-h: 74px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.28;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.1em;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

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

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

svg {
  display: block;
}

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

::selection {
  background: var(--teal-wash);
  color: var(--ink);
}

/* --- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.band {
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.band--mist {
  background: var(--mist);
  border-block: 1px solid var(--line);
}

.band--tight {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.band--ink {
  background: var(--ink);
  color: var(--muted-on-ink);
}

.band--ink h2,
.band--ink h3,
.band--ink h4,
.band--ink strong {
  color: #fff;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.9375rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.band--ink .eyebrow {
  color: var(--teal-bright);
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.band--ink .lede {
  color: var(--muted-on-ink);
}

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

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease;
}

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn--ghost {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--ink);
}

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

.band--ink .btn--ghost {
  background: transparent;
  border-color: var(--ink-line);
  color: #fff;
}

.band--ink .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--mist);
  border-color: var(--mist);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.16s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  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: 0 6px 24px rgba(11, 18, 32, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  background: var(--ink);
  color: var(--teal-bright);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

img.brand__mark {
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 1.1875rem;
  line-height: 1.1;
}

.brand__name {
  display: block;
}

.brand__dev {
  color: var(--teal);
}

.brand__sub {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list li {
  margin: 0;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-size: 0.9688rem;
  font-weight: 500;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.2s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  right: 0;
}

.nav__link[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.25rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 0.75rem;
  }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.75rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 82%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.75rem);
}

.hero__copy h1 {
  margin-bottom: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

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

.chip-list li {
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero__media {
  margin: 0;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

  .hero__media img {
    aspect-ratio: 16 / 10;
  }
}

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: 46rem;
}

.page-hero h1 {
  margin-bottom: 0.85rem;
}

.page-hero .lede {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.875rem;
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

/* --- Cards & grids ------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

@media (max-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--teal-wash);
  color: var(--teal);
}

.card__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9688rem;
}

.card__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
}

.card__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.35rem;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0.5;
}

.card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
}

.card--ink {
  background: var(--ink-soft);
  border-color: var(--ink-line);
  color: var(--muted-on-ink);
}

.card--ink h3 {
  color: #fff;
}

.card--ink p,
.card--ink .card__list {
  color: var(--muted-on-ink);
}

.card--ink .card__icon {
  background: rgba(20, 184, 138, 0.16);
  color: var(--teal-bright);
}

.card--ink a {
  color: var(--teal-bright);
}

/* --- Feature row (image + copy) ------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.split--reverse .split__media {
  order: 2;
}

.split--top {
  align-items: start;
}

.split__media {
  margin: 0;
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.band--ink .split__media img {
  border-color: var(--ink-line);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* --- Steps --------------------------------------------------------------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.125rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9688rem;
  max-width: 54rem;
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* --- Track list ---------------------------------------------------------- */
.track-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.track {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  margin: 0;
}

.track__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: rgba(20, 184, 138, 0.14);
  color: var(--teal-bright);
}

.track__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.track h3 {
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
}

.track p {
  margin: 0;
  color: var(--muted-on-ink);
  font-size: 0.9375rem;
}

/* --- Values -------------------------------------------------------------- */
.value {
  padding: 1.25rem 0 0;
  border-top: 2px solid var(--ink);
  margin: 0;
}

.value h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
}

.value p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Facts / definition list --------------------------------------------- */
.facts {
  display: grid;
  gap: 0.65rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.facts div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.facts dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 620px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* --- Testimonial-free proof block ---------------------------------------- */
.callout {
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.5;
}

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  background: var(--ink);
  color: var(--muted-on-ink);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  max-width: 38rem;
}

/* --- Team ---------------------------------------------------------------- */
.team-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.team-card__avatar {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.team-card h3 {
  margin-bottom: 0.15rem;
  font-size: 1.0625rem;
}

.team-card__role {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
}

.team-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Forms --------------------------------------------------------------- */
.form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

@media (max-width: 620px) {
  .form__grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.field .hint {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: 3px solid var(--teal-wash);
  outline-offset: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c2410c;
}

.field__error {
  color: #b03a08;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 0;
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--teal);
}

.form__status {
  margin: 0.9rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-wash);
  color: var(--ink);
  font-size: 0.9375rem;
}

.form__status[hidden] {
  display: none;
}

.form__status.is-error {
  background: #fdece3;
}

/* --- Contact panel ------------------------------------------------------- */
.contact-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9px;
  background: var(--teal-wash);
  color: var(--teal);
}

.contact-item__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-item h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-item a {
  font-weight: 600;
}

/* --- FAQ ----------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq summary:hover {
  color: var(--teal);
}

.faq__body {
  padding: 0 0 1.35rem;
  max-width: 52rem;
}

.faq__body p {
  color: var(--muted);
  font-size: 0.9688rem;
}

/* --- Legal / prose ------------------------------------------------------- */
.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.375rem;
}

.prose h3 {
  margin-top: 1.6rem;
  font-size: 1.0625rem;
}

.prose p,
.prose li {
  color: var(--body);
  font-size: 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.note {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--orange-wash);
}

.note p {
  margin: 0;
  font-size: 0.9375rem;
}

.updated {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-wash);
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-ink);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__brand .brand {
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer__brand .brand__mark {
  background: var(--teal-bright);
  color: var(--ink);
}

.footer__brand .brand__dev {
  color: var(--teal-bright);
}

.footer__brand .brand__sub {
  color: var(--muted-on-ink);
}

.footer__brand p {
  color: var(--muted-on-ink);
  font-size: 0.9375rem;
  max-width: 26rem;
}

.footer__col h3 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

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

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: var(--muted-on-ink);
  font-size: 0.9375rem;
}

.footer__col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
}

.socials li {
  margin: 0;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink-line);
  border-radius: 9px;
  color: var(--muted-on-ink);
}

.socials a:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

.socials svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid var(--ink-line);
}

.footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal li {
  margin: 0;
}

.footer__legal a {
  color: var(--muted-on-ink);
  font-size: 0.875rem;
}

.footer__legal a:hover {
  color: #fff;
}

/* --- Floating WhatsApp --------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #1faa59;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(11, 18, 32, 0.24);
}

.wa-fab:hover {
  background: #178a47;
  color: #fff;
}

.wa-fab svg {
  width: 1.2rem;
  height: 1.2rem;
}

@media (max-width: 560px) {
  .wa-fab span {
    display: none;
  }

  .wa-fab {
    padding: 0.85rem;
  }
}

/* --- 404 ----------------------------------------------------------------- */
.notfound {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
}

.notfound__code {
  display: block;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* --- Entrance motion (CSS only, no JS dependency) ------------------------ */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero__copy > * {
  animation: rise-in 0.6s ease-out both;
}

.hero__copy > *:nth-child(2) {
  animation-delay: 0.05s;
}

.hero__copy > *:nth-child(3) {
  animation-delay: 0.1s;
}

.hero__copy > *:nth-child(4) {
  animation-delay: 0.15s;
}

.hero__copy > *:nth-child(5) {
  animation-delay: 0.2s;
}

.hero__media {
  animation: rise-in 0.7s ease-out both;
  animation-delay: 0.1s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero__copy > *,
  .hero__media {
    animation: none;
  }
}

/* --- Print --------------------------------------------------------------- */
@media print {
  .site-header,
  .wa-fab,
  .cta-band {
    display: none;
  }

  body {
    color: #000;
  }
}
