/* ProDentim müügileht — roheline-valge kujundus, mobiil esmalt */
:root {
  --ink: #0b2a1c;
  --ink-soft: #3d5a4c;
  --line: #d3e6d9;
  --paper: #ffffff;
  --tint: #edf8f1;
  --mint: #d7f0e1;
  --green: #0d7a45;
  --green-deep: #09502e;
  --green-bright: #11a85c;
  --amber: #8a5a07;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(9, 60, 36, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
body.has-bar {
  padding-bottom: 136px;
}
h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(29px, 7.4vw, 48px);
}
h2 {
  font-size: clamp(24px, 5.2vw, 34px);
}
h3 {
  font-size: 19px;
}
p {
  margin: 0 0 14px;
}
a {
  color: var(--green-deep);
}
img {
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - 32px, 760px);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--paper);
  padding: 10px 14px;
  border-radius: 10px;
}
:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}
/* Päis */
.masthead {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}
.masthead__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark svg {
  width: 26px;
  height: 26px;
  display: block;
}
.mark-ring {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
}
.mark-core {
  fill: var(--green-bright);
}
.mark-dot {
  fill: var(--green-deep);
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.topnav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-deep);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tint);
}
.topnav a:hover {
  background: var(--mint);
}
/* Hero */
.hero {
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 100%);
  padding: 14px 0 26px;
}
.hero__grid {
  display: grid;
  gap: 10px;
}
.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}
.lede {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  max-width: 54ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.chips li {
  font-size: 13px;
  font-weight: 600;
  background: var(--mint);
  color: var(--green-deep);
  padding: 6px 12px;
  border-radius: 999px;
}
.cta {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.btn--buy,
.btn--buy[disabled] {
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 122, 69, 0.28);
  opacity: 1;
}
.btn--buy[disabled] {
  cursor: not-allowed;
}
.btn--ghost {
  background: var(--paper);
  border-color: var(--green);
  color: var(--green-deep);
}
.btn--sm {
  min-height: 44px;
  font-size: 15px;
  padding: 10px 18px;
}
.qualifier {
  max-width: 48ch;
  margin-bottom: 8px;
  font-size: 15px;
  border-left: 4px solid var(--green-bright);
  padding-left: 12px;
}
.disclosure {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.preview {
  display: inline-block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  background: #fdf4e3;
  border-radius: 999px;
  padding: 4px 12px;
}
.hero__art {
  position: relative;
  order: -1;
  margin: 0;
  text-align: center;
}
.hero__glow {
  position: absolute;
  inset: 6% 8% 20%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--mint) 0%,
    rgba(215, 240, 225, 0) 70%
  );
  border-radius: 50%;
}
.hero__art img {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: 172px;
  margin-inline: auto;
  display: block;
}
.hero__art figcaption {
  position: relative;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}
/* Sektsioonid */
.section {
  padding: 34px 0;
}
.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}
.section__lead {
  max-width: 62ch;
  color: var(--ink-soft);
}
.points {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.points li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.points strong {
  color: var(--ink);
}
.jump {
  margin: 0;
}
/* Hinnakaardid */
.packs {
  display: grid;
  gap: 14px;
  margin: 18px 0 14px;
  padding: 0;
  list-style: none;
}
.pack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.pack--lead {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, #ffffff, #f2fbf6);
}
.pack__flag {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  padding: 4px 12px;
}
.pack__name {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink-soft);
}
.pack__unit {
  margin: 0 0 4px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}
.pack__unit span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.pack__total {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}
.pack__ship {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}
.pack__ship--paid {
  color: var(--ink-soft);
}
.pack__tablets {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.pack__compare {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: 10px;
  padding: 8px 10px;
}
.fineprint {
  font-size: 14px;
  color: var(--ink-soft);
}
.terms {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 18px;
  font-size: 15px;
}
.terms p {
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.terms p strong {
  color: var(--ink);
}
/* Ostuplokk */
.offer {
  display: grid;
  gap: 14px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  border-radius: var(--radius);
  padding: 20px;
}
.offer h3 {
  margin-bottom: 6px;
  font-size: 22px;
}
.offer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}
.offer .btn--buy,
.offer .btn--buy[disabled] {
  background: #fff;
  color: var(--green-deep);
  box-shadow: none;
  width: 100%;
}
.offer .disclosure {
  margin: 10px 0 0;
  color: #fff;
}
/* Koostis */
.facts {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 12px;
  font-size: 15px;
}
.facts th,
.facts td {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
}
.facts th {
  width: 45%;
  padding-right: 12px;
  font-weight: 700;
}
.facts__sub {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
}
/* Lahtivolditavad plokid */
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
}
summary {
  cursor: pointer;
  padding: 13px 14px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  float: right;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
.details__body {
  padding: 0 14px 6px;
  font-size: 15px;
  color: var(--ink-soft);
}
.sources {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 14px;
}
.sources span {
  display: block;
  color: var(--ink-soft);
  word-break: break-word;
}
/* Jalus */
.footer {
  background: var(--green-deep);
  color: #e3f3ea;
  padding: 28px 0;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  gap: 18px;
}
.footer a {
  color: #bfeed4;
}
.footer__brand {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer__label {
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer__fine {
  color: #b9d9c8;
}
/* Püsiriba */
.stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(9, 60, 36, 0.12);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}
.stickybar[hidden] {
  display: none;
}
.stickybar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stickybar__meta {
  margin: 0;
  display: grid;
}
.stickybar__price {
  font-weight: 800;
  font-size: 17px;
}
.stickybar__fine {
  font-size: 13px;
  color: var(--ink-soft);
}
.stickybar__note {
  margin: 6px auto 0;
  font-size: 14px;
  color: var(--ink-soft);
}
/* Laiemad vaated */
@media (min-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }
  .masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(6px);
  }
  .hero {
    padding: 44px 0 48px;
  }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
  }
  .hero__art {
    order: 0;
  }
  .hero__art img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
  }
  .hero__art figcaption {
    font-size: 13px;
  }
  .lede {
    font-size: 17px;
  }
  .cta {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 10px;
    margin-bottom: 14px;
  }
  .hero .btn,
  .offer .btn {
    font-size: 17px;
    padding: 12px 22px;
  }
  .points,
  .packs {
    grid-template-columns: repeat(3, 1fr);
  }
  .packs {
    align-items: start;
  }
  .pack--lead {
    transform: translateY(-6px);
  }
  .offer {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 26px;
  }
  .section {
    padding: 48px 0;
  }
  .footer__grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
  .stickybar__note {
    margin-top: 4px;
  }
  body.has-bar {
    padding-bottom: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pack--lead {
    transform: none;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
