/* ====================================================
   Hartei – Shared Stylesheet
   ==================================================== */

/* ── Variables ───────────────────────────────────────── */
:root {
  --forest:      #1F3A2C;
  --forest-deep: #152619;
  --gold:        #E6B800;
  --gold-soft:   #F2CB3D;
  --bone:        #F8F7F5;
  --ink:         #0C1611;
  --moss:        #4A7C59;
  --terracotta:  #D8845A;
  --stone:       #C8C4BC;
  --slate:       #3a3a38;
  --charcoal:    #1A1A1A;
  --graphite:    #2C322D;
}

/* ── Reset ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

/* ── Base ────────────────────────────────────────────── */
body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bone);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Aleo", Georgia, serif;
  color: var(--forest);
  line-height: 1.14;
}

h1 {
  font-size: clamp(36px, 6.4vw, 68px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.03;
}

h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

p { margin-bottom: 18px; }
a { color: var(--moss); }

/* ── Layout ──────────────────────────────────────────── */
.wrap      { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }

.section--forest { background: var(--forest); color: var(--bone); }
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--bone); }

.section--deep { background: var(--forest-deep); color: var(--bone); }
.section--deep h2,
.section--deep h3 { color: var(--bone); }

.section--charcoal { background: var(--charcoal); color: var(--bone); }
.section--charcoal h2,
.section--charcoal h3 { color: var(--bone); }

.center { text-align: center; }

/* ── Typography helpers ──────────────────────────────── */
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a6d00;
  margin-bottom: 18px;
  display: block;
}

.section--forest .eyebrow,
.section--deep .eyebrow,
.section--charcoal .eyebrow,
.hero .eyebrow { color: var(--gold-soft); }

.lead      { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.62; }
.dark-text { color: #E9E7E2; }
.dark-muted{ color: var(--stone); }
.hl        { color: var(--gold-soft); font-weight: 700; }
.price-tag { font-family: "Aleo", Georgia, serif; font-weight: 900; color: var(--gold-soft); font-size: 22px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 18px 38px;
  border-radius: 8px;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(230, 184, 0, 0.32);
  text-align: center;
}

.btn:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 184, 0, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1.5px solid rgba(248, 247, 245, 0.45);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(248, 247, 245, 0.08);
  border-color: var(--bone);
  filter: none;
}

.btn--full { display: block; width: 100%; }
.btn--lg   { font-size: 19px; padding: 20px 44px; }

a:focus-visible,
.btn:focus-visible,
button:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

/* ── Feature list ────────────────────────────────────── */
.included { list-style: none; margin: 8px 0 0; }

.included li {
  padding: 13px 0 13px 36px;
  position: relative;
  border-bottom: 1px solid rgba(31, 58, 44, 0.12);
  font-size: 16px;
}

.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--gold);
}

.included li::after {
  content: "\2713";
  position: absolute;
  left: 4px;
  top: 14px;
  color: var(--forest);
  font-weight: 800;
  font-size: 13px;
}

.section--forest .included li,
.section--deep .included li,
.section--charcoal .included li { border-bottom: 1px solid rgba(248, 247, 245, 0.16); }

/* ── Misc ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: rgba(31, 58, 44, 0.12);
  max-width: 760px;
  margin: 0 auto;
}

.guarantee {
  font-size: 14.5px;
  color: var(--slate);
  margin-top: 16px;
}
.section--forest .guarantee,
.section--deep .guarantee { color: var(--stone); }

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--stone);
  padding: 54px 0 64px;
  font-size: 14px;
  text-align: center;
}

footer a {
  color: var(--stone);
  text-decoration: underline;
  margin: 0 10px;
  white-space: nowrap;
}
footer a:hover { color: var(--bone); }

footer .legal-row {
  margin-bottom: 18px;
  line-height: 2.4;
}

footer .fine {
  font-size: 12px;
  color: #86857d;
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.6;
  text-align: left;
}

footer .fine strong {
  color: #a9a89f;
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Legal pages ─────────────────────────────────────── */
.legal {
  background: var(--bone);
  padding: 64px 0 80px;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 46px);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 34px 0 10px;
}

.legal h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.legal p {
  font-size: 16px;
  color: var(--slate);
  margin-bottom: 14px;
}

.legal ul,
.legal ol {
  font-size: 16px;
  color: var(--slate);
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal li { margin-bottom: 6px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 14px;
}

.legal th {
  background: rgba(31, 58, 44, 0.07);
  padding: 10px 14px;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--forest);
  border-bottom: 2px solid rgba(31, 58, 44, 0.18);
}

.legal td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(31, 58, 44, 0.09);
  vertical-align: top;
}

.legal tr:last-child td { border-bottom: none; }

.legal .updated {
  color: var(--moss);
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
}

.note {
  background: rgba(216, 132, 90, 0.12);
  border: 1px dashed var(--terracotta);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--slate);
  margin-top: 24px;
}

.backlink {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--moss);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.backlink:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 820px) {
  .wrap-wide { padding: 0 20px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
