/* Valtora public site. Palette and fonts match frontend/src/styles/tokens.css and base.css:
   Indigo #1E3A5F, Sage #6B8F86, Champagne Gold #D4B895, Sand #D9C9B1,
   Light Gray #E5E7EB, Off-White #FAF9F6. Fonts are self-hosted (SIL OFL 1.1). */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --indigo: #1e3a5f;
  --sage: #6b8f86;
  --gold: #d4b895;
  --sand: #d9c9b1;
  --gray: #e5e7eb;
  --offwhite: #faf9f6;
  --white: #ffffff;
  --indigo-rgb: 30, 58, 95;

  --text: var(--indigo);
  /* About 6:1 on off-white and white (WCAG AA for body text). */
  --text-muted: rgba(var(--indigo-rgb), 0.78);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(var(--indigo-rgb), 0.06), 0 4px 16px rgba(var(--indigo-rgb), 0.06);
}

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

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

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

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--indigo);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow > * {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--gray);
  background: var(--offwhite);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 72px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav-list a:hover {
  text-decoration: underline;
}

.hero {
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    linear-gradient(180deg, var(--offwhite) 0%, rgba(217, 201, 177, 0.35) 100%);
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
}

.status {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #162c49;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}

.section-indigo {
  background: var(--indigo);
  color: var(--white);
}

.section-indigo h2 {
  color: var(--gold);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-top: 4px solid var(--sage);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--text-muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.benefits p {
  margin: 0;
  color: var(--text-muted);
}

.note {
  max-width: 70ch;
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--offwhite);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
