:root {
  --text: #f4f0e6;
  --muted: rgba(244, 240, 230, 0.74);
  --faint: rgba(244, 240, 230, 0.5);
  --line: rgba(244, 240, 230, 0.14);
  --green: #9fe0bc;
  --ink: #14241c;
  --serif: "trajan-pro-3", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #070f0c;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

::selection { background: rgba(159, 224, 188, 0.35); }
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
p { color: var(--muted); text-wrap: pretty; }
h1, h2, h3 { color: var(--text); font-family: var(--serif); font-weight: 400; font-style: normal; letter-spacing: 0.02em; text-wrap: wrap; }
[id] { scroll-margin-top: 88px; }

.skip {
  position: absolute;
  left: 16px;
  top: -120px;
  background: #12382c;
  color: white;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  background: radial-gradient(circle, rgba(120, 196, 150, 0.55), rgba(40, 110, 80, 0.05) 68%, transparent 72%);
}
.orb-1 { width: 280px; height: 280px; top: 18%; left: -80px; }
.orb-2 { width: 360px; height: 360px; top: 42%; right: -120px; }
.orb-3 { width: 220px; height: 220px; top: 68%; left: 8%; opacity: 0.7; }
.orb-4 { width: 300px; height: 300px; bottom: 8%; right: 12%; }

.header, main, .wa { position: relative; z-index: 1; }

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 18px max(28px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, rgba(5, 12, 10, 0.55), transparent);
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
}
.header nav { display: flex; justify-content: center; gap: 22px; }
.header nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.header nav a:hover { color: white; }
.crm {
  margin: 0;
  justify-self: end;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #63c48f;
  color: #0c241c;
  box-shadow: 0 10px 28px rgba(40, 120, 80, 0.22);
}
.btn:hover { background: #78d09f; }
.btn:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.btn-block { width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.center { text-align: center; }
h2 { margin: 0 0 18px; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02; }
.intro { max-width: 36ch; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 16, 13, 0.42) 0%, rgba(7, 15, 12, 0.12) 34%, rgba(7, 15, 12, 0.62) 72%, #070f0c 100%),
    url("img/hero-davinci.jpg") center 42% / cover no-repeat;
}
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.55rem, 3.6vw, 3.35rem);
  line-height: 1.12;
}
.hero h1 em { font-style: normal; color: var(--green); }
.thanks-again {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  border: 0;
  background: none;
  color: rgba(244, 240, 230, 0.72);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hero-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(980px, 100%);
  margin-top: 26px;
}
.hero-row p { margin: 0; font-size: 0.86rem; line-height: 1.45; max-width: 36ch; }
.hero-row p:first-child { justify-self: end; text-align: right; }
.hero-row p:last-child { justify-self: start; text-align: left; }
.hero-row .btn { white-space: nowrap; }
.floats {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.floats article {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 30vw);
  padding: 8px 16px 8px 8px;
  text-align: left;
  border-radius: 999px;
  background: rgba(8, 20, 16, 0.62);
  border: 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  animation: pill-float 7.2s ease-in-out infinite;
}
.float-wide { width: min(340px, 40vw); }
.hero .floats article:nth-child(1) { left: max(20px, 4vw); top: 13%; animation-delay: 0s; }
.hero .floats article:nth-child(2) { left: max(20px, 4vw); top: 34%; animation-delay: 0.7s; }
.hero .floats article:nth-child(3) { right: max(20px, 4vw); top: 16%; animation-delay: 1.3s; }
.hero .floats article:nth-child(4) { right: max(20px, 4vw); top: 40%; animation-delay: 1.9s; }
.ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f4f0e6;
}
.ico svg { width: 20px; height: 20px; }
.floats h2 { margin: 0; font-size: 1.02rem; line-height: 1.15; color: var(--text); }
.floats p { margin: 2px 0 0; font-size: 0.78rem; line-height: 1.3; color: rgba(244, 240, 230, 0.78); }
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section { padding: 88px 0 10px; }
.shelf { text-align: center; }
.shelf-head { width: min(62rem, 100%); margin: 0 auto 42px; }
.shelf-head .kicker { color: rgba(244, 240, 230, 0.62); }
.shelf-head h2 { margin: 0; line-height: 1.02; }
.shelf-note {
  max-width: 48ch;
  margin: 36px auto 0;
}
.ebooks-cta {
  display: inline-flex;
  gap: 10px;
  margin-top: 26px;
}
.wave {
  position: relative;
  z-index: 2;
  height: 88px;
  margin-bottom: -88px;
  pointer-events: none;
}
.wave svg:first-child { display: block; width: 100%; height: 100%; }
.wave-arrow {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  color: #1b7a4c;
}
.wave-dark .wave-arrow { color: #9fe0bc; }
.ebooks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  align-items: start;
}
.ebook {
  position: relative;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  animation: ebook-float 5.2s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.35s);
}
.ebook img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.ebook-peek {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 56px 12px 14px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(transparent, rgba(6, 16, 12, 0.94) 46%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ebook-peek p {
  margin: 0;
  color: #f4f0e6;
  font-size: 0.78rem;
  line-height: 1.4;
}
.ebook-more {
  border: 0;
  background: none;
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ebook:hover,
.ebook:focus-within {
  animation-play-state: paused;
  transform: translateY(-8px);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.4);
}
.ebook:hover .ebook-peek,
.ebook:focus-within .ebook-peek { opacity: 1; }
@keyframes ebook-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.ebook-dialog {
  width: min(880px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.ebook-dialog::backdrop { background: rgba(4, 10, 8, 0.72); }
.ebook-dialog-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: #102018;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.ebook-dialog-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}
.ebook-dialog-copy { text-align: left; }
.ebook-dialog-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
}
.ebook-dialog-copy p { margin: 0 0 22px; }
.ebook-x {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.medico-band {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 128px 0 88px;
  background:
    linear-gradient(90deg, rgba(246, 244, 238, 0.78) 0%, rgba(246, 244, 238, 0.28) 32%, rgba(246, 244, 238, 0) 48%),
    url("img/medico-bg.jpg") right center / cover no-repeat;
  color: #12261c;
}
.medico {
  display: grid;
  grid-template-columns: minmax(0, 540px);
  align-items: center;
  min-height: 560px;
}
.medico-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
}
.medico-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #1b7a4c;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.medico-kicker i { width: 32px; height: 1px; background: #1b7a4c; }
.medico h2 {
  margin: 0 0 18px;
  color: #12261c;
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  line-height: 1.12;
}
.medico h2 em { font-style: normal; color: #1b7a4c; }
.medico p { margin: 0 0 14px; color: #2a4538; }
.medico-quote {
  margin: 4px 0 18px;
  color: #12261c;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}
.medico-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.medico-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #163528;
  font-size: 0.98rem;
}
.medico-facts .ico {
  width: 28px;
  height: 28px;
  background: transparent;
  color: #1b7a4c;
}
.medico-facts .ico svg { width: 18px; height: 18px; }
.medico-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  align-self: flex-start;
  margin-top: 10px;
}
.medico-cta {
  background: #143028;
  color: #f4f7f2;
  box-shadow: none;
}
.medico-cta:hover { background: #1c4336; }
.medico .medico-cred {
  margin: 13px 0 0;
  color: #4d675a;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.block-head {
  max-width: 38rem;
  margin: 0 auto 40px;
  text-align: center;
}
.block-head .kicker { display: block; }
.block-head h2 { font-size: clamp(2.3rem, 4vw, 3.4rem); }
.block-head p:last-child { margin: 0 auto; }
.check {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.check article {
  padding: 22px 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.check .ico { margin-bottom: 16px; }
.check h3 { margin: 0 0 8px; font-size: 1.28rem; }
.check p { margin: 0; font-size: 0.92rem; }
.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}
.route::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 224, 188, 0.75), transparent);
}
.route li { text-align: center; }
.route-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(190, 245, 214, 0.8);
  background: #10281f;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.2rem;
  box-shadow: 0 0 22px rgba(120, 200, 150, 0.28);
}
.route h3 { margin: 0 0 8px; font-size: 1.4rem; }
.route p { margin: 0 auto; max-width: 32ch; font-size: 0.95rem; }

.closing {
  margin-top: 0;
  padding: 128px 0 96px;
  background: #f3f6f4;
  color: #12261c;
}
.material {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.material-copy h2 {
  max-width: 11em;
  margin: 0 0 18px;
  color: #12261c;
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  line-height: 1.12;
}
.material-copy h2 em { font-style: normal; color: #1b7a4c; }
.material-copy p { margin: 0 0 22px; color: #3c5246; max-width: 42ch; }
.material-copy .medico-kicker { color: #1b7a4c; }
.material-copy .medico-kicker i { background: #1b7a4c; }
.reach {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.reach li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #163528;
}
.reach .ico {
  width: 28px;
  height: 28px;
  background: transparent;
  color: #1b7a4c;
}
.reach .ico svg { width: 18px; height: 18px; }
.sheet {
  padding: 36px 32px 28px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(18, 40, 30, 0.08);
}
.sheet h3 {
  margin: 0 0 8px;
  color: #12261c;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0;
}
.sheet-lead { margin: 0 0 18px; color: #5c6e64; font-size: 0.95rem; }
.sheet p { color: #3d4e46; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; }
.sheet label span {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #163528;
}
.sheet input,
.sheet select {
  width: 100%;
  border: 1px solid #c5ddd2;
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
}
.sheet input:focus,
.sheet select:focus { border-color: #1b7a4c; outline: none; }
.sheet input::placeholder { color: #9aada4; }
.sheet input[aria-invalid="true"],
.sheet select[aria-invalid="true"] { border-color: #8d3b32; }
.err { min-height: 1em; color: #8d3b32; font-size: 0.8rem; }
.micro { margin: 0; font-size: 0.82rem; color: #6a7d74; }
.sheet-submit {
  display: inline-flex;
  gap: 8px;
  margin-top: 6px;
  background: #143028;
  color: #f4f7f2;
  box-shadow: none;
}
.sheet-submit:hover { background: #1c4336; }
.sheet-done { display: grid; gap: 14px; }
.text-btn {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: #5c6b64;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sign { color: var(--faint); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 48px 0 56px;
  color: var(--faint);
  font-size: 0.88rem;
}
.footer a { color: var(--green); }
.footer-links { display: flex; gap: 16px; }
.site-foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.disclaimer {
  margin: 0;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.55;
}
.site-foot-copy {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.78rem;
  text-align: center;
}
.site-foot-copy a { color: var(--text); text-decoration: none; }
.site-foot-copy a:hover { color: var(--green); }

.legal {
  margin-top: 72px;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.78rem;
  line-height: 1.55;
}
.legal p { margin: 0 0 10px; }
.legal-title {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.legal a { color: var(--green); }

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  padding: 12px 18px;
  border-radius: 999px;
  background: #63c48f;
  color: #0c241c;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.draft-note {
  width: min(1120px, calc(100% - 40px));
  margin: 96px auto 0;
  padding: 12px 16px;
  border: 1px dashed rgba(159, 224, 188, 0.4);
  border-radius: 12px;
  color: var(--green);
  font-size: 0.9rem;
}
.draft-block { padding-top: 48px; }
.points, .cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.points article, .cases article {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.points h3, .cases h3 { margin: 0 0 8px; font-size: 1.3rem; }
.points p, .cases p { margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { color: var(--muted); }

@media (max-width: 980px) {
  .header nav { display: none; }
  .floats article { border-radius: 18px; }
  .hero-row, .medico, .check, .route, .material, .points, .cases { grid-template-columns: 1fr; }
  .hero-row p, .hero-row p:first-child, .hero-row p:last-child { text-align: center; justify-self: center; }
  .floats { position: static; display: grid; gap: 12px; width: min(420px, 100%); margin-top: 28px; pointer-events: auto; }
  .floats article { position: static; width: auto; }
  .check { grid-template-columns: 1fr 1fr; }
  .route::before { display: none; }
  .medico { grid-template-columns: 1fr; min-height: 0; }
  .medico-band {
    background:
      linear-gradient(180deg, rgba(246, 244, 238, 0.9) 0%, rgba(246, 244, 238, 0.55) 42%, rgba(246, 244, 238, 0) 68%),
      url("img/medico-bg.jpg") 72% center / cover no-repeat;
  }
  .medico-copy { padding-bottom: 0; }
  .ebooks { grid-template-columns: 1fr 1fr; }
  .ebook-dialog-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .crm { display: none; }
  .check { grid-template-columns: 1fr; }
  .hero-row .btn { white-space: normal; }
}

@media (max-width: 700px) {
  .hero {
    justify-content: flex-end;
    min-height: 100vh;
    padding: 56vh 20px 36px;
    background:
      linear-gradient(180deg, rgba(6, 16, 13, 0.22) 0%, rgba(7, 15, 12, 0.08) 34%, rgba(7, 15, 12, 0.62) 74%, #070f0c 100%),
      url("img/hero-davinci - mobile.jpg") center 18% / cover no-repeat;
  }
  .hero h1 { font-size: 1.5rem; max-width: 14em; }
  .floats {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    margin: 0;
    pointer-events: none;
  }
  .floats article {
    position: absolute;
    width: min(196px, 58vw);
    gap: 7px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
  }
  .hero .floats article:nth-child(1) { display: none; }
  .hero .floats article:nth-child(2) { left: 12px; right: auto; top: 8%; }
  .hero .floats article:nth-child(3) { left: auto; right: 12px; top: 20%; width: min(176px, 54vw); }
  .hero .floats article:nth-child(4) { left: 16px; right: auto; top: 32%; width: min(210px, 62vw); }
  .floats .ico { width: 28px; height: 28px; }
  .floats .ico svg { width: 15px; height: 15px; }
  .floats h2 { font-size: 0.78rem; }
  .floats p { font-size: 0.64rem; }

  #ebooks .shelf { width: 100%; }
  #ebooks .shelf-head,
  #ebooks .shelf-note,
  #ebooks .ebooks-cta {
    width: calc(100% - 36px);
  }
  #ebooks .ebooks {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 6px 18px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
  }
  #ebooks .ebook {
    flex: 0 0 74%;
    scroll-snap-align: center;
    animation: none;
    cursor: pointer;
    touch-action: manipulation;
  }
  #ebooks .ebook-peek { opacity: 1; }
  #ebooks .ebook-peek p { display: block; }
  #ebooks .ebook:hover,
  #ebooks .ebook:focus-within { transform: none; }

  .ebook-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    overflow: auto;
  }
  .ebook-dialog-card {
    gap: 12px;
    max-height: none;
    padding: 12px 16px 18px;
    border-radius: 20px;
  }
  .ebook-dialog-card img {
    width: min(168px, 52%);
    margin-inline: auto;
  }
  .ebook-dialog-copy h3 { font-size: 1.35rem; }
  .ebook-dialog-copy p { margin-bottom: 16px; font-size: 0.92rem; }
  .ebook-x {
    position: sticky;
    top: 8px;
    z-index: 2;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 999px;
    background: rgba(7, 15, 12, 0.72);
    color: #f4f0e6;
  }

  #guia .material {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: calc(100% - 16px);
  }
  #guia .sheet {
    order: -1;
    box-shadow: none;
    padding: 22px 16px 18px;
  }
  #guia form { gap: 8px; }
  #guia .sheet label { gap: 4px; }
  #guia .err:empty { display: none; }
  #guia .sheet input,
  #guia .sheet select { padding: 10px 12px; }
  #guia .material-copy { order: 1; }

  .medico-band {
    padding: 0 0 48px;
    background: #f6f4ee;
  }
  .medico-band::before {
    content: "";
    display: block;
    height: 132vw;
    background:
      linear-gradient(180deg, rgba(246, 244, 238, 0) 62%, rgba(246, 244, 238, 0.78) 78%, #f6f4ee 92%),
      url("img/medico-bg - mobile.jpg") center 12% / cover no-repeat;
  }
  #medico .medico { margin-top: -40vw; min-height: 0; }
}

@media (hover: none) {
  .ebook-peek { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ebook { animation: none; }
  .floats article { animation: none; }
}
