@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Variable.woff") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #2b3138;
  --charcoal-soft: #4a5159;
  --ice: #7fb3d5;
  --ice-deep: #5f9cc4;
  --ice-light: #a9cbe0;
  --pale: #eef5fa;
  --pale-2: #f7fafc;
  --white: #ffffff;
  --line: rgba(43, 49, 56, 0.1);
  --line-strong: rgba(43, 49, 56, 0.16);
  --error: #8a2f2f;
  --error-bg: #f8ecec;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(43, 49, 56, 0.06);
  --header-h: 84px;
  --wrap: 1120px;
  --font: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ul, ol, figure, fieldset {
  margin: 0;
}

[hidden] {
  display: none !important;
}

h1, h2, h3 {
  color: var(--charcoal);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

a {
  color: var(--charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ice-deep);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav > a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.nav > a:not(.btn):hover {
  color: var(--ice-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 550;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1c2126;
  border-color: #1c2126;
  color: var(--white);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: var(--pale-2);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
}

.btn-nav {
  padding: 10px 16px;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 56px;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-deep);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 22px;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--charcoal-soft);
  max-width: 38rem;
}

.lede-follow {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-wordmark {
  margin-top: 4px;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-wordmark .wm-bol { color: var(--charcoal); }
.hero-wordmark .wm-pay { color: var(--ice); }

.hero-visual img {
  width: min(100%, 460px);
  height: auto;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--pale);
}

.section h2,
.report-intro h2,
.report-success h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  max-width: 20ch;
  margin-bottom: 16px;
}

.section > .wrap > h2,
.report-intro h2 {
  margin-bottom: 48px;
}

.report-intro h2 {
  margin-bottom: 14px;
  max-width: none;
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: none;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ice-deep);
  margin-bottom: 16px;
}

.step h3,
.feature h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p,
.feature p {
  color: var(--charcoal-soft);
  font-size: 1rem;
}

/* Why */
.features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--ice-deep);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

/* Report form */
.report-wrap {
  max-width: 780px;
}

.report-intro {
  margin-bottom: 36px;
}

.report-intro p:not(.eyebrow) {
  color: var(--charcoal-soft);
  max-width: 42rem;
}

.report-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field-row .field {
  margin-bottom: 0;
}

.field-full {
  margin-bottom: 18px;
}

label,
legend {
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.optional {
  font-weight: 400;
  color: var(--charcoal-soft);
}

.hint {
  font-size: 0.875rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
  margin: 0 0 8px;
}

fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 12px;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--ice-deep);
  box-shadow: 0 0 0 3px rgba(127, 179, 213, 0.25);
  outline: none;
}

.input-prefix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.input-prefix span {
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  color: var(--charcoal-soft);
  font-weight: 500;
  font-size: 0.95rem;
  background: var(--pale-2);
  border-right: 1px solid var(--line);
}

.input-prefix input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-prefix:focus-within {
  border-color: var(--ice-deep);
  box-shadow: 0 0 0 3px rgba(127, 179, 213, 0.25);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--charcoal);
  cursor: pointer;
}

.check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--charcoal);
  flex: 0 0 auto;
}

.other-currency {
  margin-top: 12px;
  margin-bottom: 0;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: 400;
}

.file-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--pale-2);
  font-size: 0.9rem;
  font-weight: 550;
}

.file-label:hover .file-btn {
  border-color: var(--charcoal);
}

.file-name {
  font-size: 0.875rem;
  color: var(--charcoal-soft);
}

.consent-field {
  margin-top: 6px;
}

.check-consent {
  align-items: flex-start;
  line-height: 1.45;
}

.form-error {
  background: var(--error-bg);
  color: var(--error);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.925rem;
  margin: 0 0 16px;
}

.form-actions {
  margin-top: 8px;
}

.report-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.report-success h2 {
  margin-bottom: 12px;
}

.report-success p {
  color: var(--charcoal-soft);
  max-width: 36rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  margin-bottom: 8px;
}

.footer-legal,
.footer-note {
  font-size: 0.875rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  max-width: 36rem;
}

/* Responsive */
@media (max-width: 880px) {
  .hero-grid,
  .steps,
  .features,
  .field-row,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(100%, 300px);
  }

  .section {
    padding: 64px 0;
  }

  .section > .wrap > h2 {
    margin-bottom: 28px;
  }

  .nav > a:not(.btn) {
    display: none;
  }

  .logo {
    height: 40px;
  }

  .header-inner,
  .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .report-form,
  .report-success {
    padding: 24px 20px;
  }

  .hero h1 br {
    display: none;
  }
}

@media (max-width: 420px) {
  .btn-nav {
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  .logo {
    height: 36px;
  }

  .form-actions .btn {
    width: 100%;
  }
}

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

  .btn {
    transition: none;
  }
}
