:root {
  --ink: #101312;
  --deep: #0a1e18;
  --green: #0f2a22;
  --green-soft: #1f4a40;
  --lime: #7ed957;
  --paper: #f3f1ed;
  --white: #fff;
  --line: #cbc9c3;
  --muted: #777873;
  --sans: "Inter", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --frame-width: calc(100% - 144px);
  --article-width: calc(100% - 144px);
  --brand-emerald: #34d399;
}

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

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.shell {
  width: var(--frame-width);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,19,18,.08);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  display: grid;
  min-height: 72px;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
}
.site-logo { width: 118px; }
.header-button {
  padding: 12px 17px;
  border-radius: 11px;
  font-size: 13px;
}
.header-button { color: var(--white); background: var(--ink); }

.blog-hero {
  position: relative;
  min-height: 344px;
  overflow: hidden;
  color: var(--white);
  background: url("../images/hero-bg.png") no-repeat center center / cover;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0 72px;
  border-inline: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.blog-hero::after {
  content: "";
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  pointer-events: none;
}

/* Glowing borders layer - follows cursor position */
.blog-hero__glow-vertical,
.blog-hero__glow-horizontal {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.blog-hero__glow-vertical {
  inset: 0 72px;
  border-inline: 1.5px solid var(--brand-emerald, #34d399);
  -webkit-mask-image: radial-gradient(circle 120px at var(--mouse-x, 0px) var(--mouse-y, 0px), black, transparent);
  mask-image: radial-gradient(circle 120px at var(--mouse-x, 0px) var(--mouse-y, 0px), black, transparent);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

.blog-hero__glow-horizontal {
  top: 72px;
  bottom: 72px;
  left: 0;
  right: 0;
  border-top: 1.5px solid var(--brand-emerald, #34d399);
  border-bottom: 1.5px solid var(--brand-emerald, #34d399);
  -webkit-mask-image: radial-gradient(circle 120px at var(--mouse-x, 0px) var(--mouse-y, 0px), black, transparent);
  mask-image: radial-gradient(circle 120px at var(--mouse-x, 0px) var(--mouse-y, 0px), black, transparent);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

/* Show glow when mouse is active */
.blog-hero.is-glow-active .blog-hero__glow-vertical,
.blog-hero.is-glow-active .blog-hero__glow-horizontal {
  opacity: 1;
}
.blog-hero__content {
  position: relative;
  z-index: 3;
  padding: 88px 72px 88px;
}
.eyebrow {
  font: 11px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.blog-hero h1 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 82px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.04em;
}
.blog-hero p:last-of-type {
  max-width: 520px;
  margin-top: 25px;
  color: rgba(255,255,255,.7);
  font-size: 17px;
  line-height: 1.55;
}
.hero-button {
  display: inline-flex;
  min-height: 50px;
  margin-top: 32px;
  padding: 0 22px;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 11px;
  font-size: 14px;
}

.featured-section { padding: 72px 0; background: #faf9f7; }
.featured-card {
  display: grid;
  min-height: 370px;
  grid-template-columns: minmax(340px, 580px) minmax(0, 1fr) 220px;
  background: var(--white);
  border: 1px solid var(--line);
}
.featured-card__copy {
  display: flex;
  padding: 34px 38px 34px 36px;
  flex-direction: column;
  border-left: 1px solid var(--line);
}
.card-meta {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  color: var(--muted);
  font: 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.featured-card__date {
  display: flex;
  padding: 34px 36px 34px 24px;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font: 10px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.featured-card h2 {
  margin-top: 30px;
  max-width: 560px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 49px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.03em;
}
.featured-card__copy > p {
  max-width: 480px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.read-link {
  margin-top: auto;
  padding-top: 28px;
  font-size: 13px;
  font-weight: 600;
}
.visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}
.visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px);
  background-size: 25px 25px;
}
.visual--systems { display: grid; place-items: center; }
.visual--systems span {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
}
.visual--systems span:nth-child(1) { --size: 90px; }
.visual--systems span:nth-child(2) { --size: 175px; border-color: rgba(126,217,87,.7); }
.visual--systems span:nth-child(3) { --size: 270px; opacity: .5; }
.visual--systems b {
  position: relative;
  z-index: 2;
  color: var(--lime);
  font: 700 30px var(--sans);
}
.visual--voice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.visual--voice i {
  position: relative;
  z-index: 2;
  width: 7px;
  height: var(--height);
  background: var(--white);
  border-radius: 8px;
}
.visual--voice i:nth-child(1),
.visual--voice i:nth-child(7) { --height: 25%; }
.visual--voice i:nth-child(2),
.visual--voice i:nth-child(6) { --height: 48%; background: var(--lime); }
.visual--voice i:nth-child(3),
.visual--voice i:nth-child(5) { --height: 72%; }
.visual--voice i:nth-child(4) { --height: 88%; background: var(--lime); }

.article-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--line);
  padding-bottom: 72px;
  margin-bottom: 48px;
}
.article-row__title {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--line);
}
.article-row__title h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.article-row__title p {
  margin-top: 20px;
  color: var(--muted);
  font: 9px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.small-card {
  background: #faf9f7;
  border-right: 1px solid var(--line);
}
.small-card:last-child { border-right: 0; }
.small-card .visual { margin: 24px 24px 0; min-height: 220px; }
.small-card__body { padding: 22px 24px 36px; }
.small-card time {
  color: var(--muted);
  font: 10px var(--sans);
  letter-spacing: .1em;
}
.small-card h3 {
  margin-top: 13px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.small-card p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.site-footer {
  padding: 42px 0 28px;
  color: var(--white);
  background: var(--deep);
}
.footer-logo { width: 112px; filter: brightness(0) invert(1); }

/* Footer site-footer--legal (matched with index.html) */
.section-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}
.site-footer--legal {
  background: #0F2A22;
  border-top: none;
  padding: 52px 0 42px;
}
.site-footer--legal .section-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.site-footer--legal .footer-logo {
  margin: 0;
}
.site-footer--legal .footer-logo img {
  display: block;
  filter: brightness(0) invert(1);
  height: 34px;
  opacity: 0.94;
  width: auto;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-end;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: #ffffff;
}
.site-footer--legal p {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
  margin: 0;
  padding-top: 24px;
  width: 100%;
}

/* Article */
.article-page { background: var(--paper); }
.article-header .site-header__inner {
  grid-template-columns: auto auto;
}
.article-header .site-logo { justify-self: start; }
.article-header .header-button { justify-self: end; }
.article-shell {
  width: var(--article-width);
  margin-inline: auto;
}
.breadcrumb {
  padding: 72px 0 26px;
  color: var(--muted);
  font: 11px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.article-title {
  max-width: 930px;
  padding-bottom: 38px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -.035em;
}
.article-cover {
  min-height: 440px;
}
.article-cover.visual--systems b { font-size: 44px; }
.article-info {
  display: grid;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 164px 184px;
  border-bottom: 1px solid var(--line);
}
.article-info > div {
  display: flex;
  padding: 0 32px;
  align-items: center;
  color: var(--muted);
  font: 10px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-info > div:nth-child(2) {
  justify-content: flex-end;
  border-right: 1px solid var(--line);
}
.article-info > div:last-child {
  padding-left: 22px;
}
.article-info__share {
  gap: 14px;
}
.article-info__share-label {
  margin-right: 2px;
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a8c86;
  transition: color .2s ease, opacity .2s ease;
}
.share-button:hover {
  color: var(--ink);
  opacity: .8;
}
.share-button svg {
  display: block;
  color: currentColor;
}
.share-button[data-share="copy"] svg { width: 20px; height: 20px; }
.share-button[data-share="x"] svg { width: 16px; height: 15px; }
.share-button[data-share="linkedin"] svg { width: 16px; height: 17px; }
.share-button__copied {
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}
.article-content {
  display: grid;
  width: var(--article-width);
  margin: 0 auto;
  grid-template-columns: minmax(0, 3fr) minmax(380px, 1fr);
  border-inline: 1px solid var(--line);
}
.article-body {
  width: 100%;
  margin: 0;
  padding: 52px 58px 110px 62px;
}
.article-body > * {
  max-width: 760px;
}
.article-body p,
.article-body li {
  color: #303431;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  margin: 66px 0 20px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.02em;
  scroll-margin-top: 105px;
}
.article-body h3 {
  margin: 48px 0 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.01em;
  scroll-margin-top: 105px;
}
.article-body ul {
  margin: 0 0 28px 22px;
}
.article-body li { margin-bottom: 12px; }
.article-body strong { color: var(--ink); font-weight: 500; }
.article-toc {
  position: relative;
  border-left: 1px solid var(--line);
}
.article-toc__inner {
  position: sticky;
  top: 84px;
  padding: 36px 34px 44px;
}
.article-toc h2 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.article-toc ol {
  display: flex;
  margin-top: 34px;
  flex-direction: column;
  gap: 18px;
  list-style: none;
}
.article-toc li a {
  display: grid;
  width: 100%;
  min-height: 42px;
  padding: 0 14px 0 10px;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  transition: background .2s ease, color .2s ease;
}
.article-toc li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.article-toc li a:hover,
.article-toc li a.is-active {
  color: var(--white);
  background: var(--ink);
}
.article-toc li a:hover span,
.article-toc li a.is-active span {
  color: var(--ink);
  background: var(--white);
}
.article-toc__button {
  display: flex;
  width: 100%;
  min-height: 76px;
  margin-top: 38px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 20px;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  transition: background .2s ease, transform .2s ease;
}
.article-toc__button:hover {
  color: var(--white);
  background: var(--green-soft);
  transform: translateY(-2px);
}
.article-end {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.article-newsletter {
  margin-top: 64px;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(16, 19, 18, 0.04);
}

.article-newsletter h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.article-newsletter p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.article-newsletter .input-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.article-newsletter .email-input {
  flex: 1;
  min-width: 180px;
  min-height: 56px;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

.article-newsletter .email-input:focus {
  border-color: var(--green-soft);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 74, 64, 0.08);
}

.article-newsletter .email-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.article-newsletter .submit-btn {
  min-width: 180px;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.article-newsletter .submit-btn:hover {
  background: #6bc948;
  border-color: #6bc948;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(126, 217, 87, 0.3);
}

.article-newsletter .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.article-newsletter .privacy-check {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.4;
}

.article-newsletter .privacy-check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-newsletter .privacy-check a:hover {
  color: var(--green-soft);
}

.article-newsletter .error-message {
  color: #c53030;
  font-size: 13px;
  margin-top: 10px;
  display: none;
  text-align: left;
}

.article-newsletter .error-message.visible {
  display: block;
}

.article-newsletter .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(16, 19, 18, 0.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.article-newsletter.loading .spinner {
  display: inline-block;
}

.article-newsletter.loading .btn-text {
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .article-newsletter {
    padding: 32px 24px;
  }
  .article-newsletter .input-group {
    flex-direction: column;
  }
  .article-newsletter .submit-btn {
    width: 100%;
  }
}


@media (max-width: 1100px) and (min-width: 761px) {
  :root {
    --frame-width: calc(100% - 80px);
    --article-width: calc(100% - 80px);
  }
  .blog-hero::before,
  .blog-hero__glow-vertical { inset: 0 40px; }
  .blog-hero::after,
  .blog-hero__glow-horizontal { top: 40px; bottom: 40px; }
  .blog-hero__content { padding: 72px 40px; }
}

@media (max-width: 760px) {
  .shell,
  .article-shell { width: calc(100% - 48px); }
  .site-header__inner { min-height: 64px; grid-template-columns: 1fr auto; }
  .site-logo { width: 105px; }
  .header-button { padding: 10px 13px; font-size: 11px; }
  .blog-hero { min-height: 320px; }
  .blog-hero::before { inset: 0 24px; }
  .blog-hero::after { top: 40px; bottom: 40px; }
  .blog-hero__content { padding: 60px 24px; }
  .blog-hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .featured-section { padding: 36px 0; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card__copy {
    min-height: 350px;
    padding: 27px 23px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .featured-card__date {
    padding: 0 23px 24px;
    justify-content: flex-start;
    border-left: 0;
  }
  .featured-card h2 { font-size: 38px; }
  .article-row { width: 100%; grid-template-columns: 1fr; }
  .article-row__title {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 37px 0 25px;
    border-right: 0;
  }
  .card-grid { grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .small-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .small-card .visual { min-height: 270px; }
  .article-header .site-header__inner { grid-template-columns: 1fr auto; }
  .breadcrumb { padding-top: 52px; line-height: 1.7; }
  .article-title { font-size: clamp(46px, 14vw, 64px); }
  .article-cover { min-height: 280px; }
  .article-info { grid-template-columns: 1fr 110px; }
  .article-info > div { padding: 0 15px; font-size: 8px; }
  .article-info__share { display: none !important; }
  .article-content {
    width: 100%;
    grid-template-columns: 1fr;
    border-inline: 0;
  }
  .article-body {
    width: calc(100% - 36px);
    margin-inline: auto;
    padding: 52px 0 75px;
  }
  .article-body > * { max-width: none; }
  .article-body p,
  .article-body li { font-size: 17px; }
  .article-toc {
    grid-row: 1;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .article-toc__inner {
    position: static;
    width: calc(100% - 36px);
    margin-inline: auto;
    padding: 40px 0;
  }
  .article-toc h2 { font-size: 27px; }
  .article-toc ol {
    margin-top: 28px;
    gap: 18px;
  }
  .article-toc__button {
    min-height: 72px;
    margin-top: 32px;
    border-radius: 18px;
  }
  .footer-legal-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-legal-links {
    gap: 14px 20px;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Cookie consent modal (shared with cookie-consent.js; mirrored from styles.css
   so the banner renders correctly on blog pages that only load blog.css) */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.cc-overlay--visible {
  opacity: 1;
  visibility: visible;
}
.cc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 99999;
  width: 90%;
  max-width: 580px;
  overflow: hidden;
  background: var(--white);
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -40%);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cc-modal--visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
.cc-modal__box {
  display: flex;
  padding: 3rem;
  flex-direction: column;
  gap: 1.5rem;
}
.cc-modal__title {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 500;
  text-align: center;
}
.cc-modal__text {
  color: #525252;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}
.cc-modal__text strong { color: var(--ink); }
.cc-modal__link,
.cc-modal__config-link {
  color: var(--green);
  text-decoration: underline;
}
.cc-modal__buttons {
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  gap: 0.75rem;
}
.cc-modal__btn {
  display: flex;
  width: 100%;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.cc-modal__btn--outline {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--green);
}
.cc-modal__btn--outline:hover {
  color: var(--white);
  background: var(--green);
}
.cc-modal__btn--accent {
  color: var(--green);
  background: var(--lime);
  border: 0;
  font-weight: 600;
}
.cc-modal__btn--accent:hover { background: #6bc948; }
.cc-modal__btn--primary {
  color: var(--white);
  background: var(--green);
  border: 0;
}
.cc-modal__config-link {
  display: block;
  margin: 0 auto;
  padding: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.875rem;
}
.cc-modal__settings {
  max-height: 0;
  margin-top: 0.5rem;
  padding-top: 0;
  overflow: hidden;
  border-top: 1px solid #d8d4ce;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.cc-modal__settings--visible {
  max-height: 1000px;
  padding-top: 1.5rem;
  opacity: 1;
}
.cc-modal__settings-title {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
}
.cc-option {
  display: flex;
  padding: 1rem 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebe8e3;
}
.cc-option__info {
  flex: 1;
  padding-right: 1.5rem;
}
.cc-option__name,
.cc-option__desc { display: block; }
.cc-option__name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}
.cc-option__desc {
  margin-top: 0.25rem;
  color: #6b6b6b;
  font-size: 0.875rem;
}
.cc-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}
.cc-toggle input {
  width: 0;
  height: 0;
  opacity: 0;
}
.cc-toggle__slider {
  position: absolute;
  inset: 0;
  background: #b8b4ae;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.3s;
}
.cc-toggle__slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  content: "";
  transition: 0.3s;
}
.cc-toggle input:checked + .cc-toggle__slider { background: var(--green); }
.cc-toggle input:checked + .cc-toggle__slider::before { transform: translateX(24px); }
.cc-toggle--disabled .cc-toggle__slider {
  background: var(--green);
  cursor: not-allowed;
  opacity: 0.5;
}
@media (max-width: 640px) {
  .cc-modal__box { padding: 2rem 1.5rem; }
  .cc-modal__title { font-size: 1.5rem; }
}
