@import url('tokens.css?v=9');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600&family=Inter:wght@400;500&display=swap&subset=latin-ext');
@import url('components.css?v=9');

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Layout helpers */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--pad-mobile);
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--pad-desktop); }
}

.section {
  padding-block: var(--section-pad-mobile);
}
@media (min-width: 1024px) {
  .section { padding-block: var(--section-pad-desktop); }
}
.section--sand { background: var(--sand); }
.section--dark { background: var(--graphite); color: var(--on-dark); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}
.section--dark .eyebrow { color: var(--larch-deep); }
.avanti-line {
  display: inline-block;
  width: 56px;
  height: 2px;
  background: var(--larch);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

.h1 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
@media (min-width: 640px) {
  .h1 { font-size: 56px; }
}

.h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .h2 { font-size: 36px; }
}

.h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .h3 { font-size: 22px; }
}

.big-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
}
@media (min-width: 640px) {
  .big-number { font-size: 48px; }
}

.body-text {
  max-width: 65ch;
  color: var(--ink-secondary);
}
.body-small { font-size: 15px; line-height: 1.6; }
.caption { font-size: 13px; font-weight: 500; color: var(--ink-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  transition: transform 150ms var(--ease-out), background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--paper-raised);
}
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-1px); }

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn--secondary:hover { border-color: var(--graphite); background: #2323200A; }

.section--dark .btn--secondary {
  border-color: var(--on-dark-muted);
  color: var(--on-dark);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.tbd { color: var(--larch-deep); font-style: italic; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
}
.badge--neutral { background: var(--sand); color: var(--ink); }
.badge--forest { background: var(--forest); color: var(--paper-raised); }
.badge--day {
  background: var(--graphite);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Gable mark */
.gable-mark {
  display: inline-block;
  flex-shrink: 0;
}
