/* Bewok × AstroWind-inspired landing — original CSS, light + dark */

:root {
  --aw-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --aw-primary: rgb(1, 97, 239);
  --aw-secondary: rgb(1, 84, 207);
  --aw-accent: rgb(109, 40, 217);
  --aw-heading: rgb(0, 0, 0);
  --aw-text: rgb(16, 16, 16);
  --aw-muted: rgb(16 16 16 / 66%);
  --aw-bg: #fff;
  --aw-bg-soft: oklch(97% .014 254.604);
  --aw-border: #e5e7eb;
  --aw-header-bg: rgb(255 255 255 / 88%);
  --aw-card: #fff;
  --aw-card-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
  --aw-cta-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
  --aw-line: rgb(0 0 0 / 10%);
  --aw-icon-check: #16a34a;
  --aw-announcement: #0f172a;
  --aw-announcement-text: #cbd5e1;
  --max-7xl: 80rem;
  --max-6xl: 72rem;
  --max-5xl: 64rem;
  --header-h: 72px;
}

html.dark {
  --aw-heading: rgb(247, 248, 248);
  --aw-text: rgb(229, 236, 246);
  --aw-muted: rgb(229 236 246 / 66%);
  --aw-bg: rgb(3, 6, 32);
  --aw-bg-soft: rgb(30, 41, 59);
  --aw-border: rgb(30, 41, 59);
  --aw-header-bg: rgb(3 6 32 / 86%);
  --aw-card: rgb(15, 23, 42);
  --aw-card-shadow: none;
  --aw-cta-shadow: none;
  --aw-line: rgb(148 163 184 / 50%);
  --aw-icon-check: #15803d;
  --aw-announcement: #0f172a;
  --aw-announcement-text: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 1536px) {
  html { font-size: 20px; }
}

body {
  font-family: var(--aw-font);
  background: var(--aw-bg);
  color: var(--aw-text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; background: transparent; border: 0; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--aw-primary); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--aw-heading);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--aw-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

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

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 40rem) { .container { padding-inline: 1.5rem; } }

.container-7xl { max-width: var(--max-7xl); margin-inline: auto; padding-inline: 1rem; }
.container-6xl { max-width: var(--max-6xl); margin-inline: auto; padding-inline: 1rem; }
.container-5xl { max-width: var(--max-5xl); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 40rem) {
  .container-7xl, .container-6xl, .container-5xl { padding-inline: 1.5rem; }
}

/* Announcement */
.announcement {
  background: var(--aw-announcement);
  color: var(--aw-announcement-text);
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  text-align: center;
}
.announcement strong { color: #fff; font-weight: 600; }
.announcement a { color: #e2e8f0; font-weight: 500; }
.announcement a:hover { text-decoration: underline; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: var(--aw-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
html.dark .header { border-bottom-color: rgb(30 41 59); }

.nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  max-width: var(--max-7xl);
  margin-inline: auto;
  padding: 0.75rem 0.75rem;
}
.nav-bar .brand { margin-right: auto; }
.nav-actions { order: 2; }
.nav-toggle-btn { order: 3; }
.nav-menu { order: 4; }
@media (min-width: 48rem) {
  .nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 0.75rem 1.5rem;
    flex-wrap: nowrap;
  }
  .nav-bar .brand { margin-right: 0; }
  .nav-actions, .nav-menu, .nav-toggle-btn { order: 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--aw-heading);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark { width: 2rem; height: 2rem; flex-shrink: 0; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
}
.nav-toggle-btn span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.2rem 0;
  background: var(--aw-heading);
  border-radius: 999px;
  transition: transform .2s, opacity .2s;
}
#nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: translateY(0.6rem) rotate(45deg); }
#nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
#nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: translateY(-0.6rem) rotate(-45deg); }

.nav-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  font-weight: 500;
  font-size: 1.15rem;
}
#nav-toggle:checked ~ .nav-menu { display: flex; }

.nav-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--aw-text);
  transition: color .15s;
}
.nav-menu a:hover { color: var(--aw-primary); }

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

.theme-btn, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border-radius: 0.5rem;
  color: var(--aw-muted);
}
.theme-btn:hover, .icon-btn:hover { background: rgb(243 244 246); }
html.dark .theme-btn:hover, html.dark .icon-btn:hover { background: rgb(51 65 85); }
.theme-btn svg { width: 1.35rem; height: 1.35rem; }
.icon-sun { display: none; }
html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }

