@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

:root {
  --rest-bg: #F3EEE4;
  --rest-surface-deep: #EAE3D5;
  --rest-tone: #1F6F6A;
  --rest-tone-hover: #15534F;
  --rest-warm: #A9552E;
  --rest-ink: #1A1A2A;
  --rest-muted: #4B4B5C;
  --rest-problem: #2B2D42;
  --rest-shade-dark: #CFC6B5;
  --rest-shade-light: #FFFFFF;
  --rest-gradient: linear-gradient(135deg, #1F6F6A 0%, #2A8178 100%);
  --rest-shadow-out: 9px 9px 18px var(--rest-shade-dark), -9px -9px 18px var(--rest-shade-light);
  --rest-shadow-in: inset 6px 6px 12px var(--rest-shade-dark), inset -6px -6px 12px var(--rest-shade-light);
  --rest-section-pad: 10dvh;
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--rest-bg);
  color: var(--rest-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--rest-ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--rest-tone); }
img { display: block; max-width: 100%; height: auto; }
main { display: block; }
figure { margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rest-tone);
  outline-offset: 3px;
}

.rst-wrap { width: min(1180px, 92%); margin-inline: auto; position: relative; z-index: 1; }
.rst-section { position: relative; padding-block: var(--rest-section-pad); overflow: clip; }
.rst-section--tint { background: var(--rest-surface-deep); }
.rst-page-min { min-height: 100vh; }
.rst-section-head { max-width: 720px; margin-bottom: 36px; }
.rst-section-head p { color: var(--rest-muted); }
.rst-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rest-tone);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- HEADER ---------- */
.rst-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--rest-bg);
  box-shadow: 0 6px 14px var(--rest-shade-dark);
}
.rst-header-inner {
  position: relative;
  width: min(1180px, 92%);
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rst-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--rest-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.rst-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
  display: grid;
  place-items: center;
}
.rst-header-nav { display: flex; gap: 10px; align-items: center; }
.rst-header-nav a {
  text-decoration: none;
  color: var(--rest-ink);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--rest-shadow-out);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.rst-header-nav a:hover { color: var(--rest-tone); }
.rst-header-nav a[aria-current="page"] {
  box-shadow: var(--rest-shadow-in);
  color: var(--rest-tone);
}
.rst-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--rest-shadow-out);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.rst-burger span { display: block; width: 20px; height: 2px; background: var(--rest-ink); border-radius: 2px; }
.rst-toggle-input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }

.rst-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--rest-tone);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .rst-progress {
    animation: rst-grow linear both;
    animation-timeline: scroll(root block);
  }
}
@keyframes rst-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- HERO ---------- */
.rst-hero { position: relative; overflow: clip; padding-block: calc(var(--rest-section-pad) * 1.2); }
.rst-hero--plain { padding-block: calc(var(--rest-section-pad) * 0.9); }
.rst-blob-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.rst-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; pointer-events: none; }
.rst-blob--a {
  width: 380px; height: 380px; background: #3A9A8F; top: -140px; left: -120px;
  animation: rst-drift-a 26s ease-in-out infinite alternate;
}
.rst-blob--b {
  width: 300px; height: 300px; background: #D9A27C; bottom: -120px; right: -80px;
  animation: rst-drift-b 34s ease-in-out infinite alternate;
}
@keyframes rst-drift-a {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(90px, 60px) rotate(40deg); }
}
@keyframes rst-drift-b {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(-80px, -50px) rotate(-35deg); }
}
.rst-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 44px;
  align-items: center;
}
.rst-hero-copy { position: relative; padding-bottom: 48px; }
.rst-hero-lead { font-size: 1.1rem; color: var(--rest-muted); max-width: 56ch; margin-bottom: 28px; }
.rst-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rst-text-link { color: var(--rest-tone); font-weight: 600; padding: 12px 6px; }
.rst-badge-float {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 22px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-badge-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  box-shadow: var(--rest-shadow-in);
  display: grid;
  place-items: center;
  color: var(--rest-tone);
}
.rst-badge-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.rst-badge-cap { display: block; font-size: 0.8rem; color: var(--rest-muted); max-width: 22ch; }
.rst-hero-frame {
  margin: 0;
  padding: 14px;
  border-radius: 32px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }

