:root {
  --green: #1c4a35;
  --green-dark: #123326;
  --green-soft: #e8f0eb;
  --gold: #e0a52c;
  --ink: #1d2420;
  --muted: #5b665f;
  --line: #e3e7e4;
  --paper: #fbfaf6;
  --white: #ffffff;
  --radius: 18px;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--green); }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__top {
  background: var(--green-dark);
  color: #cfe0d6;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 6px 12px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--ink);
}
.brand__logo { width: 46px; height: 46px; }
.brand__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand__name span { color: var(--green); }

/* Article intro */
.intro { padding: 56px 0 24px; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.intro h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 20px auto 18px;
  max-width: 780px;
  letter-spacing: -.015em;
}
.meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
}
.lead {
  text-align: left;
  font-size: 18.5px;
  color: #333c37;
  margin: 34px auto 0;
  max-width: 760px;
}
.lead p { margin: 0 0 16px; }
.lead p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 64px;
  line-height: .9;
  padding: 6px 10px 0 0;
  color: var(--green);
  font-weight: 700;
}

/* Table of contents */
.toc {
  margin: 30px auto 0;
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.toc__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 10px;
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-top: 1px dashed var(--line); }
.toc li:first-child { border-top: 0; }
.toc a {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
}
.toc a:hover { color: var(--green); }

/* List items */
.tips { padding: 40px 0 70px; }
.tip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 34px;
  box-shadow: 0 12px 30px -22px rgba(18, 51, 38, .45);
  scroll-margin-top: 24px;
}
.tip:nth-child(even) .tip__media { order: 2; }
.tip__media { position: relative; min-height: 300px; background: var(--green-soft); }
.tip__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tip__num {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.tip__body { padding: 36px 38px; display: flex; flex-direction: column; }
.tip__body h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 29px);
  line-height: 1.22;
  margin: 0 0 16px;
  color: var(--green-dark);
}
.tip__body p { margin: 0 0 14px; color: #39433d; }
.tip__cta { margin-top: auto; padding-top: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn--ghost:hover { background: var(--green-soft); }

.note {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* Legal pages */
.page-head { padding: 52px 0 10px; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.page-head .updated { color: var(--muted); font-size: 15px; margin: 0; }
.legal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 26px 0 70px;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--green-dark);
  margin: 30px 0 10px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal .contact-box {
  background: var(--green-soft);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 8px;
}
.legal .contact-box p { margin: 0; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #c4d5cb;
  font-size: 14.5px;
  line-height: 1.65;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px 56px;
}
.site-footer h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 12px;
}
.site-footer p { margin: 0 0 10px; }
.site-footer a,
.site-footer .link-btn { color: #e9f1ec; text-decoration: none; }
.site-footer a:hover,
.site-footer .link-btn:hover { color: var(--gold); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 7px; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.footer-company { font-style: normal; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #9db3a6;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--serif); font-weight: 700; }
.footer-brand img { width: 26px; height: 26px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 28, 20, .6);
}
.modal.is-open { display: flex; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px 28px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: #d7e5dc; }
.modal h2 { font-family: var(--serif); margin: 0 0 18px; font-size: 26px; color: var(--green-dark); }
.modal dl { margin: 0; }
.modal dt {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 14px;
}
.modal dt:first-child { margin-top: 0; }
.modal dd { margin: 3px 0 0; }

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35);
  font-size: 14.5px;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { padding: 10px 20px; font-size: 14.5px; }

@media (max-width: 820px) {
  .tip { grid-template-columns: 1fr; }
  .tip:nth-child(even) .tip__media { order: 0; }
  .tip__media { min-height: 0; aspect-ratio: 3 / 2; }
  .tip__body { padding: 26px 22px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal { padding: 26px 20px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand__name { font-size: 24px; }
  .brand__logo { width: 40px; height: 40px; }
  .intro { padding-top: 38px; }
  .lead { font-size: 17px; }
  .btn { width: 100%; justify-content: center; }
  .cookie .btn { width: auto; flex: 1; }
}
