:root {
  --paper: #FBF7F0;
  --paper-line: rgba(43, 38, 34, .05);
  --ink: #2B2622;
  --ink-soft: rgba(43, 38, 34, .7);
  --ink-line: rgba(43, 38, 34, .35);
  --tape: #F2C14E;
  --tape-ink: #4a3a12;
  --chalk: #3B6EA5;
  --cta: #FA4D00;
  --cta-dark: #D43E00;
  --cta-text: #1A1612;
  --card: #FFFFFF;
  --focus: #1C63D6;
  --radius: 8px;
  --maxw: 1140px;
  --measure: 70ch;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --z-sticky: 40;
  --z-nav: 60;
  --z-dropdown: 120;
  --z-toast: 500;
  --header-h: 60px;
  --track-h: 76px;
  --cookie-h: 0px;
  --scroll-progress: 0;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Karla", -apple-system, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + var(--track-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, var(--paper-line) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, var(--paper-line) 0 1px, transparent 1px 28px);
  overflow-x: hidden;
}
main, header, footer, section, nav, div { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.22;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

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

@media (prefers-reduced-motion: no-preference) {
  .ui-cta, .ui-tag, .ui-tags-toggle span, .ui-top { transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, opacity .16s ease; }
  .ui-tags-toggle[aria-expanded="true"] span { transform: rotate(180deg); display: inline-block; }
}

.ui-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: var(--z-toast);
  border-radius: 0 0 6px 0;
}
.ui-skip:focus { left: 0; }

.ui-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--ink);
  border-bottom: 3px solid var(--tape);
}
.ui-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-3) var(--space-4);
}
.ui-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ui-logo img { height: 26px; width: auto; }
.ui-header__actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.ui-tags-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--paper);
  border: 1.5px dashed rgba(251, 247, 240, .55);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
.ui-tags-toggle:hover { border-color: var(--tape); color: var(--tape); }

.ui-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cta);
  color: var(--cta-text);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
}
.ui-cta:hover { background: var(--cta-dark); transform: translateY(-1px); }
.ui-cta--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 247, 240, .55);
}
.ui-cta--ghost:hover { border-color: var(--tape); color: var(--tape); }
.ui-header-cta { padding: 8px 16px; font-size: .9rem; }
.ui-cookie-btn { padding: 8px 18px; font-size: .9rem; }

.ui-track {
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-sticky);
  background: var(--tape);
}
.ui-tape {
  position: relative;
  height: 26px;
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 38, 34, .25);
}
.ui-tape__ruler {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-position: left bottom;
  background-image:
    repeating-linear-gradient(90deg, var(--tape-ink) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(90deg, var(--tape-ink) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(90deg, var(--tape-ink) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 62%, 100% 36%;
  opacity: .55;
}
.ui-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(4% + var(--scroll-progress, 0) * .92%);
  width: 2px;
  background: var(--cta-dark);
}
.ui-needle::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--cta-dark);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px var(--tape);
}

.ui-tags {
  display: none;
  list-style: none;
  margin: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--ink);
}
.ui-tags.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
  z-index: var(--z-dropdown);
}
.ui-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  padding: 7px 14px 7px 20px;
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%);
}
.ui-tag::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--ink);
}
.ui-tag:hover { background: var(--chalk); color: #fff; }
.ui-tag[aria-current="true"] { background: var(--cta); color: var(--cta-text); }

.ui-tags-static { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-8) var(--space-4) var(--space-7);
}
.hero__deco { display: none; pointer-events: none; }
.hero__deco svg {
  display: block;
  width: 100%;
  height: auto;
  stroke: var(--chalk);
  stroke-width: 2;
  opacity: .4;
}
.hero__content { max-width: 44rem; }
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw + 1rem, 3.25rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.hero p { font-size: clamp(1rem, .4vw + .95rem, 1.15rem); color: var(--ink-soft); }
.ui-cta-group { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

.swatch {
  position: relative;
  max-width: var(--maxw);
  margin: var(--space-6) auto;
  background: var(--card);
  padding: 26px clamp(18px, 4vw, 40px) 24px;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(43, 38, 34, .06);
}
.swatch::before, .swatch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background-image:
    linear-gradient(145deg, var(--paper) 50%, transparent 50.5%),
    linear-gradient(215deg, var(--paper) 50%, transparent 50.5%);
  background-position: 0 0, 8px 0;
  background-size: 16px 9px;
  background-repeat: repeat-x;
}
.swatch::before { top: -1px; }
.swatch::after { bottom: -1px; transform: rotate(180deg); }
.intro-swatch { padding-top: 22px; padding-bottom: 20px; }

