/* ============================================================================
   Landing — Option 1c "Reversed masthead"
   Built on the Industry design system (ds.css). Desktop-first; the single
   @media (max-width: 860px) block carries the phone layout from the mockup.
   ========================================================================== */

:root {
  --page-max: 1180px;
  --gutter: 40px;
  --ink-60: rgba(29, 31, 32, .6);
  --ink-70: rgba(29, 31, 32, .75);
  --ink-80: rgba(29, 31, 32, .82);
  --paper: #f2f2f3;
  --paper-85: rgba(242, 242, 243, .85);
  --paper-70: rgba(242, 242, 243, .7);
  --paper-65: rgba(242, 242, 243, .65);
  --on-dark-line: rgba(242, 242, 243, .18);
  --on-dark-border: rgba(242, 242, 243, .45);

  /* Highlight — reserved for the automation-report CTA, kept apart from
     the steel-blue accent so those buttons read as "click me" at a glance. */
  --color-highlight: #e8a23d;
  --color-highlight-600: #d38f2c;
  --color-highlight-700: #b97a1f;
  --color-highlight-ink: #1d2d3d;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--page-max); margin-inline: auto; }

/* Condensed display type — the mockup's `.mk` */
.mk {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: .95;
  margin: 0;
}

.eyebrow {
  font: 600 16px/1 var(--font-heading);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow.accent { color: var(--color-accent-700); }
.eyebrow.muted  { color: var(--ink-60); }
.eyebrow.light  { color: var(--color-accent-400); }

a { color: inherit; }

/* Blueprint figure/photo -------------------------------------------------- */
.ph {
  background-image: repeating-linear-gradient(135deg,
    rgba(89, 128, 166, .22) 0 2px, transparent 2px 9px);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* On-dark button variant (outline in paper) ----------------------------- */
.btn-ondark {
  color: var(--paper);
  border-color: var(--on-dark-border);
  background: transparent;
}
.btn-ondark:hover { background: rgba(242, 242, 243, .1); }
.btn-ondark:active { background: rgba(242, 242, 243, .18); }
.btn-block { width: 100%; }
.btn-note { font: 400 15px/1 ui-monospace, Menlo, monospace; }

/* Highlight button — the automation-report CTA, on any background ------- */
.btn-highlight {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  color: var(--color-highlight-ink);
  font-weight: 600;
}
.btn-highlight:hover { background: var(--color-highlight-600); border-color: var(--color-highlight-600); }
.btn-highlight:active { background: var(--color-highlight-700); border-color: var(--color-highlight-700); }
.btn-highlight:disabled, .btn-highlight:disabled:hover { background: var(--color-highlight); border-color: var(--color-highlight); }

/* ============================================================================
   Header
   ========================================================================== */
.site-head { background: var(--color-accent-900); color: var(--paper); }
.head-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--on-dark-line);
}
.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  margin-right: auto;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--color-accent-400); }

/* highlighted "Kontakt" call-to-action */
.nav-links .nav-cta {
  color: var(--color-accent-400);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px 16px;
  border: 1px solid var(--on-dark-border);
}
.nav-links .nav-cta:hover {
  color: var(--color-accent-900);
  background: var(--color-accent-400);
  border-color: var(--color-accent-400);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  font: 12px/1 ui-monospace, Menlo, monospace;
  color: var(--paper-70);
  background: transparent;
  border: 1px solid var(--on-dark-border);
  cursor: pointer;
}

/* ============================================================================
   Hero — steel field
   ========================================================================== */
.hero { background: var(--color-accent-900); color: var(--paper); }

.hero-top {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  align-items: end;
  padding: 52px var(--gutter) 0;
}
.hero-eyebrow { font-size: 16px; margin-bottom: 22px; }
.hero-title {
  font-size: clamp(3.25rem, 9vw, 7.375rem);
  letter-spacing: -.03em;
}
.hero-figure {
  aspect-ratio: 1 / 1;
  margin: 0;
  background-color: var(--color-accent-800);
  border-color: rgba(242, 242, 243, .35);
}
.hero-figure .corner { color: rgba(242, 242, 243, .55); }

