.plans-scene {
  --plans-forest: #10392d;
  --plans-butter: #fff0aa;
  --muted: #c6d0bd;
  --rule: #fff0aa30;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 110px;
  color: var(--plans-butter);
  background: radial-gradient(
    ellipse at 70% 25%,
    #224b38 0,
    #10392d 48%,
    #0b2b23 100%
  );
  scroll-margin-top: -96px;
}
.plans-scene::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: max(740px, 100svh);
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
  background: url("./botanical-shadows.webp") center top / cover no-repeat;
  mask-image: linear-gradient(#000 85%, transparent);
}
.site-header[data-tone="plans"] {
  color: #fff0aa;
  background: #10392deb;
  backdrop-filter: blur(16px);
}
.site-header[data-tone="plans"] .wordmark > span {
  color: inherit;
}
.site-header[data-tone="plans"] .header-cta {
  background: transparent;
  color: inherit;
  border: 1px solid #fff0aa77;
}
.site-header[data-tone="plans"] .desktop-nav > a[href="#planes"] {
  text-decoration: underline;
  text-underline-offset: 12px;
  text-decoration-thickness: 2px;
}
.plans-content {
  width: min(90%, 1560px);
  margin-inline: auto;
}
.plans-heading {
  position: relative;
  text-align: center;
}
.plans-heading h2 {
  font:
    400 clamp(40px, 5vw, 94px) / 1.1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.035em;
}
.plans-subtitle {
  margin: 15px 150px 0;
  color: #d0d5c2;
  font-size: clamp(16px, 1.55vw, 26px);
  font-weight: 400;
}
.plans-currency {
  position: absolute;
  right: 0;
  bottom: -3px;
  display: flex;
  padding: 0;
  border: 1px solid #e9e7bf9c;
  border-radius: 99px;
  overflow: clip;
}
.plans-currency button {
  padding: 9px 22px;
  min-width: 75px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #f5f0df;
  font-size: 14px;
}
.plans-currency button[aria-pressed="true"] {
  background: #fff0aa;
  color: #10392d;
}
.plans-currency button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr 0.98fr;
  align-items: stretch;
  gap: clamp(18px, 1.6vw, 30px);
  margin-top: 36px;
  perspective: 1400px;
}
.plan-card {
  --plan-paper: #f4ebda;
  --plan-edge: #fbf7e9;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 1.9vw, 36px) clamp(25px, 2.2vw, 40px) 26px;
  color: #132f25;
  border: 1px solid #fff9df99;
  border-radius: 8px;
  background: var(--plan-paper);
  background-image:
    linear-gradient(110deg, #ffffff2b, transparent 65%, #524a2b08),
    url("./paper-grain.svg");
  box-shadow:
    0 20px 25px -20px #0009,
    0 2px 4px #00170c44,
    inset 0 1px 0 #fff9;
}
.plan-card--integral {
  --plan-paper: #ffeda0;
  --plan-edge: #fff4b9;
  margin-top: -18px;
  padding-top: clamp(28px, 2.2vw, 42px);
  border-radius: 8px 8px 80px 8px;
}
.plan-card--integral::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 75px;
  height: 70px;
  border-radius: 80% 0 74px 0;
  background: linear-gradient(
    132deg,
    #73601d00 39%,
    #c5ae55 50%,
    #fff7c7 64%,
    #e4cf72 80%
  );
  box-shadow: -9px -7px 13px -8px #8c75255c;
  pointer-events: none;
}
.plan-card--esencial {
  --plan-paper: #cbd2ae;
  --plan-edge: #e1e6c6;
}
.plan-card h3 {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #24432c55;
  font:
    400 clamp(43px, 4.1vw, 76px) / 1.03 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.025em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 18px;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  color: #101c15;
}
.plan-price [data-currency-label] {
  font-size: clamp(18px, 1.65vw, 30px);
}
.plan-price [data-plan-price] {
  font-size: clamp(37px, 3.45vw, 65px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums tabular-nums;
}
.plan-price small {
  font-size: clamp(18px, 1.6vw, 29px);
}
.plan-features {
  padding: 0;
  margin: 20px 0 18px;
  list-style: none;
  font-size: clamp(13px, 1.04vw, 18px);
  line-height: 1.45;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.25vw, 23px);
  min-height: 45px;
  padding: 9px 0;
  border-bottom: 1px solid #24432c27;
}
.plan-features li:last-child {
  border-bottom: 0;
}
.plan-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.plan-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  min-height: 57px;
  border: 1px solid #10392d;
  border-radius: 99px;
  background: #10392d;
  color: #fff7df;
  font-size: clamp(14px, 1.15vw, 20px);
  position: relative;
  z-index: 1;
}
.plan-cta:hover {
  background: #1c503c;
}
.plan-cta:focus-visible {
  outline-color: #10392d;
}
.plans-terms {
  text-align: center;
  padding: 25px 0 20px;
  color: #c6d0bd;
  font-size: 12px;
  line-height: 1.8;
}
.plans-rate {
  min-height: 22px;
}
.plans-rate a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plans-personal {
  text-align: center;
  margin: 5px 0 65px;
  font-size: 14px;
  line-height: 1.8;
  color: #f4efd9;
}
.plans-personal a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.plans-scene .details-area {
  width: min(90%, 1480px);
}
.plans-scene .site-footer {
  color: #fff0aa;
  width: min(90%, 1480px);
}
.plans-scene .site-footer .wordmark > span {
  color: inherit;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.motion-active .plan-card {
    transition: translate 350ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.motion-active:not(.keyboard-input) .plan-card:hover {
    translate: 0 -5px;
  }
}
@media (max-width: 1050px) {
  .plans-subtitle {
    margin-inline: 0;
  }
  .plans-currency {
    position: static;
    width: fit-content;
    margin: 20px auto 0;
  }
  .plans-grid {
    margin-top: 45px;
  }
  .plan-price {
    gap: 4px;
  }
}
/* Fit the desktop composition to both dimensions, keeping content in normal flow. */
@media (min-width: 1051px) {
  .plans-scene {
    --plan-unit: min(1vw, 1.65svh, 17px);
    padding-top: clamp(100px, 12svh, 114px);
  }
  .plans-content {
    width: min(90%, 175svh, 1560px);
  }
  .plans-heading h2 {
    font-size: clamp(40px, calc(5 * var(--plan-unit)), 85px);
    line-height: 1.05;
  }
  .plans-subtitle {
    margin-top: 10px;
    font-size: clamp(16px, calc(1.5 * var(--plan-unit)), 25px);
  }
  .plans-grid {
    margin-top: clamp(28px, 4svh, 38px);
    gap: clamp(20px, calc(1.8 * var(--plan-unit)), 30px);
  }
  .plan-card {
    padding: calc(1.7 * var(--plan-unit)) calc(2.2 * var(--plan-unit));
  }
  .plan-card--integral {
    margin-top: -16px;
    padding-top: calc(1.7 * var(--plan-unit) + 16px);
  }
  .plan-card h3 {
    font-size: clamp(43px, calc(4.4 * var(--plan-unit)), 75px);
    padding-bottom: calc(0.9 * var(--plan-unit));
  }
  .plan-price {
    margin-top: calc(1.1 * var(--plan-unit));
    gap: 6px;
  }
  .plan-price [data-plan-price] {
    font-size: clamp(37px, calc(3.5 * var(--plan-unit)), 60px);
  }
  .plan-price [data-currency-label], .plan-price small {
    font-size: clamp(18px, calc(1.65 * var(--plan-unit)), 28px);
  }
  .plan-features {
    font-size: clamp(14px, calc(1.06 * var(--plan-unit)), 18px);
    margin: calc(1.2 * var(--plan-unit)) 0;
  }
  .plan-features li {
    min-height: clamp(34px, calc(2.8 * var(--plan-unit)), 47px);
    padding: calc(0.45 * var(--plan-unit)) 0;
    gap: calc(1.1 * var(--plan-unit));
  }
  .plan-icon {
    width: clamp(23px, calc(1.7 * var(--plan-unit)), 28px);
    height: clamp(23px, calc(1.7 * var(--plan-unit)), 28px);
  }
  .plan-cta {
    min-height: clamp(44px, calc(3.5 * var(--plan-unit)), 58px);
    font-size: clamp(15px, calc(1.15 * var(--plan-unit)), 19px);
  }
  .plans-terms {
    padding: 16px 0 8px;
  }
}
@media (max-width: 850px) {
  .plans-scene {
    padding-top: 100px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 510px;
    margin-inline: auto;
  }
  .plan-card--integral {
    margin-top: 0;
  }
  .plan-card {
    padding: 30px;
  }
  .plan-card h3 {
    font-size: 60px;
  }
  .plan-price [data-plan-price] {
    font-size: 56px;
  }
  .plan-price [data-currency-label],
  .plan-price small {
    font-size: 24px;
  }
  .plan-features {
    font-size: 15px;
    margin-top: 22px;
  }
  .plan-cta {
    margin-top: 6px;
  }
}
@media (max-width: 390px) {
  .plan-card {
    padding-inline: 23px;
  }
  .plan-price [data-plan-price] {
    font-size: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card {
    transition: none;
    translate: none;
  }
}
body.motion-paused .plan-card {
  transition: none;
  translate: none;
}
