/* =================================================================
   Lucas — AI Implementation Service
   styles.css
   ================================================================= */

/* ------------------------------ tokens ------------------------- */
:root {
  --bg:           #f0eee6;
  --card:         #faf9f5;
  --ink:          #191919;
  --muted:        #4c4740;
  --faint:        #7a7469;
  --accent:       #ba5b34;
  --accent-soft:  #d9a37c;
  /* a touch deeper than --accent, used only as a section ground so cream
     body text clears WCAG AA (4.70:1 vs 3.90:1 on the raw accent) */
  --accent-surface: #a94f2e;

  --dark:         #141413;
  --dark-ink:     #f0eee6;
  --dark-body:    #d9d4c8;
  --dark-muted:   #b3ada2;
  --dark-faint:   #8f8a80;

  --line:         rgba(25, 25, 25, .09);
  --line-mid:     rgba(25, 25, 25, .12);
  --line-strong:  rgba(25, 25, 25, .18);
  --dline:        rgba(240, 238, 230, .12);
  --dline-strong: rgba(240, 238, 230, .25);

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Instrument Sans', Helvetica, Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max:      1120px;
  --max-narrow: 860px;
  --gutter:   32px;
  --gutter-sm: 22px;

  --ease: cubic-bezier(.22, .7, .25, 1);
}

/* ------------------------------ base --------------------------- */
* { box-sizing: border-box; }

/* smooth in-page navigation; the header is static so no scroll offset is needed */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page { max-width: 100%; overflow-x: clip; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }

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

/* display:grid on .form-body / .field would otherwise defeat [hidden] */
[hidden] { display: none !important; }

h1, h2, h3 { text-wrap: pretty; }

/* ---------------------------- utilities ------------------------ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wrap-narrow { max-width: var(--max-narrow); }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.kicker-accent { color: var(--accent-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.dim { color: var(--faint); }

/* ---------------------------- buttons -------------------------- */
.btn {
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  align-self: flex-start;
}
.btn-sm  { height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-lg  { height: 52px; font-size: 15px; }
.btn-block { display: flex; width: 100%; align-self: stretch; }

.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: var(--bg); }

.btn-ghost {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-call { height: 48px; font-size: 14.5px; font-weight: 400; color: var(--muted); }
.btn-call:hover { border-color: var(--accent); color: var(--accent); }

/* ----------------------------- header -------------------------- */
.site-header {
  background: rgba(240, 238, 230, .9);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brand:hover { color: inherit; }

/* bare geometric mark — no container; colour comes from context */
.mark { display: block; flex: none; color: var(--accent); }
.section-dark .mark,
.site-footer .mark { color: var(--accent-soft); }
/* wordmark + attribution share a baseline; the mark stays vertically centred */
.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
}
/* reads as a signature, so mixed case rather than the uppercase label style */
.brand-by {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--faint);
  white-space: nowrap;
}
.site-footer .brand-by { color: var(--dark-faint); }
.brand-name-lg { font-size: 24px; }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
/* :not(.btn) so the CTA keeps .btn-dark's own colour */
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--ink); }

.burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 4.5px;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25, 25, 25, .16);
  border-radius: 9px;
  background: none;
  cursor: pointer;
}
.burger span { width: 17px; height: 1.5px; background: var(--ink); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 10px var(--gutter-sm) var(--gutter-sm);
}
.mobile-menu-inner a {
  padding: 15px 2px;
  border-bottom: 1px solid rgba(25, 25, 25, .08);
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu-inner .btn {
  margin-top: 18px;
  height: 48px;
  border-bottom: 0;
  font-size: 15px;
  color: var(--bg);
}

/* ------------------------------ hero --------------------------- */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(rgba(25, 25, 25, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, .05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
  background: radial-gradient(ellipse 70% 80% at 30% 40%, var(--bg) 40%, rgba(240, 238, 230, 0) 100%);
}
.hero-inner > * { min-width: 0; }

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 66px;
  line-height: 1.03;
  letter-spacing: -.024em;
  margin: 0 0 22px;
}
.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 29em;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
}