.hero-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr 340px;
  gap: 44px;
  align-items: end;
  padding: 34px var(--gutter) 46px;
}
.hero-lead { font-size: 18px; line-height: 1.55; margin: 0; color: var(--paper-85); }
.hero-sub  { font-size: 16px; line-height: 1.6;  margin: 0; color: var(--paper-65); }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }
.hero-cta .btn { font-size: 16px; padding: 14px 22px; }
.hero-cta .btn-primary { font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--on-dark-line);
}
.hero-stats .stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px var(--gutter);
}
.hero-stats .stat + .stat { border-left: 1px solid var(--on-dark-line); }
.stat-num { font-size: 44px; }
.stat-label {
  font: 600 12px/1.3 var(--font-heading);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-65);
}

/* ============================================================================
   Domains strip
   ========================================================================== */
.domains {
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--color-divider);
}
.domains-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.domains .eyebrow { margin-right: 22px; }
.domain-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.domains .tag { font-size: 16px; padding: 7px 14px; }

/* ============================================================================
   Generic section scaffolding
   ========================================================================== */
section[id] { scroll-margin-top: 16px; }
.section { padding: 64px var(--gutter) 72px; }
.section-alt { background: var(--color-neutral-200); border-top: 1px solid var(--color-divider); }
.examples { border-top: 1px solid var(--color-divider); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(2.5rem, 5.4vw, 4rem); max-width: 22ch; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-intro {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 44ch;
  color: var(--ink-70);
  align-self: center;
}

/* Cards row (Leistungen) ------------------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-3 .card { padding: 28px; gap: 12px; }
.card-kicker { font-size: 11px; color: var(--color-accent-700); }
.cards-3 .card-title { font-size: 24px; }
.cards-3 .card p { font-size: 15px; line-height: 1.55; margin: 0; color: var(--ink-70); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag-row .tag { font-size: 12px; }

/* ============================================================================
   Was ist n8n
   ========================================================================== */
.whatis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.whatis-copy h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-bottom: 20px; }
.whatis-copy .eyebrow { margin-bottom: 14px; }
.whatis-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.6; margin: 0 0 14px; color: var(--ink-80); }
.whatis-copy p:not(.eyebrow):last-child { margin-bottom: 0; }

.whatis-diagram { padding-top: 104px; }
.whatis-diagram > .eyebrow { margin-bottom: 18px; font-size: 13px; color: var(--ink-60); }

.workflow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 26px;
}
.wf-step {
  flex: 1;
  padding: 16px 14px;
  background: var(--color-bg);
}
.wf-step + .wf-step { margin-left: 20px; position: relative; }
.wf-step + .wf-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 20px;
  height: 1px;
  background: var(--color-divider);
}
.wf-num { display: block; font: 600 11px/1 ui-monospace, Menlo, monospace; color: var(--color-accent-700); margin-bottom: 8px; }
.wf-title { display: block; font-size: 20px; margin-bottom: 5px; }
.wf-desc { display: block; font-size: 12px; line-height: 1.4; color: rgba(29, 31, 32, .65); }

.whatis-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--color-divider);
  padding-top: 20px;
}
.whatis-stats .mk { font-size: 30px; margin-bottom: 4px; }
.whatis-stats p { font-size: 14px; line-height: 1.4; margin: 0; color: var(--ink-70); }

/* ============================================================================
   Beispiele
   ========================================================================== */
.examples-metric { text-align: right; flex: none; }
.examples-metric .mk { font-size: 56px; }
.examples-metric .stat-label { color: var(--ink-60); display: block; margin-top: 4px; }

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.example {
  padding: 24px;
  gap: 10px;
}
.example-head {
  display: contents;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: default;
}
.example-meta { display: block; }
.example-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.example-tagline .card-kicker { font-size: 12px; }
.example-title { display: block; font-size: 21px; margin-top: 8px; }
.example-hours, .example-sign { display: none; }
.example .tag-accent { font-size: 11px; }
.example-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.example-body p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--ink-70); }
.example-foot {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-divider);
}
.example-foot .mk { font-size: 26px; }
.example-foot .stat-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-60);
}

