:root {
  --sand: #f4ead9;
  --sand-2: #ead9bd;
  --dune: #d9a86c;
  --clay: #c2643c;
  --clay-dark: #9c4a28;
  --night: #2b2320;
  --ink: #3a2f2a;
  --muted: #7d6b5d;
  --card: #fffaf2;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Rubik", system-ui, sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 12rem;
  background: linear-gradient(180deg, #f9d9a8 0%, #f2b47a 45%, #e48a5a 100%);
  overflow: hidden;
}
.sun {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 220px; height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d6 0%, #ffe2a8 55%, rgba(255,226,168,0) 72%);
}
.hero .eyebrow {
  position: relative;
  display: inline-block;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--clay-dark);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.hero h1 {
  position: relative;
  margin: 1rem 0 .25rem;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--night);
  letter-spacing: -0.02em;
}
.hero h1 span { color: #fff; text-shadow: 0 2px 0 rgba(156,74,40,.25); }
.hero p {
  position: relative;
  max-width: 34rem;
  margin: 1rem auto 2rem;
  font-size: 1.15rem;
  color: #4a3528;
}
.btn {
  position: relative;
  display: inline-block;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  background: var(--night);
  color: var(--sand);
  text-decoration: none;
  font-weight: 500;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--clay-dark); }
.dunes {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 220px;
}

/* ---------- Nav chips ---------- */
.chips {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .9rem 1.25rem;
  background: rgba(244,234,217,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-2);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none;
  padding: .4rem .95rem;
  border-radius: 999px;
  border: 1.5px solid var(--dune);
  color: var(--clay-dark);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.chips a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* ---------- Content ---------- */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.section-title {
  margin: 0 0 .25rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  color: var(--night);
}
.section-sub { margin: 0 0 2.5rem; color: var(--muted); }

.law {
  scroll-margin-top: 80px;
  margin-bottom: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px -18px rgba(156,74,40,.35);
  overflow: hidden;
}
.law > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
}
.law > summary::-webkit-details-marker { display: none; }
.law .icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--sand);
  font-size: 1.6rem;
}
.law h3 { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--night); line-height: 1.3; }
.law .subtitle { margin: .1rem 0 0; font-size: .95rem; color: var(--muted); }
.law .toggle {
  margin-inline-start: auto;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--clay-dark);
  font-size: 1.3rem;
  transition: transform .2s ease, background .2s;
}
.law[open] .toggle { transform: rotate(45deg); background: var(--clay); color: #fff; }

.clauses {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  display: grid;
  gap: .75rem;
}
.clause {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--sand);
  border-inline-start: 4px solid var(--dune);
}
.clause h4 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clay-dark);
}
.clause h4 .num {
  display: inline-grid;
  place-items: center;
  min-width: 1.6rem; height: 1.6rem;
  margin-inline-end: .4rem;
  border-radius: 8px;
  background: var(--clay);
  color: #fff;
  font-size: .85rem;
}
.clause ul { margin: 0; padding-inline-start: 1.1rem; }
.clause li { margin: .15rem 0; }
.clause li::marker { color: var(--dune); }

footer {
  background: var(--night);
  color: #cdbfae;
  text-align: center;
  padding: 2.5rem 1.25rem;
  font-size: .95rem;
}
footer strong { color: var(--sand); }

@media (max-width: 520px) {
  .law > summary { padding: 1.15rem 1.1rem; gap: .8rem; }
  .law .icon { width: 44px; height: 44px; font-size: 1.35rem; border-radius: 13px; }
  .clauses { padding: 0 1.1rem 1.1rem; }
}
/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; inset-inline: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.topbar .brand { font-weight: 900; color: var(--night); text-decoration: none; font-size: 1.05rem; }
.topbar nav { display: flex; gap: .4rem; }
.topbar nav a {
  padding: .4rem .9rem; border-radius: 999px; text-decoration: none;
  color: var(--night); font-weight: 500; font-size: .95rem;
  background: rgba(255,255,255,.35); transition: background .15s;
}
.topbar nav a:hover { background: rgba(255,255,255,.7); }
.topbar nav a[aria-current="page"] { background: var(--night); color: var(--sand); }
.hero.short { min-height: 62vh; }

/* ---------- About ---------- */
.prose p { font-size: 1.1rem; margin: 0 0 1.1rem; }
.lead { font-size: 1.3rem !important; font-weight: 500; color: var(--night); }
.pillars {
  display: grid; gap: 1rem; margin: 2.5rem 0 3rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--card); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: 0 12px 30px -18px rgba(156,74,40,.35);
}
.pillar .icon { font-size: 1.8rem; }
.pillar h3 { margin: .5rem 0 .3rem; font-size: 1.15rem; color: var(--night); }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }
.facts {
  display: grid; gap: .75rem; margin: 0 0 3rem; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.facts li {
  background: var(--night); color: var(--sand); border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.facts b { display: block; font-size: 1.5rem; font-weight: 900; color: #f2b47a; line-height: 1.2; }
.cta {
  text-align: center; background: var(--sand-2); border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
}
.cta h3 { margin: 0 0 .5rem; font-size: 1.4rem; color: var(--night); }
.cta p { margin: 0 0 1.3rem; color: var(--muted); }


footer .disclaimer {
  max-width: 34rem;
  margin: 1.2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244,234,217,.15);
  font-size: .85rem;
  color: #a8998a;
}
