body {
  margin: 0;
  background: #f4efe4;
  color: #25332f;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.region-page {
  background:
    linear-gradient(90deg, rgba(40, 95, 86, 0.06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(138, 95, 55, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    #f4efe4;
}

main {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

a {
  color: #285f56;
  font-weight: 800;
}

a:visited {
  color: #6f5238;
}

h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.02;
}

h2 {
  margin-top: 34px;
  color: #285f56;
  font-size: 21px;
}

p,
li {
  color: #52645f;
}

code {
  border: 1px solid rgba(40, 95, 86, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #25332f;
  padding: 2px 5px;
}

.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 28px;
}

body.region-page main {
  position: relative;
  padding-top: 44px;
}

body.region-page main::before {
  display: block;
  width: 72px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #8a5f37;
  content: "";
}

body.region-page .back-link {
  margin-bottom: 22px;
}

body.region-page h1 {
  max-width: 820px;
}

body.region-page main > p:first-of-type {
  max-width: 760px;
  font-size: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  border-radius: 999px;
  background: #25332f;
  color: #fff;
  padding: 0 20px;
  text-decoration: none;
}

.cta:visited {
  color: #fff;
}

main p a,
main li a,
.note-grid a,
.checkout-candidate a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cta-row .cta {
  margin-top: 0;
}

.cta.secondary {
  border: 1px solid #d9d1c2;
  background: rgba(255, 255, 255, 0.7);
  color: #25332f;
}

.cta.secondary:visited {
  color: #25332f;
}

body.region-page .cta {
  box-shadow: 0 14px 30px rgba(37, 51, 47, 0.16);
}

body.region-page .cta.secondary {
  box-shadow: none;
}

.pricing-hero {
  border: 1px solid #d9d1c2;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 245, 242, 0.72));
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 18px 44px rgba(37, 51, 47, 0.08);
}

.pricing-hero > span {
  color: #8a5f37;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.status-row strong,
.price-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  border: 1px solid rgba(40, 95, 86, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #285f56;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #d9d1c2;
  border-radius: 8px;
  background: #d9d1c2;
}

body.region-page .note-grid {
  box-shadow: 0 18px 40px rgba(37, 51, 47, 0.09);
}

.checkout-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid #d9d1c2;
  border-radius: 8px;
  background: #d9d1c2;
  box-shadow: 0 18px 44px rgba(37, 51, 47, 0.1);
}

.checkout-candidate > div,
.checkout-candidate > aside {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(238, 245, 242, 0.76));
  padding: clamp(18px, 3vw, 26px);
}

.checkout-candidate aside {
  background:
    linear-gradient(180deg, rgba(37, 51, 47, 0.96), rgba(40, 95, 86, 0.92));
}

.checkout-candidate span {
  color: #8a5f37;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-candidate aside span {
  color: #e7cf9c;
}

.checkout-candidate strong {
  display: block;
  margin-top: 10px;
  color: #25332f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.04;
}

.checkout-candidate aside strong,
.checkout-candidate aside p {
  color: #fff;
}

.checkout-candidate aside .cta {
  background: #fff;
  color: #25332f;
}

.checkout-candidate aside .cta:visited {
  color: #25332f;
}

.product-preview {
  margin: 22px 0 0;
}

.product-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9d1c2;
  border-radius: 8px;
}

.product-preview figcaption {
  margin-top: 8px;
  color: #52645f;
  font-size: 14px;
}

.note-grid article {
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.note-grid span {
  color: #8a5f37;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.note-grid strong {
  display: block;
  margin-top: 10px;
  color: #25332f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.12;
}

.offer-list {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding-left: 18px;
}

.offer-list li {
  font-size: 14px;
}

.compact-grid article {
  min-height: 150px;
}

.intent-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid #d9d1c2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  padding: 20px;
  box-shadow: 0 18px 42px rgba(37, 51, 47, 0.08);
}

.intent-form label {
  display: grid;
  gap: 8px;
  color: #25332f;
  font-weight: 800;
}

.intent-form input,
.intent-form select,
.intent-form button {
  min-height: 46px;
  border: 1px solid #d9d1c2;
  border-radius: 8px;
  background: #fbfaf6;
  color: #52645f;
  padding: 0 12px;
  font: inherit;
}

.intent-form .check-row {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  color: #52645f;
  font-weight: 600;
}

.intent-form .check-row input {
  min-height: 22px;
  width: 22px;
  padding: 0;
}

.intent-form button {
  background: #25332f;
  color: #fff;
  font-weight: 800;
}

.intent-form :disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (max-width: 720px) {
  .note-grid,
  .checkout-candidate {
    grid-template-columns: 1fr;
  }
}
