* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --background: #fbf1df;
  --surface: #fffaf0;
  --surface-muted: #f3e7d5;
  --primary: #08273d;
  --secondary: #c64f37;
  --tertiary: #0e6c65;
  --text: #102033;
  --muted: #46535a;
  --line: #d3c5ad;
}

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

a {
  color: var(--tertiary);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.site-header,
.site-footer {
  background: rgba(255, 250, 240, 0.9);
  border-color: rgba(211, 197, 173, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header-inner,
.site-footer-inner,
.page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.brand-script {
  font-family: "Caveat", cursive;
  font-size: 2.25rem;
  line-height: 1;
}

.header-link {
  border: 1px solid rgba(14, 108, 101, 0.22);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  padding: 7px 12px;
  text-decoration: none;
}

.page {
  padding: 42px 0 56px;
}

.eyebrow {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--primary);
  line-height: 1.05;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.1rem, 7vw, 3.45rem);
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.4rem;
}

p,
li {
  font-size: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 64ch;
}

.panel {
  margin-top: 26px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel h2:first-child {
  margin-top: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--tertiary);
  color: white;
  font-weight: 900;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--primary);
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 18px;
  border-left: 3px solid var(--tertiary);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--primary);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 520px) {
  .site-header-inner,
  .site-footer-inner,
  .page {
    width: min(100% - 28px, 760px);
  }

  .header-link {
    display: none;
  }
}