/* ---------- BUTTONS ---------- */
.rst-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--rest-tone);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--rest-shadow-out);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.rst-action:hover { background: var(--rest-tone-hover); color: #fff; transform: scale(1.03); }
.rst-action:active { transform: scale(0.98); }

/* ---------- PROBLEM / SOLUTION ---------- */
.rst-ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--rest-shadow-out);
}
.rst-ps-col { padding: 40px 36px; }
.rst-ps-col--problem { background: var(--rest-problem); color: #F3EEE4; }
.rst-ps-col--solution { background: var(--rest-gradient); color: #fff; }
.rst-ps-col h3 { color: inherit; }
.rst-ps-list { list-style: none; margin: 0; padding: 0; }
.rst-ps-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.rst-ps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- BAND ---------- */
.rst-band {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-radius: 32px;
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 24px;
  color: #fff;
  box-shadow: var(--rest-shadow-out);
}
.rst-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.rst-band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(26, 26, 42, 0.82), rgba(26, 26, 42, 0.5));
}
.rst-band-inner { position: relative; max-width: 640px; }
.rst-band h2 { color: #fff; }
.rst-band p { color: #EDE8DD; }

/* ---------- FEATURES ---------- */
.rst-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rst-feature-card {
  margin: 0;
  padding: 32px 26px;
  border-radius: 24px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
  transition: box-shadow 0.5s ease;
}
.rst-feature-card:hover { box-shadow: var(--rest-shadow-in); }
.rst-feature-card p { color: var(--rest-muted); margin: 0; }
.rst-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--rest-shadow-in);
  color: var(--rest-tone);
  margin-bottom: 18px;
}
.rst-icon-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.rst-icon-row p { color: var(--rest-muted); margin: 0; }
.rst-icon-row h3 { margin-bottom: 6px; }
.rst-icon-badge {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--rest-shadow-out);
  color: var(--rest-tone);
  background: var(--rest-bg);
}

/* ---------- STEPPER ---------- */
.rst-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rst-step-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rest-tone);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.rst-step-word { font-weight: 700; }
.rst-step-line { flex: 1; min-width: 30px; border-top: 2px dashed var(--rest-shade-dark); }
.rst-step-texts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.rst-step-texts p { color: var(--rest-muted); }

/* ---------- CTA ---------- */
.rst-cta-card {
  max-width: 700px;
  margin-inline: auto;
  padding: 44px 32px;
  border-radius: 28px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
  text-align: center;
}
.rst-cta-card p { color: var(--rest-muted); }
.rst-cta-card .rst-action { margin-top: 8px; }

/* ---------- ALT ROWS / IMAGE CARD ---------- */
.rst-alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rst-alt-row + .rst-alt-row { margin-top: 56px; }
.rst-alt-row--flip > :first-child { order: 2; }
.rst-alt-card {
  margin: 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-alt-card h3 { margin-bottom: 14px; }
.rst-check-list { list-style: none; margin: 0; padding: 0; }
.rst-check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--rest-muted); }
.rst-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rest-tone);
  box-shadow: var(--rest-shadow-in);
}
.rst-image-card {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-image-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.rst-image-card figcaption { padding: 12px 8px 4px; color: var(--rest-muted); font-size: 0.9rem; }

/* ---------- STATS ---------- */
.rst-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rst-stat-card {
  margin: 0;
  padding: 30px 24px;
  border-radius: 24px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
  text-align: center;
}
.rst-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--rest-tone);
  line-height: 1.1;
}
.rst-stat-label { color: var(--rest-muted); }

/* ---------- INFO CARDS (reserve) ---------- */
.rst-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.rst-info-card {
  margin: 0;
  padding: 30px;
  border-radius: 24px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-info-card p { color: var(--rest-muted); }
.rst-num-list { list-style: none; margin: 0; padding: 0; }
.rst-num-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.rst-dot {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.rst-dot--a { background: var(--rest-tone); }
.rst-dot--b { background: var(--rest-warm); }
.rst-dot--c { background: var(--rest-problem); }
.rst-dot--d { background: var(--rest-tone-hover); }

/* ---------- FORM ---------- */
.rst-form-card {
  max-width: 620px;
  margin-inline: auto;
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-form { display: grid; gap: 18px; }
.rst-field { display: grid; gap: 8px; }
.rst-field label { font-weight: 600; }
.rst-field input, .rst-field textarea {
  width: 100%;
  font: inherit;
  color: var(--rest-ink);
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-in);
}
.rst-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.rst-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--rest-tone); }
.rst-form .rst-action { justify-self: start; }
.rst-form-note { font-size: 0.95rem; color: var(--rest-muted); margin-top: 18px; text-align: center; }

