:root {
  --canopy-deep: #1d3a2c;
  --pine-mid: #2f5b45;
  --sandstone: #efe5d0;
  --linen-light: #f8f3e6;
  --moss-glow: #9cb88c;
  --bark-ink: #2b2a22;
  --lichen-gold: #c9b27a;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  color: var(--bark-ink);
  background-color: var(--linen-light);
  background-image: radial-gradient(rgba(29, 58, 44, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: 'Archivo', Georgia, serif;
  font-weight: 700;
  margin: 0 0 0.6em;
  line-height: 1.1;
  color: inherit;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  margin: 0 0 1em;
  max-width: 38rem;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lichen-gold);
  outline-offset: 3px;
}

.canopy-screen {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.canopy-bleed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.canopy-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(29, 58, 44, 0.25), rgba(29, 58, 44, 0.6));
}

.order-band {
  background-color: var(--sandstone);
  background-image:
    repeating-linear-gradient(35deg, rgba(47, 91, 69, 0.04) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #efe5d0, #e2d6bb);
}

.order-band::before {
  display: none;
}

.canopy-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.canopy-inner.is-single {
  grid-template-columns: minmax(0, 38rem);
  justify-items: stretch;
}

@media (min-width: 900px) {
  .canopy-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
    align-items: center;
    gap: 4rem;
  }
}

.canopy-panel {
  width: 100%;
  max-width: 38rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(29, 58, 44, 0.82);
  color: var(--linen-light);
  border-radius: 220px 220px 18px 18px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.canopy-panel--left {
  justify-self: start;
}

.canopy-panel--right {
  justify-self: end;
}

.canopy-panel p {
  color: rgba(248, 243, 230, 0.92);
}

.canopy-panel h2,
.canopy-panel h3 {
  color: var(--linen-light);
}

.canopy-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--moss-glow);
  font-weight: 700;
  margin-bottom: 1rem;
}

.canopy-sub {
  font-size: clamp(1.125rem, 1.6vw, 1.4rem);
  color: var(--sandstone);
}

.canopy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 2rem;
  margin-top: 0.5rem;
  background: var(--sandstone);
  color: var(--canopy-deep);
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.canopy-cta:hover {
  background: var(--moss-glow);
  transform: translateY(-2px);
}

.cover-wrap {
  margin: 0;
  width: min(17rem, 70vw);
}

.cover-volume {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  border-radius: 6px 16px 16px 6px;
  padding: 2rem 1.5rem 1.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  color: var(--sandstone);
  background:
    radial-gradient(circle at 75% 20%, rgba(156, 184, 140, 0.35), transparent 45%),
    linear-gradient(165deg, #4f7a5e 0%, #2f5b45 45%, #1d3a2c 100%);
  box-shadow: 0 28px 40px -14px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(239, 229, 208, 0.15);
}

.cover-volume::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.08));
}

.cover-volume span {
  display: block;
}

.cover-volume-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lichen-gold);
  font-weight: 700;
}

.cover-volume-title {
  font-family: 'Archivo', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  line-height: 1.1;
  margin-top: auto;
}

.cover-volume-sub {
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
  color: rgba(239, 229, 208, 0.85);
}

.cover-volume-author {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--lichen-gold);
  padding-top: 0.75rem;
}

.vessel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.vessel-features li {
  padding: 0.6rem 0 0.6rem 1.1rem;
  border-left: 3px solid var(--moss-glow);
  margin-bottom: 0.5rem;
  color: rgba(248, 243, 230, 0.92);
}

.vessel-features strong {
  color: var(--sandstone);
}

.chapter-ladder {
  list-style: none;
  counter-reset: chapter;
  padding: 0;
  margin: 0;
}

.chapter-ladder li {
  counter-increment: chapter;
  position: relative;
  padding-left: 3.4rem;
  margin-bottom: 1.4rem;
}

.chapter-ladder li::before {
  content: counter(chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: 'Archivo', Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--moss-glow);
}

.chapter-ladder h3 {
  margin-bottom: 0.25rem;
}

.chapter-ladder p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(248, 243, 230, 0.9);
}

.order-panel {
  max-width: 38rem;
}

.order-form {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.order-form label {
  font-weight: 700;
  color: var(--sandstone);
  font-size: 1.05rem;
}

.order-form input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1.125rem;
  color: var(--bark-ink);
  background: var(--linen-light);
  border: 2px solid transparent;
  border-radius: 14px;
}

.order-form input::placeholder {
  color: #6b6a5c;
}

.order-form input:focus-visible {
  outline: 3px solid var(--lichen-gold);
  outline-offset: 2px;
  border-color: var(--lichen-gold);
}

.order-submit {
  width: 100%;
  min-height: 3.5rem;
  margin-top: 0.5rem;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--lichen-gold);
  color: var(--canopy-deep);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.order-submit:hover {
  background: var(--sandstone);
}

.order-consent {
  font-size: 0.95rem;
  color: rgba(248, 243, 230, 0.85);
  max-width: none;
}

.order-consent a {
  color: var(--moss-glow);
}

.order-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.order-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--bark-ink);
  font-weight: 700;
  width: 100%;
  max-width: 17rem;
}

.order-facts li {
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 3px solid var(--pine-mid);
  margin-bottom: 0.4rem;
}

.canopy-footer {
  background: var(--canopy-deep);
  color: var(--sandstone);
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  font-size: 0.98rem;
}

.canopy-footer p {
  margin: 0.5rem auto;
  max-width: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss-glow);
  font-weight: 700;
}

.footer-note {
  font-size: 0.9rem;
  color: rgba(239, 229, 208, 0.75);
}

.legal-body {
  background-color: var(--linen-light);
}

.legal-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 2rem) 4rem;
}

.legal-wrap h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--canopy-deep);
  border-bottom: 1px solid rgba(29, 58, 44, 0.25);
  padding-bottom: 0.5em;
}

.legal-wrap h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--pine-mid);
  margin-top: 2rem;
}

.legal-back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--pine-mid);
}

.legal-updated {
  font-size: 0.95rem;
  color: rgba(43, 42, 34, 0.7);
}

.legal-block {
  padding-bottom: 0.5rem;
  border-bottom: 1px dotted rgba(29, 58, 44, 0.2);
}

.legal-block p {
  max-width: none;
}