.sec { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-4); }
.sec__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.ui-sec-no {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 26px;
  background: var(--tape);
  color: var(--tape-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.ui-sec-no::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--tape-ink);
  opacity: .5;
}
.sec h2 {
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.9rem);
  padding-bottom: .28em;
  border-bottom: 3px dashed var(--chalk);
  display: inline-block;
}
.sec h3 { font-size: 1.2rem; margin-top: var(--space-5); margin-bottom: var(--space-3); color: var(--chalk); }
.sec h3:first-child { margin-top: 0; }
.sec p, .sec .list-buttons, .sec .list-steps, .sec .table-wrap { margin-top: var(--space-4); }
.sec > *:first-of-type { margin-top: 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; }
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px dashed var(--ink-line);
  font-size: .95rem;
}
.data-table--wide { min-width: 460px; }
.data-table th, .data-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px dashed var(--ink-line);
  vertical-align: top;
}
.data-table thead th {
  background: rgba(242, 193, 78, .35);
  font-family: var(--font-head);
  font-weight: 700;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: rgba(43, 38, 34, .03); }

.list-buttons { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list-buttons li { position: relative; padding-left: 26px; }
.list-buttons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle 1.3px at 35% 35%, var(--ink) 99%, transparent 100%),
    radial-gradient(circle 1.3px at 65% 35%, var(--ink) 99%, transparent 100%),
    radial-gradient(circle 1.3px at 35% 65%, var(--ink) 99%, transparent 100%),
    radial-gradient(circle 1.3px at 65% 65%, var(--ink) 99%, transparent 100%);
}
.list-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-steps li { position: relative; padding-left: 36px; counter-increment: step; min-height: 26px; }
.list-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--chalk);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-4); }
.logo-row img { height: 32px; width: auto; max-width: 110px; object-fit: contain; }

.faq-list { display: flex; flex-direction: column; gap: var(--space-4); }
.faq-card {
  position: relative;
  background: var(--card);
  border: 1.5px dashed var(--ink-line);
  border-radius: 4px;
  padding: var(--space-4) var(--space-5);
  overflow: hidden;
}
.faq-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent var(--paper) transparent transparent;
  filter: drop-shadow(-1px 1px 1px rgba(43, 38, 34, .25));
}
.faq-card h4 { font-size: 1.05rem; margin-bottom: 8px; padding-right: 20px; }
.faq-card p { color: var(--ink-soft); margin-bottom: 0; }

.ui-footer { background: var(--ink); color: var(--paper); margin-top: var(--space-8); }
.ui-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-7) var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.ui-logo--footer img { height: 24px; width: auto; }
.ui-footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: .9rem; }
.ui-footer-nav a { text-decoration: none; color: rgba(251, 247, 240, .82); }
.ui-footer-nav a:hover { color: var(--tape); text-decoration: underline; }
.ui-legal { font-size: .82rem; color: rgba(251, 247, 240, .65); max-width: 60ch; }
.ui-copyright { font-size: .82rem; color: rgba(251, 247, 240, .65); }

.ui-cookie {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: var(--z-toast);
  background: var(--ink);
  color: var(--paper);
  border: 2px dashed var(--tape);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.ui-cookie p { margin: 0; font-size: .92rem; flex: 1 1 220px; }
.ui-cookie.is-soft-hidden { opacity: 0; pointer-events: none; }

.ui-top {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--space-4) + var(--cookie-h, 0px));
  z-index: var(--z-sticky);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--tape);
  color: var(--tape-ink);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.ui-top:hover { background: var(--cta); color: var(--cta-text); }

@media (min-width: 48em) {
  .ui-header__inner { padding: var(--space-3) var(--space-5); }
  .ui-logo img { height: 32px; }
  .ui-tags-toggle { display: none; }
  .ui-tags {
    display: flex;
    flex-wrap: wrap;
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
  }
  .hero { padding: var(--space-8) var(--space-5) var(--space-7); }
  .hero__content { max-width: 50rem; }
  .sec, .swatch { padding-left: var(--space-5); padding-right: var(--space-5); }
  .sec { padding-left: var(--space-5); padding-right: var(--space-5); }
}

@media (min-width: 64em) {
  :root { --header-h: 64px; --track-h: 60px; }
  .ui-tape { height: 22px; }
  .hero__content { max-width: 56rem; }
  .faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); align-items: start; }
}

@media (min-width: 80em) {
  .hero h1 { font-size: 3.4rem; }
  .hero { display: flex; align-items: flex-start; gap: var(--space-7); }
  .hero__content { flex: 1 1 auto; min-width: 0; }
  .hero__deco { display: block; flex: 0 0 150px; width: 150px; margin-top: var(--space-4); }
}
