@import url("./fonts.css");

:root {
  --color-primary: #3daa62;
  --color-primary-dark: #2d8a4d;
  --color-logo: #1b5bd9;
  --color-ink: #0d0f12;
  --color-ink-deep: #08090b;
  --color-cta: #3daa62;
  --color-cta-ink: #ffffff;
  --color-paper: #ffffff;
  --color-muted: #f3f2ef;
  --color-steel: #3d4348;
  --color-white: #ffffff;
  --color-gilt: #b08d57;
  --color-line: rgba(13, 15, 18, 0.18);
  --color-line-on-ink: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 16px 40px rgba(8, 9, 11, 0.1);
  --shadow-lift: 0 20px 44px rgba(8, 9, 11, 0.16);
  --font-sans: Outfit, "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --space: 8px;
  --radius: 0;
  --page: 1240px;
  --gutter: 20px;
  --section-y: 40px;
  --topbar-h: 36px;
  --header-h: 60px;
  --measure: 62ch;
  --ease: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  z-index: 1000;
  background: var(--color-white);
  padding: 8px 12px;
}

.container {
  width: 100%;
  max-width: var(--page);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 0;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  max-width: 100%;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform 400ms ease;
}

.btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(61, 170, 98, 0.22);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px rgba(61, 170, 98, 0.22);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}

[data-form-status].is-error { color: #8b1e1e; }
[data-form-status]:not(.is-error):not([hidden]) { color: var(--color-primary-dark); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (scripting: none) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
