:root {
  --bg: #f7f4ed;
  --bg-deep: #e6efe8;
  --surface: rgba(255, 252, 248, 0.88);
  --surface-strong: rgba(255, 253, 250, 0.97);
  --ink: #17312c;
  --muted: #5c706c;
  --primary: #0b6e4f;
  --primary-deep: #084b37;
  --secondary: #275dad;
  --secondary-soft: #dce8fb;
  --accent: #f4a261;
  --accent-deep: #c56d34;
  --accent-soft: #f8dcc8;
  --gold: #78c6a3;
  --gold-soft: #e1f4ec;
  --wood: #6884c4;
  --blush: #f6e6dc;
  --sage: #dff0ea;
  --border: rgba(23, 49, 44, 0.12);
  --shadow: 0 24px 60px rgba(16, 39, 35, 0.14);
  --shadow-soft: 0 18px 45px rgba(16, 39, 35, 0.11);
  --shadow-strong: 0 28px 70px rgba(24, 48, 84, 0.2);
  --radius-large: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 162, 97, 0.18), transparent 19rem),
    radial-gradient(circle at 86% 10%, rgba(39, 93, 173, 0.16), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(120, 198, 163, 0.17), transparent 24rem),
    radial-gradient(circle at 18% 70%, rgba(11, 110, 79, 0.12), transparent 22rem),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg) 44%, #eef3ec 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
  opacity: 0.6;
}

body::before {
  top: 4rem;
  left: -7rem;
  width: 16rem;
  height: 16rem;
  background: rgba(11, 110, 79, 0.08);
}

body::after {
  right: -5rem;
  bottom: 5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(39, 93, 173, 0.08);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.8rem;
}

.topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  margin-top: 0.4rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(245, 248, 242, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.4rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(26, 45, 37, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(31, 61, 51, 0.14));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 1.04rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.93rem;
}

.nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 247, 241, 0.72));
  border: 1px solid rgba(24, 50, 41, 0.08);
  color: var(--secondary);
  box-shadow: 0 10px 24px rgba(22, 40, 53, 0.06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 244, 0.88));
  border-color: rgba(244, 162, 97, 0.28);
  box-shadow: 0 14px 28px rgba(22, 40, 53, 0.1);
  color: var(--primary-deep);
}

.nav a[href="alertes.html"] {
  background:
    linear-gradient(180deg, rgba(250, 233, 221, 0.96), rgba(250, 244, 241, 0.84));
  border-color: rgba(244, 162, 97, 0.24);
  color: var(--accent-deep);
}

.hero,
.split-section,
.analyzer-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.hero {
  position: relative;
  isolation: isolate;
  align-items: center;
  gap: 2rem;
  min-height: 43rem;
  margin-top: 1.2rem;
  padding: 4rem 3.2rem;
  border-radius: 2.2rem;
  overflow: hidden;
  background: #f8f4ed;
  box-shadow: 0 32px 86px rgba(18, 39, 33, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -1.4rem;
  z-index: -4;
  border-radius: inherit;
  background: url("assets/forest-light-background.jpg") center / cover no-repeat;
  filter: blur(7px) saturate(1.02) brightness(0.9);
  transform: scale(1.05);
  opacity: 1;
  animation: forestBreath 22s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 251, 245, 0.94) 0%, rgba(255, 251, 245, 0.84) 35%, rgba(255, 251, 245, 0.34) 58%, rgba(7, 41, 45, 0.58) 100%),
    radial-gradient(circle at 22% 18%, rgba(244, 162, 97, 0.2), transparent 18rem),
    radial-gradient(circle at 84% 74%, rgba(39, 93, 173, 0.38), transparent 25rem);
  animation: mistGlow 18s ease-in-out infinite;
}

.hero-impact::before {
  transform: scale(1.05);
}

.hero-impact .hero-copy {
  position: relative;
  z-index: 2;
  padding: 2rem 2.1rem;
  margin: -2rem 0;
}

.hero-impact .hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.74), rgba(255, 253, 249, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-impact .hero-visual {
  position: relative;
  z-index: 2;
}

.hero-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem 0.45rem 0.5rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(246, 249, 242, 0.82));
  border: 1px solid rgba(45, 90, 75, 0.12);
  box-shadow: 0 16px 32px rgba(31, 61, 51, 0.08);
  width: fit-content;
}

.hero-seal img {
  width: 2.75rem;
  height: auto;
  flex: 0 0 auto;
}

