:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --paper: #fffdf8;
  --ink: #18201d;
  --muted: #5f6863;
  --line: #d8d7cf;
  --green: #315f52;
  --green-dark: #183d35;
  --blue: #244e72;
  --clay: #a95f44;
  --soft-green: #e7eee9;
  --soft-blue: #e8f0f6;
  --shadow: 0 18px 48px rgb(24 32 29 / 10%);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--clay);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 248 / 94%);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

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

.nav-links a:hover,
.nav-links a:focus {
  color: var(--green-dark);
}

.button,
.button-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 24px rgb(49 95 82 / 20%);
}

.button:hover,
.button:focus {
  background: var(--green-dark);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-dark);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgb(247 245 240 / 92%), rgb(232 240 246 / 92%)),
    radial-gradient(circle at 85% 20%, rgb(169 95 68 / 18%), transparent 32%);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.72fr);
  gap: 52px;
  align-items: center;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.08rem;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

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

.hero-media {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.book-shell {
  width: min(310px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 253 248 / 78%);
  box-shadow: var(--shadow);
}

.caption {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

.band {
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.band.paper {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.text-stack > * + * {
  margin-top: 16px;
}

.text-stack p {
  margin-bottom: 0;
}

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

.feature {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
}

.notice {
  border-left: 4px solid var(--green);
  background: var(--soft-green);
  padding: 18px 20px;
}

.notice p {
  margin: 0;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-inner {
  padding: 58px 0;
}

.content {
  width: min(790px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.content h2 {
  margin-top: 38px;
  font-size: 1.55rem;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  padding-left: 1.2rem;
}

.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-blue);
  padding: 18px 20px;
}

.site-footer {
  background: var(--green-dark);
  color: white;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: white;
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 78%);
}

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

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-inner,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 28px;
    padding: 38px 0;
  }

  .feature {
    min-height: auto;
  }

  .hero-media {
    justify-items: center;
  }

  .hero-media .book-shell {
    width: min(220px, 68vw);
    padding: 12px;
  }

  .caption {
    max-width: 100%;
    text-align: center;
  }

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

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .hero-inner {
    gap: 18px;
    padding: 24px 0;
  }

  .hero-media .book-shell {
    width: min(190px, 64vw);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .caption {
    display: block;
  }
}
.home-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.home-profile img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft-blue);
  object-fit: cover;
  object-position: 50% 18%;
}

.page-inner-profile {
  display: grid;
  grid-template-columns: minmax(0, 720px) 108px;
  justify-content: start;
  gap: 24px;
  align-items: center;
}

.profile-portrait {
  justify-self: end;
  width: 108px;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft-blue);
  box-shadow: 0 12px 32px rgb(24 32 29 / 10%);
  object-fit: cover;
  object-position: 50% 18%;
}

@media (max-width: 900px) {
  .page-inner-profile {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-inner.page-inner-profile {
    padding-bottom: 32px;
  }

  .profile-portrait {
    justify-self: center;
    width: 112px;
  }
}

@media (max-width: 520px) {
  .home-profile img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .page-inner.page-inner-profile {
    padding-bottom: 28px;
  }

  .profile-portrait {
    width: 104px;
  }
}