:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #536174;
  --line: #d9e0ea;
  --accent: #168a4a;
  --accent-dark: #0e6f3a;
  --surface: #f6f8fb;
  --card: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
.shell { max-width: 980px; margin: 0 auto; padding: 0 24px; }
header { background: #0c2117; color: #fff; border-bottom: 3px solid #18a558; }
header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-logo { width: 36px; height: 36px; flex: 0 0 auto; filter: drop-shadow(0 3px 8px rgb(0 0 0 / 22%)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 17px; letter-spacing: .08em; }
.brand-copy small { margin-top: 4px; color: #bde7cf; font-size: 11px; font-weight: 500; letter-spacing: .01em; }
nav { display: flex; flex-wrap: wrap; gap: 16px; }
nav a { color: #d7f3e2; text-decoration: none; font-size: 14px; }
nav a:hover, nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
main { padding: 56px 0 72px; }
.hero, .card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgb(15 23 42 / 5%); }
.hero { margin-bottom: 24px; }
.pricing-page { padding-top: 24px; }
.pricing-page .hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  margin-bottom: 16px;
}
.pricing-page .hero h1 { flex: 0 0 auto; margin: 0; font-size: clamp(2rem, 4vw, 2.7rem); }
.pricing-page .hero .lead { flex: 1 1 auto; margin: 0; max-width: none; font-size: 1rem; }
.pricing-page > .shell > .card { padding: 22px 28px 26px; }
.pricing-page .savings-note { margin-bottom: 14px; padding: 10px 14px; }
.pricing-page .validity-note { margin: -6px 0 14px; padding: 8px 14px; color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-weight: 600; }
.pricing-page .checkout-account {
  display: grid;
  grid-template-columns: auto minmax(260px, 560px);
  align-items: center;
  column-gap: 16px;
  max-width: none;
  margin-bottom: 18px;
}
.pricing-page .checkout-account label { margin: 0; }
.pricing-page .checkout-account input { width: 100%; }
.pricing-page .checkout-account p { grid-column: 2; margin: 4px 0 0; }
.pricing-page h2 { margin: 22px 0 8px; font-size: 1.55rem; }
.pricing-page table { font-size: .95rem; }
.pricing-page th, .pricing-page td { padding: 10px 9px; vertical-align: middle; white-space: nowrap; }
.pricing-page table td:nth-child(3), .pricing-page table td:nth-child(4) { white-space: nowrap; }
h1, h2, h3 { line-height: 1.25; }
h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { margin-top: 40px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price { font-size: 1.8rem; font-weight: 700; }
.muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { border-bottom: 1px solid var(--line); padding: 13px 10px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer nav { margin-top: 8px; }
code { background: #eef2f7; border-radius: 4px; padding: 1px 5px; }
.checkout-account { max-width: 560px; margin-bottom: 28px; }
.checkout-account label { display: block; font-weight: 700; margin-bottom: 6px; }
.checkout-account input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font: inherit; }
.checkout-account p { margin: 6px 0 0; font-size: 14px; }
.buy-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #168a4a 0%, #20b864 48%, #0e6f3a 100%);
  background-size: 180% 180%;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(22 138 74 / 20%);
  transform: translateY(0) scale(1);
  transition: transform 180ms ease, background-position 420ms ease, box-shadow 180ms ease;
}
.buy-button::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -65% -30%;
  background: linear-gradient(112deg, transparent 38%, rgb(255 255 255 / 0%) 44%, rgb(255 255 255 / 72%) 50%, rgb(255 255 255 / 0%) 56%, transparent 62%);
  transform: translateX(-72%) rotate(8deg);
  transition: transform 520ms cubic-bezier(.2, .75, .25, 1);
  pointer-events: none;
}
.buy-button > * { position: relative; z-index: 1; }
.buy-button:not(:disabled):hover, .buy-button:not(:disabled):focus-visible {
  background-position: 100% 0;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 9px 22px rgb(22 138 74 / 38%), 0 0 0 3px rgb(32 184 100 / 18%);
}
.buy-button:not(:disabled):hover::before, .buy-button:not(:disabled):focus-visible::before {
  transform: translateX(72%) rotate(8deg);
}
.buy-button:not(:disabled):active { transform: translateY(0) scale(.99); }
.buy-button:disabled { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) {
  .buy-button { transition: none; }
  .buy-button::before { display: none; }
}
.checkout-message {
  min-height: 24px;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: #f4f6f8;
}
.checkout-message:empty { padding: 0; border-color: transparent; background: transparent; }
.checkout-message[data-state="info"] { color: #365d48; border-color: #b9dec8; background: #edf8f0; }
.checkout-message[data-state="success"] { color: #146c3a; border-color: #9ed7b5; background: #e8f7ed; }
.checkout-message[data-state="warning"] { color: #875a08; border-color: #efd28a; background: #fff8df; }
.checkout-message[data-state="error"] { color: #a61b16; border-color: #efb1ac; background: #fff1f0; }
@media (max-width: 640px) {
  header .shell { align-items: flex-start; flex-direction: column; }
  .hero, .card { padding: 24px; }
  .pricing-page .hero { display: block; padding: 20px; }
  .pricing-page .hero .lead { margin-top: 8px; }
  .pricing-page > .shell > .card { padding: 18px 16px 22px; }
  .pricing-page .checkout-account { display: block; }
  .pricing-page .checkout-account input { margin-top: 6px; }
  .pricing-page .checkout-account p { margin-top: 5px; }
  th, td { font-size: 14px; }
  table { display: block; overflow-x: auto; }
}
.language-picker { position: relative; display: inline-flex; align-items: center; gap: 7px; color: #d7f3e2; font-size: 14px; font-weight: 600; }
#site-language { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
#site-language:hover, #site-language[aria-expanded="true"] { background: #ffffff18; }
.language-picker button:focus-visible { outline: 2px solid #a5e6bc; outline-offset: 2px; }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 200px; padding: 6px; border: 1px solid #466d53; border-radius: 10px; background: #173b28; box-shadow: 0 10px 28px #0003; }
.language-menu[hidden] { display: none; }
.language-menu button { display: block; width: 100%; border: 0; border-radius: 6px; padding: 10px 12px; color: #fff; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.language-menu button:hover, .language-menu button:focus-visible { background: #ffffff18; }
.language-menu button[aria-checked="true"]::after { content: '✓'; float: right; margin-left: 12px; }
@media (max-width: 640px) { .language-menu { left: 0; right: auto; } }
header nav { align-items: center; }
footer nav a { color: var(--accent-dark); }
footer nav a:hover, footer nav a:focus-visible { color: var(--accent); }

.pack-price { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; min-width: 120px; white-space: nowrap; }
.pack-price strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.discount-stamp { display: inline-block; border: 2px solid #b42318; outline: 1px solid #b4231833; outline-offset: 2px; border-radius: 6px; padding: 3px 7px; background: #fff1f0; color: #a61b16; font-size: 12px; font-weight: 800; letter-spacing: .025em; white-space: nowrap; transform: rotate(-5deg); }
.savings-note { padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; background: #edf8f0; color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.quantity-control { display: inline-flex; align-items: center; gap: 4px; margin: 0 6px 6px 0; vertical-align: middle; }
.quantity-step { width: 32px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.quantity-step:hover, .quantity-step:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.quantity-input { width: 3.2rem; height: 38px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 7px; padding: 7px 4px; text-align: center; background: #fff; color: var(--ink); font: inherit; }
.quantity-input:invalid { border-color: #c33; }