.hero-seal span {
  color: var(--primary-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-copy,
.hero-visual,
.stats article,
.info-card,
.method-card,
.example-card,
.habit-card,
.faq-card,
.panel,
.step-card,
.quote-card {
  animation: rise 700ms ease both;
}

.hero-visual {
  animation-delay: 120ms;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 34rem;
}

.stats article:nth-child(2),
.info-card:nth-child(2),
.step-card:nth-child(2) {
  animation-delay: 90ms;
}

.stats article:nth-child(3),
.info-card:nth-child(3),
.step-card:nth-child(3) {
  animation-delay: 180ms;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.panel h2,
.step-card h2,
.quote-card p {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-copy h1 {
  font-size: clamp(3.3rem, 5vw, 5.9rem);
  max-width: 8.2ch;
  text-wrap: balance;
  background: linear-gradient(135deg, var(--ink) 0%, var(--secondary) 42%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.hero-card p,
.page-hero p,
.panel p,
.panel-note,
.info-card p,
.step-card p,
.stats article p,
.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 34rem;
  font-size: 1.08rem;
}

.eyebrow,
.card-tag,
.card-kicker,
.result-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
}

.card-tag,
.card-kicker,
.result-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 90, 76, 0.08);
  border: 1px solid rgba(31, 90, 76, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 0 0 1.05rem;
}

.hero-actions .button {
  min-height: 3.5rem;
  padding-inline: 1.45rem;
  position: relative;
  padding-right: 1.7rem;
}

.hero-actions .button::after {
  content: "→";
  margin-left: 0.55rem;
  font-size: 1rem;
  line-height: 1;
}

.hero-actions-wrap {
  display: grid;
  justify-items: start;
  gap: 0.8rem;
  margin: 1.45rem 0 0;
}

.hero-action-label {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(252, 236, 224, 0.98), rgba(255, 247, 242, 0.94));
  border: 1px solid rgba(244, 162, 97, 0.2);
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(197, 109, 52, 0.12);
}

.hero-thoughts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
}

.thought-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.68rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(20, 35, 44, 0.1);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.thought-bubble::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  bottom: -0.35rem;
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 0 0 0.3rem 0.85rem;
  transform: rotate(22deg);
  border-left: 1px solid rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
}

.thought-bubble-emerald {
  background: linear-gradient(180deg, rgba(227, 246, 238, 0.98), rgba(241, 250, 246, 0.94));
  color: var(--primary-deep);
}

.thought-bubble-emerald::after {
  background: rgba(236, 248, 242, 0.96);
}

.thought-bubble-cobalt {
  background: linear-gradient(180deg, rgba(230, 239, 255, 0.98), rgba(243, 248, 255, 0.94));
  color: #1f4c90;
}

.thought-bubble-cobalt::after {
  background: rgba(238, 245, 255, 0.96);
}

.thought-bubble-peach {
  background: linear-gradient(180deg, rgba(252, 236, 224, 0.98), rgba(255, 245, 238, 0.94));
  color: var(--accent-deep);
}

.thought-bubble-peach::after {
  background: rgba(255, 244, 235, 0.96);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.04);
}

.button-primary {
  color: #f8f6f1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 62%, #4d7fd0 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(39, 93, 173, 0.24), 0 8px 20px rgba(244, 162, 97, 0.14);
}

.button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 241, 0.8));
  border-color: rgba(39, 93, 173, 0.16);
  color: var(--primary-deep);
  box-shadow: 0 12px 26px rgba(22, 40, 53, 0.08);
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.resource-actions .button {
  min-height: 3.2rem;
}

.source-note {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.hero-points,
.simple-list,
.checklist {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.85;
}

.hero-glance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-glance span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(45, 90, 75, 0.12);
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(28, 52, 45, 0.09);
}

.hero-glance span:nth-child(1) {
  background: linear-gradient(180deg, rgba(235, 247, 241, 0.94), rgba(248, 251, 247, 0.9));
}

.hero-glance span:nth-child(2) {
  background: linear-gradient(180deg, rgba(227, 238, 255, 0.96), rgba(248, 251, 247, 0.9));
}

.hero-glance span:nth-child(3) {
  background: linear-gradient(180deg, rgba(252, 237, 225, 0.98), rgba(250, 247, 242, 0.9));
  color: var(--accent-deep);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 34rem;
}

.hero-visual-frame {
  position: relative;
  width: min(100%, 36rem);
  min-height: 34rem;
}

.hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 2rem 1rem 2rem 6rem;
  border-radius: 2.3rem;
  background:
    radial-gradient(circle at 22% 30%, rgba(45, 90, 75, 0.22), transparent 36%),
    radial-gradient(circle at 76% 72%, rgba(33, 60, 90, 0.18), transparent 34%),
    radial-gradient(circle at 66% 22%, rgba(227, 111, 71, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  filter: blur(0.3px);
  opacity: 0.9;
}

.hero-window {
  position: relative;
  z-index: 1;
  width: min(100%, 31.5rem);
  padding: 1rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(242, 246, 239, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 60px rgba(29, 63, 52, 0.18);
  backdrop-filter: blur(14px);
}

.hero-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.hero-window-dots {
  display: flex;
  gap: 0.35rem;
}

.hero-window-dots span {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
}

.hero-window-dots span:nth-child(1) {
  background: linear-gradient(145deg, rgba(227, 111, 71, 0.96), rgba(184, 78, 48, 0.9));
}

.hero-window-dots span:nth-child(2) {
  background: linear-gradient(145deg, rgba(213, 167, 96, 0.96), rgba(166, 118, 54, 0.88));
}

.hero-window-dots span:nth-child(3) {
  background: linear-gradient(145deg, rgba(31, 90, 76, 0.96), rgba(28, 54, 87, 0.86));
}

.hero-window-address {
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 90, 75, 0.1);
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-window-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(11rem, 0.82fr);
  gap: 1rem;
  margin-top: 1rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 7.5rem;
  height: 7.5rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 70%);
  pointer-events: none;
}

.hero-panel-alert {
  background:
    radial-gradient(circle at top right, rgba(248, 220, 200, 0.88), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(224, 236, 255, 0.26), transparent 8rem),
    linear-gradient(180deg, rgba(255, 248, 243, 0.98), rgba(247, 246, 240, 0.92));
}

.hero-panel-safe {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(224, 236, 255, 0.88), transparent 8rem),
    radial-gradient(circle at bottom right, rgba(223, 241, 233, 0.38), transparent 8rem),
    linear-gradient(180deg, rgba(246, 250, 248, 0.98), rgba(237, 244, 246, 0.92));
}

.hero-panel-tag {
  margin: 0 0 0.6rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 10ch;
}

.hero-mini-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hero-mini-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: auto;
  padding: 0.3rem 0 0.7rem;
  border-radius: 0;
  background: transparent;
  border-left: 0;
  border-bottom: 1px dashed rgba(28, 54, 87, 0.16);
  color: var(--primary-deep);
  font-weight: 800;
}

.hero-mini-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 0.22rem rgba(227, 111, 71, 0.08);
}

.hero-mini-list li:last-child {
  padding-bottom: 0.1rem;
  border-bottom: 0;
}

.hero-shield-ring {
  display: grid;
  place-items: center;
  width: 8.5rem;
  height: 8.5rem;
  margin-bottom: 0.95rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 46%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(219, 229, 239, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 40px rgba(33, 60, 90, 0.16);
}

.hero-shield-ring img {
  width: 5rem;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(31, 61, 51, 0.12));
}

.hero-panel-caption {
  margin: 0;
  max-width: 14ch;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.55;
}

.hero-phone {
  position: absolute;
  right: 0.9rem;
  bottom: -0.7rem;
  z-index: 2;
  width: 12.8rem;
  padding: 0.75rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at 74% 18%, rgba(227, 111, 71, 0.26), transparent 22%),
    linear-gradient(180deg, #2b5649, #213c5a);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 55px rgba(22, 44, 40, 0.24);
  transform: rotate(7deg);
}

.hero-phone-notch {
  width: 4.8rem;
  height: 0.56rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: rgba(237, 243, 242, 0.92);
}

.hero-phone-screen {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0.95rem;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.hero-phone-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(247, 250, 248, 0.96);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-phone-message {
  margin: 0;
  color: rgba(248, 251, 249, 0.96);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.48;
}

.hero-phone-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-phone-score span {
  color: rgba(245, 249, 248, 0.86);
  font-size: 0.84rem;
}

.hero-phone-score strong {
  color: #fff;
  font-size: 0.9rem;
}

.hero-card,
.panel,
.info-card,
.method-card,
.example-card,
.habit-card,
.faq-card,
.step-card,
.stats article,
.quote-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.7rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-card::before,
.panel::before,
.info-card::before,
.method-card::before,
.example-card::before,
.habit-card::before,
.step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-card::after,
.panel::after,
.info-card::after,
.method-card::after,
.example-card::after,
.habit-card::after,
.step-card::after {
  content: "";
  position: absolute;
  inset: auto 1.2rem 0.95rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 90, 76, 0.22), rgba(227, 111, 71, 0.26), rgba(28, 54, 87, 0.2));
  opacity: 0.72;
  pointer-events: none;
}

