@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/PlayfairDisplay_700Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/DMSans_400Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/DMSans_500Medium.ttf') format('truetype');
}

:root {
  --background: #faf6ef;
  --paper: #f5ecd8;
  --paper-deep: #ede0c4;
  --brown: #3d2b1f;
  --brown-mid: #6b4c3b;
  --amber: #d4823a;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(61, 43, 31, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--brown);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(212, 130, 58, 0.12), transparent 25rem),
    var(--background);
  font-family: 'DM Sans', Arial, sans-serif;
}

a {
  color: var(--amber);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
}

.site-nav {
  width: min(100% - 3rem, 1120px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brown-mid);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}

.back-link:hover {
  color: var(--amber);
}

.page-shell {
  width: min(100% - 3rem, 820px);
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.page-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--brown);
}

h1 {
  max-width: 720px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 640px;
  margin: 1.25rem 0 0;
  color: var(--brown-mid);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.content-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(61, 43, 31, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.content-card section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(61, 43, 31, 0.1);
}

h2 {
  margin: 0 0 0.8rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.3;
}

h3 {
  margin: 1.4rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p,
li {
  color: var(--brown-mid);
  font-size: 0.96rem;
  line-height: 1.75;
}

p {
  margin: 0.55rem 0 0;
}

ul,
ol {
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.55rem;
}

li::marker {
  color: var(--amber);
  font-weight: 500;
}

.contact-card,
.notice {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border-radius: 16px;
}

.contact-card {
  background: var(--paper);
}

.contact-card strong {
  color: var(--brown);
}

.notice {
  border: 1px solid rgba(212, 130, 58, 0.25);
  background: rgba(212, 130, 58, 0.08);
}

.notice-title {
  color: var(--brown);
  font-weight: 500;
}

.steps {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.steps li {
  padding-left: 0.35rem;
}

.stand {
  margin-top: 2rem;
  color: rgba(107, 76, 59, 0.72);
  font-size: 0.78rem;
}

.site-footer {
  padding: 2.5rem 1.5rem;
  background: #2a1d13;
}

.footer-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand img {
  display: block;
  width: 128px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(250, 246, 239, 0.65);
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--amber);
}

@media (max-width: 680px) {
  .site-nav,
  .page-shell {
    width: min(100% - 2rem, 820px);
  }

  .site-nav {
    min-height: 68px;
  }

  .brand img {
    width: 126px;
  }

  .page-shell {
    padding: 3.5rem 0 4rem;
  }

  .content-card {
    border-radius: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