/* ------------------------------ cards -------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  padding: 28px;
}
.hero-card { border-radius: 14px; padding: 26px; }

.card-title {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -.01em;
}
.card-sub { font-size: 13.5px; color: var(--faint); margin-top: 4px; }

/* ------------------------------ forms -------------------------- */
.form-body { display: grid; gap: 16px; }
.form-body-lg { gap: 20px; }

/* auto-fit collapses to one column whenever two won't fit the card,
   so this holds at any container width without a viewport breakpoint */
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.form-body-lg .field-row { gap: 16px; }

/* let every grid item shrink below its intrinsic content width */
.form-body > *,
.field-row > *,
.field { min-width: 0; }

/* Label text is the direct child of .field, so the label typography lives
   here and every control resets it. */
.field {
  display: grid;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input,
.field select { height: 48px; padding: 0 14px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 40px 0 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%237a7469' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 11px 8px;
}
.field textarea {
  padding: 13px 14px;
  min-height: 104px;
  line-height: 1.55;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(25, 25, 25, .34); }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(25, 25, 25, .3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(186, 91, 52, .13);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--faint);
}
.form-note a { color: var(--accent); }

.form-actions { display: grid; gap: 10px; margin-top: 4px; }

.form-error {
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}
.btn:disabled { opacity: .65; cursor: default; }

.form-success { padding: 64px 8px; text-align: center; }
.form-success p { font-size: 14.5px; color: var(--muted); margin: 0; }
.form-success-title {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 10px;
}
.form-success-title-lg { font-size: 30px; }
.contact-card .form-success { padding: 72px 8px; }
.contact-card .form-success p { font-size: 15.5px; color: var(--muted); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: normal;
  text-transform: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.chip.is-on:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* --------------------------- sections -------------------------- */
.section { padding: 84px 0; }
.section .wrap { padding-top: 0; padding-bottom: 0; }
.section-rule {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 84px 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 88px 0 76px;
}
.section-dark .wrap { position: relative; z-index: 1; }
.section-dark a { color: var(--accent-soft); }
.section-dark a:hover { color: var(--dark-ink); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -.022em;
  margin: 0;
}
.section-dark .section-head .kicker { color: var(--dark-faint); font-size: 11px; }

#pricing .section-head { margin-bottom: 12px; }
#faq { padding: 84px 0; }
.section-sub { font-size: 15.5px; color: var(--muted); margin: 0 0 38px; }

/* --------------------- what I can help with --------------------- */
/* Deliberately sparse: two pillars, three lines each, no row rules. */
.help-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -.022em;
  margin: 0 0 64px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.pillar-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dline-strong);
}
.pillar-title {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -.01em;
}
.pillar-head .kicker { margin-left: auto; }

.pillar-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pillar-list li {
  font-size: 17px;
  line-height: 1.5;
  color: var(--dark-body);
  max-width: 34ch;
  text-wrap: pretty;
}

.built-for {
  margin: 72px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-faint);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ------------------------- accent ground ------------------------ */
/* Terracotta surface. Small text takes full cream rather than a faded
   cream — dropping opacity here would push it back under AA. */
.section-accent {
  position: relative;
  overflow: hidden;
  background: var(--accent-surface);
  color: var(--bg);
  border-top: 1px solid rgba(240, 238, 230, .18);
  border-bottom: 1px solid rgba(240, 238, 230, .18);
}
.section-accent .kicker,
.section-accent .case-label,
.section-accent .stat-label,
.section-accent .stat-num,
.section-accent blockquote { color: var(--bg); }
.section-accent a {
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(240, 238, 230, .45);
}
.section-accent a:hover { text-decoration-color: var(--bg); }