.panel:hover,
.info-card:hover,
.method-card:hover,
.example-card:hover,
.habit-card:hover,
.faq-card:hover,
.step-card:hover,
.stats article:hover,
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.hero-card {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(223, 233, 222, 0.65), transparent 9rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 247, 239, 0.95));
}

.hero-card h2,
.panel h2,
.section-heading h2,
.step-card h2 {
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: var(--secondary);
}

.stats article:nth-child(1) {
  background:
    radial-gradient(circle at top right, rgba(217, 233, 223, 0.84), transparent 9rem),
    linear-gradient(180deg, rgba(252, 252, 249, 0.98), rgba(241, 247, 239, 0.94));
}

.stats article:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.84), transparent 9rem),
    linear-gradient(180deg, rgba(255, 251, 248, 0.99), rgba(248, 241, 237, 0.95));
}

.stats article:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(218, 231, 243, 0.86), transparent 9rem),
    linear-gradient(180deg, rgba(251, 252, 249, 0.99), rgba(240, 245, 249, 0.95));
}

.stats article:nth-child(1) .stat-number {
  color: var(--primary);
}

.stats article:nth-child(2) .stat-number {
  color: var(--accent-deep);
}

.stats article:nth-child(3) .stat-number {
  color: var(--secondary);
}

.section,
.page-main {
  display: grid;
  gap: 1.5rem;
}

.home-main {
  display: grid;
  gap: 1.25rem;
}

.section {
  padding: 1rem 0;
}

.home-section,
.home-stats {
  position: relative;
  isolation: isolate;
}

.home-ornament::before,
.home-ornament::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-ornament-left::before {
  top: -1.3rem;
  left: -5.4rem;
  width: 15rem;
  height: 8.2rem;
  background-image: url("assets/branch-fine.svg");
  opacity: 0.34;
  transform: rotate(-10deg);
  transform-origin: 18% 72%;
  animation: branchSwayLeft 19s ease-in-out infinite;
}

.home-ornament-left::after {
  right: -1.8rem;
  bottom: -1.6rem;
  width: 9.5rem;
  height: 5.2rem;
  background-image: url("assets/leaf-drift.svg");
  opacity: 0.22;
  transform: rotate(9deg);
  transform-origin: 70% 40%;
  animation: leafFloatA 16s ease-in-out infinite;
}

.home-ornament-right::before {
  top: -2rem;
  right: -5.6rem;
  width: 15rem;
  height: 8.2rem;
  background-image: url("assets/branch-fine.svg");
  opacity: 0.3;
  transform: scaleX(-1) rotate(-6deg);
  transform-origin: 82% 72%;
  animation: branchSwayRight 20s ease-in-out infinite;
}

.home-ornament-right::after {
  left: -2.2rem;
  bottom: -1.9rem;
  width: 10rem;
  height: 5.8rem;
  background-image: url("assets/leaf-drift.svg");
  opacity: 0.2;
  transform: rotate(-10deg);
  transform-origin: 36% 60%;
  animation: leafFloatB 17s ease-in-out infinite;
}

.home-ornament-center::before {
  top: -2.2rem;
  left: 50%;
  width: 13rem;
  height: 7rem;
  background-image: url("assets/branch-fine.svg");
  opacity: 0.24;
  transform: translateX(-50%) scale(0.82);
  transform-origin: 50% 72%;
  animation: branchSwayCenter 22s ease-in-out infinite;
}

.home-ornament-center::after {
  right: -2rem;
  bottom: -1.5rem;
  width: 10rem;
  height: 5.8rem;
  background-image: url("assets/leaf-drift.svg");
  opacity: 0.2;
  transform: rotate(12deg);
  transform-origin: 70% 48%;
  animation: leafFloatC 18s ease-in-out infinite;
}

.home-ornament-soft::before,
.home-ornament-soft::after {
  opacity: 0.18;
}

.section-heading {
  max-width: 48rem;
}

