:root {
  --canvas: #ede4d4;
  --paper: #f7f0e2;
  --ink: #1c1814;
  --muted: #6f675c;
  --accent: #b36b57;
  --moss: #3a5f58;
  --rule: #d8cdb8;
  --highlight: #d4651a;
  --max: 68rem;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav-links a,
.lang button {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  font: inherit;
  cursor: pointer;
}

.nav-links a:hover,
.lang button:hover,
.lang button[aria-pressed="true"] {
  color: var(--ink);
}

.lang {
  display: flex;
  gap: 0.45rem;
  padding-left: 0.4rem;
  border-left: 1px solid var(--rule);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 2.4rem;
  align-items: center;
  padding: 2.4rem 0 3.2rem;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin: 0 0 0.8rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.4rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--accent);
}

.btn-primary {
  background: color-mix(in srgb, var(--accent) 18%, var(--paper));
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--muted);
}

.paper-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 1.15rem;
  padding: 1.3rem;
}

.desk {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.desk svg { width: 100%; height: auto; display: block; }

.kicker {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2.8rem;
}

.three article {
  padding: 1.15rem 1.2rem 1.25rem;
}

.three h2 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.three p { margin: 0; color: var(--muted); }

.section { padding: 0.4rem 0 3rem; }

.section h2 {
  font-size: 1.85rem;
  margin: 0 0 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); }

.price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price article { padding: 1.2rem; }
.price .amt {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.8rem;
  margin: 0.2rem 0 0.55rem;
}
.price ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.price li + li { margin-top: 0.25rem; }

.not-this {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--rule);
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.draft {
  border: 1px solid color-mix(in srgb, var(--highlight) 45%, var(--rule));
  background: color-mix(in srgb, var(--highlight) 10%, var(--paper));
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}

.legal {
  max-width: 42rem;
  padding-bottom: 3rem;
}

.legal p { color: var(--muted); }

[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero,
  .three,
  .grid-2,
  .price {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 1.2rem; }
  .desk { min-height: 16rem; }
}
