/* Fernwerk — corporate-editorial virtual-assistant training site. Prefix: fw- */

:root {
  --fw-ink:      #1e2a38;
  --fw-body:     #33414d;
  --fw-muted:    #5b6b7a;
  --fw-paper:    #eef2f6;
  --fw-card:     #ffffff;
  --fw-line:     #d7dee6;
  --fw-copper:   #b5592f;
  --fw-copper-d: #8f4322;
  --fw-copper-tint: #f7e6da;
  --fw-max:      1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--fw-body);
  font-family: 'Hanken Grotesk', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .fw-serif { font-family: 'Spectral', Georgia, serif; color: var(--fw-ink); font-weight: 600; margin: 0; }
a { color: var(--fw-copper-d); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .fw-btn:focus-visible {
  outline: 2px solid var(--fw-copper-d);
  outline-offset: 3px;
  border-radius: 4px;
}
img { max-width: 100%; display: block; }
.fw-shell { max-width: var(--fw-max); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 90px; }

/* ── Masthead (sticky) ──────────────────────────────────────────────── */
.fw-masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--fw-line);
}
.fw-masthead-inner {
  max-width: var(--fw-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.fw-wordmark {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fw-ink);
}
.fw-wordmark span { color: var(--fw-copper-d); }
.fw-nav { display: flex; gap: 24px; margin-left: auto; }
.fw-nav a { color: var(--fw-ink); font-size: 14.5px; font-weight: 500; }
.fw-nav a:hover { color: var(--fw-copper-d); text-decoration: none; }

.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.fw-btn-solid { background: var(--fw-ink); color: #fff; }
.fw-btn-solid:hover { background: #0f1822; text-decoration: none; }
.fw-btn-ghost { background: transparent; color: var(--fw-ink); border-color: var(--fw-line); }
.fw-btn-ghost:hover { border-color: var(--fw-ink); text-decoration: none; }
.fw-btn-lg { padding: 15px 28px; font-size: 15.5px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.fw-hero { background: var(--fw-paper); border-bottom: 1px solid var(--fw-line); }
.fw-hero-inner {
  max-width: var(--fw-max);
  margin: 0 auto;
  padding: 52px 24px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.fw-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fw-copper-d);
  margin-bottom: 16px;
}
.fw-hero h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.18; margin-bottom: 18px; }
.fw-hero-lead { font-size: 17px; color: var(--fw-body); max-width: 480px; margin-bottom: 26px; }
.fw-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.fw-hero-figure { position: relative; }
.fw-hero-figure img { border-radius: 10px; box-shadow: 0 20px 40px rgba(30,42,56,.16); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fw-hero-badge {
  position: absolute;
  bottom: -18px;
  right: 18px;
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--fw-muted);
  box-shadow: 0 8px 18px rgba(30,42,56,.1);
}
.fw-hero-badge strong { display: block; color: var(--fw-ink); font-size: 13.5px; }

/* ── Sections ────────────────────────────────────────────────────────── */
.fw-section { padding: 60px 24px; max-width: var(--fw-max); margin: 0 auto; }
.fw-section-alt { background: var(--fw-paper); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); }
.fw-section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.fw-section-head h2 { font-size: clamp(25px, 3.2vw, 34px); margin-bottom: 12px; }
.fw-section-head p { color: var(--fw-muted); font-size: 16px; }

/* ── Why it works — 3 col cards ──────────────────────────────────────── */
.fw-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fw-why-card { background: #fff; border: 1px solid var(--fw-line); border-radius: 10px; padding: 26px 22px; }
.fw-why-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--fw-copper-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fw-why-icon svg { width: 20px; height: 20px; stroke: var(--fw-copper-d); }
.fw-why-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.fw-why-card p { color: var(--fw-muted); font-size: 14.5px; margin: 0; }

/* ── Module list ─────────────────────────────────────────────────────── */
.fw-modules-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.fw-modules-intro h2 { font-size: clamp(25px, 3vw, 32px); margin-bottom: 14px; }
.fw-modules-intro p { color: var(--fw-muted); margin-bottom: 18px; }
.fw-modules { display: flex; flex-direction: column; gap: 12px; }
.fw-module {
  display: block;
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 10px;
  padding: 18px 20px;
}
.fw-module-num { font-family: 'Spectral', serif; font-weight: 600; font-size: 20px; color: var(--fw-copper-d); flex-shrink: 0; min-width: 28px; }
.fw-module summary {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  list-style: none;
}
.fw-module summary::-webkit-details-marker { display: none; }
.fw-module summary:focus-visible {
  outline: 2px solid var(--fw-copper-d);
  outline-offset: 4px;
  border-radius: 4px;
}
.fw-module-head { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fw-module-title { font-family: 'Spectral', serif; font-weight: 600; font-size: 16.5px; color: var(--fw-ink); margin-bottom: 4px; overflow-wrap: break-word; }
.fw-module-teaser { color: var(--fw-muted); font-size: 14px; overflow-wrap: break-word; }
.fw-module-toggle { flex-shrink: 0; font-size: 20px; color: var(--fw-copper-d); line-height: 1; margin-top: 2px; }
.fw-module-toggle::after { content: '+'; }
.fw-module[open] .fw-module-toggle::after { content: '\2212'; }
.fw-module[open] summary { margin-bottom: 14px; }
.fw-module-details {
  list-style: none;
  margin: 0;
  padding: 14px 0 0 44px;
  border-top: 1px solid var(--fw-line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fw-module-details li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--fw-body); }
.fw-module-details li::before { content: '\2013'; position: absolute; left: 0; color: var(--fw-copper-d); }

/* ── Tools & what's included ─────────────────────────────────────────── */
.fw-included-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--fw-line); }
.fw-included-col h3 { font-family: 'Spectral', serif; font-size: 17.5px; color: var(--fw-ink); margin-bottom: 16px; }
.fw-tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fw-chip { display: inline-block; background: #fff; border: 1px solid var(--fw-line); border-radius: 20px; padding: 7px 15px; font-size: 13.5px; color: var(--fw-body); }
.fw-included-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fw-included-list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--fw-body); }
.fw-included-list li::before { content: '\2013'; position: absolute; left: 0; color: var(--fw-copper-d); }