/* ----------------------------- marquee -------------------------- */
/* Two identical groups; translating the track by -50% loops seamlessly. */
.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 238, 230, .18);
  background: var(--accent-surface);
  padding: 20px 0;
}
/* Fade the text into the ground, not the ground into the page — a mask on
   .marquee would make the terracotta itself go transparent at the edges. */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9%;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--accent-surface), rgba(169, 79, 46, 0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--accent-surface), rgba(169, 79, 46, 0));
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 44s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  flex: none;
}
.marquee-item {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--bg);
  white-space: nowrap;
}
/* decorative separator, so a lighter weight is fine here */
.marquee-mark { flex: none; color: rgba(240, 238, 230, .62); }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ------------------------ decorative shapes --------------------- */
.deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  color: var(--accent-soft);
}
.deco svg {
  position: absolute;
  will-change: transform;
}

.deco-rings { top: -70px;    right: -60px; opacity: .16; }
.deco-tri   { bottom: 6%;    right: 13%;   opacity: .12; }

.deco-dots  { top: -30px;    right: 6%;    opacity: .16; }
.deco-arc   { bottom: -40px; left: -40px;  opacity: .2; }

/* ----------------------------- pricing -------------------------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.plan {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.plan-featured { border: 1.5px solid var(--ink); }
.plan-price {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.02em;
}
.plan p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.plan-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
}
.plan-points div { display: flex; gap: 10px; }
.plan-points span { color: var(--accent); }
.plan .btn { margin-top: auto; }

/* -------------------------- how it works ------------------------ */
.how { height: 300vh; position: relative; }
.how-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-ink);
}

.how-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .7s ease;
}
.how-bg.is-active { opacity: 1; }
.how-bg-plan {
  background-image:
    linear-gradient(rgba(25, 25, 25, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, .055) 1px, transparent 1px);
  background-size: 44px 44px;
}
.how-bg-build {
  background-image:
    linear-gradient(rgba(25, 25, 25, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 25, .03) 1px, transparent 1px);
  background-size: 44px 44px;
}

.how-frame {
  position: absolute;
  inset: 6%;
  border: 1.5px solid rgba(186, 91, 52, .22);
  border-radius: 18px;
}
.how-frame-dashed { border: 1.5px dashed rgba(186, 91, 52, .28); }
.how-frame-solid {
  background: rgba(186, 91, 52, .055);
  border: 1.5px solid rgba(186, 91, 52, .3);
}
.how-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(186, 91, 52, .06), rgba(186, 91, 52, 0) 75%);
}

.how-block { position: absolute; width: 44px; height: 44px; }
.how-block.b1 { left: 9%;  top: 12%;    background: rgba(186, 91, 52, .10); }
.how-block.b2 { left: 14%; top: 26%;    background: rgba(186, 91, 52, .14); }
.how-block.b3 { left: 24%; bottom: 14%; background: rgba(186, 91, 52, .09); }
.how-block.b4 { right: 12%; top: 16%;   background: rgba(186, 91, 52, .12); }
.how-block.b5 { right: 20%; bottom: 20%; background: rgba(186, 91, 52, .15); }
.how-block.b6 { right: 34%; bottom: 11%; background: rgba(186, 91, 52, .08); }

.how-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -.022em;
  margin: 0;
}

/* the three steps cross-fade in place, so the block holds a fixed height */
.how-steps {
  position: relative;
  width: 100%;
  height: 330px;
}
.how-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity .5s ease, transform .5s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}
.how-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.how-step.is-above  { transform: translateY(-30px); }
.how-step.is-below  { transform: translateY(30px); }

.how-num {
  display: block;
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  color: var(--accent-soft);
  letter-spacing: -.02em;
}
.how-step h3 {
  font-size: 27px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.015em;
  max-width: 22ch;
  text-wrap: balance;
}
.how-step p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dark-muted);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

/* progress meter */
.how-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}
.how-track {
  width: 100%;
  height: 2px;
  background: rgba(240, 238, 230, .12);
  border-radius: 2px;
  overflow: hidden;
}
.how-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-soft);
  transition: width .15s linear;
}
.how-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a857c;
}
.how-legend [data-how-count] { color: var(--accent-soft); }
.how-sep { opacity: .5; }
.how-hint { opacity: .75; }