.examples-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
}
#examplesToggle { font-size: 15px; padding: 12px 20px; }
.examples-note { font-size: 14px; line-height: 1.5; margin: 16px 0 0; color: var(--ink-60); }

/* extra cards hidden until toggled (desktop) */
.example[data-extra="true"] { display: none; }
.examples.is-expanded .example[data-extra="true"] { display: flex; }

/* ============================================================================
   Report CTA banner — mid-page pitch for the automation-possibility report
   ========================================================================== */
.report-banner { padding-top: 0; padding-bottom: 0; }
.report-banner-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  margin: 8px 0 64px;
  border: 2px solid var(--color-highlight);
}
.report-banner-panel .corner { color: var(--color-highlight); }
.report-banner-copy { max-width: 62ch; }
.report-eyebrow { color: var(--color-highlight-700); margin-bottom: 12px; }
.report-banner-copy h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 10px; }
.report-banner-copy p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ink-70); }
.report-banner-panel .btn { flex: none; font-size: 16px; padding: 15px 26px; }

/* ============================================================================
   Prozess
   ========================================================================== */
.process .section-head { align-items: flex-end; }
.process .section-head h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding: 24px 28px 0; }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.process-step + .process-step { border-left: 1px solid var(--color-divider); }
.process-num { font-size: 64px; color: var(--color-accent-700); margin-bottom: 10px; }
.process-step h3 { font-size: 26px; margin-bottom: 10px; }
.process-step p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--ink-70); }

/* ============================================================================
   Kontakt
   ========================================================================== */
.contact {
  background: var(--color-accent-900);
  color: var(--paper);
  padding: 72px var(--gutter) 36px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: end;
}
.contact-title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin: 18px 0 24px; }
.contact-lead { font-size: 18px; line-height: 1.6; margin: 0; max-width: 58ch; color: rgba(242, 242, 243, .8); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.contact-btn {
  font-size: 17px;
  padding: 16px 22px;
  justify-content: space-between;
  text-decoration: none;
}
.contact-btn.btn-ondark .btn-note {
  font: 400 13px/1 ui-monospace, Menlo, monospace;
  color: rgba(242, 242, 243, .6);
}

.contact-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 242, 243, .2);
  text-align: center;
  justify-items: center;
}
.feature svg { display: block; margin: 0 auto 12px; color: var(--color-accent-400); }
.feature .mk { font-size: 30px; margin-bottom: 4px; }
.feature p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--paper-65); }

/* ============================================================================
   Footer
   ========================================================================== */
