/* Velorra design tokens */
:root {
  --ink: #0F2540;
  --ink-soft: #1B3A5C;
  --ocean: #336699;
  --ocean-deep: #244D78;
  --coral: #E94B35;
  --coral-deep: #C13B27;
  --sun: #E8A33D;
  --paper: #F6F9FB;
  --paper-2: #ECF1F6;
  --mute: #5E7896;
  --line: #D7E1EA;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-1: 0 1px 2px rgba(15, 37, 64, 0.06);
  --sh-2: 0 4px 16px rgba(15, 37, 64, 0.08);
  --sh-3: 0 12px 36px rgba(15, 37, 64, 0.12);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --max: 1200px;
  --pad: 24px;
}

@media (min-width: 768px) { :root { --pad: 40px; } }
@media (min-width: 1024px) { :root { --pad: 56px; } }

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.18rem, 1vw + 0.9rem, 1.55rem); }
h4 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 600; }

p { margin: 0 0 16px; max-width: 68ch; }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

.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;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; gap: 8px;
  font: 500 16px/1 var(--f-body);
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); color: #fff; }

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

.skip {
  position: absolute; top: -100px; left: 8px; background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 6px; z-index: 80;
}
.skip:focus { top: 8px; }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-soft); font-size: 13px; font-weight: 500;
}
.tag-coral { background: rgba(233, 75, 53, 0.12); color: var(--coral-deep); }
.tag-ocean { background: rgba(51, 102, 153, 0.12); color: var(--ocean-deep); }
.tag-sun { background: rgba(232, 163, 61, 0.16); color: #8a5a13; }

.eyebrow {
  display: inline-block;
  font: 500 13px/1 var(--f-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 14px;
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
