:root {
  color-scheme: light;
  --green-900: #0c3f32;
  --green-700: #176b4d;
  --green-100: #e8f3ee;
  --blue: #246b9e;
  --amber: #c77d0a;
  --ink: #17201d;
  --muted: #57635f;
  --line: #d8e0dc;
  --canvas: #f4f7f5;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3, p { letter-spacing: 0; }
.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo-crop { position: relative; width: 52px; height: 52px; overflow: hidden; }
.brand-logo { position: absolute; width: 104px; height: 104px; max-width: none; left: -26px; top: -21px; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: .98rem; }
.brand small { color: var(--muted); font-size: .74rem; }
.secure-label { padding: 6px 10px; border: 1px solid #b7d2c6; border-radius: 4px; color: var(--green-900); background: var(--green-100); font-size: .78rem; font-weight: 800; }

.intro { padding-block: 72px 48px; }
.eyebrow { margin: 0 0 12px; color: var(--green-700); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
h1 { max-width: 800px; margin: 0; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; }
.intro-copy { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }

.privacy-notice { background: var(--green-900); color: white; }
.privacy-inner { min-height: 108px; display: flex; align-items: center; gap: 18px; padding-block: 22px; }
.notice-mark { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border: 2px solid #9fe0c2; border-radius: 50%; font-weight: 900; }
.privacy-inner p { margin: 5px 0 0; color: #d4e7df; font-size: .92rem; }

.forms-section { padding-block: 62px; }
.forms-section h2, .process h2, .legal-summary h2 { margin: 0 0 24px; font-size: 1.45rem; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form-card { display: flex; min-height: 500px; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-top: 5px solid var(--green-700); border-radius: 8px; background: var(--paper); }
.trace-card { border-top-color: var(--blue); }
.trade-card { border-top-color: var(--amber); }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-code { color: var(--green-700); font-size: .78rem; font-weight: 900; }
.card-type { color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.device-visual { height: 150px; margin: 20px -8px 0; overflow: hidden; border-radius: 6px; background: #101714; }
.device-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.form-card h3 { margin: 30px 0 12px; font-size: 1.45rem; line-height: 1.15; }
.device-visual + h3 { margin-top: 22px; }
.form-card p { margin: 0; color: var(--muted); }
.form-button { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 0 16px; border-radius: 6px; background: var(--green-700); color: white; font-weight: 800; text-decoration: none; }
.form-button:hover, .form-button:focus-visible { background: var(--green-900); }
.trace-card .form-button { background: var(--blue); }
.trade-card .form-button { background: #9a610b; }

.process { padding: 0 0 72px; }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.process li { display: flex; gap: 14px; padding: 20px; border-top: 1px solid var(--line); }
.process li > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-900); font-size: .8rem; font-weight: 900; }
.process p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

.legal-summary { padding-block: 34px; border-top: 1px solid #bdd2c8; background: var(--green-100); }
.legal-summary-inner { display: grid; grid-template-columns: .9fr 1.5fr auto; align-items: center; gap: 30px; }
.legal-summary .eyebrow { margin-bottom: 7px; }
.legal-summary h2 { margin: 0; color: var(--green-900); line-height: 1.18; }
.legal-summary p { margin: 0; color: #345248; font-size: .92rem; }
.legal-summary a { color: var(--green-900); font-size: .86rem; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.legal-page { padding-block: 68px 82px; }
.legal-page h1 { max-width: 920px; }
.legal-lead { max-width: 790px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.legal-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; margin-top: 54px; border-top: 1px solid var(--line); }
.legal-sections section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-sections h2 { margin: 0 0 10px; font-size: 1.12rem; }
.legal-sections p { margin: 0; color: var(--muted); font-size: .94rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.legal-links a { color: var(--green-700); font-size: .86rem; font-weight: 800; }

.site-footer { padding-block: 26px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; color: var(--muted); font-size: .82rem; }
.footer-identity { display: flex; flex-direction: column; gap: 3px; }
.footer-identity strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-links a { color: var(--green-700); font-weight: 800; }
.not-found { min-height: calc(100vh - 145px); }
.return-link { width: fit-content; margin-top: 28px; }

@media (max-width: 820px) {
  .form-grid, .process ol { grid-template-columns: 1fr; }
  .form-card { min-height: 360px; }
  .legal-summary-inner { grid-template-columns: 1fr; gap: 16px; }
  .legal-sections { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1080px); }
  .header-inner { min-height: 78px; }
  .brand-logo-crop { width: 48px; height: 48px; }
  .brand-logo { width: 96px; height: 96px; left: -24px; top: -19px; }
  .secure-label { display: none; }
  .intro { padding-block: 50px 34px; }
  h1 { font-size: 2.65rem; }
  .privacy-inner { align-items: flex-start; }
  .forms-section { padding-block: 44px; }
  .form-card { min-height: 320px; padding: 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-links { justify-content: flex-start; }
}

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