:root {
  --ink: #111827;
  --muted: #5f6673;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e7e1d6;
  --gold: #c49a4a;
  --gold-dark: #8a681f;
  --soft: #f3eee5;
  --green: #526d55;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.royal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.royal-header {
  background: #0f1115;
  color: #fff;
  border-bottom: 1px solid rgba(196, 154, 74, 0.45);
}

.royal-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.royal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.royal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.royal-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8f0df, #c49a4a);
  color: #111827;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
}

.royal-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.royal-brand span {
  display: block;
  color: #d9d5cd;
  font-size: 0.86rem;
}

.royal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.royal-nav a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f7f3eb;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

.royal-nav a[aria-current="page"],
.royal-nav a:hover {
  background: #c49a4a;
  border-color: #c49a4a;
  color: #111827;
}

.royal-hero {
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 154, 74, 0.22), transparent 31%),
    linear-gradient(135deg, #111827 0%, #15181f 54%, #252016 100%);
  color: #fff;
}

.royal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  color: #d9b66a;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.03;
  margin: 0;
  letter-spacing: 0;
}

.lead {
  color: #e9e2d4;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  margin: 22px 0 0;
  max-width: 760px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.pet-window {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(196, 154, 74, 0.25), transparent),
    #f8f2e7;
  display: grid;
  place-items: center;
  color: #111827;
  position: relative;
  overflow: hidden;
}

.pet-window::before,
.pet-window::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(82, 109, 85, 0.16);
}

.pet-window::before {
  width: 190px;
  height: 190px;
  left: -70px;
  top: -52px;
}

.pet-window::after {
  width: 210px;
  height: 210px;
  right: -76px;
  bottom: -62px;
}

.pet-emblem {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border: 10px solid #111827;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 4rem;
  font-weight: 900;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  background: #c49a4a;
  border: 1px solid #c49a4a;
  border-radius: 999px;
  color: #111827;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

main {
  flex: 1;
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: #fff;
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.14;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.section h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 26px;
  max-width: 820px;
}

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  padding: 24px;
}

.number {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 14px;
  width: 34px;
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.legal h2 {
  border-top: 1px solid var(--line);
  font-size: 1.32rem;
  margin: 30px 0 12px;
  padding-top: 24px;
}

.legal h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal p,
.legal li {
  color: #3d4451;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

.notice {
  background: #f7efe1;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: #332819;
  margin: 24px 0;
  padding: 18px 20px;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #111827;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  padding: 14px 16px;
  text-decoration: none;
}

.link-list a::after {
  content: ">";
  color: var(--gold-dark);
}

.royal-footer {
  background: #0f1115;
  color: #d9d5cd;
  padding: 28px 0;
}

.royal-footer p {
  margin: 5px 0;
}

@media (max-width: 860px) {
  .royal-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .royal-nav {
    justify-content: flex-start;
  }

  .royal-hero {
    padding: 52px 0 42px;
  }

  .royal-hero-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .royal-shell {
    width: min(100% - 22px, 1120px);
  }

  .royal-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .royal-nav a {
    text-align: center;
    padding: 9px 10px;
  }

  .card,
  .legal {
    padding: 20px;
  }

  .pet-emblem {
    width: 128px;
    height: 128px;
    font-size: 3.1rem;
  }
}
