:root {
  --parchment: #ead9b8;
  --parchment-deep: #d2b98e;
  --wood: #5d4632;
  --accent: #2a5a60;
  --accent-deep: #1f464a;
  --ink: #241b13;
  --paper: #fff8ea;
  --line: rgba(29, 43, 47, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IM Fell English", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 9%, rgba(42, 90, 96, 0.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(58, 43, 31, 0.24), transparent 30%),
    linear-gradient(150deg, #f6ebd5 0%, var(--parchment) 40%, var(--parchment-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 75% 22%, rgba(42, 90, 96, 0.25) 0 1.5px, transparent 1.5px),
    radial-gradient(circle at 79% 22%, transparent 0 25px, rgba(33, 57, 62, 0.15) 25px 26px, transparent 26px),
    linear-gradient(114deg, transparent 0 48%, var(--line) 49%, transparent 50%),
    linear-gradient(35deg, transparent 0 53%, var(--line) 54%, transparent 55%),
    linear-gradient(85deg, transparent 0 44%, var(--line) 45%, transparent 46%);
  background-size: 100% 100%, 100% 100%, 420px 320px, 520px 420px, 460px 360px;
  opacity: 0.14;
}

.home-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 2.6rem 1.2rem 3.2rem;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 2.15rem 1.45rem 2rem;
  border-radius: 18px;
  border: 2px solid rgba(62, 47, 33, 0.35);
  background:
    linear-gradient(165deg, rgba(255, 247, 229, 0.95) 0%, rgba(239, 222, 185, 0.87) 58%, rgba(224, 204, 162, 0.93) 100%);
  box-shadow:
    0 18px 34px rgba(41, 30, 21, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(42, 90, 96, 0.45);
  pointer-events: none;
}

.hero::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
}

.hero::after {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 12px;
}

.kicker {
  margin: 0;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

h1 {
  margin: 0.45rem 0 0.9rem;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(2rem, 5.8vw, 3.25rem);
  line-height: 1.1;
  max-width: 20ch;
}

.lead {
  margin: 0;
  max-width: 68ch;
  font-size: 1.1rem;
  line-height: 1.48;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.cta,
.sub-cta {
  text-decoration: none;
  font-family: "Cinzel", "Times New Roman", serif;
}

.cta {
  display: inline-block;
  padding: 0.72rem 1.05rem;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 243, 216, 0.35);
  transition: transform 120ms ease, filter 120ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.sub-cta {
  color: #3a2a1d;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(42, 90, 96, 0.5);
  padding-bottom: 1px;
}

.sub-cta:hover {
  color: var(--accent);
}

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

.tool-card {
  border-radius: 13px;
  border: 1px solid rgba(64, 49, 36, 0.28);
  padding: 1rem 0.95rem;
  background:
    linear-gradient(170deg, rgba(255, 249, 236, 0.9), rgba(232, 214, 178, 0.88)),
    radial-gradient(circle at top right, rgba(42, 90, 96, 0.12), transparent 45%);
  box-shadow: 0 8px 16px rgba(38, 30, 24, 0.14);
}

.tool-card h2 {
  margin: 0 0 0.45rem;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.12rem;
}

.tool-card p {
  margin: 0;
  line-height: 1.43;
}

.card-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px dashed rgba(31, 70, 74, 0.5);
}

.card-link:hover {
  color: var(--accent);
}

.quiet-link {
  display: inline-block;
  justify-self: end;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(36, 28, 20, 0.55);
  text-decoration: none;
}

.quiet-link:hover {
  color: rgba(31, 70, 74, 0.92);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .home-shell {
    padding-top: 2.2rem;
  }

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

  .quiet-link {
    justify-self: start;
  }
}