.card-grid,
.steps-grid,
.method-grid,
.example-grid,
.protection-grid,
.habit-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.card-grid,
.steps-grid,
.method-grid,
.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.protection-grid,
.habit-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card h3 {
  margin-top: 0.1rem;
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.info-card-wide {
  grid-column: 1 / -1;
}

.method-card,
.example-card,
.habit-card,
.faq-card,
.protection-card {
  padding: 1.55rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.6rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.method-card h3,
.example-card h3,
.habit-card h3,
.protection-card h3 {
  margin: 0.2rem 0 0.55rem;
  font-size: 1.14rem;
}

.method-card p,
.example-card p,
.habit-card p,
.faq-card p,
.protection-card p {
  color: var(--muted);
  line-height: 1.78;
}

.info-card .simple-list {
  margin-bottom: 0.95rem;
}

.protection-card {
  position: relative;
  overflow: hidden;
}

.protection-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  pointer-events: none;
}

.protection-card-wide {
  grid-column: 1 / -1;
}

.method-step {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(45, 90, 75, 0.1);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.example-card {
  background:
    radial-gradient(circle at top right, rgba(218, 231, 243, 0.7), transparent 8rem),
    radial-gradient(circle at bottom left, rgba(247, 210, 196, 0.28), transparent 8rem),
    linear-gradient(180deg, rgba(250, 251, 247, 0.98), rgba(240, 243, 248, 0.94));
}

.message-sample {
  margin: 0.2rem 0 0.9rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(33, 60, 90, 0.08);
  color: var(--secondary);
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  line-height: 1.45;
}

.habit-card {
  background:
    radial-gradient(circle at top right, rgba(223, 233, 222, 0.66), transparent 7rem),
    radial-gradient(circle at bottom left, rgba(213, 167, 96, 0.16), transparent 8rem),
    linear-gradient(180deg, rgba(250, 251, 247, 0.98), rgba(243, 247, 240, 0.95));
}

.faq-card {
  margin: 0;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.5;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card[open] {
  background:
    radial-gradient(circle at top right, rgba(239, 230, 223, 0.6), transparent 8rem),
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(244, 247, 241, 0.95));
}

.faq-card p {
  margin: 0.9rem 0 0;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(248, 220, 200, 0.92), transparent 8rem),
    radial-gradient(circle at bottom left, rgba(224, 236, 255, 0.18), transparent 8rem),
    linear-gradient(180deg, rgba(255, 246, 241, 0.98), rgba(244, 248, 243, 0.94));
}

.text-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--secondary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(227, 111, 71, 0.34);
  text-underline-offset: 0.22em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-deep);
  text-decoration-color: rgba(227, 111, 71, 0.66);
}

.alerts-summary {
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(248, 220, 200, 0.72), transparent 9rem),
    linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(248, 243, 239, 0.95));
  border-left: 6px solid rgba(244, 162, 97, 0.82);
}

.alerts-grid {
  align-items: stretch;
}

.alerts-cta {
  margin-top: 1.15rem;
}

.alert-card-featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(223, 241, 233, 0.76), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(224, 236, 255, 0.28), transparent 10rem),
    linear-gradient(180deg, rgba(250, 251, 247, 0.99), rgba(240, 245, 239, 0.95));
}

.alert-tone-warning {
  border-left: 6px solid #d91f11;
}

.alert-card-featured.alert-tone-warning,
.alert-detail-card.alert-tone-warning {
  background:
    radial-gradient(circle at top right, rgba(255, 220, 220, 0.86), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(255, 234, 210, 0.42), transparent 8rem),
    linear-gradient(180deg, rgba(255, 246, 246, 0.99), rgba(252, 238, 235, 0.95));
  box-shadow: 0 22px 42px rgba(187, 35, 23, 0.14);
}

.alert-flash {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: #a21c11;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.alert-flash-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #df1608;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(201, 25, 12, 0.18);
}

.alert-flash-detail {
  margin-bottom: 1rem;
}

.alert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
}

.alert-level {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(33, 60, 90, 0.08);
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.alert-tone-warning .alert-level {
  background: rgba(217, 31, 17, 0.1);
  color: #a21c11;
}

.alert-card h3,
.alert-detail-card h2 {
  margin-top: 0.1rem;
}

.alert-excerpt,
.alert-intro {
  margin-bottom: 0.75rem;
}

.alert-card .alert-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.alert-meta-line {
  margin-bottom: 0;
  color: rgba(44, 62, 57, 0.72);
  font-size: 0.94rem;
}

.alert-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin-top: 0.85rem;
}

.alert-feed-full {
  max-width: 62rem;
}

.alerts-list {
  display: grid;
  gap: 1.15rem;
}

