@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Quicksand:wght@600;700&display=swap");

:root {
  --paper: #fdfbf7;
  --paper-soft: #fff7ef;
  --sage: #8fa998;
  --sage-dark: #6f8f7d;
  --sand: #ede8e2;
  --sand-strong: #dfd5ca;
  --text: #4a4a4a;
  --heading: #2d2d2d;
  --rose: #b5838d;
  --rose-hover: #d4a5a5;
  --coral: #f17883;
  --mint: #dfece4;
  --sky: #dfe9ef;
  --shadow: 0 18px 42px rgba(72, 61, 50, 0.08);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

body.menu-open,
body.search-open,
body.consent-panel-open {
  overflow: hidden;
}

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

a {
  color: var(--rose);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--heading);
}

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-family: "Quicksand", Avenir, "Segoe UI", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.65rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--sand);
  background: rgba(255, 255, 255, 0.36);
}

th,
td {
  padding: 0.95rem;
  border-bottom: 1px solid var(--sand);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--heading);
  background: var(--paper-soft);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--sand);
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--heading);
  text-decoration: none;
}

.brand img {
  width: clamp(164px, 18vw, 248px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  color: var(--heading);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.nav a.is-active {
  color: var(--rose);
}

.icon-button,
.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

.menu-button {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: clamp(3.8rem, 8vw, 7.5rem) 0;
}

.section + .section {
  border-top: 1px solid var(--sand);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 780px;
  color: #3e3e3e;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
}

.muted {
  color: #66615d;
}

.hero {
  padding: clamp(4.3rem, 9vw, 8rem) 0 clamp(3.6rem, 7vw, 6.4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: clamp(2rem, 5vw, 4.4rem);
  align-items: center;
}

.hero p {
  margin-top: 1.35rem;
}

.hero-art {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 4%;
  z-index: -1;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(143, 169, 152, 0.26), rgba(241, 120, 131, 0.11)),
    var(--paper-soft);
}

.hero-art img {
  width: min(78%, 290px);
  filter: drop-shadow(0 20px 18px rgba(83, 64, 47, 0.13));
}

@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 320px);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .hero .button-row {
    flex-wrap: nowrap;
  }

  .hero .button {
    padding-left: 24px;
    padding-right: 24px;
    white-space: nowrap;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .hero .button-row {
    flex-wrap: nowrap;
  }

  .hero .button {
    padding-left: 22px;
    padding-right: 22px;
    white-space: nowrap;
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button,
.btn,
input[type="submit"] {
  min-height: 46px;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #fff;
  background: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover,
.btn:hover,
input[type="submit"]:hover {
  color: #fff;
  background: var(--rose-hover);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.button.secondary {
  color: #fff;
  background: var(--sage);
  border-color: transparent;
}

.button.secondary:hover {
  color: #fff;
  background: var(--rose-hover);
  border-color: transparent;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 790px;
  margin-bottom: 2rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.article-card,
.note,
.toc,
.search-dialog {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: var(--shadow);
}

.card,
.article-card {
  padding: 1.35rem;
}

.card .kicker,
.article-card .kicker {
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3,
.article-card h2,
.article-card h3 {
  margin-top: 0.45rem;
}

.card p,
.article-card p {
  margin-top: 0.75rem;
}

.article-card a {
  display: inline-flex;
  margin-top: 0.6rem;
}

.soft-band {
  background:
    linear-gradient(90deg, rgba(223, 236, 228, 0.72), rgba(255, 247, 239, 0.88) 54%, rgba(223, 233, 239, 0.64)),
    var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.toc {
  position: static;
  margin: 0 0 2.3rem;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(72, 61, 50, 0.06);
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--heading);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-bottom: 2px solid var(--sage-dark);
  border-right: 2px solid var(--sage-dark);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.toc[open] summary::after {
  transform: rotate(225deg);
}

.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.72);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.toc a:hover {
  color: var(--rose);
}

.article {
  padding: clamp(3.8rem, 8vw, 6.6rem) 0;
}

.article > .container.split {
  width: min(100% - 32px, 820px);
  display: block;
}

.article-header {
  padding-bottom: 1.4rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: #5f5a55;
  font-size: 0.82rem;
  font-weight: 700;
}

.article-body {
  color: #45413e;
}

.article-body .lead {
  max-width: none;
}

.article-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.85rem;
}

.article-body h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.55rem;
}

.article-body blockquote {
  margin: 1.6rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--sage);
  background: var(--paper-soft);
  color: var(--heading);
  font-weight: 650;
}

.note {
  padding: 1.1rem 1.2rem;
  background: var(--paper-soft);
}

.note strong {
  color: var(--heading);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--sage);
}

.ranking {
  counter-reset: ranking;
  display: grid;
  gap: 0.8rem;
}

.ranking-item {
  counter-increment: ranking;
  padding: 1rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
}

.ranking-item h3 {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.ranking-item h3::before {
  content: counter(ranking);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--sage);
  font-family: Inter, Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 0.9rem;
}

.product-status {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.color-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 9px;
  overflow: hidden;
  border-radius: 99px;
  margin: 1.2rem 0 0;
}

.color-strip span:nth-child(1) {
  background: var(--sage);
}

.color-strip span:nth-child(2) {
  background: var(--rose);
}

.color-strip span:nth-child(3) {
  background: var(--coral);
}

.color-strip span:nth-child(4) {
  background: #e7bf7a;
}

.color-strip span:nth-child(5) {
  background: #95b7c8;
}

.color-strip span:nth-child(6) {
  background: #bda5c7;
}

.tiktok-link {
  width: 72px;
  height: 72px;
  margin-top: 1.4rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tiktok-link:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.tiktok-link img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.site-footer {
  border-top: 1px solid var(--sand);
  background: var(--sage);
  color: #163326;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a,
.site-footer a {
  color: #163326;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 6rem 1rem 1rem;
  background: rgba(45, 45, 45, 0.38);
}

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 90;
  width: min(calc(100% - 32px), 1040px);
  padding: 1rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background: rgba(253, 251, 247, 0.98);
  box-shadow: 0 20px 48px rgba(45, 45, 45, 0.16);
  transform: translateX(-50%);
}

.consent-copy {
  display: grid;
  gap: 0.35rem;
}

.consent-copy p,
.consent-choice p {
  margin: 0;
}

.consent-copy h2,
.consent-panel h2 {
  font-size: 1.35rem;
}

.consent-panel-intro {
  max-width: 520px;
  margin: 0.55rem 0 0;
  color: #5f5a55;
  font-size: 0.98rem;
  line-height: 1.55;
}

.consent-kicker {
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-actions,
.consent-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.consent-button {
  min-width: 150px;
}

.button.consent-secondary,
.consent-secondary {
  color: var(--heading);
  background: var(--paper-soft);
  border-color: var(--sand-strong);
}

.button.consent-secondary:hover,
.consent-secondary:hover {
  color: #fff;
  background: var(--rose-hover);
  border-color: transparent;
}

.consent-link-button {
  min-height: auto;
  padding: 0.2rem 0;
  border: 0;
  color: var(--rose);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 0.24em;
  cursor: pointer;
}

.consent-link-button:hover {
  color: var(--heading);
}

.consent-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(45, 45, 45, 0.42);
}

.consent-panel[hidden] {
  display: none;
}

.consent-panel-card {
  width: min(100%, 680px);
  max-height: min(720px, 92vh);
  overflow: auto;
  padding: 1.1rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(30, 28, 25, 0.24);
}

.consent-panel-header,
.consent-choice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.consent-panel-header {
  margin-bottom: 1rem;
}

.consent-choice {
  padding: 1rem 0;
  border-top: 1px solid var(--sand);
}

.consent-choice h3 {
  margin-bottom: 0.35rem;
}

.switch {
  min-width: 116px;
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.fixed-status {
  min-width: 116px;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--sage);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  background: rgba(143, 169, 152, 0.14);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.switch input {
  width: 48px;
  height: 28px;
  appearance: none;
  border: 1px solid var(--sand-strong);
  border-radius: 999px;
  position: relative;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sand-strong);
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch input:checked {
  border-color: var(--sage);
  background: var(--sage);
}

.switch input:checked::before {
  background: #fff;
  transform: translateX(20px);
}

.switch input:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.inline-cookie-button {
  display: inline;
  padding: 0;
  border: 0;
  color: var(--rose);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.inline-cookie-button:hover {
  color: var(--heading);
}

.search-overlay.is-open {
  display: flex;
}

.search-dialog {
  width: min(100%, 720px);
  padding: 1rem;
  background: var(--paper);
}

.search-top {
  display: flex;
  gap: 0.75rem;
}

.search-top input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--heading);
  font: inherit;
}

.search-results {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.search-result {
  padding: 0.85rem;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-decoration: none;
}

.search-result strong {
  display: block;
  color: var(--heading);
}

.search-result span {
  display: block;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -48px;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  color: #fff;
  background: var(--heading);
}

.skip-link:focus {
  top: 1rem;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 64px;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    padding: 1rem;
    border-bottom: 1px solid var(--sand);
    background: var(--paper);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 0.65rem 0;
  }

  .hero-grid,
  .split,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 240px;
    order: -1;
  }

  .toc {
    position: static;
  }

  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    justify-content: center;
  }

  .consent-button {
    flex: 1 1 180px;
  }
}

@media (max-width: 700px) {
  .toc {
    margin-bottom: 1.7rem;
    padding: 0.9rem;
  }

  .toc-links {
    display: grid;
  }

  .toc a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .container,
  .narrow,
  .footer-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 156px;
  }

  .button,
  .btn,
  input[type="submit"],
  .consent-button,
  .consent-panel-actions .button {
    width: 100%;
  }

  .consent-link-button {
    width: auto;
    margin: 0 auto;
  }

  .consent-banner {
    bottom: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .consent-panel-card {
    padding: 1rem;
  }

  .consent-panel-header,
  .consent-choice {
    display: grid;
  }

  .switch {
    justify-items: start;
  }

  th,
  td {
    padding: 0.78rem;
    font-size: 0.94rem;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
