:root {
  --bg: #ffffff;
  --paper: #fff7df;
  --text: #171b22;
  --muted: #6f614d;
  --line: #ead7a7;
  --wood: #8a531e;
  --teal: #b87912;
  --red: #b12f2c;
  --green: #3f6f45;
  --blue: #264b71;
  --gold: #d89a19;
  --shadow: 0 18px 50px rgba(111, 73, 15, 0.18);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 222, 212, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand-large {
  justify-content: center;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.brand-icon {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(156, 91, 10, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav a,
.site-footer a {
  position: relative;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after,
.nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 7vw, 78px) clamp(20px, 4vw, 40px);
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  min-height: calc(100vh - 75px);
}

.hero-copy h1,
.policy-title h1,
.gateway h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p,
.policy-title p,
.gateway p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 650px;
}

.hero-copy .button {
  margin-top: 32px;
}

.hero-media,
.wide-media {
  margin: 0;
}

.hero-media img,
.wide-media img,
.inline-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 1.45 / 1;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #f2b528, #9b5f13);
  color: #fff;
  box-shadow: 0 12px 24px rgba(180, 118, 18, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 4vw, 40px);
}

.intro-band {
  max-width: none;
  padding-right: max(20px, calc((100vw - var(--max)) / 2 + 40px));
  padding-left: max(20px, calc((100vw - var(--max)) / 2 + 40px));
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.section-heading p,
.section p,
.guide-list p,
.policy-row p {
  color: var(--muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.support-item {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.item-icon,
.policy-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.item-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.teal .item-icon,
.policy-icon.teal {
  background: var(--teal);
}

.red .item-icon,
.policy-icon.red {
  background: var(--red);
}

.green .item-icon,
.policy-icon.green {
  background: var(--green);
}

.policy-icon.blue {
  background: var(--blue);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #303741;
}

.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.inline-image {
  aspect-ratio: 1.45 / 1;
}

.guide {
  padding-top: 0;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.guide-list article {
  border-top: 2px solid var(--line);
  padding-top: 22px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel p {
  margin-bottom: 0;
}

.contact-link {
  color: var(--red);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.policy-hero {
  padding-bottom: 34px;
}

.wide-media img {
  aspect-ratio: 2.5 / 1;
}

.policy-title {
  max-width: 760px;
  margin: clamp(36px, 6vw, 58px) auto 0;
  text-align: center;
}

.policy-title h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.effective-date {
  color: var(--wood) !important;
  font-size: 0.95rem !important;
  font-weight: 750;
}

.policy-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 40px) 88px;
}

.policy-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-row:last-child {
  border-bottom: 1px solid var(--line);
}

.policy-row h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.28rem;
  line-height: 1.25;
}

.policy-row p {
  margin: 8px 0 0;
}

.policy-row a {
  color: var(--red);
  font-weight: 800;
}

.policy-icon {
  width: 48px;
  height: 48px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.gateway {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 40px 20px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.9)),
    url("assets/jackaroo-hero.png") center / cover no-repeat;
}

.gateway h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
}

.gateway p {
  margin-top: 0;
}

.gateway-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 850px) {
  .site-header,
  .site-footer,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .split-hero,
  .two-column {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .support-grid,
  .guide-list {
    grid-template-columns: 1fr;
  }

  .wide-media img {
    aspect-ratio: 1.45 / 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .policy-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item-icon,
  .policy-icon {
    width: 44px;
    height: 44px;
  }
}
