:root {
  --bg: #fff6e8;
  --bg-2: #fffdf8;
  --surface: rgba(255, 250, 241, 0.94);
  --surface-2: rgba(255, 244, 220, 0.92);
  --surface-dark: #3c2317;
  --text: #322015;
  --muted: #6f5a4a;
  --line: rgba(80, 48, 27, 0.12);
  --line-strong: rgba(80, 48, 27, 0.2);
  --orange: #ff9835;
  --gold: #f5c158;
  --cream: #fff0c7;
  --brown: #6b4128;
  --green: #89c162;
  --shadow: 0 26px 60px rgba(120, 76, 37, 0.14);
  --shadow-soft: 0 14px 34px rgba(120, 76, 37, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content-width: 1180px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Verdana", "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(245, 193, 88, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 152, 53, 0.16), transparent 24%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

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

.site-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 235, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 65, 40, 0.08);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 2rem));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--gold), var(--orange));
  color: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav {
  display: none;
  flex-direction: column;
  gap: 0.45rem;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.7rem);
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.98);
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: flex;
}

.nav a {
  text-decoration: none;
  padding: 0.82rem 0.96rem;
  border-radius: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(245, 193, 88, 0.28), rgba(255, 152, 53, 0.18));
}

.page-main {
  padding: 1.2rem 0 3.2rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 193, 88, 0.24);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  color: #fffaf1;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 152, 53, 0.92), rgba(107, 65, 40, 0.94));
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 180px;
  height: 180px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
  padding: 0.46rem 0.76rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h1,
.hero-card h2 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 7vw, 3.6rem);
  line-height: 0.96;
}

.hero-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 250, 241, 0.88);
  line-height: 1.7;
}

.utility-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.utility-card,
.content-frame,
.legal-card {
  border: 1px solid rgba(107, 65, 40, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(255, 244, 220, 0.88));
  box-shadow: var(--shadow-soft);
}

.utility-card,
.legal-card {
  padding: 1.25rem;
}

.utility-card h3,
.legal-card h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  color: var(--surface-dark);
}

.utility-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.content-frame {
  margin-top: 1rem;
  overflow: hidden;
}

.content-panel {
  padding: 1.25rem;
}

.content-panel article > :first-child {
  margin-top: 0;
}

.content-panel article > :last-child {
  margin-bottom: 0;
}

.content-panel h1,
.content-panel h2,
.content-panel h3 {
  color: var(--surface-dark);
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

.content-panel h1 {
  font-size: clamp(2.2rem, 6.2vw, 3.7rem);
  line-height: 0.96;
  margin-bottom: 1rem;
}

.content-panel h2 {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0.9rem;
  padding-top: 0.9rem;
  font-size: clamp(1.62rem, 4vw, 2.2rem);
}

.content-panel h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 82px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.content-panel h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.24rem, 3.2vw, 1.56rem);
}

.content-panel p,
.content-panel li,
.content-panel td p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.76;
  overflow-wrap: anywhere;
}

.content-panel a {
  color: var(--brown);
  font-weight: 700;
}

.content-panel ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.content-panel li {
  position: relative;
  margin-bottom: 0.72rem;
  padding: 0.96rem 1rem 0.96rem 3.2rem;
  border: 1px solid rgba(107, 65, 40, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(245, 193, 88, 0.16), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.7);
}

.content-panel li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.02rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange), var(--gold));
  box-shadow: 0 0 0 4px rgba(245, 193, 88, 0.16);
}

.content-panel table {
  display: block;
  width: 100%;
  margin: 1.35rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 243, 218, 0.92));
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.content-panel tbody {
  display: table;
  width: 100%;
  min-width: 920px;
}

.content-panel tbody tr:first-child {
  background: linear-gradient(135deg, rgba(245, 193, 88, 0.35), rgba(255, 152, 53, 0.18));
}

.content-panel tbody tr:not(:first-child):nth-child(even) {
  background: rgba(255, 255, 255, 0.34);
}

.content-panel td {
  padding: 0.95rem 0.88rem;
  border: 1px solid rgba(107, 65, 40, 0.1);
  vertical-align: top;
}

.site-footer {
  padding: 1.5rem 0 2.8rem;
}

.footer-card {
  border: 1px solid rgba(107, 65, 40, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(107, 65, 40, 0.96), rgba(255, 152, 53, 0.9));
  color: #fff8ee;
  box-shadow: var(--shadow);
}

.footer-top {
  display: grid;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-nav a {
  text-decoration: none;
  padding: 0.72rem 0.92rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.footer-note,
.footer-meta {
  color: rgba(255, 248, 238, 0.82);
  line-height: 1.72;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--gold), var(--orange));
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(255, 152, 53, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-card,
  .content-panel,
  .utility-card,
  .legal-card,
  .footer-card {
    padding: 1.65rem;
  }

  .utility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-main {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .hero-card,
  .content-panel,
  .utility-card,
  .legal-card,
  .footer-card {
    padding: 2rem;
  }

  .utility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-panel {
    padding-left: 2.3rem;
    padding-right: 2.3rem;
  }
}
