.plans {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1160px;
  gap: 32px 24px;
}
.plan {
  display: flex;
  flex-direction: column;
}
.plan > p {
  min-height: 0;
}
.plan ul {
  flex: 1;
}
.plan .package-quality {
  font-size: 10px;
  line-height: 1.8;
  color: #756254;
}
.best-for {
  font-size: 11px;
}
.ask-first {
  display: block;
  text-align: center;
  font-size: 10px;
  margin-top: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.kit-selector {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}
.kit-selector button {
  flex: 1;
  border: 0;
  background: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 11px;
}
.kit-selector .selected {
  background: var(--ink);
  color: var(--cream);
}
.kit-saving {
  font-size: 9px;
  margin-top: 8px;
  color: var(--muted);
}
.why {
  border-top: 1px solid var(--line);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 55px;
  margin: 35px 0;
}
.reason-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: #fff8f033;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}
@media (hover: hover) {
  .reason-grid article:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px #4c301c1c;
  }
  .reason-grid article:hover .num,
  .reason-grid article:hover p {
    color: var(--ink);
  }
}
.reason-grid h3 {
  font-size: 15px;
}
.reason-grid p {
  font-size: 12px;
  color: var(--muted);
}
.policy-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 10px;
  margin-top: 25px;
}
.policy-page {
  max-width: 850px;
  padding-top: 65px;
  padding-bottom: 75px;
}
.policy-page h1 {
  font-size: 45px;
}
.policy-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  letter-spacing: -0.5px;
}
.policy-page p,
.policy-page li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.policy-page a,
.agreement a,
.next-steps a,
.faq details p a {
  text-decoration: underline;
}
.cart-trigger {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  font-size: 11px;
}
.cart-trigger [data-cart-count] {
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  color: var(--ink);
}
#cart-drawer {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 470px;
  width: min(470px, 100%);
  border-radius: 0;
  border: 0;
  padding: 28px;
  overflow-y: auto;
  box-shadow: -10px 0 50px #2e20191a;
}
#cart-drawer[open] {
  display: flex;
  flex-direction: column;
}
#cart-drawer .dialog-top {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-items {
  flex: 1;
}
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-mark {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8f0;
  display: grid;
  place-items: center;
  align-self: start;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -2px;
  position: relative;
}
.cart-item-mark span {
  position: absolute;
  right: 8px;
  top: 5px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0;
}
.cart-item h3 {
  font-size: 12px;
  margin: 0 0 6px;
}
.cart-item p {
  font-size: 11px;
  margin: 0 0 10px;
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.quantity button {
  border: 0;
  background: none;
  width: 28px;
  height: 29px;
}
.quantity span {
  font-size: 11px;
  min-width: 28px;
  text-align: center;
}
.remove-item {
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 9px;
  margin-left: 10px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 14px;
}
.cart-bottom {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
#cart-drawer .cart-bottom[hidden] {
  display: none;
}
.cart-bottom .btn {
  width: 100%;
}
.cart-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 13px;
}
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 30;
  pointer-events: none;
}
.back-link {
  font-size: 11px;
}
.checkout-page {
  padding-top: 50px;
  padding-bottom: 70px;
}
.checkout-page > h1 {
  font-size: 48px;
  margin-bottom: 35px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
}
.checkout-section {
  padding: 0 0 25px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.checkout-section h2,
.order-summary h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}
.checkout-section label {
  font-size: 11px;
  display: block;
  margin: 20px 0 8px;
}
input:not([type="checkbox"]) {
  font: inherit;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  background: #fff9f3;
  color: var(--ink);
  width: 100%;
}
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.small-copy,
.wallet-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}
.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-methods span {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 18px;
}
.status-note {
  font-size: 12px;
  background: #fff7ef;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 7px;
}
.agreement {
  display: flex;
  gap: 12px;
  font-size: 10px;
  line-height: 1.9;
  margin: 22px 0;
}
.agreement input {
  align-self: start;
  margin-top: 5px;
}
.order-summary {
  background: #fff7ef;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 30px;
}
.checkout-page #pay-now {
  width: 100%;
}
#checkout-error {
  font-size: 12px;
  color: #9c3f00;
}
.btn:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}
.confirmation {
  max-width: 850px;
  padding-top: 75px;
  padding-bottom: 90px;
}
.confirmation h1 {
  font-size: 43px;
}
.confirmation > p {
  font-size: 14px;
  color: var(--muted);
}
.next-steps {
  padding-left: 25px;
  margin: 35px 0;
}
.next-steps li {
  padding: 14px 0;
  font-size: 13px;
}
.next-steps p {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .plans,
  .reason-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .navlinks {
    gap: 8px;
  }
  .navlinks .btn {
    padding: 9px;
  }
  .checkout-grid {
    gap: 35px;
  }
  .order-summary {
    position: static;
    grid-row: 1;
  }
  .checkout-page > h1 {
    font-size: 39px;
  }
  .policy-page h1 {
    font-size: 38px;
  }
  .cart-toast {
    bottom: 78px;
    white-space: nowrap;
  }
  .policy-links {
    gap: 14px;
  }
  .micro {
    line-height: 1.9;
  }
}

.plan .cart-add {
  margin-top: 10px;
  background: none;
  font-size: 11px;
  padding: 11px;
}
.payment-line {
  width: 100%;
  margin: 14px 0 2px;
  font-size: 11px;
  text-align: center;
}
.checkout-page .order-summary {
  position: static;
}
.checkout-section #checkout-form {
  margin-top: 22px;
}
.checkout-section #pay-now {
  width: 100%;
}
.error-copy {
  min-height: 1.3em;
  margin: 10px 0 0;
  color: #9c361c;
  font-size: 12px;
}