/* ── Income banner ───────────────────────────────────────────────────── */
.fw-income-band { background: var(--fw-paper); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); text-align: center; padding: 42px 24px; }
.fw-income-band h2 { font-size: clamp(23px, 3vw, 30px); margin-bottom: 12px; }
.fw-income-band h2 sup { color: var(--fw-copper-d); font-size: 16px; }
.fw-income-band p { max-width: 680px; margin: 0 auto 8px; color: var(--fw-body); font-size: 15.5px; }
.fw-income-band .fw-income-note { font-size: 12.5px; color: var(--fw-muted); max-width: 680px; margin: 8px auto 0; }

/* ── Method (image + checklist) ─────────────────────────────────────── */
.fw-method-wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.fw-method-fig img { border-radius: 10px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fw-method-copy h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 8px 0 16px; }
.fw-method-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fw-method-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--fw-body); }
.fw-method-list svg { width: 18px; height: 18px; stroke: var(--fw-copper-d); flex-shrink: 0; margin-top: 2px; }

/* ── Who it's for ─────────────────────────────────────────────────────── */
.fw-fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.fw-fit-card { background: #fff; border: 1px solid var(--fw-line); border-radius: 10px; padding: 26px 24px; }
.fw-fit-card h3 { font-size: 17.5px; margin-bottom: 14px; }
.fw-fit-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fw-fit-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fw-body); }
.fw-fit-yes svg { stroke: #2f7a4d; }
.fw-fit-no svg { stroke: var(--fw-copper-d); }
.fw-fit-card svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.fw-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.fw-faq details { background: #fff; border: 1px solid var(--fw-line); border-radius: 10px; padding: 18px 20px; }
.fw-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--fw-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fw-faq summary::after { content: '+'; font-size: 20px; color: var(--fw-copper-d); font-weight: 400; }
.fw-faq details[open] summary::after { content: '−'; }
.fw-faq p { color: var(--fw-muted); margin: 12px 0 0; font-size: 15px; }

/* ── Lead form / apply band ─────────────────────────────────────────── */
.fw-apply { background: var(--fw-ink); }
.fw-apply-inner { max-width: var(--fw-max); margin: 0 auto; padding: 60px 24px; }
.fw-apply-head { text-align: center; margin-bottom: 34px; }
.fw-apply-head h2 { color: #fff; font-size: clamp(25px, 3.4vw, 34px); margin-bottom: 10px; }
.fw-apply-head p { color: #aebdc9; font-size: 15.5px; }
.fw-form { background: #fff; max-width: 620px; margin: 0 auto; padding: 32px; border-radius: 10px; }
.fw-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fw-field { margin-bottom: 16px; }
.fw-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--fw-ink); }
.fw-field label .fw-req { color: var(--fw-copper-d); }
.fw-field input, .fw-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--fw-line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.fw-field textarea { resize: vertical; min-height: 90px; }
.fw-field input:focus, .fw-field textarea:focus { outline: none; border-color: var(--fw-copper); }
.fw-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--fw-muted); margin-bottom: 18px; }
.fw-consent input { margin-top: 3px; flex-shrink: 0; }
.fw-consent a { color: var(--fw-copper-d); }
.fw-form-note { font-size: 12px; color: var(--fw-muted); margin-top: 14px; text-align: center; }
.fw-hp { position: absolute; left: -9999px; top: -9999px; }
.fw-form-msg { padding: 12px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 16px; }
.fw-form-msg.fw-error { background: #fbe4e4; color: #8a2323; border: 1px solid #f0bcbc; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.fw-footer { background: #fff; padding: 56px 24px 0; }
.fw-footer-grid {
  max-width: var(--fw-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 40px;
}
.fw-footer-brand p { color: var(--fw-muted); font-size: 13.5px; margin-top: 14px; line-height: 1.7; }
.fw-footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--fw-muted); margin-bottom: 14px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; }
.fw-footer-col a { display: block; color: var(--fw-body); font-size: 14.5px; margin-bottom: 10px; }
.fw-footer-col a:hover { color: var(--fw-copper-d); }
.fw-footer-legal { max-width: var(--fw-max); margin: 0 auto; border-top: 1px solid var(--fw-line); padding: 22px 0 26px; }
.fw-footer-legal p { font-size: 12.5px; color: var(--fw-muted); margin: 0 0 10px; }

/* ── Cookie banner / modal ───────────────────────────────────────────── */
.fw-cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--fw-ink); color: #f1f5f8; z-index: 200; padding: 18px 24px; }
.fw-cookie-banner[hidden] { display: none; }
.fw-cookie-inner { max-width: var(--fw-max); margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.fw-cookie-inner p { margin: 0; font-size: 13.5px; color: #c7d2dc; max-width: 560px; }
.fw-cookie-inner a { color: #e0a479; }
.fw-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fw-cookie-banner .fw-btn-ghost { color: #f1f5f8; border-color: rgba(241,245,248,.4); }
.fw-cookie-banner .fw-btn-ghost:hover { border-color: #fff; }

.fw-cookie-modal { position: fixed; inset: 0; background: rgba(30,42,56,.6); z-index: 210; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fw-cookie-modal[hidden] { display: none; }
.fw-cookie-modal-box { background: #fff; max-width: 440px; padding: 28px; border-radius: 10px; }
.fw-cookie-modal-box h3 { margin-bottom: 12px; }
.fw-cookie-modal-box p { color: var(--fw-muted); font-size: 14px; margin-bottom: 16px; }
.fw-cookie-toggle { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 10px; }
.fw-cookie-modal-actions { margin-top: 18px; }

/* ── Legal pages ─────────────────────────────────────────────────────── */
.fw-legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.fw-legal h1 { font-size: 30px; margin-bottom: 8px; }
.fw-legal h2 { font-size: 19px; margin: 28px 0 10px; }
.fw-legal p, .fw-legal li { color: var(--fw-body); font-size: 15.5px; }
.fw-legal .fw-updated { color: var(--fw-muted); font-size: 13.5px; margin-bottom: 28px; }
.fw-legal ul { padding-left: 20px; }

/* ── Thank you page ──────────────────────────────────────────────────── */
.fw-thanks { max-width: 640px; margin: 0 auto; padding: 80px 24px 100px; text-align: center; }
.fw-thanks h1 { font-size: 28px; margin-bottom: 16px; }
.fw-thanks p { color: var(--fw-muted); font-size: 16px; margin-bottom: 28px; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fw-nav { display: none; }
  .fw-hero-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 36px; }
  .fw-why-grid { grid-template-columns: 1fr; }
  .fw-modules-wrap { grid-template-columns: 1fr; }
  .fw-included-wrap { grid-template-columns: 1fr; gap: 28px; }
  .fw-method-wrap { grid-template-columns: 1fr; }
  .fw-fit-grid { grid-template-columns: 1fr; }
  .fw-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fw-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .fw-masthead-inner { padding: 12px 18px; }
  .fw-hero-inner, .fw-section, .fw-apply-inner { padding-left: 18px; padding-right: 18px; }
  .fw-form { padding: 22px; }
}