.alert-detail-card {
  background:
    radial-gradient(circle at top right, rgba(226, 235, 228, 0.72), transparent 10rem),
    linear-gradient(180deg, rgba(250, 251, 247, 0.99), rgba(241, 245, 239, 0.96));
}

.alert-detail-box {
  margin-top: 0.95rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(45, 90, 75, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.6);
}

.alert-tone-warning .alert-detail-box {
  border-color: rgba(217, 31, 17, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.alert-detail-box h3 {
  margin-bottom: 0.55rem;
}

.alert-full-list {
  margin-bottom: 0;
}

.warm-panel {
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.74), transparent 10rem),
    radial-gradient(circle at bottom left, rgba(223, 233, 222, 0.46), transparent 9rem),
    linear-gradient(180deg, rgba(251, 248, 243, 0.98), rgba(243, 246, 238, 0.95));
}

.newsletter-section {
  align-items: stretch;
}

.newsletter-copy {
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.58), transparent 10rem),
    radial-gradient(circle at bottom left, rgba(223, 233, 222, 0.54), transparent 10rem),
    linear-gradient(180deg, rgba(248, 249, 243, 0.98), rgba(241, 246, 238, 0.95));
}

.newsletter-panel {
  background:
    radial-gradient(circle at top right, rgba(219, 229, 239, 0.78), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(247, 210, 196, 0.2), transparent 9rem),
    linear-gradient(180deg, rgba(251, 252, 248, 0.99), rgba(239, 244, 245, 0.95));
}

.newsletter-panel h3 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-family: "Fraunces", serif;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.newsletter-status {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.newsletter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 1rem;
}

.newsletter-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(39, 93, 173, 0.12);
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.newsletter-list {
  margin-top: 0.2rem;
}

.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.newsletter-fallback[hidden],
.brevo-embed[hidden] {
  display: none;
}

.brevo-embed {
  display: grid;
  gap: 0.85rem;
}

.brevo-iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
}

.newsletter-input {
  width: 100%;
  min-height: 3.3rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(45, 90, 75, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  outline: 2px solid rgba(227, 111, 71, 0.18);
  border-color: rgba(227, 111, 71, 0.3);
}

.newsletter-meta {
  margin: -0.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.newsletter-feedback {
  min-height: 1.6rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.newsletter-feedback[hidden] {
  display: none;
}

.newsletter-feedback.is-success {
  color: var(--primary);
  font-weight: 700;
}

.newsletter-feedback.is-error {
  color: var(--accent-deep);
  font-weight: 700;
}

.premium-teaser {
  align-items: stretch;
}

.premium-copy {
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.62), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(223, 233, 222, 0.44), transparent 9rem),
    linear-gradient(180deg, rgba(249, 248, 243, 0.99), rgba(242, 246, 239, 0.95));
}

.premium-card {
  color: #edf3f3;
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.2), transparent 10rem),
    radial-gradient(circle at bottom left, rgba(213, 167, 96, 0.16), transparent 10rem),
    linear-gradient(180deg, #214f46, #1d3657);
  box-shadow: 0 26px 58px rgba(21, 39, 60, 0.24);
}

.premium-card h2,
.premium-card h3 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  font-family: "Fraunces", serif;
  line-height: 1.1;
}

