:root {
  color-scheme: light;
  --ink: #372e2a;
  --muted: #655a52;
  --paper: #fffaf0;
  --cream: #f8e7be;
  --line: #d8c5a3;
  --sky: #8fd0d8;
  --blue: #4f86a1;
  --lavender: #7361b8;
  --coral: #d76f6d;
  --green: #728f57;
  --shadow: 0 14px 34px rgba(58, 40, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  line-height: 1.75;
}

a {
  color: var(--blue);
  font-weight: 800;
}

rt {
  font-size: 0.58em;
  color: var(--muted);
}

.site-header {
  border-bottom: 1px solid rgba(101, 90, 82, 0.18);
  background: rgba(255, 250, 240, 0.94);
}

.nav {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(58, 40, 34, 0.18);
}

.brand span {
  display: block;
  font-weight: 900;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--lavender);
  text-decoration: underline;
}

.hero,
.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.75fr);
  align-items: center;
  gap: 36px;
  padding: 42px 0;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-art {
  justify-self: center;
  width: min(100%, 300px);
  padding: 24px;
  border: 1px solid rgba(101, 90, 82, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.actions,
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--lavender);
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(115, 97, 184, 0.24);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(79, 134, 161, 0.34);
  box-shadow: none;
}

.section {
  padding: 34px 0;
}

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

.panel {
  border: 1px solid rgba(101, 90, 82, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.9);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(58, 40, 34, 0.08);
}

.panel p:last-child,
.section p:last-child,
li:last-child {
  margin-bottom: 0;
}

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

.page-header {
  margin-bottom: 28px;
}

.content {
  display: grid;
  gap: 18px;
}

.notice {
  border-left: 5px solid var(--sky);
  background: rgba(255, 250, 240, 0.84);
  padding: 16px 18px;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(101, 90, 82, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

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

.hidden {
  display: none;
}

.submit {
  width: fit-content;
  min-width: 180px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid rgba(101, 90, 82, 0.18);
  background: rgba(255, 250, 240, 0.82);
  padding: 24px 0;
}

.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 30px 0;
  }

  .hero-art {
    justify-self: start;
    width: min(72vw, 250px);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

