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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--c-wine-950);
  font-family: var(--f-text);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--c-ink);
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
}

h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }

p { margin: 0; }

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 3px solid var(--c-quartz-300);
  outline-offset: 3px;
}

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


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - (var(--container-pad) * 2), var(--container-w));
  margin-inline: auto;
}

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.gap-2xs { gap: var(--space-2xs); }
.gap-xs { gap: var(--space-xs); }
.gap-s { gap: var(--space-s); }
.gap-m { gap: var(--space-m); }
.gap-l { gap: var(--space-l); }

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-s { margin-bottom: var(--space-s); }
.mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); }

.text-lead { font-size: var(--step-lead); }
.text-small { font-size: var(--step-small); }
.text-soft { color: var(--c-ink-soft); }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.max-w-prose { max-width: 42rem; }
.max-w-prose-s { max-width: 34rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin: 0 0 var(--space-s);
  font-family: var(--f-display);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-quartz-300);
}

.mark-skew {
  display: inline-block;
  flex: none;
  width: .55em;
  height: .55em;
  background: var(--c-quartz-500);
  transform: skewX(-16deg);
  border-radius: 2px;
}

.eyebrow .mark-skew { width: .5rem; height: .5rem; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  min-height: 48px;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-s) var(--ease-out), background-color var(--dur-s) var(--ease-out), border-color var(--dur-s) var(--ease-out);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--c-quartz-500);
  color: var(--c-wine-950);
}

.btn--primary:hover { background: var(--c-quartz-300); }

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

.btn--ghost:hover { border-color: var(--c-quartz-300); }

.btn--dark {
  background: var(--c-wine-950);
  color: var(--c-ink);
}

.btn--dark:hover { background: var(--c-wine-800); }


.field { display: grid; gap: var(--space-2xs); }

.field label {
  font-family: var(--f-display);
  font-size: var(--step-small);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-ink-soft);
}

.field input[type="text"],
.field input[type="tel"] {
  padding: .85rem 1rem;
  min-height: 48px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  background: rgba(255, 248, 249, .05);
  color: var(--c-ink);
}

.field input::placeholder { color: rgba(233, 205, 214, .55); }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--step-small);
  color: var(--c-ink-soft);
}

.field-check input {
  width: 20px;
  height: 20px;
  margin-top: .1em;
  accent-color: var(--c-quartz-500);
}

.field-hidden { position: absolute; left: -9999px; top: -9999px; }

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

.form-note {
  margin-top: var(--space-s);
  font-size: var(--step-small);
  color: var(--c-ink-soft);
}

.form-note[data-state="ok"] { color: var(--c-quartz-300); }
.form-note[data-state="error"] { color: #ffb4b4; }


.skipnav {
  position: absolute;
  top: -100px;
  left: var(--space-s);
  z-index: 1200;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-s);
  background: var(--c-quartz-500);
  color: var(--c-wine-950);
  font-family: var(--f-display);
  font-weight: 600;
  transition: top var(--dur-s) var(--ease-out);
}

.skipnav:focus { top: var(--space-s); }