.premium-card p,
.premium-card li,
.premium-card .card-kicker {
  color: rgba(245, 249, 248, 0.94);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f7f4eb;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.premium-price {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.premium-price span {
  margin-left: 0.35rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.premium-card .button-primary {
  background: linear-gradient(135deg, rgba(255, 247, 241, 0.98), rgba(250, 224, 209, 0.95));
  color: var(--accent-deep);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.premium-card .button-secondary.premium-secondary-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
  color: #f7f4eb;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.premium-list,
.premium-points {
  margin-bottom: 1.1rem;
}

.premium-note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.premium-card-large {
  min-height: 100%;
}

.premium-main {
  gap: 1.7rem;
}

.premium-hero {
  max-width: 58rem;
}

.dark-panel {
  color: #edf3f3;
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.18), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(213, 167, 96, 0.12), transparent 10rem),
    linear-gradient(180deg, #244f47, #1f3856);
}

.dark-panel p,
.dark-panel li,
.dark-panel .eyebrow {
  color: rgba(244, 249, 248, 0.92);
}

.soft-panel {
  background:
    radial-gradient(circle at top right, rgba(219, 229, 239, 0.88), transparent 8rem),
    radial-gradient(circle at bottom left, rgba(247, 210, 196, 0.16), transparent 8rem),
    linear-gradient(180deg, rgba(250, 251, 247, 0.98), rgba(240, 243, 248, 0.95));
}

.support-grid {
  align-items: stretch;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.resource-number {
  margin: 0.2rem 0 0.35rem;
  color: var(--primary-deep);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.support-card .resource-actions {
  margin-top: auto;
  padding-top: 0.85rem;
}

.page-main {
  padding-top: 1.3rem;
}

.page-hero {
  max-width: 54rem;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4vw, 4.35rem);
}

.analyzer-panel,
.result-panel {
  min-height: 25rem;
}

.field-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.message-box {
  width: 100%;
  min-height: 16rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(45, 90, 75, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.message-box:focus {
  outline: 2px solid rgba(227, 111, 71, 0.18);
  border-color: rgba(227, 111, 71, 0.28);
}

.panel-note {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.result-panel {
  scroll-margin-top: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(219, 229, 239, 0.75), transparent 8rem),
    linear-gradient(180deg, rgba(248, 249, 244, 0.98), rgba(239, 243, 238, 0.95));
}

.result-panel-active {
  animation: resultPulse 900ms ease;
  box-shadow: 0 0 0 0.18rem rgba(227, 111, 71, 0.12), var(--shadow-strong);
}

.risk-high {
  border: 2px solid rgba(120, 62, 35, 0.28);
}

.risk-medium {
  border: 2px solid rgba(45, 90, 75, 0.28);
}

.risk-low {
  border: 2px solid rgba(33, 60, 90, 0.22);
}

.urgent-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 245, 239, 0.97), rgba(248, 249, 243, 0.95));
  border: 1px solid rgba(227, 111, 71, 0.18);
  box-shadow: 0 14px 34px rgba(31, 56, 86, 0.08);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31, 90, 76, 0.14), rgba(227, 111, 71, 0.12));
  color: var(--accent-deep);
  font-weight: 800;
}

.quote-card {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(247, 210, 196, 0.74), transparent 9rem),
    radial-gradient(circle at bottom left, rgba(218, 231, 243, 0.34), transparent 10rem),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(242, 244, 239, 0.94));
}

.quote-card p {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  color: var(--secondary);
  line-height: 1.25;
}

.footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(24, 50, 41, 0.12);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at top right, rgba(23, 63, 114, 0.1), transparent 15rem),
    linear-gradient(180deg, rgba(238, 244, 243, 0.96), rgba(231, 239, 236, 0.94));
  box-shadow: var(--shadow-soft);
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.6rem) 0.9rem;
  border-bottom: 1px solid rgba(24, 50, 41, 0.1);
}