/* --------------------------- case study ------------------------- */
.case {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.case-label {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.case blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -.015em;
  margin: 0;
}

.stats { display: flex; gap: 36px; }
.stat-num { font-family: var(--serif); font-size: 36px; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ------------------------------ FAQ ----------------------------- */
.faq-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  letter-spacing: -.022em;
  margin: 0 0 28px;
}
.faq { border-top: 1px solid var(--dline); }
.faq-item { border-bottom: 1px solid var(--dline); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 2px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-ink);
}
.faq-q > span:first-child { flex: 1; }
.faq-mark {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent-soft);
}

.faq-a { display: none; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--dark-muted);
  margin: 0;
  padding: 0 2px 20px;
  max-width: 44em;
}

/* ---------------------------- contact --------------------------- */
/* One centred column: heading, card, then the direct-contact line.
   Fields inside the card stay left-aligned — centred inputs are hard to scan. */
.contact-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(186, 91, 52, .05), rgba(186, 91, 52, 0) 70%),
    var(--bg);
}

.contact {
  max-width: 760px;
  padding-top: 96px;
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-head { text-align: center; margin-bottom: 40px; }
.contact-kicker {
  display: block;
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -.024em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.contact-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
  max-width: 42ch;
  text-wrap: pretty;
}

.contact-card {
  width: 100%;
  padding: 34px;
  border-radius: 16px;
  border-color: var(--line-mid);
  box-shadow:
    0 1px 2px rgba(25, 25, 25, .04),
    0 18px 40px -20px rgba(25, 25, 25, .16);
}

.contact-details {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}
.contact-details .btn { letter-spacing: normal; }
.contact-details .dim { color: var(--faint); }

/* ----------------------------- footer --------------------------- */
.site-footer { background: var(--dark); color: var(--dark-ink); }
.footer-top {
  padding-top: 56px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  align-items: flex-start;
}
.footer-brand { flex: 1; min-width: 220px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand .footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-muted);
  margin: 0;
  max-width: 26em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}
.footer-col .kicker {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--dark-faint);
  margin-bottom: 3px;
}
.footer-col a { color: var(--dark-muted); }
.footer-col a:hover { color: var(--dark-ink); }
.footer-col .dim { color: var(--dark-faint); }

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--dline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark-faint);
}
.footer-right { margin-left: auto; }

/* --------------------------- animation -------------------------- */
@keyframes lu-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ------------------------- responsive --------------------------- */
@media (max-width: 1120px) {
  .hero-copy h1 { font-size: 44px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger    { display: flex; }
    .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px var(--gutter-sm) 60px;
    gap: 44px;
  }
  .hero-copy h1 { font-size: 42px; }

    .pillars { grid-template-columns: 1fr; gap: 48px; }
  .help-title { margin-bottom: 44px; }
  .cols-3 { grid-template-columns: 1fr; }
    .how-inner { padding: 0 var(--gutter-sm); }
  .how-steps { height: 300px; }
  .how-num { font-size: 68px; }
  .how-step h3 { font-size: 23px; }
  .how-step p { font-size: 15.5px; }

  .case { grid-template-columns: 1fr; gap: 32px; }

  .contact { padding-top: 64px; padding-bottom: 72px; }
  .contact-card { padding: 24px 20px; border-radius: 14px; }
  .contact h2 { font-size: 34px; }

  .wrap { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  .header-inner { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }

  .how-bg { display: none; }
  .deco { display: none; }
  .marquee-item { font-size: 21px; }
  .marquee-group { gap: 22px; padding-right: 22px; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
    .stats { flex-wrap: wrap; gap: 24px 36px; }
  .section-head h2,
  .help-title,
  .how-title,
  .faq-title,
  .contact h2 { font-size: 34px; }
  .how-steps { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  /* a near-zero duration would leave the marquee mid-loop; stop it outright */
  .marquee-track { animation: none !important; }
  .deco svg { transform: none !important; }
}
