@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --green: #123a2c;
  --paper: #f7f7f0;
  --ink: #172a22;
  --muted: #53655d;
  --line: #dbe1d7;
  --gold: #f3d795;
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a, button, input, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid #a27319; outline-offset: 4px; }
button, input { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 2; background: white; padding: 10px; transform: translateY(-140%); }
.skip:focus { transform: none; }
.top { background: #102c22; color: #fff; border-bottom: 1px solid #315045; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 1.32rem; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand > span:last-child { color: var(--gold); }
.brand-mark { display: grid; place-items: center; border: 1px solid #a88d58; color: var(--gold); width: 31px; height: 31px; border-radius: 50%; margin-right: 5px; font-size: 1.16rem; }
nav { display: flex; gap: clamp(12px, 3vw, 34px); }
nav a, .footer-inner > a:last-child { text-decoration: none; font-size: .9rem; color: #e1e8e3; }
nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.age { display: inline-grid; place-items: center; min-width: 38px; height: 31px; border: 1px solid currentColor; border-radius: 50px; font-size: .8rem; font-weight: 700; }
.hero { color: white; background: linear-gradient(90deg,#081d14b5 0%,#081d1430 63%), #0b2015 url("hero.jpg") center right / cover no-repeat; }
.hero-inner { padding-block: clamp(46px, 6vw, 82px); }
.eyebrow { color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .19em; margin-bottom: 12px; }
h1 { font-size: clamp(3.5rem, 7.2vw, 6.15rem); line-height: .9; }
.hero-inner > p:not(.eyebrow) { max-width: 390px; margin-top: 18px; color: #edf4eb; }
.hero-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 23px; padding: 11px 16px; border-radius: 6px; background: var(--gold); color: #203324; font-weight: 700; font-size: .92rem; text-decoration: none; }
.hero-link:hover { background: #ffe7b0; }
.catalog { padding-block: 46px 56px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.catalog-head p { margin-top: 8px; color: var(--muted); }
.search { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 12px; }
.search > span { font-size: 1.36rem; line-height: 1; }
.search input { width: 185px; min-width: 0; border: none; background: transparent; color: var(--ink); padding: 3px; }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { cursor: pointer; padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.count { color: var(--muted); font-size: .83rem; white-space: nowrap; }
.column-guide, .card { display: grid; grid-template-columns: 1.15fr 1.65fr .61fr .88fr; gap: 20px; align-items: center; padding-inline: 20px; }
.column-guide { margin-block: 20px 8px; color: var(--muted); font-size: .74rem; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.cards { display: grid; gap: 10px; }
.card { min-height: 116px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding-block: 15px; }
.platform { display: flex; align-items: center; gap: 13px; }
.platform h3 { font-size: 1.02rem; line-height: 1.22; }
.category, .access small { color: var(--muted); font-size: .75rem; margin-top: 4px; }
.monogram { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 10px; background: #143e2e; color: #f7dfab; font-family: Georgia, serif; font-size: 1.04rem; }
.monogram.plum { background: #3a2a4a; color: #e6caff; }
.monogram.gold { background: #45331b; color: #ffe3a1; }
.monogram.navy { background: #1d3757; color: #cce4ff; }
.monogram.ruby { background: #592938; color: #ffced7; }
.monogram.slate { background: #2c3d49; color: #cce8e9; }
.offer-title { font-size: .94rem; font-weight: 700; }
.offer ul { margin: 3px 0 0; padding-left: 17px; color: var(--muted); font-size: .81rem; }
.offer li::marker { color: #4d7961; }
.score { color: var(--green); display: grid; justify-items: start; }
.score strong { font: 1.65rem/1 Georgia, serif; }
.score small { color: var(--muted); font-size: .74rem; margin-top: 4px; }
.access { text-align: center; display: grid; }
.visit { display: block; background: var(--green); color: white; text-decoration: none; padding: 9px 8px; border-radius: 7px; font-size: .85rem; font-weight: 700; }
.visit:hover { background: #1e5140; }
.inactive, .inactive:hover { color: #4c665a; background: #edf2ea; }
.empty { background: white; border: 1px dashed var(--line); border-radius: 10px; padding: 24px; color: var(--muted); }
.editorial { padding-top: 35px; border-top: 1px solid var(--line); }
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.criteria article { padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.criteria article > span { color: #35664d; font-size: 1.45rem; }
.criteria h3 { font-size: 1rem; }
.criteria p, details p, .responsible p { font-size: .91rem; color: var(--muted); margin-top: 6px; }
.faq-title { margin: 38px 0 15px; }
details { padding: 12px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
.responsible { display: flex; align-items: flex-start; gap: 17px; margin-block: 44px; background: #e9efe5; border-radius: 12px; padding: 24px; }
.responsible h2 { font-size: 2rem; }
.age-large { color: var(--green); min-width: 46px; height: 36px; }
.footer { background: #102c22; color: #d4e2d9; padding-block: 23px; }
.footer-inner p, .disclosure { font-size: .82rem; }
.disclosure { margin-top: 15px; padding-top: 14px; border-top: 1px solid #355249; }
@media (max-width: 760px) {
  .column-guide { display: none; }
  .cards { margin-top: 13px; }
  .card { grid-template-columns: 1fr minmax(94px, auto); gap: 10px 16px; }
  .platform { grid-column: 1; grid-row: 1; }
  .offer { grid-column: 1; grid-row: 2; }
  .score { grid-column: 2; grid-row: 1; justify-items: center; }
  .access { grid-column: 2; grid-row: 2; }
  .hero { background-position: 65% center; }
}
@media (max-width: 550px) {
  .wrap { width: calc(100% - 30px); }
  .top-inner { flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-block: 11px; }
  .top-inner nav { order: 3; width: 100%; justify-content: space-between; }
  nav { column-gap: 8px; }
  nav a { font-size: .76rem; }
  h1 { font-size: clamp(2.65rem, 12.3vw, 3.5rem); }
  .hero { background-image: linear-gradient(90deg,#081d14ef,#081d1466), url("hero.jpg"); }
  .catalog-head { align-items: stretch; flex-direction: column; }
  .search input { width: 100%; }
  .card { padding-inline: 12px; }
  .monogram { width: 42px; height: 42px; flex-basis: 42px; }
  .criteria { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; gap: 10px; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 360px) {
  .tools { align-items: flex-start; flex-direction: column; }
}