.footer-socials a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(24, 50, 41, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(15rem, 1.25fr) minmax(9.5rem, 0.8fr) minmax(11rem, 0.92fr) minmax(15rem, 1.25fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  padding: clamp(1.35rem, 4vw, 2.2rem) clamp(1.25rem, 4vw, 2.6rem);
  align-items: start;
}

.footer-brand,
.footer-col,
.footer-note,
.footer-bottom p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-brand-lockup {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand-lockup img {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  padding: 0.45rem;
  border: 1px solid rgba(24, 50, 41, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0.7rem 1.4rem rgba(23, 63, 114, 0.1);
}

.footer-brand strong {
  display: block;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.15vw, 1.06rem);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.46rem 0.68rem;
  border: 1px solid rgba(24, 50, 41, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.footer-trust-pills b {
  color: var(--primary);
}

.footer-col h2 {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  width: fit-content;
  margin: 0.45rem 0;
  color: var(--secondary);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-payment-card {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 50, 41, 0.1);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(15, 107, 87, 0.1), rgba(23, 63, 114, 0.1)),
    rgba(255, 255, 255, 0.58);
}

.footer-payment-card strong {
  display: block;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.3;
}

.footer-payment-card p,
.footer-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.footer-note {
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.95rem clamp(1.25rem, 4vw, 2.6rem) 1.1rem;
  border-top: 1px solid rgba(24, 50, 41, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes resultPulse {
  0% {
    transform: translateY(8px);
    box-shadow: 0 0 0 0 rgba(227, 111, 71, 0);
  }

  35% {
    transform: translateY(0);
    box-shadow: 0 0 0 0.38rem rgba(227, 111, 71, 0.16), var(--shadow-strong);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0.18rem rgba(227, 111, 71, 0.12), var(--shadow-strong);
  }
}

@keyframes forestBreath {
  0%,
  100% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate3d(-0.35rem, -0.4rem, 0) scale(1.024);
  }
}

@keyframes mistGlow {
  0%,
  100% {
    opacity: 0.68;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(-0.28rem, 0.16rem, 0);
  }
}

@keyframes branchSwayLeft {
  0%,
  100% {
    transform: rotate(-10deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-5.8deg) translate3d(0.5rem, -0.34rem, 0);
  }
}

@keyframes branchSwayRight {
  0%,
  100% {
    transform: scaleX(-1) rotate(-6deg) translate3d(0, 0, 0);
  }

  50% {
    transform: scaleX(-1) rotate(-2.4deg) translate3d(-0.48rem, -0.3rem, 0);
  }
}

@keyframes branchSwayCenter {
  0%,
  100% {
    transform: translateX(-50%) scale(0.82) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) scale(0.84) rotate(3deg) translateY(-0.26rem);
  }
}

@keyframes leafFloatA {
  0%,
  100% {
    transform: rotate(9deg) translate3d(0, 0, 0);
    opacity: 0.22;
  }

  50% {
    transform: rotate(14deg) translate3d(0.34rem, -0.42rem, 0);
    opacity: 0.32;
  }
}

@keyframes leafFloatB {
  0%,
  100% {
    transform: rotate(-10deg) translate3d(0, 0, 0);
    opacity: 0.2;
  }

  50% {
    transform: rotate(-5deg) translate3d(-0.32rem, -0.38rem, 0);
    opacity: 0.3;
  }
}

@keyframes leafFloatC {
  0%,
  100% {
    transform: rotate(12deg) translate3d(0, 0, 0);
    opacity: 0.2;
  }

  50% {
    transform: rotate(17deg) translate3d(0.28rem, -0.36rem, 0);
    opacity: 0.29;
  }
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .analyzer-layout,
  .stats,
  .card-grid,
  .steps-grid,
  .method-grid,
  .example-grid,
  .habit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero::before,
  .hero::after {
    inset: 0;
    height: auto;
  }

  .hero {
    gap: 1.25rem;
    min-height: auto;
    padding: 2.2rem 1.4rem;
  }

  .hero::before {
    inset: -1.5rem;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 251, 245, 0.96) 0%, rgba(255, 251, 245, 0.84) 54%, rgba(7, 41, 45, 0.36) 100%),
      radial-gradient(circle at 18% 16%, rgba(244, 162, 97, 0.22), transparent 18rem),
      radial-gradient(circle at 80% 82%, rgba(39, 93, 173, 0.28), transparent 20rem);
  }

  .hero-impact .hero-copy {
    padding: 1.35rem;
    margin: 0;
  }

  .home-ornament-left::before,
  .home-ornament-right::before,
  .home-ornament-center::before {
    top: -0.8rem;
    left: auto;
    right: -1rem;
    width: 9rem;
    height: 4.8rem;
    transform: scaleX(-1);
    opacity: 0.16;
    animation: none;
  }

  .home-ornament-left::after,
  .home-ornament-right::after,
  .home-ornament-center::after {
    display: none;
    animation: none;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .alert-card-featured {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 29rem;
    justify-content: center;
  }

  .hero-visual-frame {
    width: min(100%, 34rem);
    min-height: 29rem;
  }

  .hero-window {
    width: 100%;
  }

  .hero-window-body {
    grid-template-columns: 1fr;
  }

  .hero-panel h2 {
    max-width: none;
  }

  .hero-phone {
    right: 0.5rem;
    width: 11.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 1.2rem, 100%);
  }

  .nav {
    width: 100%;
  }

  .brand {
    align-items: center;
  }

  .nav a,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-seal {
    width: 100%;
    justify-content: center;
  }

  .hero-window {
    padding: 0.85rem;
    border-radius: 1.6rem;
  }

  .hero-window-address {
    font-size: 0.8rem;
  }

  .hero-visual,
  .hero-visual-frame {
    min-height: 25.5rem;
  }

  .hero-phone {
    width: 10.4rem;
    right: 0.2rem;
    bottom: -0.2rem;
  }

  .hero-phone-screen {
    padding: 0.85rem;
  }

  .footer {
    border-radius: 1.5rem;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-col a,
  .footer-col span {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .home-ornament-left::before,
  .home-ornament-left::after,
  .home-ornament-right::before,
  .home-ornament-right::after,
  .home-ornament-center::before,
  .home-ornament-center::after {
    animation: none;
  }
}