.header-cta { display: none; }

@media (min-width: 48rem) {
  .nav-toggle-btn { display: none; }
  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: auto;
    font-size: 0.9375rem;
    letter-spacing: 0.01rem;
  }
  .nav-menu a { padding: 0.75rem 1rem; white-space: nowrap; }
  .header-cta { display: inline-flex; }
  .nav-bar .brand-wrap { display: flex; }
}

/* Buttons */
.btn, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  border: 1px solid #9ca3af;
  padding: 0.875rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.375;
  font-weight: 500;
  border-radius: 999px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
@media (min-width: 48rem) {
  .btn, .btn-primary, .btn-secondary { padding-inline: 2rem; }
}
.btn-primary {
  border-color: var(--aw-primary);
  background: var(--aw-primary);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover {
  border-color: var(--aw-secondary);
  background: var(--aw-secondary);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--aw-text);
  border-color: #9ca3af;
}
.btn-secondary:hover {
  border-color: #4b5563;
  background: #f3f4f6;
}
html.dark .btn-secondary {
  border-color: #64748b;
  color: #cbd5e1;
}
html.dark .btn-secondary:hover {
  border-color: #1e293b;
  background: #1e293b;
}
.btn svg, .btn-primary svg, .btn-secondary svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.25rem;
}

/* Sections */
.section {
  position: relative;
  padding-block: 3rem;
  scroll-margin-top: var(--header-h);
}
@media (min-width: 48rem) { .section { padding-block: 4rem; } }
@media (min-width: 64rem) { .section { padding-block: 5rem; } }

.section-soft { background: var(--aw-bg-soft); }
html.dark .section-soft { background: rgb(30 41 59); }

.hero { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 48rem) {
  .hero { padding-top: 5rem; padding-bottom: 5rem; }
}

.eyebrow {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aw-secondary);
  margin-bottom: 0.5rem;
}
html.dark .eyebrow { color: #bfdbfe; }

.section-head { text-align: center; max-width: 48rem; margin: 0 auto 2rem; }
@media (min-width: 48rem) { .section-head { margin-bottom: 3rem; } }
.section-head h2 { font-size: 1.875rem; }
@media (min-width: 48rem) { .section-head h2 { font-size: 2.25rem; } }
.section-head.large h2 { font-size: 2.25rem; }
@media (min-width: 48rem) { .section-head.large h2 { font-size: 3rem; } }
.section-head p.lead, .lead {
  color: var(--aw-muted);
  font-size: 1.25rem;
  margin-top: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

/* Hero */
.hero-inner { text-align: center; max-width: var(--max-5xl); margin-inline: auto; }
.hero h1 {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}
@media (min-width: 48rem) { .hero h1 { font-size: 3.75rem; } }
.hero h1 .accent { color: var(--aw-accent); }
html.dark .hero h1 .accent { color: #fff; }
.hero .lead { max-width: 48rem; margin-inline: auto; margin-bottom: 1.5rem; }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 20rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 40rem) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: 28rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { min-width: 10rem; }
}
.hero-visual {
  max-width: var(--max-5xl);
  margin-inline: auto;
}
.hero-visual svg,
.hero-visual .frame {
  width: 100%;
  border-radius: 0.375rem;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 18%);
}

/* Note bar */
.note-bar {
  background: var(--aw-bg-soft);
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 500;
}
html.dark .note-bar { background: rgb(30 41 59); }
.note-bar svg { display: inline-block; width: 1.25rem; height: 1.25rem; vertical-align: text-bottom; margin-right: 0.25rem; color: var(--aw-primary); }

/* Feature list 2-col */
.features-grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max-5xl);
  margin-inline: auto;
}
@media (min-width: 40rem) { .features-grid { grid-template-columns: 1fr 1fr; gap: 2rem 2rem; } }
@media (min-width: 48rem) { .features-grid { row-gap: 3rem; } }

