/* Heart of Tafiti — theme "koru" (namespace tf-)
   Палитра из лого/баннера: синий #2b5bc0, бирюза #279a8e, графит #2f3a40,
   мята #f4f9f8, зелёный #5aa74b. */
:root {
  --tf-blue: #2b5bc0;
  --tf-blue-deep: #1d4293;
  --tf-teal: #279a8e;
  --tf-teal-deep: #1d6e64;
  --tf-leaf: #5aa74b;
  --tf-ink: #2f3a40;
  --tf-dim: #5f6f75;
  --tf-mist: #f4f9f8;
  --tf-panel: #ffffff;
  --tf-hair: #dcebe8;
  --tf-amber: #f5a623;
  --tf-deep: #14343a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--tf-ink);
  background: var(--tf-mist);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, .tf-wordmark { font-family: 'Quicksand', 'Nunito Sans', sans-serif; font-weight: 700; }
a { color: var(--tf-teal-deep); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
svg.tf-ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tf-rail { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ticker (announce bar) */
.tf-ticker { background: var(--tf-deep); color: #cfe8e3; font-size: .82rem; }
.tf-ticker .tf-rail { display: flex; justify-content: center; gap: 34px; padding: 7px 20px; }
.tf-ticker b { color: #7fd6c9; font-weight: 700; }
.tf-ticker span { white-space: nowrap; }

/* crest (header) */
.tf-crest {
  background: #fff;
  border-bottom: 3px solid var(--tf-teal);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 8px rgba(31, 58, 64, .08);
}
.tf-crest-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.tf-mark { display: flex; align-items: center; gap: 10px; }
.tf-mark img { width: 54px; height: 54px; border-radius: 50%; }
.tf-mark .tf-wordmark { font-size: 1.15rem; color: var(--tf-ink); letter-spacing: .01em; }
.tf-mark .tf-wordmark b { color: var(--tf-teal); }
.tf-menu { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.tf-menu a { font-weight: 600; color: var(--tf-ink); padding: 6px 2px; border-bottom: 2px solid transparent; font-size: .98rem; }
.tf-menu a:hover, .tf-menu a[aria-current] { color: var(--tf-blue); border-bottom-color: var(--tf-blue); }
.tf-burger { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; }
.tf-burger i { display: block; width: 24px; height: 3px; background: var(--tf-ink); margin: 4px 0; border-radius: 2px; }

/* splash (hero) */
.tf-splash {
  background: linear-gradient(118deg, var(--tf-blue-deep) 0%, var(--tf-blue) 55%, #3f74d8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tf-splash::after {
  content: '';
  position: absolute; right: -80px; bottom: -140px;
  width: 420px; height: 420px;
  border: 46px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.tf-splash::before {
  content: '';
  position: absolute; right: 120px; top: -120px;
  width: 280px; height: 280px;
  border: 30px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}
.tf-splash-in { max-width: 1160px; margin: 0 auto; padding: 80px 20px 88px; position: relative; z-index: 1; }
.tf-kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700;
  color: #bcd2f5; margin-bottom: 14px;
}
.tf-splash h1 { font-size: 3.1rem; line-height: 1.12; margin-bottom: 18px; font-weight: 700; }
.tf-splash-note { max-width: 560px; font-size: 1.12rem; color: #dbe7fb; margin-bottom: 30px; }
.tf-cta {
  display: inline-block; background: var(--tf-teal); color: #fff; font-weight: 700;
  padding: 13px 30px; border-radius: 999px; transition: background .15s ease, transform .15s ease;
  border: 0; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.tf-cta:hover { background: var(--tf-teal-deep); transform: translateY(-1px); }

/* figures (stats band) */
.tf-figures { background: #fff; border-bottom: 1px solid var(--tf-hair); }
.tf-figures .tf-rail { display: flex; justify-content: space-around; gap: 20px; padding: 22px 20px; flex-wrap: wrap; }
.tf-figure { text-align: center; }
.tf-figure b { display: block; font-family: 'Quicksand', sans-serif; font-size: 1.6rem; color: var(--tf-blue); line-height: 1.2; }
.tf-figure span { font-size: .85rem; color: var(--tf-dim); text-transform: uppercase; letter-spacing: .07em; }

/* shelves (category tiles) */
.tf-shelves { padding: 52px 20px 8px; }
.tf-shelf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tf-shelf {
  display: block; position: relative; border-radius: 16px; overflow: hidden; background: var(--tf-panel);
  border: 1px solid var(--tf-hair); box-shadow: 0 2px 10px rgba(31, 58, 64, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tf-shelf:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(31, 58, 64, .12); }
.tf-shelf-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.tf-shelf-pic img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.tf-shelf-cap { padding: 14px 16px 16px; border-top: 3px solid var(--tf-teal); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tf-shelf-cap h3 { font-size: 1.02rem; color: var(--tf-ink); }
.tf-shelf-cap em { font-style: normal; font-size: .82rem; color: var(--tf-dim); white-space: nowrap; }

/* market (product grid) */
.tf-market { padding: 46px 20px; }
.tf-lede { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.tf-lede h2 { font-size: 1.9rem; color: var(--tf-ink); margin-bottom: 8px; }
.tf-lede p { color: var(--tf-dim); }
.tf-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* tile (product card) */
.tf-tile {
  background: var(--tf-panel); border: 1px solid var(--tf-hair); border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  box-shadow: 0 2px 10px rgba(31, 58, 64, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tf-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(31, 58, 64, .12); }
.tf-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  color: var(--tf-teal-deep); background: #e2f2ef; border-radius: 999px; padding: 4px 11px;
}
.tf-flag.hot { background: var(--tf-amber); color: #5c3d00; }
.tf-flag.thrift { background: #e7f3e2; color: #33702a; }
.tf-tile-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.tf-tile-pic { aspect-ratio: 1; background: #fff; padding: 18px; border-bottom: 1px dashed var(--tf-hair); }
.tf-tile-pic img { width: 100%; height: 100%; object-fit: contain; }
.tf-tile-body { padding: 13px 16px 8px; display: flex; flex-direction: column; flex: 1; }
.tf-score { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.tf-stars .tf-star { color: #ccd8d5; font-size: .88rem; }
.tf-stars .tf-star.lit { color: var(--tf-amber); }
.tf-tally { color: var(--tf-dim); font-size: .8rem; }
.tf-tile-name { font-size: .97rem; line-height: 1.35; color: var(--tf-ink); font-weight: 700; }
.tf-tile-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 16px 14px;
}
.tf-cost { font-size: 1.18rem; font-weight: 800; color: var(--tf-blue); }
.tf-stock { font-size: .76rem; color: var(--tf-leaf); font-weight: 700; }
.tf-get {
  display: block; margin: 0 16px 16px; text-align: center;
  background: var(--tf-blue); color: #fff; font-weight: 700;
  padding: 11px 18px; border-radius: 10px; transition: background .15s ease;
}
.tf-get:hover { background: var(--tf-blue-deep); }
.tf-get::after { content: ' \2192'; }

/* pillars (value band) */
.tf-pillars { background: #fff; border-top: 1px solid var(--tf-hair); border-bottom: 1px solid var(--tf-hair); padding: 50px 0; }
.tf-pillars .tf-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.tf-pillar { display: flex; gap: 16px; align-items: flex-start; }
.tf-pillar-ic {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: #e2f2ef; color: var(--tf-teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.tf-pillar h3 { margin-bottom: 6px; font-size: 1.08rem; }
.tf-pillar p { color: var(--tf-dim); font-size: .94rem; }

/* oath (mission band) */
.tf-oath { background: linear-gradient(118deg, var(--tf-teal-deep), var(--tf-teal)); color: #fff; padding: 50px 0; text-align: center; }
.tf-oath h2 { font-size: 1.7rem; margin-bottom: 12px; }
.tf-oath p { max-width: 760px; margin: 0 auto; color: #dff1ee; }

/* asks (faq teaser) */
.tf-asks { padding: 50px 0 20px; }
.tf-asks details {
  background: #fff; border: 1px solid var(--tf-hair); border-radius: 12px;
  padding: 14px 20px; margin-bottom: 10px; max-width: 820px; margin-left: auto; margin-right: auto;
}
.tf-asks summary { font-weight: 700; cursor: pointer; color: var(--tf-ink); }
.tf-asks details p { margin-top: 8px; color: #48565c; font-size: .95rem; }
.tf-asks .tf-asks-more { text-align: center; margin-top: 16px; font-weight: 700; }

/* flock (newsletter teaser) */
.tf-flock { background: var(--tf-blue-deep); color: #fff; padding: 46px 0; }
.tf-flock .tf-rail { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.tf-flock h2 { font-size: 1.5rem; margin-bottom: 6px; }
.tf-flock p { color: #c6d7f5; font-size: .95rem; max-width: 460px; }
.tf-flock form { display: flex; gap: 10px; flex-wrap: wrap; }
.tf-flock input {
  padding: 12px 18px; border-radius: 999px; border: 0; min-width: 260px;
  font-family: inherit; font-size: .95rem;
}
.tf-flock .tf-cta { background: var(--tf-leaf); }
.tf-flock .tf-cta:hover { background: #4a8f3d; }
.tf-flock-done { font-weight: 700; color: #aef0c9; }

/* story (seo content) */
.tf-story { padding: 54px 0 28px; }
.tf-story h2 { font-size: 1.7rem; margin-bottom: 16px; }
.tf-story h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.tf-story p { margin-bottom: 12px; color: #48565c; }
.tf-story ul { margin: 10px 0 14px 22px; color: #48565c; }
.tf-story li { margin-bottom: 6px; }
.tf-story table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; background: #fff; border-radius: 12px; overflow: hidden; }
.tf-story th, .tf-story td { border: 1px solid var(--tf-hair); padding: 10px 14px; text-align: left; font-size: .93rem; }
.tf-story th { background: #e2f2ef; color: var(--tf-teal-deep); font-family: 'Quicksand', sans-serif; }

/* verdicts (public ratings block) */
.tf-verdicts { background: #fff; border-top: 1px solid var(--tf-hair); padding: 54px 0; }
.tf-verdicts .tf-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tf-verdict { background: var(--tf-mist); border: 1px solid var(--tf-hair); border-radius: 16px; padding: 22px; border-top: 4px solid var(--tf-teal); }
.tf-verdict .tf-star { color: #ccd8d5; font-size: 1rem; }
.tf-verdict .tf-star.lit { color: var(--tf-amber); }
.tf-verdict-figure { font-weight: 800; color: var(--tf-blue); margin: 8px 0 10px; }
.tf-verdict p { font-size: .93rem; color: #48565c; }
.tf-verdict-name { margin-top: 12px; font-weight: 700; }

/* brow (page hero) */
.tf-brow { background: linear-gradient(118deg, var(--tf-blue-deep), var(--tf-blue)); color: #fff; padding: 46px 0; }
.tf-brow h1 { font-size: 2.2rem; margin-bottom: 10px; }
.tf-brow-note { max-width: 640px; color: #dbe7fb; }
.tf-brow .tf-kicker { color: #bcd2f5; }

/* trail (breadcrumb) */
.tf-trail { padding: 16px 20px 0; font-size: .88rem; color: var(--tf-dim); }
.tf-trail a { color: var(--tf-teal-deep); }

/* good (product page) */
.tf-good { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 34px 20px 20px; align-items: start; }
.tf-good-pic { background: #fff; border: 1px solid var(--tf-hair); border-radius: 16px; padding: 26px; position: relative; }
.tf-good-pic img { width: 100%; object-fit: contain; aspect-ratio: 1; }
.tf-good-info h1 { font-size: 1.55rem; line-height: 1.3; margin: 10px 0 12px; }
.tf-good-info .tf-score { margin-bottom: 12px; }
.tf-good-cost { font-size: 2rem; font-weight: 800; color: var(--tf-blue); margin-bottom: 6px; }
.tf-good-stock { color: var(--tf-leaf); font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.tf-good-info .tf-get { display: inline-block; margin: 0 0 20px; padding: 14px 44px; border-radius: 999px; }
.tf-good-perks { list-style: none; margin: 0 0 8px; }
.tf-good-perks li { display: flex; gap: 9px; align-items: center; color: #48565c; font-size: .92rem; margin-bottom: 7px; }
.tf-good-perks svg.tf-ic { width: 18px; height: 18px; color: var(--tf-teal); }

.tf-details { padding: 10px 20px 40px; }
.tf-details h2 { font-size: 1.3rem; margin-bottom: 12px; }
.tf-points { margin-left: 22px; color: #48565c; }
.tf-points li { margin-bottom: 8px; }
.tf-details-note { margin-top: 10px; font-size: .84rem; color: var(--tf-dim); }

/* leaf (info pages) */
.tf-leaf { padding: 40px 0 56px; }
.tf-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.tf-glance-item { background: #fff; border: 1px solid var(--tf-hair); border-left: 4px solid var(--tf-teal); border-radius: 12px; padding: 14px 18px; }
.tf-glance-item b { display: block; font-family: 'Quicksand', sans-serif; color: var(--tf-blue); font-size: 1.05rem; }
.tf-glance-item span { font-size: .85rem; color: var(--tf-dim); }
.tf-leaf h2 { font-size: 1.4rem; margin: 26px 0 10px; color: var(--tf-ink); }
.tf-glance + h2, .tf-leaf .tf-rail > h2:first-child { margin-top: 0; }
.tf-leaf h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.tf-leaf p { margin-bottom: 12px; color: #48565c; }
.tf-leaf ul, .tf-leaf ol { margin: 10px 0 14px 22px; color: #48565c; }
.tf-leaf li { margin-bottom: 6px; }
.tf-leaf table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; background: #fff; }
.tf-leaf th, .tf-leaf td { border: 1px solid var(--tf-hair); padding: 10px 14px; text-align: left; font-size: .93rem; }
.tf-leaf th { background: #e2f2ef; color: var(--tf-teal-deep); }
.tf-callout {
  background: #eef7f5; border: 1px solid var(--tf-hair); border-left: 4px solid var(--tf-leaf);
  border-radius: 12px; padding: 14px 18px; margin: 18px 0; color: #3c5049; font-size: .95rem;
}

/* ground (footer) */
.tf-ground { background: var(--tf-deep); color: #bfd5d2; margin-top: 44px; position: relative; }
.tf-wave { display: block; position: absolute; bottom: 100%; left: 0; width: 100%; height: 34px; color: var(--tf-deep); }
.tf-ground-strip { border-bottom: 1px solid #24494f; }
.tf-ground-strip .tf-rail { display: flex; justify-content: space-between; gap: 24px; padding: 22px 20px; flex-wrap: wrap; }
.tf-perk { display: flex; align-items: center; gap: 11px; font-size: .9rem; }
.tf-perk svg.tf-ic { color: #7fd6c9; }
.tf-perk b { color: #fff; display: block; font-size: .92rem; }
.tf-perk span { display: block; color: #8fb0ac; font-size: .8rem; }
.tf-ground-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 34px; padding: 42px 20px 26px; }
.tf-ground .tf-wordmark { font-size: 1.3rem; color: #fff; }
.tf-ground .tf-wordmark i { font-style: normal; color: var(--tf-teal); }
.tf-ground-motto { color: #7fd6c9; font-weight: 700; margin: 6px 0 10px; }
.tf-ground-about { font-size: .9rem; margin-bottom: 16px; }
.tf-reach { list-style: none; font-size: .9rem; }
.tf-reach li { margin-bottom: 5px; }
.tf-reach b { color: #e8f2f0; font-weight: 700; margin-right: 6px; }
.tf-gcol h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.tf-gcol ul { list-style: none; }
.tf-gcol li { margin-bottom: 8px; }
.tf-gcol a { color: #bfd5d2; font-size: .93rem; }
.tf-gcol a:hover { color: #7fd6c9; }
.tf-ground-base { border-top: 1px solid #24494f; }
.tf-ground-base .tf-rail {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px 24px; flex-wrap: wrap; font-size: .83rem; color: #8fb0ac;
}
.tf-pays { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-pays span { border: 1px solid #2c545b; border-radius: 6px; padding: 2px 10px; font-size: .76rem; color: #a9c6c2; letter-spacing: .03em; }

/* responsive */
@media (max-width: 980px) {
  .tf-tiles, .tf-shelf-row { grid-template-columns: repeat(3, 1fr); }
  .tf-ground-grid { grid-template-columns: 1fr 1fr; }
  .tf-vgrid, .tf-pillars .tf-rail { grid-template-columns: 1fr !important; }
  .tf-glance { grid-template-columns: 1fr; }
  .tf-splash h1 { font-size: 2.4rem; }
  .tf-ticker span:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  .tf-tiles, .tf-shelf-row { grid-template-columns: repeat(2, 1fr); }
  .tf-good { grid-template-columns: 1fr; gap: 24px; }
  .tf-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 20px 16px;
    border-bottom: 3px solid var(--tf-teal); box-shadow: 0 10px 20px rgba(31, 58, 64, .12);
  }
  .tf-menu.open { display: flex; }
  .tf-menu a { padding: 10px 2px; border-bottom: 1px solid var(--tf-hair); }
  .tf-burger { display: block; }
  .tf-splash-in { padding: 54px 20px 62px; }
  .tf-splash h1 { font-size: 2rem; }
  .tf-ticker span:nth-child(2) { display: none; }
  .tf-flock .tf-rail { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .tf-tiles, .tf-shelf-row { grid-template-columns: 1fr; }
  .tf-ground-grid { grid-template-columns: 1fr; }
  .tf-figures .tf-rail { justify-content: space-between; }
}
