@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1C1917;
  --ink-soft: #57534E;
  --muted: #8A837C;
  --faint: #B4ADA5;

  --paper: #FBF9F7;
  --surface: #FFFFFF;
  --sand: #F3EEE8;
  --sand-deep: #E9E1D8;
  --line: #E4DCD3;
  --line-soft: #EFE9E2;

  --terracotta: #8D4037;
  --terracotta-deep: #6E3029;
  --terracotta-wash: #FAF1EE;
  --gold: #A8763E;
  --green: #3F7A46;
  --green-wash: #F0F5F0;

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --step-4: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --step-5: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);

  --gap-xs: 6px;
  --gap-sm: 12px;
  --gap: 20px;
  --gap-md: 32px;
  --gap-lg: 56px;
  --gap-xl: 88px;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --peach: #E09F77;
  --peach-line: #C07E52;
  --oxblood: #5A241C;

  --shell: 1140px;
  --shell-narrow: 760px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 88px;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

body.is-locked { overflow: hidden; }

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

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

.turbo-progress-bar { display: none; }
button { background: none; border: 0; cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--terracotta); color: #fff; }

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

.ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 22px; }
.shell-narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--gap-lg); }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-tight { padding-block: var(--gap-md); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }

.stack > * + * { margin-top: var(--gap-sm); }
.stack-lg > * + * { margin-top: var(--gap); }

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

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 3000;
  padding: 10px 16px; background: var(--ink); color: #fff;
  text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 28px;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  text-decoration: none; text-align: center;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

.btn-ghost { color: var(--ink-soft); padding-inline: 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--sand); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 38px; font-size: .95rem; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

.field { display: block; }
.field > label,
.label {
  display: block; margin-bottom: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
}

.input, .select, .textarea {
  width: 100%; padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .95rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--sand-deep); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(141, 64, 55, .1);
}
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #B4342A; }
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

.select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A837C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.hint { margin-top: 6px; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.error-text { margin-top: 6px; font-size: .82rem; color: #B4342A; }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; line-height: 1.55; cursor: pointer;
}
.check input {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--terracotta); cursor: pointer;
}

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius);
  font-size: .9rem; line-height: 1.55;
  border: 1px solid;
}
.alert svg { margin-top: 2px; }
.alert-info { background: var(--sand); border-color: var(--line); color: var(--ink-soft); }
.alert-success { background: var(--green-wash); border-color: #CBE0CC; color: #2C5C32; }
.alert-error { background: #FDF2F1; border-color: #F0D2CE; color: #96332A; }
.alert-warn { background: #FDF6EC; border-color: #EEDFC4; color: #7C5A20; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  border-radius: 100px; background: var(--sand); color: var(--ink-soft);
}
.tag-free { background: var(--green-wash); color: var(--green); }
.tag-warn { background: #FDF6EC; color: #8A6220; }
.tag-off { background: #FDF2F1; color: #96332A; }

.rule { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: var(--gap-lg); }
}

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