.site-foot {
  background: var(--color-accent-900);
  color: var(--paper-70);
  border-top: 1px solid rgba(242, 242, 243, .2);
  padding: 26px var(--gutter);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.site-foot .brand { margin-right: 0; font-size: 17px; color: var(--paper); }
.foot-year { font-size: 14px; margin-right: auto; }
.site-foot a { font-size: 14px; color: var(--paper-70); text-decoration: none; }
.site-foot a:hover { color: var(--paper); }

/* ============================================================================
   Phone — mirrors the 390px mockup
   ========================================================================== */
@media (max-width: 860px) {
  :root { --gutter: 20px; }

  /* header */
  .head-inner { gap: 16px; padding: 16px 20px; position: relative; }
  .brand { font-size: 18px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-accent-900);
    border-bottom: 1px solid var(--on-dark-line);
    z-index: 20;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 15px 20px;
    font-size: 16px;
    border-top: 1px solid var(--on-dark-line);
  }
  .nav-links .nav-cta {
    border: 0;
    border-top: 1px solid var(--on-dark-line);
    padding: 15px 20px;
  }
  .nav-links .nav-cta:hover { background: transparent; color: var(--color-accent-400); }

  /* hero */
  .hero-top {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 20px 0;
  }
  .hero-eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hero-figure { order: 2; }
  .hero-headline { order: 1; }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 20px 24px;
  }
  .hero-lead { font-size: 17px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { font-size: 17px; padding: 15px; width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat { padding: 16px 20px; }
  .hero-stats .stat + .stat { border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .stat-num { font-size: 36px; }

  /* domains */
  .domains { padding: 22px 20px; }
  .domains-inner { display: block; }
  .domains .eyebrow { display: block; margin: 0 0 12px; }
  .whatis-copy .eyebrow,
  .contact .eyebrow,
  .domains .eyebrow { font-size: 15px; }
  .domain-tags { gap: 8px; }
  .domains .tag { font-size: 15px; padding: 6px 12px; }

  /* sections */
  .section { padding: 36px 20px 40px; }
  .section-head {
    display: block;
    margin-bottom: 24px;
  }
  .section-head .eyebrow { margin-bottom: 12px; font-size: 15px; }
  .section-head h2 { font-size: 40px; max-width: none; margin-bottom: 14px; }
  .section-intro { font-size: 16px; max-width: none; }

  .cards-3 { grid-template-columns: 1fr; gap: 20px; }
  .cards-3 .card { padding: 22px; }

  /* n8n */
  .whatis-grid { grid-template-columns: 1fr; gap: 28px; }
  .whatis-copy h2 { font-size: 40px; }
  .whatis-copy p:not(.eyebrow) { font-size: 16px; }
  .whatis-diagram { padding-top: 0; }
  .workflow-steps { flex-direction: column; gap: 14px; }
  .wf-step { padding: 14px; }
  .wf-step + .wf-step { margin-left: 0; }
  .wf-step + .wf-step::before { display: none; }
  .wf-title { font-size: 22px; }
  .wf-desc { font-size: 14px; }
  .whatis-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .whatis-stats .mk { font-size: 26px; }

  /* beispiele — accordion */
  .examples-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }
  .examples-head > div:first-child { flex: 1; }
  .examples-head h2 { margin-bottom: 0; }
  .examples-metric { flex: none; }
  .examples-metric .mk { font-size: 34px; }
  .examples-metric .stat-label { font-size: 11px; letter-spacing: .12em; }
  .examples-grid { display: flex; flex-direction: column; gap: 12px; }
  .example { padding: 0; gap: 0; }
  .example-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 18px;
    cursor: pointer;
  }
  .example-meta {
    display: block;
    flex: 1;
    min-width: 0;
  }
  .example-tagline { display: block; }
  .example-tagline .tag-accent { display: none; }
  .example-tagline .card-kicker { display: block; margin-bottom: 3px; white-space: nowrap; }
  .example-title { font-size: 20px; margin-top: 0; }
  .example-hours {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    line-height: .95;
    white-space: nowrap;
    flex: none;
  }
  .example-sign {
    display: block;
    font: 400 20px/1 ui-monospace, Menlo, monospace;
    color: var(--color-accent-700);
    flex: none;
    width: 14px;
    text-align: center;
  }
  .example-body { display: none; padding: 0 18px 16px; }
  .example.open .example-body { display: block; }
  .example-body p { font-size: 15px; }
  .example-foot { display: none; }

  .example[data-extra="true"] { display: flex; }
  .examples-actions { display: none; }
  .examples-note { margin-top: 16px; }

  /* report banner */
  .report-banner-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px 20px;
    margin: 0 0 40px;
  }
  .report-banner-copy { max-width: none; }
  .report-banner-copy h2 { font-size: 32px; }
  .report-banner-panel .btn { width: 100%; }

  /* prozess */
  .process-steps { grid-template-columns: 1fr; }
  .process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid var(--color-divider);
  }
  .process-step:first-child { padding-left: 0; }
  .process-step:last-child { padding-right: 0; border-bottom: 1px solid var(--color-divider); }
  .process-step + .process-step { border-left: 0; }
  .process-num {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 34px;
    line-height: 1;
    margin: 0;
  }
  .process-step h3 { grid-column: 2; grid-row: 1; font-size: 21px; margin: 0 0 6px; }
  .process-step p  { grid-column: 2; grid-row: 2; font-size: 15px; line-height: 1.55; margin: 0; }

  /* kontakt */
  .contact { padding: 40px 20px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-title { font-size: 46px; margin: 14px 0 16px; }
  .contact-lead { font-size: 17px; max-width: none; }
  .contact-btn { font-size: 16px; padding: 16px; width: 100%; }
  .contact-btn.btn-primary { font-size: 17px; }
  .contact-features {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 32px;
  }
  .feature svg { width: 26px; height: 26px; }
  .feature .mk { font-size: 24px; }

  /* footer */
  .site-foot { padding: 20px; }
  .foot-inner { gap: 14px; }
  .site-foot .brand { width: 100%; font-size: 16px; }
  .foot-year { margin-left: auto; margin-right: 0; order: 5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .report-fab { transition: none; }
}

/* ============================================================================
   Calendly popup — tinted to the steel field, gently rounded, with the
   close control hugging the widget's top-right corner
   ========================================================================== */
.calendly-overlay { background-color: rgba(29, 45, 61, .82) !important; }
.calendly-overlay .calendly-popup { border-radius: 6px !important; }
.calendly-overlay .calendly-popup-content { border-radius: 6px !important; overflow: hidden !important; }

.calendly-overlay .calendly-popup-close {
  /* sit right at the popup box's top-right corner (1000×680 max, centred) */
  top: max(6px, calc(50vh - 340px - 8px)) !important;
  right: max(6px, calc(50vw - 500px - 8px)) !important;
  width: 34px !important;
  height: 34px !important;
  padding: 9px !important;
  box-sizing: border-box !important;
  background-color: var(--color-accent) !important;
  background-origin: content-box !important;
  background-position: center !important;
  border: 1px solid rgba(242, 242, 243, .35) !important;
  border-radius: 6px !important;
  z-index: 5 !important;
}

/* ============================================================================
   Report CTA — floating trigger + modal form
   ========================================================================== */
.report-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  padding: 14px 20px;
  font-size: 15px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.report-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.report-fab svg { flex: none; }

.report-modal { padding: 0; border: 0; background: transparent; overscroll-behavior: contain; }
.report-modal::backdrop { background: rgba(29, 31, 32, .55); }
.report-modal-inner {
  position: relative;
  width: min(460px, 88vw);
  max-height: 86vh;
  overflow-y: auto;
  padding: 36px;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}
.report-modal-inner::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.report-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-60);
  background: transparent;
  border: 1px solid var(--color-divider);
  cursor: pointer;
}
.report-modal-close:hover { background: var(--color-neutral-200); color: var(--color-text); }