.feature {
  display: flex;
  gap: 1rem;
  max-width: 28rem;
}
.feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--aw-primary);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0.4rem;
}
@media (min-width: 48rem) {
  .feature-icon { width: 3rem; height: 3rem; padding: 0.75rem; }
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.25rem; letter-spacing: -0.03em; font-weight: 700; }
@media (min-width: 48rem) { .feature h3 { font-size: 1.3rem; } }
.feature p { color: var(--aw-muted); margin-top: 0.75rem; }

/* Split content */
.split {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: var(--max-7xl);
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .split { flex-direction: row; gap: 4rem; align-items: center; }
  .split.reverse { flex-direction: row-reverse; }
  .split > * { flex: 1; }
}
.split-copy h2, .split-copy .h3-lead {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 40rem) {
  .split-copy h2, .split-copy .h3-lead { font-size: 1.875rem; }
}
.split-kicker { color: var(--aw-muted); font-size: 1.125rem; margin-bottom: 2rem; }
.check-list { display: grid; gap: 1.5rem; }
.check-item { display: flex; gap: 0.75rem; }
.check-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--aw-icon-check);
  color: #f9fafb;
  display: grid;
  place-items: center;
  padding: 0.2rem;
}
.check-item h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; }
.check-item p { color: var(--aw-muted); margin-top: 0.5rem; }
.split-art svg { width: 100%; height: auto; border-radius: 0.375rem; }

/* Process / HowTo */
.process {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: var(--max-5xl);
  margin-inline: auto;
}
@media (min-width: 48rem) {
  .process { flex-direction: row; gap: 3rem; }
  .process-copy, .process-art { flex: 1; }
  .process-copy { align-self: center; }
}
.process-copy h2 { font-size: 1.875rem; margin-bottom: 2rem; text-align: left; }
@media (min-width: 64rem) { .process-copy h2 { font-size: 2.25rem; } }

.step { display: flex; }
.step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1rem;
}
.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 2px solid var(--aw-primary);
  color: var(--aw-primary);
  display: grid;
  place-items: center;
  background: var(--aw-bg);
  flex-shrink: 0;
}
.step-icon svg { width: 1.25rem; height: 1.25rem; }
.step-line { width: 1px; flex: 1; background: var(--aw-line); min-height: 1.5rem; }
.step-body { padding-top: 0.25rem; padding-bottom: 2rem; }
.step:last-child .step-body { padding-bottom: 0; }
.step-body h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.step-body h3 span { font-weight: 500; }
.step-body p { color: var(--aw-muted); margin-top: 0.5rem; }
.process-art {
  position: relative;
  min-height: 20rem;
}
.process-art svg {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 12%);
}