/* ---------- FAQ ---------- */
.rst-faq { display: grid; gap: 16px; max-width: 820px; margin-inline: auto; }
.rst-faq details {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-faq summary { font-weight: 700; cursor: pointer; list-style: none; }
.rst-faq summary::-webkit-details-marker { display: none; }
.rst-faq p { margin: 12px 0 0; color: var(--rest-muted); }

/* ---------- THANK ---------- */
.rst-thanks-section { min-height: 70vh; display: grid; place-items: center; }
.rst-thanks { text-align: center; max-width: 640px; }
.rst-thanks p { color: var(--rest-muted); }
.rst-thanks-frame { margin-block: 28px; }
.rst-thanks-frame img { aspect-ratio: 3 / 2; }
.rst-thanks-actions { justify-content: center; }

/* ---------- LEGAL ---------- */
.rst-legal { max-width: 820px; }
.rst-legal-card {
  padding: 40px 36px;
  border-radius: 24px;
  background: var(--rest-bg);
  box-shadow: var(--rest-shadow-out);
}
.rst-legal section { margin-top: 32px; }
.rst-legal p { color: var(--rest-ink); }

/* ---------- FOOTER ---------- */
.rst-footer { background: var(--rest-problem); color: #F3EEE4; padding: 56px 0 28px; }
.rst-footer a { color: #F3EEE4; }
.rst-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.rst-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.rst-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; }
.rst-footer-links a[aria-current="page"] { text-decoration: underline; }
.rst-footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #4A4C63;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: #E4DED2;
}
.rst-footer-bottom p { margin: 0; }

/* ---------- COOKIE BANNER ---------- */
.rst-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--rest-problem);
  color: #F3EEE4;
  box-shadow: 0 -8px 18px rgba(26, 26, 42, 0.25);
}
.rst-cookie[hidden] { display: none; }
.rst-cookie p { margin: 0; max-width: 60ch; }
.rst-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rst-cookie-btn {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid #F3EEE4;
  background: transparent;
  color: #F3EEE4;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.rst-cookie-btn--accept { background: #F3EEE4; color: var(--rest-problem); }

/* ---------- REVEAL (JS) ---------- */
.js .rst-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rst-reveal.is-in { opacity: 1; transform: none; }
.js .rst-fade { opacity: 0; transition: opacity 0.7s ease; }
.js .rst-fade.is-in { opacity: 1; }

/* ---------- SCROLL-DRIVEN SECTION REVEAL ---------- */
@supports (animation-timeline: view()) {
  .rst-section-view {
    animation: rst-section-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}
@keyframes rst-section-in { from { opacity: 0.25; } to { opacity: 1; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .rst-hero-split,
  .rst-ps-grid,
  .rst-alt-row,
  .rst-info-grid,
  .rst-footer-grid { grid-template-columns: 1fr; }
  .rst-feature-grid { grid-template-columns: 1fr 1fr; }
  .rst-step-texts { grid-template-columns: 1fr; }
  .rst-footer-links { justify-content: flex-start; }
  .rst-hero-copy { padding-bottom: 0; }
  .rst-badge-float { position: relative; margin-top: 24px; }
}

@media (max-width: 820px) {
  .rst-burger { display: flex; }
  .rst-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: var(--rest-bg);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 14px 20px var(--rest-shade-dark);
  }
  #rst-menu-toggle:checked ~ .rst-header-nav { display: flex; }
  .rst-header-nav a { width: 100%; text-align: center; }
}

@media (max-width: 560px) {
  .rst-feature-grid { grid-template-columns: 1fr; }
  .rst-stat-grid { grid-template-columns: 1fr; }
  .rst-steps { flex-direction: column; align-items: stretch; }
  .rst-step-line { display: none; }
  .rst-ps-col { padding: 28px 22px; }
  .rst-form-card { padding: 26px 20px; }
  .rst-legal-card { padding: 28px 20px; }
  .rst-info-card { padding: 24px 20px; }
  .rst-band { padding: 40px 18px; }
  .rst-cta-card { padding: 32px 20px; }
  .rst-cookie { flex-direction: column; align-items: stretch; }
  .rst-faq details { padding: 16px 18px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}