.report-modal-intro { margin-bottom: 22px; padding-right: 28px; }
.report-modal-intro .eyebrow { margin-bottom: 10px; }
.report-modal-intro h2 { font-size: 30px; margin-bottom: 10px; }
.report-modal-lead { font-size: 15px; line-height: 1.55; margin: 0; color: var(--ink-70); }

.report-form { display: flex; flex-direction: column; gap: 16px; }
.report-form .field { margin: 0; }

.report-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-70);
  cursor: pointer;
}
.report-consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--color-accent); }
.report-consent a { text-decoration: underline; }

.report-captcha { min-height: 65px; }

.report-form-error {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  color: #9a3b1a;
  background: #fbe7dd;
  border: 1px solid #e8a23d;
}
.report-form-hint { margin: -8px 0 0; font-size: 12px; color: var(--ink-60); }
#reportSubmit:not(:disabled) ~ .report-form-hint { display: none; }

.report-success { text-align: center; padding: 12px 0 4px; }
.report-success-title { font-size: 28px; margin-bottom: 10px; }
.report-success p:not(.report-success-title) { font-size: 15px; color: var(--ink-70); margin: 0 0 20px; }

@media (max-width: 860px) {
  .report-fab {
    right: 16px;
    bottom: 16px;
    padding: 13px 18px;
    font-size: 14px;
  }
  .report-modal-inner { width: 92vw; padding: 26px 20px; max-height: 90vh; }
  .report-modal-intro h2 { font-size: 26px; }
}