/* Service / widget cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 40rem) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--aw-card);
  border: 1px solid var(--aw-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: color-mix(in srgb, var(--aw-primary) 40%, var(--aw-border)); }
.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--aw-primary) 12%, transparent);
  color: var(--aw-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 1.35rem; height: 1.35rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.card p { color: var(--aw-muted); font-size: 0.95rem; }

/* Testimonials */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote blockquote { color: var(--aw-text); font-size: 1rem; line-height: 1.7; }
.quote footer { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.avatar { width: 2.75rem; height: 2.75rem; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.quote cite { font-style: normal; font-weight: 600; color: var(--aw-heading); display: block; letter-spacing: -0.02em; }
.quote .role { display: block; font-size: 0.875rem; color: var(--aw-muted); }
.banner-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--aw-muted);
  border: 1px dashed var(--aw-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.5rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max-6xl);
  margin-inline: auto;
}
@media (min-width: 40rem) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 2rem 2rem; } }
@media (min-width: 48rem) { .faq-grid { row-gap: 3rem; } }
.faq-item { display: flex; gap: 0.5rem; }
.faq-chevron {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--aw-primary);
  margin-top: 0.2rem;
}
.faq-item h3 { font-size: 1.25rem; letter-spacing: -0.03em; }
.faq-item p { color: var(--aw-muted); margin-top: 0.75rem; }

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin: -1rem;
}
.stat {
  padding: 1rem;
  min-width: 50%;
  flex: 1 1 220px;
  max-width: 100%;
}
@media (min-width: 48rem) {
  .stat {
    min-width: 25%;
    border-right: 1px solid var(--aw-border);
  }
  .stat:last-child { border-right: 0; }
}
.stat .num {
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--aw-primary);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
@media (min-width: 64rem) { .stat .num { font-size: 3rem; } }
@media (min-width: 80rem) { .stat .num { font-size: 3.75rem; } }
html.dark .stat .num { color: #fff; }
.stat .label {
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f2937;
  margin-top: 0.25rem;
}
html.dark .stat .label { color: #94a3b8; }
.stat .ph { font-size: 0.7rem; color: var(--aw-muted); margin-top: 0.2rem; text-transform: none; letter-spacing: 0; }

/* CTA + contact */
.cta-card {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.375rem;
  box-shadow: var(--aw-cta-shadow);
  background: var(--aw-card);
}
html.dark .cta-card { border: 1px solid rgb(71 85 105); box-shadow: none; }
@media (min-width: 48rem) { .cta-card { padding: 2.5rem; } }
.cta-card h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.contact-grid {
  display: grid;
  gap: 2rem;
  text-align: left;
  margin-top: 2rem;
}
@media (min-width: 48rem) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-meta h3 { font-size: 1.25rem; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.contact-meta p, .contact-list { color: var(--aw-muted); }
.contact-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1rem; }
.contact-list strong { display: block; color: var(--aw-heading); font-weight: 600; letter-spacing: 0; margin-bottom: 0.15rem; }
.contact-list a:hover { color: var(--aw-primary); text-decoration: underline; }
.tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aw-primary);
  border: 1px solid color-mix(in srgb, var(--aw-primary) 40%, transparent);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.form { display: grid; gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; text-align: left; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--aw-heading); letter-spacing: 0; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--aw-border);
  background: var(--aw-bg);
  border-radius: 0.5rem;
  padding: 0.7rem 0.9rem;
  color: var(--aw-text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--aw-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-primary) 20%, transparent);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'><path d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  color-scheme: light;
}
html.dark .field select { color-scheme: dark; }
.form-note { font-size: 0.75rem; color: var(--aw-muted); text-align: left; }
.form .btn-primary { justify-self: start; }

/* Footer */
.footer {
  border-top: 1px solid var(--aw-border);
  color: var(--aw-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1rem;
  padding-block: 2rem;
}
@media (min-width: 48rem) { .footer-grid { padding-block: 3rem; gap: 2rem; } }
.footer-brand { grid-column: span 12; }
@media (min-width: 64rem) { .footer-brand { grid-column: span 4; } }
.footer-col { grid-column: span 6; }
@media (min-width: 48rem) { .footer-col { grid-column: span 3; } }
@media (min-width: 64rem) { .footer-col { grid-column: span 2; } }
.footer-brand .brand { margin-bottom: 0.5rem; font-size: 1.25rem; }
.footer-legal a { font-size: 0.875rem; color: var(--aw-muted); }
.footer-legal a:hover { text-decoration: underline; color: #374151; }
.footer-col h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--aw-heading); margin-bottom: 0.5rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--aw-muted); transition: color .15s; }
.footer-col a:hover { color: #374151; text-decoration: underline; }
html.dark .footer-col a:hover, html.dark .footer-legal a:hover { color: #e5e7eb; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid transparent;
}
@media (min-width: 48rem) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding-block: 2rem; }
}
.socials { display: flex; gap: 0.15rem; }
.socials a {
  display: inline-flex;
  padding: 0.6rem;
  border-radius: 0.5rem;
  color: var(--aw-muted);
}
.socials a:hover { background: #f3f4f6; }
html.dark .socials a:hover { background: #334155; }
.socials svg { width: 1.25rem; height: 1.25rem; }
.credit { font-size: 0.875rem; }
.credit a { text-decoration: underline; }

.placeholder-inline { font-size: 0.75rem; color: var(--aw-muted); }

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

@media (max-width: 47.99rem) {
  .nav-menu { width: 100%; }
}

/* Header CTA must stay hidden on small screens (higher specificity than .btn-secondary) */
a.header-cta { display: none; }
@media (min-width: 48rem) {
  a.header-cta { display: inline-flex; }
}
.process-art { max-height: 36rem; overflow: hidden; }
.process-art svg { max-height: 36rem; object-fit: contain; }
@media (min-width: 48rem) {
  .process-art { max-height: none; }
  .process-art svg { max-height: none; }
}
