@font-face {
  font-family: "Bodhi Display";
  src: url("/assets/fonts/CormorantGaramond[wght].ttf") format("truetype");
  font-display: swap;
  font-weight: 300 700;
}

@font-face {
  font-family: "Bodhi Sans";
  src: url("/assets/fonts/PlusJakartaSans[wght].ttf") format("truetype");
  font-display: swap;
  font-weight: 300 900;
}

:root {
  --font-display: "Bodhi Display";
  --font-body: "Bodhi Sans";
  --primary: #4f6148;
  --primary-deep: #253322;
  --sage: #8a9a7a;
  --gold: #d1b06a;
  --gold-deep: #c9a15c;
  --rose: #d89b97;
  --cream: #fbf4e9;
  --ivory: #f8f5ef;
  --parchment: #f4f0e8;
  --surface: rgba(255, 255, 255, 0.74);
  --ink: #2f352d;
  --muted: #62695f;
  --line: #e6ddcf;
  --shadow: 0 28px 80px rgba(47, 53, 45, 0.16);
  --soft-shadow: 0 18px 42px rgba(79, 97, 72, 0.11);
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(209, 176, 106, 0.17), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(216, 155, 151, 0.12), transparent 22rem),
    linear-gradient(180deg, var(--cream), #f9f1e3 60%, var(--cream));
  color: var(--ink);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  width: var(--container);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(234, 211, 155, 0.18);
  border-radius: 10px;
  background: rgba(9, 17, 11, 0.72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff7e8;
  text-decoration: none;
}

.brand span {
  font-family: var(--font-display), Georgia, serif;
  font-size: 32px;
  font-weight: 650;
  line-height: 1;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-nav a,
.header-cta,
.button,
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-nav a {
  color: rgba(255, 250, 239, 0.76);
  font-size: 13px;
  font-weight: 850;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ecd8a1;
}

.header-cta,
.button {
  border-radius: 9px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: var(--primary-deep);
  background: linear-gradient(135deg, #fff0b8, #d1b06a);
  box-shadow: 0 14px 30px rgba(209, 176, 106, 0.22);
}

.header-cta {
  padding: 0 22px;
}

.button {
  padding: 0 25px;
  border: 1px solid transparent;
}

.button-soft {
  color: var(--primary-deep);
  border-color: rgba(79, 97, 72, 0.2);
  background: rgba(255, 255, 255, 0.62);
}

.button-gold {
  color: var(--primary-deep);
  background: linear-gradient(135deg, #f2dca5, var(--gold));
  box-shadow: 0 16px 34px rgba(209, 176, 106, 0.25);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(234, 211, 155, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff7e8;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  margin-top: -76px;
  padding: 156px 0 92px;
  background: #0b0704;
  color: white;
}

#features,
#library,
#wisdom,
#meditation,
#premium {
  scroll-margin-top: 132px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 62% 24%, rgba(255, 219, 143, 0.24), transparent 22rem),
    linear-gradient(90deg, rgba(9, 5, 2, 0.9) 0%, rgba(18, 9, 4, 0.56) 37%, rgba(18, 9, 4, 0.16) 72%, rgba(9, 5, 2, 0.42));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 260px;
  background:
    linear-gradient(180deg, rgba(251, 244, 233, 0), rgba(251, 244, 233, 0.7) 66%, rgba(251, 244, 233, 0.98)),
    radial-gradient(ellipse at 54% 80%, rgba(255, 232, 184, 0.36), transparent 58%);
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: saturate(0.96) contrast(1.03);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 4, 1, 0.86) 0%, rgba(15, 7, 2, 0.62) 36%, rgba(15, 7, 2, 0.08) 67%, rgba(9, 4, 1, 0.32)),
    linear-gradient(0deg, rgba(251, 244, 233, 0.98), rgba(251, 244, 233, 0.04) 25%, rgba(251, 244, 233, 0) 54%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.74fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.hero-copy h1,
.section-copy h2,
.wisdom-copy h2,
.premium-copy h2,
.legal-preview h2,
.trust-section h2,
.legal-hero h1,
.support-hero h1,
.faq-section h2 {
  margin: 0;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 740px;
  color: #f9ecd1;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(54px, 5.8vw, 88px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 20px 56px rgba(0, 0, 0, 0.54);
  background: linear-gradient(90deg, #fff6df 0%, #edcd86 46%, rgba(255, 244, 220, 0.78) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  max-width: 500px;
  margin: 34px 0 0;
  color: rgba(255, 246, 226, 0.9);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(21px, 1.55vw, 28px);
  font-style: italic;
  font-weight: 560;
  line-height: 1.5;
}

.hero-kicker {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #edcd86;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1b06a;
  box-shadow: 0 0 22px rgba(209, 176, 106, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero .button-primary {
  color: #2d1909;
  background: linear-gradient(135deg, #fff3be, #d4a75e 60%, #a96c30);
  box-shadow: 0 22px 50px rgba(212, 167, 94, 0.34);
}

.hero .button-soft {
  color: #fff1d2;
  border-color: rgba(237, 205, 134, 0.34);
  background: rgba(21, 10, 4, 0.28);
  backdrop-filter: blur(18px);
}

.hero-meta {
  max-width: 560px;
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(234, 211, 155, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 250, 239, 0.86);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.device-composition {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.device-composition::before {
  content: none;
}

.sanctuary-plaque {
  position: absolute;
  inset: 30px 2% 44px 15%;
  border: 1px solid rgba(255, 220, 154, 0.22);
  border-radius: 34px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 64px rgba(255, 255, 255, 0.045), 0 38px 120px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.phone-frame {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 46px 70px rgba(0, 0, 0, 0.48));
}

.main-device {
  z-index: 3;
  width: min(420px, 82vw);
  height: 712px;
  margin: 0 auto;
  transform: translateY(12px);
}

.phone-frame img {
  object-fit: contain;
}

.real-app-device img,
.side-device img,
.screen-phone img,
.ai-floating-card img {
  object-position: top center;
}

.real-app-device img {
  object-fit: contain;
}

.side-device img,
.screen-phone img,
.ai-floating-card img {
  object-fit: contain;
}

.side-device {
  position: absolute;
  z-index: 2;
  width: 194px;
  height: 420px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 30px 46px rgba(0, 0, 0, 0.3));
}

.side-device-left {
  left: 0;
  bottom: 86px;
  transform: rotate(-8deg);
}

.side-device-right {
  top: 28px;
  right: 0;
  transform: rotate(7deg);
}

.hero-proof-card {
  position: absolute;
  z-index: 4;
  right: -4px;
  bottom: 92px;
  width: min(250px, 42vw);
  padding: 18px 20px 20px;
  border: 1px solid rgba(234, 211, 155, 0.26);
  border-radius: 16px;
  background: rgba(13, 25, 17, 0.72);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px);
}

.hero-proof-card span {
  color: #ecd8a1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-proof-card p {
  margin: 7px 0 0;
  color: #fff7e8;
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
}

.hero-signal-card {
  position: absolute;
  z-index: 4;
  width: 178px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
}

.hero-signal-card span {
  color: rgba(255, 250, 239, 0.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-signal-card strong {
  display: block;
  margin-top: 6px;
  color: #fff7e8;
  font-size: 25px;
  line-height: 1;
}

.hero-signal-card p {
  margin: 8px 0 0;
  color: rgba(255, 250, 239, 0.68);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-signal-top {
  left: 28px;
  top: 92px;
}

.hero-signal-bottom {
  left: 16px;
  bottom: 104px;
}

.feature-rail {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 20px;
  border: 1px solid rgba(209, 176, 106, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 245, 239, 0.66)),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 72px rgba(47, 53, 45, 0.1);
  transform: translateY(-36px);
  backdrop-filter: blur(22px);
}

.feature-rail article {
  min-height: 174px;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.feature-rail article:last-child {
  border-right: 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  color: var(--gold-deep);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.feature-rail h2,
.feature-rail p {
  margin: 0;
}

.feature-rail h2 {
  font-size: 14px;
  font-weight: 900;
}

.feature-rail p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.72;
}

.library-band,
.meditation-band {
  width: var(--container);
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}

.library-band {
  grid-template-columns: 0.7fr 1.08fr;
}

.meditation-band {
  grid-template-columns: 1fr 0.82fr;
}

.section-mark {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.section-copy h2,
.wisdom-copy h2,
.premium-copy h2 {
  font-size: clamp(44px, 4.9vw, 74px);
}

.section-copy p,
.wisdom-copy p,
.premium-copy p {
  max-width: 475px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 680;
}

.text-link {
  width: fit-content;
  margin-top: 22px;
  gap: 9px;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 42px;
}

.reader-mockup {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 18px;
}

.screen-cluster {
  position: relative;
  min-height: 650px;
  display: block;
}

.screen-phone,
.ai-floating-card {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 34px 54px rgba(47, 53, 45, 0.22));
}

.screen-phone-large {
  width: min(350px, 70vw);
  height: 630px;
  margin-left: 3%;
}

.screen-phone-small {
  position: absolute;
  width: 214px;
  height: 460px;
  right: 16px;
}

.screen-offset-high {
  top: 30px;
  transform: rotate(5deg);
}

.screen-offset-low {
  bottom: 16px;
  transform: rotate(-5deg);
}

.reader-phone,
.text-cover,
.daily-card,
.support-grid article,
.faq-list details,
.legal-card,
.trust-grid article {
  border: 1px solid rgba(209, 176, 106, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
}

.reader-phone {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  padding: 54px 34px 36px;
  border: 8px solid #22291f;
  border-radius: 38px;
  text-align: center;
}

.reader-phone::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 155px;
  background: url("/assets/images/lotus1.webp") center bottom / cover no-repeat;
  opacity: 0.22;
}

.reader-phone span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.reader-phone h3 {
  margin: 22px 0 16px;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.08;
}

.reader-phone p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #454d42;
  font-family: var(--font-display), Georgia, serif;
  font-size: 22px;
  line-height: 1.35;
}

.text-cover {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.heart-cover {
  background-image: url("/assets/images/heartsutra.webp");
}

.lotus-cover {
  background-image: url("/assets/images/lotus-sutra.webp");
}

.text-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(248, 245, 239, 0.72));
}

.text-cover strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 54px 24px;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 31px;
  font-weight: 650;
  line-height: 1.08;
  text-align: center;
}

.wisdom-band {
  width: var(--container);
  margin: 0 auto;
  padding: 78px 0;
  display: grid;
  grid-template-columns: 0.72fr 0.7fr 0.9fr;
  gap: clamp(24px, 5vw, 68px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-card {
  min-height: 300px;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 245, 239, 0.82)),
    url("/assets/images/tree.webp") right bottom / 190px auto no-repeat;
}

.daily-card span,
.daily-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.daily-card p {
  margin: 18px 0 20px;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.1;
}

.topic-panel {
  padding: 26px;
  border-left: 1px solid var(--line);
}

.topic-panel h3 {
  margin: 0;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 38px;
  font-weight: 650;
}

.topic-panel p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.topic-list {
  display: grid;
  gap: 9px;
}

.topic-list a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(230, 221, 207, 0.86);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topic-list a::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(201, 161, 92, 0.46);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(209, 176, 106, 0.62) 0 3px, transparent 4px),
    conic-gradient(from 45deg, rgba(138, 154, 122, 0.28), rgba(209, 176, 106, 0.32), rgba(216, 155, 151, 0.18), rgba(138, 154, 122, 0.28));
}

.topic-list a:hover {
  border-color: rgba(209, 176, 106, 0.72);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
}

.meditation-mockup {
  position: relative;
  min-height: 650px;
}

.ai-showcase {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 64% 28%, rgba(209, 176, 106, 0.18), transparent 17rem),
    radial-gradient(circle at 24% 72%, rgba(79, 97, 72, 0.13), transparent 18rem);
  box-shadow: none;
}

.ai-main-screen {
  width: min(330px, 70vw);
  height: 668px;
  margin-left: auto;
}

.ai-floating-card {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: 238px;
  height: 482px;
  transform: rotate(-5deg);
  border-radius: 38px;
}

.premium-band {
  display: grid;
  grid-template-columns: 0.66fr 1fr;
  gap: 54px;
  padding: 66px calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
  background:
    linear-gradient(135deg, rgba(37, 51, 34, 0.98), rgba(79, 97, 72, 0.94)),
    url("/assets/images/book_bg.webp") center / cover;
  color: white;
}

.premium-band .section-mark,
.premium-copy h2 {
  color: #ead39b;
}

.premium-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(209, 176, 106, 0.32);
}

.premium-grid article {
  padding: 28px;
  border-right: 1px solid rgba(209, 176, 106, 0.32);
}

.premium-grid span {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(234, 211, 155, 0.46);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 176, 106, 0.5), transparent 60%);
}

.premium-grid h3 {
  margin: 0;
  color: #ead39b;
  font-size: 15px;
  line-height: 1.25;
}

.premium-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.legal-preview {
  width: var(--container);
  margin: 78px auto 0;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 44px;
  padding: 34px;
  border: 1px solid rgba(209, 176, 106, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
}

.legal-preview h2 {
  max-width: 650px;
  font-size: clamp(36px, 4vw, 58px);
}

.legal-links {
  display: grid;
  gap: 10px;
}

.legal-links a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(248, 245, 239, 0.78);
  color: var(--primary-deep);
  font-weight: 900;
  text-decoration: none;
}

.legal-links a::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.trust-section {
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0;
  text-align: center;
}

.trust-section h2 {
  font-size: clamp(40px, 4vw, 60px);
}

.trust-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.trust-grid article {
  min-height: 178px;
  padding: 24px;
}

.trust-grid h3 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 15px;
  font-weight: 900;
}

.trust-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-shell,
.support-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 82px 0 78px;
}

.legal-hero {
  max-width: 900px;
  padding: 58px 0 46px;
}

.legal-hero span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.legal-hero h1,
.support-hero h1 {
  margin-top: 12px;
  font-size: clamp(58px, 7vw, 104px);
}

.legal-hero p,
.support-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.legal-card {
  width: 100%;
  max-width: 1180px;
  padding: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(circle at 94% 4%, rgba(209, 176, 106, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 245, 239, 0.91));
}

.legal-card section + section {
  margin-top: 34px;
}

.legal-card h2 {
  margin: 0 0 8px;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 35px;
  font-weight: 650;
  line-height: 1.08;
}

.legal-card p {
  margin: 0;
  color: #4f574d;
  font-weight: 680;
}

.legal-section-body {
  color: #4f574d;
  font-weight: 680;
}

.legal-section-body p + p,
.legal-section-body p + ul,
.legal-section-body ul + p {
  margin-top: 14px;
}

.legal-section-body ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

.legal-section-body li + li {
  margin-top: 10px;
}

.legal-section-body li::marker {
  color: var(--gold-deep);
}

.legal-card a,
.faq-list a {
  color: var(--primary);
  font-weight: 900;
}

.support-hero {
  display: grid;
  grid-template-columns: 0.95fr 0.72fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 48px 0 64px;
}

.support-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(209, 176, 106, 0.38);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.support-image img {
  object-fit: cover;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-grid article {
  min-height: 282px;
  padding: 28px;
}

.support-grid h2 {
  margin: 0;
  color: var(--primary-deep);
  font-family: var(--font-display), Georgia, serif;
  font-size: 39px;
  font-weight: 650;
  line-height: 1.06;
}

.support-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.faq-section {
  margin-top: 72px;
}

.faq-section h2 {
  font-size: clamp(44px, 4.6vw, 72px);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  min-height: 44px;
  color: var(--primary-deep);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 42px calc((100vw - min(1180px, calc(100vw - 40px))) / 2);
  background:
    linear-gradient(90deg, rgba(37, 51, 34, 0.97), rgba(37, 51, 34, 0.9)),
    url("/assets/images/tree.webp") left bottom / 290px auto no-repeat;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand strong {
  color: #ead39b;
  font-family: var(--font-display), Georgia, serif;
  font-size: 34px;
  font-weight: 650;
}

.footer-brand p,
.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(209, 176, 106, 0.78);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(209, 176, 106, 0.32);
    border-radius: 10px;
    background: rgba(9, 17, 11, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
  }

  .site-nav.open a {
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 12px;
  }

  .hero-shell,
  .library-band,
  .meditation-band,
  .premium-band,
  .legal-preview,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .device-composition {
    min-height: 590px;
  }

  .feature-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-rail article:nth-child(3) {
    border-right: 0;
  }

  .feature-rail article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .wisdom-band,
  .premium-grid,
  .trust-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-band {
    padding-left: 20px;
    padding-right: 20px;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    width: calc(100vw - 24px);
    margin-top: 10px;
  }

  .brand span {
    font-size: 28px;
  }

  .hero {
    margin-top: -64px;
    padding-top: 132px;
  }

  .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(45px, 12.4vw, 55px);
    line-height: 1.12;
    letter-spacing: 0.035em;
  }

  .hero-kicker {
    max-width: 340px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-copy p {
    max-width: 330px;
    margin-top: 24px;
    font-size: 19px !important;
  }

  .hero-copy p,
  .section-copy p,
  .wisdom-copy p,
  .premium-copy p,
  .legal-hero p,
  .support-hero p {
    font-size: 16px;
  }

  .device-composition {
    min-height: 540px;
  }

  .main-device {
    height: 540px;
  }

  .hero-proof-card,
  .hero-signal-card {
    display: none;
  }

  .mini-panel {
    width: min(255px, 84vw);
  }

  .panel-library {
    top: 28px;
    left: -2px;
  }

  .panel-wisdom {
    right: -2px;
    bottom: 22px;
  }

  .feature-rail,
  .wisdom-band,
  .premium-grid,
  .trust-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .feature-rail article,
  .feature-rail article:nth-child(3) {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 24px 10px;
  }

  .feature-rail article:first-child {
    border-top: 0;
  }

  .library-band,
  .meditation-band,
  .wisdom-band,
  .trust-section,
  .legal-shell,
  .support-shell {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .meditation-band .section-copy {
    order: -1;
  }

  .reader-mockup {
    grid-template-columns: 1fr;
  }

  .reader-phone {
    min-height: 380px;
  }

  .text-cover {
    min-height: 230px;
  }

  .topic-panel {
    padding: 0;
    border-left: 0;
  }

  .meditation-mockup {
    height: 268px;
    border-radius: 34px;
  }

  .premium-grid {
    border-left: 0;
  }

  .premium-grid article {
    border-right: 0;
    border-top: 1px solid rgba(209, 176, 106, 0.32);
    padding: 22px 0;
  }

  .legal-preview {
    padding: 24px;
  }

  .support-image {
    min-height: 360px;
  }

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

/* Bodhi full art direction refresh */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(209, 176, 106, 0.2), transparent 24rem),
    radial-gradient(circle at 86% 22%, rgba(216, 155, 151, 0.13), transparent 21rem),
    linear-gradient(180deg, #fbf3e6 0%, #f7ead6 38%, #fff9ef 100%);
}

.site-header {
  border-color: rgba(238, 205, 134, 0.26);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(8, 15, 9, 0.9), rgba(29, 28, 17, 0.72));
  box-shadow: 0 22px 70px rgba(11, 8, 4, 0.25);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(209, 176, 106, 0.28));
}

.brand span {
  color: #fff2d3;
  letter-spacing: 0.01em;
}

.site-nav a {
  color: rgba(255, 244, 220, 0.78);
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #f0d28a;
}

.header-cta,
.hero .button-primary,
.button-gold {
  color: #2c1a08;
  background: linear-gradient(135deg, #fff2bd 0%, #ddb260 60%, #a96b2c 100%);
  box-shadow: 0 18px 42px rgba(190, 129, 55, 0.3);
}

.button,
.header-cta {
  border-radius: 14px;
  cursor: pointer;
}

.hero {
  min-height: 900px;
  padding: 154px 0 84px;
}

.hero-shell {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.68fr);
  gap: clamp(26px, 5vw, 82px);
}

.hero-copy {
  padding-top: 36px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(60px, 5.9vw, 90px);
  line-height: 1.12;
  letter-spacing: 0.055em;
}

.hero-copy p {
  position: relative;
  margin-top: 28px;
  padding-top: 26px;
}

.hero-copy p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 118px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e4bd6b, transparent);
}

.hero-actions {
  margin-top: 30px;
}

.hero .button {
  min-height: 58px;
  padding-inline: 30px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.hero .button-soft {
  color: #ffe8ba;
  border-color: rgba(237, 205, 134, 0.42);
  background: rgba(34, 18, 6, 0.38);
}

.device-composition {
  min-height: 700px;
}

.sanctuary-plaque {
  inset: 50px 2% 70px 16%;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 239, 197, 0.26), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 42% 16%, rgba(248, 213, 139, 0.18), transparent 18rem);
}

.main-device {
  width: min(388px, 80vw);
  height: 684px;
}

.feature-rail {
  width: min(1120px, calc(100vw - 40px));
  margin-top: -34px;
  padding: 18px;
  border: 1px solid rgba(197, 154, 76, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(248, 233, 207, 0.86)),
    url("/assets/images/t_vector.webp") right center / 300px auto no-repeat;
  box-shadow: 0 28px 90px rgba(64, 43, 17, 0.12);
  transform: none;
}

.feature-rail article {
  min-height: 176px;
  padding: 22px 18px;
  border-color: rgba(197, 154, 76, 0.22);
}

.feature-icon {
  color: #c69645;
}

.feature-rail h2 {
  color: #273520;
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.feature-rail p {
  color: #656753;
  font-size: 13px;
}

.library-band,
.meditation-band {
  position: relative;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.library-band::before,
.meditation-band::before,
.wisdom-band::before {
  content: "";
  position: absolute;
  inset: 46px -34px;
  z-index: -1;
  border: 1px solid rgba(197, 154, 76, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 18%, rgba(209, 176, 106, 0.12), transparent 22rem),
    rgba(255, 248, 236, 0.52);
}

.section-mark {
  color: #bd8c38;
  letter-spacing: 0.24em;
}

.section-copy h2,
.wisdom-copy h2,
.premium-copy h2,
.legal-preview h2,
.trust-section h2 {
  color: #24331f;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1.02;
}

.section-copy p,
.wisdom-copy p,
.premium-copy p {
  color: #626753;
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  color: #29371f;
  letter-spacing: 0.02em;
}

.screen-phone,
.ai-floating-card,
.phone-frame {
  filter: drop-shadow(0 36px 70px rgba(67, 43, 18, 0.24));
}

.screen-cluster {
  min-height: 650px;
}

.screen-phone-large {
  width: min(350px, 70vw);
  height: 630px;
}

.screen-phone-small {
  width: 222px;
  height: 470px;
}

.wisdom-band {
  position: relative;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 94px 0;
  border: 0;
  display: grid;
  grid-template-columns: 0.78fr 0.72fr 0.86fr;
  gap: clamp(24px, 5vw, 62px);
}

.wisdom-band::before {
  inset: 28px -34px;
  background:
    linear-gradient(135deg, rgba(28, 44, 24, 0.96), rgba(59, 72, 43, 0.9)),
    url("/assets/images/tree.webp") right bottom / 330px auto no-repeat;
  box-shadow: 0 30px 100px rgba(34, 48, 28, 0.18);
}

.wisdom-band .section-mark,
.wisdom-copy h2,
.topic-panel h3,
.daily-card p {
  color: #f4dfab;
}

.wisdom-copy p,
.topic-panel p,
.daily-card span,
.daily-card small {
  color: rgba(255, 246, 226, 0.72);
}

.daily-card {
  border-color: rgba(239, 205, 134, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.09), rgba(255, 250, 239, 0.04)),
    url("/assets/images/lotus1.webp") right bottom / 210px auto no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.topic-panel {
  border-left-color: rgba(239, 205, 134, 0.22);
}

.topic-list a {
  border-color: rgba(239, 205, 134, 0.22);
  background: rgba(255, 250, 239, 0.08);
  color: #fff0c4;
  backdrop-filter: blur(14px);
}

.meditation-band {
  grid-template-columns: 1fr 0.82fr;
}

.ai-showcase {
  min-height: 650px;
  background:
    radial-gradient(circle at 32% 42%, rgba(209, 176, 106, 0.16), transparent 22rem),
    radial-gradient(circle at 72% 74%, rgba(216, 155, 151, 0.12), transparent 18rem);
}

.premium-band {
  grid-template-columns: 0.64fr 1fr;
  padding-block: 86px;
  background:
    linear-gradient(110deg, rgba(19, 28, 17, 0.96), rgba(64, 75, 43, 0.86)),
    url("/assets/generated/bodhi-sanctuary-hero.webp") center / cover;
}

.premium-grid {
  border-color: rgba(239, 205, 134, 0.22);
}

.premium-grid article {
  border-color: rgba(239, 205, 134, 0.22);
}

.legal-preview {
  border-radius: 26px;
  border-color: rgba(197, 154, 76, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 251, 244, 0.9), rgba(248, 233, 207, 0.78)),
    url("/assets/images/lotus1.webp") right bottom / 280px auto no-repeat;
}

.legal-links a,
.trust-grid article,
.reader-phone,
.text-cover,
.support-grid article,
.faq-list details,
.legal-card {
  border-radius: 18px;
  border-color: rgba(197, 154, 76, 0.22);
  background: rgba(255, 252, 246, 0.78);
}

.trust-section {
  padding-top: 88px;
}

.trust-grid {
  gap: 18px;
}

.trust-grid article {
  min-height: 168px;
  padding: 26px;
}

.trust-grid h3 {
  color: #2e3b25;
  font-family: var(--font-display), Georgia, serif;
  font-size: 24px;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(11, 18, 10, 0.98), rgba(35, 40, 24, 0.94)),
    url("/assets/images/tree.webp") left bottom / 300px auto no-repeat;
}

@media (max-width: 1080px) {
  .hero-shell,
  .library-band,
  .meditation-band,
  .premium-band,
  .legal-preview,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 16px;
  }

  .device-composition {
    min-height: 610px;
  }

  .wisdom-band {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 18px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-copy h1 {
    max-width: 350px;
    font-size: clamp(44px, 12vw, 56px);
    line-height: 1.12;
    letter-spacing: 0.035em;
  }

  .hero-copy p {
    max-width: 330px;
    margin-top: 22px;
    padding-top: 20px;
    font-size: 19px !important;
  }

  .hero-kicker {
    max-width: 340px;
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .hero .button {
    min-height: 58px;
    width: 100%;
  }

  .device-composition {
    min-height: 540px;
  }

  .main-device {
    height: 540px;
  }

  .feature-rail,
  .wisdom-band,
  .premium-grid,
  .trust-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .library-band,
  .meditation-band,
  .wisdom-band,
  .trust-section,
  .legal-shell,
  .support-shell {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .library-band::before,
  .meditation-band::before,
  .wisdom-band::before {
    inset: 24px -12px;
    border-radius: 24px;
  }

  .screen-cluster,
  .ai-showcase {
    min-height: 560px;
  }

  .screen-phone-large,
  .ai-main-screen {
    width: min(318px, 86vw);
    height: 570px;
  }

  .screen-phone-small,
  .ai-floating-card {
    width: 180px;
    height: 380px;
  }
}

/* Pull the cinematic hero behind the floating header so no body background strip appears at the top. */
.hero {
  margin-top: -120px;
  padding-top: 198px;
}

@media (max-width: 720px) {
  .hero {
    margin-top: -120px;
    padding-top: 182px;
  }
}

/* Section polish pass: make the rest of the homepage share the app's premium Bodhi aesthetic. */
.feature-rail {
  counter-reset: ritual-step;
  overflow: hidden;
}

.feature-rail article {
  position: relative;
  counter-increment: ritual-step;
  text-align: left;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.feature-rail article::before {
  content: "0" counter(ritual-step);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(189, 140, 56, 0.28);
  font-family: var(--font-display), Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.feature-rail article:hover {
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(197, 154, 76, 0.18);
}

.feature-icon {
  margin: 0 0 18px;
}

.library-band {
  grid-template-columns: 0.76fr 1.08fr;
}

.library-band::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(209, 176, 106, 0.16), transparent 22rem),
    radial-gradient(circle at 18% 84%, rgba(137, 153, 118, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.86), rgba(246, 229, 198, 0.62));
  box-shadow: 0 30px 110px rgba(74, 51, 19, 0.12);
}

.screen-cluster::before {
  content: "";
  position: absolute;
  inset: 80px 2% 50px 18%;
  border: 1px solid rgba(197, 154, 76, 0.22);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 50% 18%, rgba(209, 176, 106, 0.16), transparent 18rem);
  backdrop-filter: blur(18px);
}

.screen-phone,
.ai-floating-card,
.topic-screen {
  filter: drop-shadow(0 30px 68px rgba(67, 43, 18, 0.22));
}

.wisdom-band {
  grid-template-columns: 0.82fr 0.72fr 0.9fr;
  grid-template-rows: auto auto;
  align-items: center;
}

.wisdom-copy {
  grid-row: 1 / 3;
}

.daily-card {
  grid-column: 2;
  grid-row: 1;
}

.topic-panel {
  grid-column: 2;
  grid-row: 2;
}

.topic-mockup {
  position: relative;
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.topic-mockup::before {
  content: "";
  position: absolute;
  inset: 44px 8% 42px;
  border: 1px solid rgba(239, 205, 134, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 58% 16%, rgba(239, 205, 134, 0.18), transparent 18rem);
  backdrop-filter: blur(18px);
}

.topic-screen {
  position: relative;
  z-index: 2;
  width: min(350px, 76vw);
  height: 570px;
}

.topic-screen img {
  object-fit: contain;
  object-position: top center;
}

.topic-orbit-card {
  position: absolute;
  z-index: 3;
  min-width: 154px;
  padding: 14px 16px;
  border: 1px solid rgba(239, 205, 134, 0.26);
  border-radius: 16px;
  background: rgba(18, 30, 16, 0.72);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.topic-orbit-card span {
  display: block;
  color: rgba(255, 246, 226, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-orbit-card strong {
  display: block;
  margin-top: 4px;
  color: #f4dfab;
  font-family: var(--font-display), Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.topic-orbit-calm {
  left: 0;
  top: 92px;
}

.topic-orbit-compassion {
  right: 0;
  bottom: 108px;
}

.topic-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.meditation-band::before {
  background:
    radial-gradient(circle at 24% 24%, rgba(209, 176, 106, 0.14), transparent 20rem),
    radial-gradient(circle at 88% 72%, rgba(216, 155, 151, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.82), rgba(245, 228, 198, 0.54));
}

.ai-showcase::before {
  content: "";
  position: absolute;
  inset: 60px 6% 40px 22%;
  border: 1px solid rgba(197, 154, 76, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 60% 18%, rgba(209, 176, 106, 0.14), transparent 17rem);
  backdrop-filter: blur(18px);
}

.ai-main-screen,
.ai-floating-card {
  z-index: 2;
}

.premium-band {
  position: relative;
  overflow: hidden;
}

.premium-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(239, 205, 134, 0.16), transparent 22rem),
    linear-gradient(90deg, rgba(16, 25, 13, 0.92), rgba(16, 25, 13, 0.48));
}

.premium-copy,
.premium-grid {
  position: relative;
  z-index: 1;
}

.premium-grid {
  gap: 0;
  border-left: 1px solid rgba(239, 205, 134, 0.24);
}

.premium-grid article {
  min-height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.legal-preview {
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(74, 51, 19, 0.12);
}

.legal-links a {
  min-height: 64px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.legal-links a:hover {
  border-color: rgba(197, 154, 76, 0.45);
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(4px);
}

.trust-section {
  position: relative;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 24px 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 154, 76, 0.36), transparent);
}

.trust-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 232, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.12), transparent 10rem);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.trust-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(74, 51, 19, 0.12);
}

@media (max-width: 1080px) {
  .wisdom-band {
    grid-template-columns: 1fr 1fr;
  }

  .wisdom-copy {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .daily-card,
  .topic-panel,
  .topic-mockup {
    grid-column: auto;
    grid-row: auto;
  }

  .topic-mockup {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .feature-rail article {
    text-align: left;
  }

  .library-band,
  .meditation-band {
    gap: 20px;
  }

  .screen-cluster::before,
  .ai-showcase::before {
    inset: 58px 2% 36px;
  }

  .wisdom-band {
    grid-template-columns: 1fr;
  }

  .topic-mockup {
    min-height: 560px;
  }

  .topic-screen {
    width: min(318px, 86vw);
    height: 520px;
  }

  .topic-orbit-card {
    display: none;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .legal-preview {
    border-radius: 22px;
  }
}

/* Final section art direction: cinematic, premium, and screenshot-led below the hero. */
.feature-rail {
  margin-top: -54px;
  padding: 12px;
  border-color: rgba(238, 211, 151, 0.22);
  background:
    linear-gradient(135deg, rgba(13, 24, 12, 0.9), rgba(46, 62, 35, 0.78)),
    radial-gradient(circle at 12% 0%, rgba(237, 203, 128, 0.22), transparent 20rem);
  box-shadow: 0 34px 96px rgba(26, 23, 12, 0.22);
}

.feature-rail article {
  min-height: 188px;
  padding: 28px 22px 24px;
  border-right-color: rgba(238, 211, 151, 0.16);
  background: transparent;
}

.feature-rail article::before {
  top: 22px;
  right: 22px;
  color: rgba(237, 203, 128, 0.2);
  font-size: 46px;
}

.feature-rail article:hover {
  background:
    linear-gradient(180deg, rgba(255, 246, 226, 0.1), rgba(255, 246, 226, 0.03)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(237, 203, 128, 0.2);
}

.feature-icon {
  color: #e5c87f;
}

.feature-rail h2 {
  color: #fff5dd;
}

.feature-rail p {
  color: rgba(255, 247, 230, 0.7);
}

.library-band {
  position: relative;
  margin-top: 52px;
  padding-top: 104px;
  padding-bottom: 104px;
}

.library-band .section-copy,
.screen-cluster {
  position: relative;
  z-index: 1;
}

.screen-cluster::before {
  inset: 64px 0 46px 24%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 28%, rgba(239, 205, 134, 0.22), transparent 17rem),
    radial-gradient(circle at 50% 70%, rgba(94, 116, 76, 0.12), transparent 18rem);
  backdrop-filter: none;
}

.screen-phone-large {
  transform: rotate(-1.2deg);
}

.screen-offset-high {
  right: 8px;
  top: 10px;
  transform: rotate(4.6deg) scale(0.96);
}

.screen-offset-low {
  right: 24px;
  bottom: 8px;
  transform: rotate(-4.2deg) scale(0.96);
}

.wisdom-band {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 18px 0 0;
  padding: 118px max(34px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 0.74fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 4.7vw, 72px);
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 18, 9, 0.94), rgba(21, 34, 17, 0.86) 42%, rgba(54, 62, 35, 0.58)),
    radial-gradient(circle at 75% 25%, rgba(239, 205, 134, 0.25), transparent 22rem),
    url("/assets/images/boddha2.webp") center / cover no-repeat;
  color: #fff7e7;
}

.wisdom-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(13, 24, 12, 0.14), rgba(13, 24, 12, 0.5)),
    radial-gradient(circle at 44% 88%, rgba(216, 155, 151, 0.13), transparent 21rem);
  opacity: 1;
}

.wisdom-band::after {
  content: "";
  position: absolute;
  inset: 38px max(24px, calc((100vw - 1210px) / 2));
  z-index: -1;
  border: 1px solid rgba(239, 205, 134, 0.18);
  border-radius: 28px;
  pointer-events: none;
}

.wisdom-band .section-mark,
.wisdom-copy h2,
.daily-card p,
.topic-panel h3 {
  color: #f2ddb0;
}

.wisdom-copy p {
  color: rgba(255, 247, 230, 0.74);
}

.wisdom-copy .text-link {
  color: #f4dfab;
}

.daily-card {
  min-height: 336px;
  border-color: rgba(239, 205, 134, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.12), rgba(255, 248, 232, 0.055)),
    radial-gradient(circle at 100% 100%, rgba(239, 205, 134, 0.13), transparent 12rem);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.daily-card span,
.daily-card small {
  color: rgba(255, 247, 230, 0.62);
}

.topic-panel {
  padding: 30px;
  border: 1px solid rgba(239, 205, 134, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.1), rgba(255, 248, 232, 0.045)),
    rgba(9, 18, 9, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.topic-panel p {
  color: rgba(255, 247, 230, 0.68);
}

.topic-list a {
  border-color: rgba(239, 205, 134, 0.18);
  background: rgba(255, 247, 230, 0.065);
  color: #fff6df;
}

.topic-list a:hover {
  border-color: rgba(239, 205, 134, 0.42);
  background: rgba(255, 247, 230, 0.12);
}

.topic-mockup {
  min-height: 690px;
  align-self: center;
}

.topic-mockup::before {
  inset: 24px 13% 42px;
  border: 1px solid rgba(239, 205, 134, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 205, 134, 0.2), transparent 18rem),
    radial-gradient(circle at 50% 74%, rgba(255, 247, 230, 0.1), transparent 15rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 230, 0.055),
    0 34px 110px rgba(0, 0, 0, 0.24);
  backdrop-filter: none;
}

.topic-screen {
  width: min(410px, 78vw);
  height: 660px;
  transform: rotate(2.2deg);
  filter: drop-shadow(0 38px 72px rgba(0, 0, 0, 0.34));
}

.topic-orbit-card {
  border-color: rgba(239, 205, 134, 0.28);
  background: rgba(11, 22, 10, 0.78);
}

.topic-orbit-calm {
  left: 2px;
  top: 122px;
}

.topic-orbit-compassion {
  right: -2px;
  bottom: 132px;
}

.meditation-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 112px max(34px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(420px, 1fr) minmax(300px, 0.76fr);
  overflow: hidden;
  background:
    linear-gradient(180deg, #fbf4e9 0%, #f6ead3 58%, #fbf4e9 100%);
}

.meditation-band::before {
  background:
    radial-gradient(circle at 24% 30%, rgba(209, 176, 106, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 66%, rgba(138, 154, 122, 0.18), transparent 24rem);
}

.meditation-band .section-copy {
  position: relative;
  z-index: 2;
}

.ai-showcase {
  min-height: 710px;
  background: transparent;
}

.ai-showcase::before {
  inset: 42px 8% 44px 17%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 52% 30%, rgba(209, 176, 106, 0.18), transparent 17rem),
    radial-gradient(circle at 36% 76%, rgba(216, 155, 151, 0.11), transparent 15rem);
  backdrop-filter: none;
}

.ai-main-screen {
  width: min(350px, 70vw);
  height: 708px;
  margin-left: 38%;
  transform: rotate(2.2deg);
}

.ai-floating-card {
  left: 6%;
  bottom: 54px;
  width: 252px;
  height: 510px;
  transform: rotate(-5.4deg);
}

.premium-band {
  padding-top: 90px;
  padding-bottom: 90px;
  background:
    linear-gradient(105deg, rgba(9, 18, 9, 0.96), rgba(29, 42, 21, 0.86) 52%, rgba(82, 71, 37, 0.72)),
    url("/assets/images/book_bg.webp") center / cover;
}

.premium-grid article {
  position: relative;
  overflow: hidden;
}

.premium-grid article::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 205, 134, 0.42), transparent);
}

.legal-preview {
  margin-top: 92px;
  padding: 42px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 231, 0.68)),
    radial-gradient(circle at 95% 0%, rgba(209, 176, 106, 0.14), transparent 16rem);
}

.trust-section {
  padding-top: 92px;
  padding-bottom: 96px;
}

.trust-grid article {
  border-radius: 18px;
}

@media (max-width: 1080px) {
  .feature-rail {
    margin-top: -36px;
  }

  .wisdom-band {
    padding: 92px max(24px, calc((100vw - 760px) / 2));
    grid-template-columns: 1fr 1fr;
  }

  .wisdom-copy {
    grid-column: 1 / -1;
  }

  .topic-mockup {
    grid-column: 1 / -1;
    min-height: 650px;
  }

  .topic-screen {
    width: min(390px, 74vw);
    height: 630px;
  }

  .topic-orbit-calm {
    left: 12%;
  }

  .topic-orbit-compassion {
    right: 12%;
  }

  .meditation-band {
    grid-template-columns: 1fr;
  }

  .ai-main-screen {
    margin-left: 42%;
  }
}

@media (max-width: 720px) {
  .feature-rail {
    margin-top: -26px;
    padding: 10px;
  }

  .feature-rail article {
    min-height: auto;
    padding: 22px 18px;
  }

  .library-band {
    margin-top: 34px;
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .reader-mockup {
    width: 100%;
    max-width: 350px;
    min-height: 560px;
    margin: 0 auto;
  }

  .screen-phone-large {
    width: min(315px, 82vw);
    height: 566px;
    margin: 0 auto;
    transform: rotate(-1deg);
  }

  .screen-phone-small {
    width: 176px;
    height: 378px;
  }

  .screen-offset-high {
    right: -4px;
    top: 36px;
    transform: rotate(4deg) scale(0.9);
  }

  .screen-offset-low {
    right: 10px;
    bottom: 34px;
    transform: rotate(-4deg) scale(0.9);
  }

  .screen-cluster::before,
  .ai-showcase::before {
    inset: 48px 7% 40px;
    border-radius: 999px;
  }

  .wisdom-band {
    margin-top: 0;
    padding: 76px 20px 84px;
    grid-template-columns: 1fr;
    gap: 22px;
    scroll-margin-top: 154px;
  }

  .wisdom-band::after {
    inset: 18px 14px;
    border-radius: 22px;
  }

  .daily-card {
    order: 3;
    min-height: 270px;
    padding: 26px;
  }

  .daily-card p {
    font-size: 30px;
  }

  .topic-panel {
    order: 4;
    padding: 24px;
  }

  .topic-mockup {
    order: 2;
    min-height: 555px;
  }

  .topic-mockup::before {
    inset: 30px 6% 36px;
  }

  .topic-screen {
    width: min(330px, 88vw);
    height: 535px;
    transform: rotate(1.2deg);
  }

  .meditation-band {
    padding: 78px 20px 86px;
  }

  .ai-showcase {
    min-height: 575px;
    order: 2;
  }

  .ai-main-screen {
    width: min(304px, 78vw);
    height: 616px;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(1.5deg);
  }

  .ai-floating-card {
    left: 0;
    bottom: 26px;
    width: 196px;
    height: 398px;
  }

  .premium-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .legal-preview {
    margin-top: 70px;
    padding: 28px;
  }
}

/* Premium section rebuild: editorial, screenshot-led, and calmer than the previous card stack. */
.library-band {
  width: 100%;
  max-width: none;
  margin: 28px 0 0;
  padding: 118px max(34px, calc((100vw - 1180px) / 2)) 126px;
  grid-template-columns: minmax(300px, 0.7fr) minmax(540px, 1.15fr);
  gap: clamp(42px, 6vw, 104px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(209, 176, 106, 0.18), transparent 24rem),
    radial-gradient(circle at 20% 88%, rgba(93, 113, 73, 0.12), transparent 22rem),
    linear-gradient(180deg, #fbf4e8 0%, #f5ead5 100%);
}

.library-band::before {
  inset: 44px max(20px, calc((100vw - 1240px) / 2));
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 88% 34%, rgba(255, 245, 217, 0.52), transparent 22rem);
  box-shadow: 0 42px 120px rgba(74, 51, 19, 0.12);
}

.library-band .section-copy {
  max-width: 470px;
}

.library-band .section-copy h2 {
  color: #243020;
  font-size: clamp(52px, 5.7vw, 88px);
  line-height: 0.92;
}

.library-band .section-copy p {
  color: #596051;
}

.library-showcase {
  position: relative;
  min-height: 760px;
  display: block;
  isolation: isolate;
}

.library-aura {
  position: absolute;
  inset: 60px 0 36px 10%;
  z-index: -1;
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 55% 35%, rgba(240, 211, 141, 0.24), transparent 18rem),
    radial-gradient(circle at 48% 68%, rgba(75, 96, 61, 0.13), transparent 19rem);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.26);
}

.library-phone {
  position: absolute;
  overflow: visible;
  filter: drop-shadow(0 38px 78px rgba(47, 35, 15, 0.24));
}

.library-phone img {
  object-fit: contain;
}

.library-phone-main {
  right: 2%;
  top: 16px;
  z-index: 2;
  width: min(370px, 42vw);
  height: 748px;
  transform: rotate(3deg);
}

.library-phone-reader {
  left: 5%;
  top: 98px;
  z-index: 3;
  width: min(330px, 38vw);
  height: 668px;
  transform: rotate(-4.5deg);
}

.library-phone-cover {
  right: 43%;
  bottom: 18px;
  z-index: 4;
  width: 214px;
  height: 432px;
  transform: rotate(-1deg);
}

.library-note {
  position: absolute;
  right: 2%;
  bottom: 72px;
  z-index: 5;
  width: min(270px, 42vw);
  padding: 18px 20px;
  border: 1px solid rgba(239, 205, 134, 0.28);
  border-radius: 18px;
  background: rgba(19, 31, 16, 0.82);
  box-shadow: 0 26px 70px rgba(29, 26, 13, 0.26);
  backdrop-filter: blur(18px);
}

.library-note span,
.footer-download span {
  display: block;
  color: rgba(244, 223, 171, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.library-note strong {
  display: block;
  margin-top: 6px;
  color: #fff4d9;
  font-family: var(--font-display), Georgia, serif;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.02;
}

.wisdom-band {
  margin: 0;
  padding: 118px max(34px, calc((100vw - 1180px) / 2));
  grid-template-columns: minmax(280px, 0.78fr) minmax(340px, 0.9fr) minmax(330px, 0.8fr);
  gap: clamp(30px, 5vw, 78px);
  background:
    radial-gradient(circle at 72% 22%, rgba(209, 176, 106, 0.15), transparent 24rem),
    linear-gradient(180deg, #10200f 0%, #182717 54%, #f8efdc 54%, #fbf4e8 100%);
  color: #fff4d8;
}

.wisdom-band::before {
  background:
    linear-gradient(90deg, rgba(6, 13, 6, 0.9), rgba(19, 32, 16, 0.72)),
    url("/assets/images/tree.webp") left bottom / 520px auto no-repeat;
  opacity: 0.72;
}

.wisdom-band::after {
  inset: 44px max(20px, calc((100vw - 1230px) / 2)) auto;
  height: 52%;
  border-color: rgba(239, 205, 134, 0.22);
}

.wisdom-copy {
  align-self: start;
  padding-top: 24px;
}

.wisdom-copy h2 {
  max-width: 560px;
  color: #f4dfab;
  font-size: clamp(54px, 6vw, 92px);
  line-height: 0.9;
}

.wisdom-copy p {
  color: rgba(255, 247, 226, 0.72);
}

.daily-card {
  min-height: 470px;
  padding: 40px;
  align-self: center;
  border: 1px solid rgba(239, 205, 134, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 247, 229, 0.12), rgba(255, 247, 229, 0.045)),
    radial-gradient(circle at 94% 4%, rgba(239, 205, 134, 0.18), transparent 16rem);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.24);
}

.daily-card p {
  margin-top: 32px;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 0.98;
}

.daily-card small {
  display: block;
  margin-top: 28px;
}

.topic-panel {
  align-self: end;
  padding: 34px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 232, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.14), transparent 12rem);
  box-shadow: 0 30px 90px rgba(74, 51, 19, 0.14);
}

.topic-panel h3 {
  color: #243020;
  font-size: 44px;
}

.topic-panel p {
  color: #596051;
}

.topic-list a {
  border-color: rgba(144, 113, 55, 0.17);
  background: rgba(255, 255, 255, 0.68);
  color: #253322;
}

.topic-mockup {
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 690px;
}

.topic-mockup::before {
  inset: 56px 5% 34px;
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 205, 134, 0.18), transparent 18rem),
    radial-gradient(circle at 48% 78%, rgba(255, 247, 230, 0.26), transparent 16rem);
}

.premium-band {
  grid-template-columns: minmax(340px, 0.72fr) minmax(480px, 1fr);
  padding-top: 118px;
  padding-bottom: 118px;
  background:
    linear-gradient(105deg, rgba(4, 10, 4, 0.97), rgba(20, 34, 16, 0.9) 54%, rgba(85, 73, 35, 0.7)),
    url("/assets/images/book_bg.webp") center / cover;
}

.premium-band::before {
  background:
    radial-gradient(circle at 74% 26%, rgba(239, 205, 134, 0.2), transparent 24rem),
    linear-gradient(90deg, rgba(4, 10, 4, 0.9), rgba(12, 23, 10, 0.5));
}

.premium-copy h2 {
  max-width: 600px;
  color: #f4dfab;
  font-size: clamp(56px, 6vw, 98px);
  line-height: 0.9;
}

.premium-copy p {
  color: rgba(255, 247, 230, 0.74);
}

.premium-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(239, 205, 134, 0.22);
  border-radius: 26px;
  padding: 12px;
  background: rgba(255, 247, 226, 0.06);
  backdrop-filter: blur(18px);
}

.premium-grid article {
  min-height: 236px;
  padding: 30px;
  border: 1px solid rgba(239, 205, 134, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 247, 226, 0.09), rgba(255, 247, 226, 0.025)),
    radial-gradient(circle at 100% 0%, rgba(239, 205, 134, 0.1), transparent 12rem);
}

.premium-grid span {
  width: auto;
  height: auto;
  margin-bottom: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 223, 171, 0.56);
  font-family: var(--font-display), Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.premium-grid h3 {
  color: #f4dfab;
  font-family: var(--font-display), Georgia, serif;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.02;
}

.premium-grid p {
  color: rgba(255, 247, 230, 0.72);
  font-size: 14px;
}

.legal-preview {
  width: min(1180px, calc(100vw - 40px));
  margin-top: 104px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1fr);
  padding: 48px;
  border: 1px solid rgba(144, 113, 55, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 231, 0.72)),
    radial-gradient(circle at 92% 0%, rgba(209, 176, 106, 0.18), transparent 18rem);
}

.legal-preview h2 {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 0.94;
}

.legal-links {
  gap: 12px;
}

.legal-links a {
  min-height: 116px;
  display: block;
  padding: 22px 24px;
  border-color: rgba(144, 113, 55, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 249, 236, 0.76));
}

.legal-links a::after {
  display: none;
}

.legal-links a span {
  display: block;
  color: #253322;
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
  font-weight: 650;
  line-height: 1;
}

.legal-links a small {
  display: block;
  margin-top: 10px;
  color: #62695f;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.faq-section {
  position: relative;
  margin-top: 92px;
  padding: 70px;
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 231, 0.7)),
    radial-gradient(circle at 0% 0%, rgba(209, 176, 106, 0.14), transparent 18rem);
  box-shadow: 0 30px 100px rgba(74, 51, 19, 0.12);
}

.faq-heading {
  max-width: 780px;
}

.faq-heading h2 {
  margin: 0;
  color: #253322;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 650;
  line-height: 0.94;
}

.faq-heading p {
  max-width: 590px;
  margin: 18px 0 0;
  color: #62695f;
  font-weight: 750;
}

.faq-list {
  margin-top: 34px;
  gap: 10px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.faq-list summary {
  padding: 22px 26px;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  float: right;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(144, 113, 55, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(#253322, #253322) center / 12px 2px no-repeat,
    linear-gradient(#253322, #253322) center / 2px 12px no-repeat;
}

.faq-list details[open] summary::after {
  background: linear-gradient(#253322, #253322) center / 12px 2px no-repeat;
}

.faq-list p {
  margin: 0;
  padding: 0 26px 24px;
}

.site-footer {
  position: relative;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  padding-top: 62px;
  padding-bottom: 62px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 12, 5, 0.98), rgba(21, 34, 16, 0.94)),
    url("/assets/images/tree.webp") left bottom / 320px auto no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 18px max(20px, calc((100vw - 1220px) / 2));
  border: 1px solid rgba(239, 205, 134, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-download {
  min-width: 230px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 205, 134, 0.2);
  border-radius: 16px;
  background: rgba(255, 247, 226, 0.055);
}

.footer-download a {
  min-height: 36px;
  margin-top: 4px;
  color: #f4dfab;
  font-family: var(--font-display), Georgia, serif;
  font-size: 26px;
  font-weight: 650;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(239, 205, 134, 0.12);
  color: rgba(255, 247, 230, 0.5);
}

@media (max-width: 1080px) {
  .library-band,
  .premium-band,
  .legal-preview {
    grid-template-columns: 1fr;
  }

  .library-showcase {
    min-height: 700px;
  }

  .wisdom-band {
    grid-template-columns: 1fr 1fr;
    background:
      linear-gradient(180deg, #10200f 0%, #182717 62%, #f8efdc 62%, #fbf4e8 100%);
  }

  .topic-mockup {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

@media (max-width: 720px) {
  .library-band {
    padding: 76px 20px 88px;
  }

  .library-band::before {
    inset: 20px 12px;
    border-radius: 24px;
  }

  .library-showcase {
    min-height: 610px;
  }

  .library-aura {
    inset: 44px 4% 34px;
  }

  .library-phone-main {
    right: 50%;
    top: 20px;
    width: 300px;
    height: 608px;
    transform: translateX(50%) rotate(2deg);
  }

  .library-phone-reader {
    left: 0;
    top: 132px;
    width: 245px;
    height: 496px;
    transform: rotate(-5deg);
  }

  .library-phone-cover {
    right: 0;
    bottom: 36px;
    width: 156px;
    height: 316px;
  }

  .library-note {
    left: 18px;
    right: 18px;
    bottom: 0;
    width: auto;
  }

  .wisdom-band {
    padding: 76px 20px 86px;
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, #10200f 0%, #182717 68%, #f8efdc 68%, #fbf4e8 100%);
  }

  .wisdom-copy h2 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .daily-card {
    order: 2;
    min-height: 360px;
    padding: 30px;
  }

  .daily-card p {
    font-size: 38px;
  }

  .topic-mockup {
    order: 3;
    min-height: 560px;
  }

  .topic-panel {
    order: 4;
    padding: 28px;
  }

  .topic-panel h3 {
    font-size: 38px;
  }

  .premium-band {
    padding: 82px 20px;
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-grid article {
    min-height: 210px;
  }

  .legal-preview {
    width: calc(100vw - 40px);
    padding: 30px;
  }

  .legal-links a {
    min-height: 132px;
  }

  .faq-section {
    padding: 34px 20px;
    border-radius: 22px;
  }

  .site-footer {
    padding: 48px 20px;
  }
}

/* Daily reflection repair: remove the heavy dark block and let the app visuals breathe. */
.wisdom-band {
  margin: 0;
  padding: 112px max(34px, calc((100vw - 1180px) / 2)) 124px;
  grid-template-columns: minmax(380px, 1.02fr) minmax(300px, 0.78fr) minmax(300px, 0.76fr);
  gap: clamp(28px, 4.2vw, 68px);
  align-items: center;
  background:
    radial-gradient(circle at 22% 28%, rgba(209, 176, 106, 0.18), transparent 24rem),
    radial-gradient(circle at 86% 78%, rgba(138, 154, 122, 0.16), transparent 22rem),
    linear-gradient(180deg, #fbf4e8 0%, #f5ead5 100%);
  color: #253322;
}

.wisdom-band::before {
  background:
    url("/assets/images/lotus1.webp") right bottom / 560px auto no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  opacity: 0.18;
}

.wisdom-band::after {
  inset: 42px max(20px, calc((100vw - 1230px) / 2));
  height: auto;
  border-color: rgba(144, 113, 55, 0.18);
  border-radius: 30px;
}

.wisdom-copy {
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: end;
  padding-top: 0;
}

.wisdom-copy .section-mark {
  color: #bd8734;
}

.wisdom-copy h2 {
  max-width: 680px;
  color: #253322;
  font-size: clamp(52px, 5.4vw, 86px);
  line-height: 0.92;
}

.wisdom-copy p {
  max-width: 520px;
  color: #62695f;
}

.wisdom-copy .text-link {
  color: #253322;
}

.topic-mockup {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 690px;
  align-self: center;
}

.topic-mockup::before {
  inset: 54px 4% 42px;
  border-color: rgba(144, 113, 55, 0.2);
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 205, 134, 0.2), transparent 18rem),
    radial-gradient(circle at 50% 76%, rgba(255, 255, 255, 0.42), transparent 17rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 34px 90px rgba(74, 51, 19, 0.13);
}

.topic-screen {
  width: min(392px, 76vw);
  height: 640px;
  transform: rotate(-2deg);
  filter: drop-shadow(0 34px 72px rgba(74, 51, 19, 0.22));
}

.topic-orbit-card {
  border-color: rgba(144, 113, 55, 0.22);
  background: rgba(255, 249, 236, 0.86);
  box-shadow: 0 24px 60px rgba(74, 51, 19, 0.14);
}

.topic-orbit-card span {
  color: #8d6c32;
}

.topic-orbit-card strong {
  color: #253322;
}

.daily-card {
  grid-column: 2;
  grid-row: 2;
  min-height: 350px;
  padding: 34px;
  align-self: stretch;
  border-color: rgba(144, 113, 55, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 247, 232, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.14), transparent 14rem);
  box-shadow: 0 28px 80px rgba(74, 51, 19, 0.12);
  backdrop-filter: none;
}

.daily-card span,
.daily-card small {
  color: #7b7f70;
}

.daily-card p {
  margin-top: 22px;
  color: #253322;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.02;
}

.topic-panel {
  grid-column: 3;
  grid-row: 2;
  align-self: stretch;
  padding: 34px;
  border: 1px solid rgba(144, 113, 55, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 232, 0.72));
}

.topic-panel h3 {
  color: #253322;
  font-size: 40px;
}

.topic-panel p {
  color: #62695f;
}

@media (max-width: 1080px) {
  .wisdom-band {
    grid-template-columns: 1fr 1fr;
  }

  .wisdom-copy {
    grid-column: 1 / -1;
  }

  .topic-mockup {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 640px;
  }

  .daily-card,
  .topic-panel {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .wisdom-band {
    padding: 78px 20px 88px;
    grid-template-columns: 1fr;
  }

  .wisdom-band::after {
    inset: 20px 12px;
    border-radius: 24px;
  }

  .wisdom-copy {
    order: 1;
  }

  .topic-mockup {
    order: 2;
    min-height: 550px;
  }

  .topic-screen {
    width: min(330px, 88vw);
    height: 535px;
    transform: rotate(-1deg);
  }

  .daily-card {
    order: 3;
    min-height: 300px;
    padding: 28px;
  }

  .daily-card p {
    font-size: 34px;
  }

  .topic-panel {
    order: 4;
    padding: 28px;
  }
}

/* Hero feature dock repair: make the first card feel intentionally placed, not dropped between sections. */
.feature-rail {
  position: relative;
  z-index: 8;
  width: min(1000px, calc(100vw - 56px));
  margin: -66px auto 90px;
  padding: 10px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(238, 211, 151, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(44, 60, 36, 0.92), rgba(27, 42, 24, 0.94)),
    radial-gradient(circle at 18% 0%, rgba(244, 223, 171, 0.18), transparent 18rem);
  box-shadow:
    0 30px 86px rgba(27, 21, 9, 0.22),
    0 -18px 70px rgba(244, 223, 171, 0.1);
  backdrop-filter: blur(22px);
}

.feature-rail::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 223, 171, 0.6), transparent);
}

.feature-rail article {
  min-height: 126px;
  padding: 18px 17px 16px;
  border-right: 1px solid rgba(238, 211, 151, 0.15);
}

.feature-rail article::before {
  top: 18px;
  right: 16px;
  color: rgba(244, 223, 171, 0.17);
  font-size: 36px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  margin: 0 0 12px;
  color: #e9ca82;
}

.feature-rail h2 {
  color: #fff3d4;
  font-size: 18px;
  line-height: 1.05;
}

.feature-rail p {
  margin-top: 8px;
  color: rgba(255, 247, 230, 0.68);
  font-size: 12px;
  line-height: 1.52;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feature-rail article:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 247, 226, 0.11), rgba(255, 247, 226, 0.03)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(244, 223, 171, 0.16);
}

.library-band {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .feature-rail {
    width: min(760px, calc(100vw - 40px));
    margin-top: -56px;
    margin-bottom: 74px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-rail article:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .feature-rail {
    width: calc(100vw - 32px);
    margin-top: -34px;
    margin-bottom: 54px;
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 22px;
  }

  .feature-rail article,
  .feature-rail article:nth-child(3) {
    min-height: auto;
    padding: 18px 18px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(238, 211, 151, 0.14);
  }

  .feature-rail article:last-child {
    border-bottom: 0;
  }

  .feature-rail p {
    -webkit-line-clamp: 2;
  }
}

/* Feature flow relocation: after the Library section, where the tray has enough breathing room. */
.library-band + .feature-rail {
  width: min(1180px, calc(100vw - 40px));
  margin: -58px auto 112px;
  padding: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(144, 113, 55, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 232, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.14), transparent 18rem);
  box-shadow: 0 30px 90px rgba(74, 51, 19, 0.13);
  backdrop-filter: blur(18px);
}

.library-band + .feature-rail::before {
  inset: 0 24px auto;
  background: linear-gradient(90deg, transparent, rgba(144, 113, 55, 0.28), transparent);
}

.library-band + .feature-rail article {
  min-height: 138px;
  padding: 22px 18px 18px;
  border-right-color: rgba(144, 113, 55, 0.16);
}

.library-band + .feature-rail article::before {
  color: rgba(144, 113, 55, 0.18);
}

.library-band + .feature-rail .feature-icon {
  color: #bd8734;
}

.library-band + .feature-rail h2 {
  color: #253322;
}

.library-band + .feature-rail p {
  color: #62695f;
  -webkit-line-clamp: 3;
}

.library-band + .feature-rail article:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 235, 0.8)),
    rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(144, 113, 55, 0.14);
}

.library-band + .feature-rail + .wisdom-band {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .library-band + .feature-rail {
    width: min(760px, calc(100vw - 40px));
    margin: -38px auto 86px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .library-band + .feature-rail {
    width: calc(100vw - 32px);
    margin: -18px auto 64px;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .library-band + .feature-rail article {
    min-height: auto;
    padding: 18px;
  }
}

/* Morning Reflection redesign: premium editorial layout with one strong visual stage. */
.wisdom-band {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 96px max(34px, calc((100vw - 1180px) / 2)) 104px;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(430px, 0.86fr);
  grid-template-rows: auto auto;
  gap: 22px clamp(48px, 7vw, 104px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(209, 176, 106, 0.2), transparent 22rem),
    radial-gradient(circle at 20% 78%, rgba(138, 154, 122, 0.18), transparent 24rem),
    linear-gradient(135deg, #fbf5ea 0%, #f3e5ca 100%);
  color: #253322;
}

.wisdom-band::before {
  content: "";
  position: absolute;
  inset: 44px max(20px, calc((100vw - 1235px) / 2));
  z-index: -1;
  border: 1px solid rgba(144, 113, 55, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.5), transparent 22rem);
  box-shadow: 0 40px 120px rgba(74, 51, 19, 0.11);
  opacity: 1;
}

.wisdom-band::after {
  content: "";
  position: absolute;
  right: max(-60px, calc((100vw - 1480px) / 2));
  bottom: -130px;
  z-index: -1;
  width: min(620px, 54vw);
  height: min(620px, 54vw);
  border-radius: 50%;
  border: 1px solid rgba(144, 113, 55, 0.16);
  background:
    radial-gradient(circle at 50% 50%, rgba(209, 176, 106, 0.12), transparent 48%),
    url("/assets/images/lotus1.webp") center / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.wisdom-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 640px;
  align-self: end;
  padding: 0;
}

.wisdom-copy .section-mark {
  color: #bd8734;
}

.wisdom-copy h2 {
  max-width: 640px;
  color: #253322;
  font-size: clamp(62px, 6.6vw, 104px);
  line-height: 0.88;
}

.wisdom-copy p {
  max-width: 520px;
  margin-top: 24px;
  color: #596051;
  font-size: 18px;
  line-height: 1.65;
}

.wisdom-copy .text-link {
  color: #253322;
}

.topic-mockup {
  grid-column: 2;
  grid-row: 1 / 3;
  min-height: 640px;
  align-self: center;
  display: grid;
  place-items: center;
}

.topic-mockup::before {
  inset: 28px 14% 26px;
  border: 1px solid rgba(144, 113, 55, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.62), transparent 16rem),
    radial-gradient(circle at 50% 70%, rgba(209, 176, 106, 0.16), transparent 18rem);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 36px 90px rgba(74, 51, 19, 0.14);
}

.topic-screen {
  width: min(382px, 74vw);
  height: 620px;
  transform: rotate(2.5deg);
  filter: drop-shadow(0 38px 78px rgba(74, 51, 19, 0.24));
}

.topic-orbit-card {
  z-index: 4;
  border-color: rgba(144, 113, 55, 0.22);
  background: rgba(255, 249, 236, 0.9);
  box-shadow: 0 24px 66px rgba(74, 51, 19, 0.16);
}

.topic-orbit-card span {
  color: #9a7638;
}

.topic-orbit-card strong {
  color: #253322;
}

.topic-orbit-calm {
  left: 2%;
  top: 122px;
}

.topic-orbit-compassion {
  right: 0;
  bottom: 108px;
}

.daily-card {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  padding: 28px 32px;
  align-self: start;
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 235, 0.76)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.13), transparent 14rem);
  box-shadow: 0 28px 80px rgba(74, 51, 19, 0.12);
}

.daily-card span,
.daily-card small {
  color: #777b6e;
}

.daily-card p {
  margin: 14px 0 0;
  color: #253322;
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1.02;
}

.daily-card small {
  display: block;
  margin-top: 18px;
}

.topic-panel {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  margin: 4px 0 0;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(210px, 0.52fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 70px rgba(74, 51, 19, 0.1);
}

.topic-panel h3 {
  margin: 0;
  color: #253322;
  font-size: 30px;
  line-height: 1;
}

.topic-panel p {
  margin: 8px 0 0;
  color: #62695f;
  font-size: 14px;
}

.topic-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-list a {
  min-height: 50px;
  border-color: rgba(144, 113, 55, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: #253322;
}

@media (max-width: 1080px) {
  .wisdom-band {
    grid-template-columns: 1fr;
    padding: 88px max(24px, calc((100vw - 760px) / 2));
  }

  .wisdom-copy,
  .topic-mockup,
  .daily-card,
  .topic-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .topic-mockup {
    min-height: 620px;
  }

  .topic-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wisdom-band {
    padding: 72px 20px 80px;
  }

  .wisdom-band::before {
    inset: 20px 12px;
    border-radius: 24px;
  }

  .wisdom-copy h2 {
    font-size: clamp(50px, 15vw, 68px);
  }

  .topic-mockup {
    min-height: 520px;
  }

  .topic-screen {
    width: min(312px, 86vw);
    height: 505px;
    transform: rotate(1.3deg);
  }

  .topic-orbit-card {
    display: none;
  }

  .daily-card {
    padding: 26px;
  }

  .daily-card p {
    font-size: 34px;
  }

  .topic-panel {
    padding: 24px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }
}

/* Morning Reflection final rebuild: premium sanctuary composition. */
.wisdom-band {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 82px max(34px, calc((100vw - 1180px) / 2)) 86px;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(390px, 0.78fr);
  grid-template-rows: auto auto;
  gap: 20px clamp(44px, 6vw, 86px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(5, 12, 6, 0.98) 0%, rgba(18, 31, 18, 0.96) 45%, rgba(61, 54, 30, 0.86) 100%),
    url("/assets/images/book_bg.webp") center / cover no-repeat;
  color: #fff3d0;
}

#wisdom.wisdom-band {
  scroll-margin-top: 18px;
}

.wisdom-band::before {
  content: "";
  position: absolute;
  inset: 38px max(20px, calc((100vw - 1242px) / 2));
  z-index: -1;
  border: 1px solid rgba(237, 203, 129, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 72% 18%, rgba(244, 206, 126, 0.22), transparent 24rem),
    radial-gradient(circle at 28% 88%, rgba(125, 143, 103, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 248, 224, 0.11), rgba(255, 248, 224, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 42px 110px rgba(0, 0, 0, 0.34);
}

.wisdom-band::after {
  content: "";
  position: absolute;
  inset: auto;
  right: max(-74px, calc((100vw - 1500px) / 2));
  bottom: -150px;
  z-index: -1;
  width: min(580px, 46vw);
  height: min(580px, 46vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245, 215, 149, 0.12), transparent 47%),
    url("/assets/images/lotus1.webp") center / cover no-repeat;
  opacity: 0.13;
  filter: saturate(0.8);
  pointer-events: none;
}

.wisdom-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 660px;
  align-self: end;
  padding: 0 0 2px;
}

.wisdom-copy .section-mark {
  color: #d7a546;
  text-shadow: 0 1px 14px rgba(215, 165, 70, 0.18);
}

.wisdom-copy h2 {
  max-width: 640px;
  margin-top: 18px;
  color: #fff4d8;
  font-size: clamp(46px, 4.75vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.wisdom-copy p {
  max-width: 510px;
  margin-top: 24px;
  color: rgba(255, 244, 216, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.wisdom-copy .text-link {
  margin-top: 26px;
  color: #f2cf82;
}

.wisdom-copy .text-link::after {
  background: rgba(242, 207, 130, 0.58);
}

.daily-card {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 610px;
  min-height: 0;
  padding: 26px 32px 28px;
  border: 1px solid rgba(242, 207, 130, 0.24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 8%, rgba(242, 207, 130, 0.16), transparent 13rem),
    linear-gradient(180deg, rgba(255, 248, 225, 0.13), rgba(255, 248, 225, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 32px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.daily-card span,
.daily-card small {
  color: rgba(255, 244, 216, 0.66);
  font-family: var(--font-sans);
}

.daily-card span {
  color: #d7a546;
}

.daily-card p {
  margin: 16px 0 0;
  color: #fff5dc;
  font-size: clamp(30px, 2.85vw, 42px);
  line-height: 1.03;
  letter-spacing: 0;
}

.daily-card small {
  display: block;
  margin-top: 20px;
}

.topic-mockup {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  min-height: 552px;
  align-self: center;
  display: grid;
  place-items: center;
}

.topic-mockup::before {
  content: "";
  position: absolute;
  inset: 28px 9% 24px;
  z-index: 0;
  border: 1px solid rgba(242, 207, 130, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 248, 225, 0.18), transparent 13rem),
    radial-gradient(circle at 50% 72%, rgba(215, 165, 70, 0.13), transparent 17rem),
    linear-gradient(180deg, rgba(255, 248, 225, 0.09), rgba(255, 248, 225, 0.015));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 38px 90px rgba(0, 0, 0, 0.26);
}

.topic-screen {
  position: relative;
  z-index: 2;
  width: min(334px, 72vw);
  height: 542px;
  transform: rotate(1.8deg);
  filter: drop-shadow(0 42px 84px rgba(0, 0, 0, 0.42));
}

.topic-screen img {
  object-fit: contain;
}

.topic-orbit-card {
  z-index: 3;
  min-width: 158px;
  border: 1px solid rgba(242, 207, 130, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 247, 226, 0.92), rgba(238, 220, 180, 0.86));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.topic-orbit-card span {
  color: #a87324;
}

.topic-orbit-card strong {
  color: #243220;
}

.topic-orbit-calm {
  left: -1%;
  top: 126px;
}

.topic-orbit-compassion {
  right: -2%;
  bottom: 128px;
}

.topic-panel {
  grid-column: 1 / 3;
  grid-row: 3;
  width: min(980px, 100%);
  margin: 2px auto 0;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(300px, 0.54fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(242, 207, 130, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 248, 225, 0.1), rgba(255, 248, 225, 0.055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.topic-panel h3 {
  margin: 0;
  color: #fff3d0;
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1.02;
  text-wrap: balance;
}

.topic-panel p {
  margin: 0;
  color: rgba(255, 244, 216, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.topic-list a {
  min-height: 44px;
  border: 1px solid rgba(242, 207, 130, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.085);
  color: rgba(255, 244, 216, 0.88);
  box-shadow: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.topic-list a::before {
  border-color: rgba(242, 207, 130, 0.32);
  background:
    radial-gradient(circle at 40% 35%, rgba(242, 207, 130, 0.82), rgba(125, 143, 103, 0.38));
}

.topic-list a:hover,
.topic-list a:focus-visible {
  border-color: rgba(242, 207, 130, 0.46);
  background: rgba(255, 248, 225, 0.15);
  color: #fff5dc;
}

@media (max-width: 1080px) {
  .wisdom-band {
    padding: 88px max(24px, calc((100vw - 760px) / 2)) 84px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wisdom-copy,
  .daily-card,
  .topic-mockup,
  .topic-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .wisdom-copy {
    max-width: 720px;
  }

  .daily-card {
    max-width: 720px;
  }

  .topic-mockup {
    min-height: 520px;
  }

  .topic-panel {
    width: 100%;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Premium topic path tray: replaces the flat pill row with compact practice cards. */
.topic-panel {
  width: min(760px, 100%);
  margin-top: 8px;
  padding: 16px;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 207, 130, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(255, 248, 225, 0.115), rgba(255, 248, 225, 0.045));
}

.topic-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 244, 216, 0.09), transparent 38%),
    radial-gradient(circle at 86% 96%, rgba(125, 143, 103, 0.16), transparent 16rem);
  pointer-events: none;
}

.topic-panel-copy {
  min-height: 0;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(242, 207, 130, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8, 16, 8, 0.28), rgba(8, 16, 8, 0.1));
}

.topic-eyebrow {
  margin-bottom: 12px;
  color: #d7a546;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.topic-panel h3 {
  max-width: 260px;
  font-size: clamp(25px, 2vw, 32px);
}

.topic-panel p {
  max-width: 260px;
  margin-top: 12px;
  color: rgba(255, 244, 216, 0.62);
}

.topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 82px;
  gap: 12px;
}

.topic-list a {
  position: relative;
  min-height: 0;
  height: 82px;
  padding: 13px 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 20%, rgba(242, 207, 130, 0.22), transparent 4.8rem),
    linear-gradient(180deg, rgba(255, 248, 225, 0.125), rgba(255, 248, 225, 0.06));
  color: #fff4d8;
  text-align: left;
}

.topic-list a::before {
  top: 13px;
  left: auto;
  right: 14px;
  width: 25px;
  height: 25px;
  border-color: rgba(255, 239, 189, 0.38);
  background:
    radial-gradient(circle at 36% 30%, #fff0b9 0 10%, #d7a546 44%, rgba(125, 143, 103, 0.76) 100%);
  box-shadow:
    0 0 0 7px rgba(242, 207, 130, 0.07),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

.topic-list a::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 207, 130, 0.38), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.topic-list a span {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.topic-list a small {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: rgba(255, 244, 216, 0.58);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
}

.topic-list a:hover,
.topic-list a:focus-visible {
  border-color: rgba(242, 207, 130, 0.46);
  background:
    radial-gradient(circle at 82% 20%, rgba(242, 207, 130, 0.3), transparent 4.8rem),
    linear-gradient(180deg, rgba(255, 248, 225, 0.17), rgba(255, 248, 225, 0.08));
}

.topic-list a:hover::after,
.topic-list a:focus-visible::after {
  opacity: 1;
}

@media (max-width: 1080px) {
  .topic-panel {
    grid-template-columns: 1fr;
  }

  .topic-panel-copy {
    min-height: auto;
  }

  .topic-panel h3,
  .topic-panel p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topic-panel {
    padding: 14px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .topic-list a {
    height: 78px;
    min-height: 0;
    padding: 14px;
  }

  .topic-list a span {
    font-size: 18px;
  }
}

/* Store download badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.store-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.store-badges a:hover,
.store-badges a:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.store-badges img {
  width: 164px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

.hero-store-badges {
  margin-top: 34px;
}

.hero-store-badges img {
  width: 188px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.32));
}

.footer-store-badges {
  margin-top: 12px;
}

.footer-download .store-badges a {
  min-height: auto;
  margin-top: 0;
}

.footer-download .store-badges img {
  width: 142px;
}

@media (max-width: 720px) {
  .hero-store-badges {
    margin-top: 26px;
  }

  .store-badges {
    gap: 10px;
  }

  .store-badges img {
    width: 148px;
  }

  .hero-store-badges img {
    width: 158px;
  }

  .footer-download .store-badges img {
    width: 136px;
  }
}

@media (max-width: 720px) {
  .wisdom-band {
    padding: 66px 18px 68px;
    gap: 18px;
  }

  .wisdom-band::before {
    inset: 18px 10px;
    border-radius: 24px;
  }

  .wisdom-band::after {
    width: 460px;
    height: 460px;
    right: -210px;
    bottom: -170px;
  }

  .wisdom-copy h2 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1;
  }

  .wisdom-copy p {
    font-size: 16px;
  }

  .daily-card {
    order: 2;
    padding: 24px;
    border-radius: 22px;
  }

  .daily-card p {
    font-size: clamp(27px, 8vw, 34px);
  }

  .topic-mockup {
    order: 3;
    min-height: 430px;
  }

  .topic-screen {
    width: min(264px, 78vw);
    height: 430px;
    transform: rotate(1deg);
  }

  .topic-orbit-card {
    display: none;
  }

  .topic-panel {
    order: 4;
    padding: 20px;
    border-radius: 22px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero final polish: cleaner headline scale and lifted store CTAs. */
.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(54px, 5.35vw, 82px);
  line-height: 1.1;
}

.hero-store-badges a {
  border-radius: 14px;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 235, 186, 0.08);
}

.hero-store-badges img {
  width: 184px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

@media (max-width: 720px) {
  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(40px, 11vw, 52px);
  }

  .hero-store-badges img {
    width: 154px;
  }
}

/* Library spacing: keep the floating header from crowding the section headline. */
#library.library-band {
  scroll-margin-top: 176px;
}

#features.feature-rail {
  scroll-margin-top: 178px;
}

.library-band {
  padding-top: 166px;
}

@media (max-width: 1080px) {
  .library-band {
    padding-top: 138px;
  }
}

@media (max-width: 720px) {
  #library.library-band,
  #features.feature-rail {
    scroll-margin-top: 128px;
  }

  .library-band {
    padding-top: 104px;
  }
}

/* Final library/feature spacing tune. */
#features.feature-rail {
  scroll-margin-top: 116px;
}

.library-band > .feature-rail {
  margin-top: -62px;
}

@media (max-width: 1080px) {
  .library-band > .feature-rail {
    margin-top: -46px;
  }
}

@media (max-width: 720px) {
  #features.feature-rail {
    scroll-margin-top: 104px;
  }

  .library-band > .feature-rail {
    margin-top: -24px;
  }
}

/* Support form */
.support-form-section {
  margin: 18px 0 30px;
}

.support-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 54px);
  border: 1px solid rgba(144, 113, 55, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(209, 176, 106, 0.14), transparent 18rem),
    radial-gradient(circle at 12% 100%, rgba(138, 154, 122, 0.12), transparent 19rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 231, 0.72));
  box-shadow: 0 32px 110px rgba(74, 51, 19, 0.12);
}

.support-form-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(144, 113, 55, 0.12);
  border-radius: 48px;
  transform: rotate(22deg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.support-form-heading {
  position: relative;
  z-index: 1;
  margin: 0 auto 34px;
  max-width: 720px;
  text-align: center;
}

.support-form-heading h2 {
  margin: 0;
  color: #253322;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 650;
  line-height: 0.95;
}

.support-form-heading p {
  max-width: 560px;
  margin: 16px auto 0;
  color: #62695f;
  font-weight: 760;
}

.support-form-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.support-field {
  display: grid;
  gap: 10px;
}

.support-field-full {
  grid-column: 1 / -1;
}

.support-field > span:first-child {
  color: #9a7638;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.support-input-wrap {
  min-height: 58px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(144, 113, 55, 0.14);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 249, 238, 0.5));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 16px 42px rgba(74, 51, 19, 0.06);
}

.support-input-wrap svg {
  width: 20px;
  height: 20px;
  color: rgba(79, 97, 72, 0.45);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-input-wrap input,
.support-input-wrap textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #253322;
  font: inherit;
  font-weight: 760;
}

.support-textarea-wrap {
  min-height: 132px;
  align-items: start;
  padding-top: 18px;
}

.support-input-wrap textarea {
  min-height: 94px;
  resize: vertical;
}

.support-input-wrap:focus-within {
  border-color: rgba(189, 135, 52, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 0 4px rgba(209, 176, 106, 0.12),
    0 18px 46px rgba(74, 51, 19, 0.08);
}

.support-submit {
  position: relative;
  z-index: 1;
  min-width: 220px;
  min-height: 58px;
  margin: 34px auto 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #182316, #4f6148);
  color: #fff7e8;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 22px 54px rgba(37, 51, 34, 0.28);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.support-submit:hover,
.support-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 62px rgba(37, 51, 34, 0.34);
}

.support-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 17, 11, 0.58);
  backdrop-filter: blur(12px);
}

.support-success-modal {
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid rgba(239, 205, 134, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 0%, rgba(239, 205, 134, 0.16), transparent 13rem),
    linear-gradient(135deg, #fffaf0, #f3e5ca);
  text-align: center;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.3);
}

.support-success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0b8, #d1b06a);
  color: #253322;
}

.support-success-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-success-modal h3 {
  margin: 0;
  color: #253322;
  font-family: var(--font-display), Georgia, serif;
  font-size: 34px;
  font-weight: 650;
  line-height: 1;
}

.support-success-modal p {
  margin: 14px 0 0;
  color: #62695f;
  font-weight: 760;
}

.support-success-modal button {
  min-width: 120px;
  min-height: 46px;
  margin-top: 24px;
  border: 0;
  border-radius: 13px;
  background: #253322;
  color: #fff7e8;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .support-form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .support-form-heading {
    text-align: left;
  }

  .support-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-submit {
    width: 100%;
  }
}

/* Make hero store badges read as primary CTAs with a visible warm back-shadow. */
.hero-store-badges {
  gap: 16px;
}

.hero-store-badges a {
  position: relative;
  isolation: isolate;
  padding: 3px;
  border-radius: 15px;
  background: rgba(255, 238, 194, 0.08);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 235, 186, 0.32),
    0 0 34px rgba(237, 205, 134, 0.38);
}

.hero-store-badges a::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 227, 160, 0.34), rgba(209, 176, 106, 0.12) 48%, transparent 72%);
  filter: blur(14px);
  opacity: 0.95;
  pointer-events: none;
}

.hero-store-badges img {
  width: 184px;
  filter:
    drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

@media (max-width: 720px) {
  .hero-store-badges {
    gap: 12px;
  }

  .hero-store-badges img {
    width: 154px;
  }
}

/* Continue the Library background behind the feature rail so it reads as one section. */
.library-band + .feature-rail {
  position: relative;
  isolation: isolate;
}

.library-band + .feature-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -170px;
  bottom: -112px;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 72% 0%, rgba(209, 176, 106, 0.17), transparent 24rem),
    radial-gradient(circle at 28% 72%, rgba(138, 154, 122, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf4e7 0%, #f4e6cc 74%, #f4e6cc 100%);
  pointer-events: none;
}

@media (max-width: 1080px) {
  .library-band + .feature-rail::after {
    top: -130px;
    bottom: -86px;
  }
}

@media (max-width: 720px) {
  .library-band + .feature-rail::after {
    top: -92px;
    bottom: -64px;
  }
}

/* Feature rail now lives inside Library so the background remains continuous. */
.library-band > .feature-rail {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  margin: -108px auto 0;
  transform: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 12px;
  border: 1px solid rgba(144, 113, 55, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 232, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(209, 176, 106, 0.14), transparent 18rem);
  box-shadow: 0 30px 90px rgba(74, 51, 19, 0.13);
  backdrop-filter: blur(18px);
}

.library-band > .feature-rail::after {
  content: none;
}

.library-band > .feature-rail::before {
  inset: 0 24px auto;
  background: linear-gradient(90deg, transparent, rgba(144, 113, 55, 0.28), transparent);
}

.library-band > .feature-rail article {
  min-height: 138px;
  padding: 22px 18px 18px;
  border-right-color: rgba(144, 113, 55, 0.16);
}

.library-band > .feature-rail article::before {
  color: rgba(144, 113, 55, 0.18);
}

.library-band > .feature-rail .feature-icon {
  color: #bd8734;
}

.library-band > .feature-rail h2 {
  color: #253322;
}

.library-band > .feature-rail p {
  color: #62695f;
  -webkit-line-clamp: 3;
}

.library-band > .feature-rail article:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 235, 0.8)),
    rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(144, 113, 55, 0.14);
}

@media (max-width: 1080px) {
  .library-band > .feature-rail {
    width: min(760px, 100%);
    margin-top: -76px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .library-band > .feature-rail {
    width: 100%;
    margin-top: -42px;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .library-band > .feature-rail article {
    min-height: auto;
    padding: 18px;
  }
}

/* Remove the heavy bottom fade from the hero. */
.hero::after {
  content: none;
}

.hero-art::after {
  background:
    linear-gradient(90deg, rgba(8, 4, 1, 0.86) 0%, rgba(15, 7, 2, 0.62) 36%, rgba(15, 7, 2, 0.08) 67%, rgba(9, 4, 1, 0.32));
}

/* Sticky nav must block section content completely, not let headings show through. */
.site-header {
  background: linear-gradient(90deg, #10170d 0%, #26281b 48%, #5a523d 100%);
  border-color: rgba(238, 205, 134, 0.3);
  box-shadow:
    0 22px 58px rgba(17, 12, 5, 0.28),
    0 1px 0 rgba(255, 241, 203, 0.08) inset;
  backdrop-filter: none;
}

/* Final Library clearance: keep the sticky nav from covering the section title. */
#library.library-band {
  scroll-margin-top: 148px;
  padding-top: clamp(96px, 7vw, 128px);
}

#library.library-band::before {
  inset-top: 82px;
}

@media (max-width: 1080px) {
  #library.library-band {
    scroll-margin-top: 136px;
    padding-top: 110px;
  }

  #library.library-band::before {
    inset-top: 72px;
  }
}

@media (max-width: 720px) {
  #library.library-band {
    scroll-margin-top: 112px;
    padding-top: 82px;
  }

  #library.library-band::before {
    inset-top: 54px;
  }
}

/* Final feature-card clearance: separate the rail from the Library phone stack. */
#library.library-band > #features.feature-rail {
  margin-top: 44px;
}

@media (max-width: 1080px) {
  #library.library-band > #features.feature-rail {
    margin-top: 36px;
  }
}

@media (max-width: 720px) {
  #library.library-band > #features.feature-rail {
    margin-top: 28px;
  }
}

/* Remove decorative guide shapes behind the Library phone images. */
.library-aura,
.library-showcase::before,
.library-showcase::after,
.reader-mockup::before,
.reader-mockup::after {
  content: none;
  display: none;
}

#library .library-phone {
  background: transparent;
  overflow: hidden;
  border-radius: 46px;
}

#library .library-phone img {
  transform: scale(1.026);
  transform-origin: center;
}

#library .library-phone-cover img {
  transform: scale(1.018);
}

#library.library-band {
  background: linear-gradient(180deg, #fbf4e8 0%, #f5ead5 100%);
}

#library.library-band::before {
  content: none;
  display: none;
}

/* Premium footer redesign */
footer.site-footer {
  display: block;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 112px;
  padding: clamp(72px, 8vw, 112px) max(24px, calc((100vw - 1180px) / 2)) 34px;
  background:
    linear-gradient(180deg, #24301f 0%, #111a0f 52%, #070c06 100%);
  color: #fff6e4;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(230, 195, 126, 0.18), transparent 26%, transparent 74%, rgba(230, 195, 126, 0.12)),
    linear-gradient(180deg, rgba(255, 246, 228, 0.08), transparent 34%);
}

footer.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - 1180px) / 2));
  right: max(24px, calc((100vw - 1180px) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 205, 134, 0.55), transparent);
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.footer-download-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(340px, 1fr) minmax(210px, auto);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 38px) clamp(26px, 4vw, 52px);
  overflow: visible;
  border: 1px solid rgba(239, 205, 134, 0.24);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 247, 226, 0.12), rgba(255, 247, 226, 0.045) 52%, rgba(213, 168, 77, 0.08)),
    rgba(10, 18, 9, 0.28);
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 247, 226, 0.045);
  backdrop-filter: blur(18px);
}

.footer-download-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239, 205, 134, 0.12);
  border-radius: 24px;
  pointer-events: none;
}

.footer-download-art {
  position: relative;
  display: grid;
  min-height: 188px;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-download-art img {
  width: 154px;
  height: auto;
  margin: -34px 0 -38px;
  filter:
    drop-shadow(0 30px 38px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 32px rgba(213, 168, 77, 0.12));
}

.footer-download-copy span {
  display: block;
  margin-bottom: 12px;
  color: #e2b866;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-download-copy h2 {
  max-width: 650px;
  margin: 0;
  color: #fff6e4;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 650;
  line-height: 0.98;
}

.footer-download-copy p {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 247, 226, 0.68);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.72;
}

.footer-card-badges {
  display: grid;
  gap: 12px;
  justify-content: end;
  justify-items: end;
}

.footer-card-badges a {
  width: fit-content;
  min-height: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(239, 205, 134, 0.14),
    0 0 34px rgba(213, 168, 77, 0.12);
}

.footer-card-badges img {
  width: 176px;
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 22px rgba(202, 144, 45, 0.16));
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(210px, 0.82fr) minmax(360px, 1.45fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding-bottom: 34px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(239, 205, 134, 0.28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 247, 225, 0.12), rgba(255, 247, 225, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 46px rgba(0, 0, 0, 0.22);
}

.footer-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
}

.footer-brand-lockup strong {
  display: block;
  color: #fff1cc;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 650;
  line-height: 0.92;
}

.footer-brand-lockup span:not(.footer-mark) {
  display: block;
  margin-top: 10px;
  color: rgba(255, 239, 199, 0.64);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-statement {
  max-width: 620px;
}

.footer-overline {
  margin: 0 0 16px;
  color: #d5a84d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-statement h2 {
  max-width: 620px;
  margin: 0;
  color: #fff6e4;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(46px, 5.7vw, 86px);
  font-weight: 650;
  line-height: 0.94;
}

.footer-statement p:not(.footer-overline) {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 247, 226, 0.72);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.78;
}

footer.site-footer .footer-download {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

footer.site-footer .footer-download > span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255, 239, 199, 0.7);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

footer.site-footer .footer-store-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

footer.site-footer .footer-store-badges a {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 247, 226, 0.08);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(239, 205, 134, 0.12);
}

footer.site-footer .footer-store-badges img {
  width: 172px;
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 20px rgba(226, 181, 86, 0.18));
}

.footer-link-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(310px, auto) minmax(230px, 0.72fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: stretch;
  padding: 30px 0;
  border-top: 1px solid rgba(239, 205, 134, 0.18);
  border-bottom: 1px solid rgba(239, 205, 134, 0.12);
}

.footer-note {
  max-width: 470px;
}

.footer-note span {
  display: block;
  color: #e7c579;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 650;
}

.footer-note p {
  max-width: 420px;
  margin: 12px 0 0;
  color: rgba(255, 247, 226, 0.62);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.75;
}

footer.site-footer .footer-columns {
  display: flex;
  justify-content: flex-end;
  gap: clamp(46px, 7vw, 92px);
  margin: 0;
}

.footer-quote-card {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 26px 28px;
  border: 1px solid rgba(239, 205, 134, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 247, 226, 0.1), rgba(255, 247, 226, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.14);
}

.footer-quote-card p {
  margin: 0;
  color: rgba(255, 247, 226, 0.86);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 650;
  line-height: 1.28;
}

.footer-quote-card span {
  display: block;
  margin-top: 18px;
  color: #e7c579;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  min-width: 132px;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: rgba(255, 239, 199, 0.52);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

footer.site-footer .footer-column a,
footer.site-footer .footer-bottom a {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  color: rgba(255, 247, 226, 0.82);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

footer.site-footer .footer-column a:hover,
footer.site-footer .footer-bottom a:hover {
  color: #f2ca72;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 8px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 247, 226, 0.46);
  font-size: 13px;
  font-weight: 750;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .footer-download-card {
    grid-template-columns: 150px 1fr;
  }

  .footer-card-badges {
    grid-column: 2;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    justify-items: start;
  }

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

  footer.site-footer .footer-store-badges {
    grid-template-columns: repeat(2, max-content);
  }

  footer.site-footer .footer-columns {
    justify-content: flex-start;
  }

  .footer-quote-card {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  footer.site-footer {
    scroll-margin-top: 96px;
    padding: 64px 20px 28px;
  }

  .footer-main {
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-download-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .footer-download-art {
    min-height: 164px;
  }

  .footer-download-art img {
    width: 132px;
    margin: -22px 0 -28px;
  }

  .footer-card-badges {
    grid-column: auto;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-card-badges img {
    width: 164px;
  }

  .footer-brand-lockup {
    align-items: flex-start;
  }

  .footer-mark {
    width: 66px;
    height: 66px;
  }

  .footer-mark img {
    width: 50px;
    height: 50px;
  }

  .footer-statement h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  footer.site-footer .footer-store-badges {
    grid-template-columns: 1fr;
  }

  footer.site-footer .footer-store-badges img {
    width: 164px;
  }

  .footer-link-panel {
    gap: 28px;
    padding: 26px 0;
  }

  footer.site-footer .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-quote-card {
    padding: 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }
}

/* Footer light premium revision: soft UI, no dark closing block. */
footer.site-footer {
  padding: clamp(84px, 8vw, 118px) max(24px, calc((100vw - 1180px) / 2)) 34px;
  background:
    radial-gradient(circle at 20% 8%, rgba(213, 168, 77, 0.18), transparent 24rem),
    radial-gradient(circle at 84% 24%, rgba(126, 145, 104, 0.14), transparent 25rem),
    linear-gradient(180deg, #fbf4e8 0%, #f6ead4 52%, #f1dfc2 100%);
  color: #22311d;
}

footer.site-footer::before {
  background:
    linear-gradient(90deg, transparent, rgba(213, 168, 77, 0.12), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 32%);
}

footer.site-footer::after {
  background: linear-gradient(90deg, transparent, rgba(168, 126, 51, 0.34), transparent);
}

.footer-shell {
  gap: 34px;
}

.footer-download-card {
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(210px, auto);
  padding: clamp(24px, 3.2vw, 38px) clamp(26px, 4vw, 52px);
  border: 1px solid rgba(168, 126, 51, 0.3);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(251, 242, 225, 0.74)),
    rgba(255, 255, 255, 0.52);
  box-shadow:
    0 28px 74px rgba(92, 70, 34, 0.18),
    0 10px 28px rgba(39, 55, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.footer-download-art,
.footer-download-copy,
.footer-card-badges {
  min-width: 0;
}

.footer-download-card::before {
  inset: 10px;
  border-color: rgba(168, 126, 51, 0.18);
  border-radius: 20px;
}

.footer-download-art {
  min-height: 188px;
}

.footer-download-art img {
  width: 158px;
  margin: -36px 0 -40px;
  filter:
    drop-shadow(0 26px 34px rgba(55, 42, 20, 0.22))
    drop-shadow(0 0 28px rgba(213, 168, 77, 0.16));
}

.footer-download-copy span,
.footer-overline,
footer.site-footer .footer-download > span {
  color: #b68128;
}

.footer-download-copy h2,
.footer-statement h2,
.footer-brand-lockup strong {
  color: #22311d;
}

.footer-download-copy p,
.footer-statement p:not(.footer-overline),
.footer-note p {
  color: rgba(34, 49, 29, 0.72);
}

.footer-card-badges a {
  box-shadow:
    0 20px 42px rgba(92, 70, 34, 0.2),
    0 0 0 1px rgba(168, 126, 51, 0.12);
}

.footer-card-badges img {
  filter: drop-shadow(0 10px 18px rgba(55, 42, 20, 0.2));
}

.footer-brand-lockup span:not(.footer-mark) {
  color: rgba(34, 49, 29, 0.54);
}

.footer-mark {
  border-color: rgba(168, 126, 51, 0.26);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(92, 70, 34, 0.12);
}

footer.site-footer .footer-download {
  padding: 18px 20px;
  border: 1px solid rgba(168, 126, 51, 0.18);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.48);
  box-shadow: 0 18px 42px rgba(92, 70, 34, 0.1);
}

footer.site-footer .footer-store-badges a {
  background: transparent;
  box-shadow:
    0 16px 32px rgba(55, 42, 20, 0.17),
    0 0 0 1px rgba(168, 126, 51, 0.1);
}

footer.site-footer .footer-store-badges img {
  filter: drop-shadow(0 10px 16px rgba(55, 42, 20, 0.18));
}

.footer-link-panel {
  padding: 34px 0;
  border-top-color: rgba(168, 126, 51, 0.22);
  border-bottom-color: rgba(168, 126, 51, 0.18);
}

.footer-note span,
.footer-quote-card span {
  color: #9f752c;
}

.footer-quote-card {
  border-color: rgba(168, 126, 51, 0.22);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.58);
  box-shadow:
    0 20px 54px rgba(92, 70, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-quote-card p {
  color: #22311d;
}

.footer-column h3 {
  color: rgba(132, 93, 31, 0.72);
}

footer.site-footer .footer-column a,
footer.site-footer .footer-bottom a {
  color: rgba(34, 49, 29, 0.78);
}

footer.site-footer .footer-column a:hover,
footer.site-footer .footer-bottom a:hover {
  color: #a37122;
}

.footer-bottom {
  border-top: 0;
}

.footer-bottom p {
  color: rgba(34, 49, 29, 0.56);
}

@media (max-width: 720px) {
  footer.site-footer {
    padding: 72px 20px 30px;
  }

  .footer-download-card {
    padding: 22px;
  }

  .footer-download-art img {
    width: 134px;
    margin: -24px 0 -30px;
  }
}

@media (max-width: 900px) {
  footer.site-footer {
    overflow-x: hidden;
  }

  .footer-download-card {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 22px;
    padding: 24px 22px;
    overflow: hidden;
  }

  .footer-download-card::before {
    inset: 8px;
  }

  .footer-download-art {
    min-height: 178px;
    justify-items: center;
  }

  .footer-download-art img {
    width: min(148px, 48vw);
    margin: -18px auto -24px;
  }

  .footer-download-copy h2,
  .footer-download-copy p {
    max-width: 100%;
  }

  .footer-card-badges {
    grid-column: auto;
    grid-template-columns: 1fr;
    justify-content: start;
    justify-items: start;
  }
}

/* Footer full redesign: one premium CTA card + compact directory. */
footer.site-footer {
  padding: clamp(88px, 8vw, 124px) max(22px, calc((100vw - 1180px) / 2)) 36px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.88), rgba(246, 232, 207, 0.94)),
    url("/assets/images/tree.webp") left bottom / 260px auto no-repeat;
  color: #22311d;
}

footer.site-footer::before {
  background:
    linear-gradient(90deg, transparent, rgba(184, 134, 45, 0.14), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 38%);
}

footer.site-footer::after {
  background: linear-gradient(90deg, transparent, rgba(184, 134, 45, 0.38), transparent);
}

.footer-shell {
  gap: 26px;
}

.footer-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 386px;
  padding: clamp(36px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(163, 116, 38, 0.28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(248, 234, 207, 0.78)),
    rgba(255, 255, 255, 0.66);
  box-shadow:
    0 30px 90px rgba(84, 63, 30, 0.18),
    0 10px 30px rgba(39, 55, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.footer-cta-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(163, 116, 38, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.footer-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.footer-cta-copy span {
  display: block;
  margin-bottom: 14px;
  color: #aa7825;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-cta-copy h2 {
  margin: 0;
  color: #22311d;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(44px, 5.8vw, 82px);
  font-weight: 650;
  line-height: 0.92;
}

.footer-cta-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(34, 49, 29, 0.72);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.72;
}

.footer-cta-card .footer-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  justify-items: start;
  margin-top: 30px;
}

.footer-cta-card .footer-card-badges a {
  width: fit-content;
  min-height: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 18px 38px rgba(71, 50, 18, 0.2),
    0 0 0 1px rgba(163, 116, 38, 0.12);
}

.footer-cta-card .footer-card-badges img {
  width: 174px;
  filter: drop-shadow(0 10px 18px rgba(71, 50, 18, 0.18));
}

.footer-cta-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 310px;
  place-items: center;
}

.footer-cta-visual::before {
  content: "";
  position: absolute;
  width: min(320px, 72vw);
  height: min(320px, 72vw);
  border: 1px solid rgba(163, 116, 38, 0.12);
  border-radius: 50%;
  background: rgba(255, 248, 230, 0.44);
  box-shadow: inset 0 0 42px rgba(184, 134, 45, 0.1);
}

.footer-cta-visual img {
  position: relative;
  z-index: 1;
  width: min(238px, 45vw);
  height: auto;
  filter:
    drop-shadow(0 30px 38px rgba(58, 43, 19, 0.24))
    drop-shadow(0 0 24px rgba(184, 134, 45, 0.14));
}

.footer-directory {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(310px, auto) minmax(250px, 0.74fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(163, 116, 38, 0.2);
  border-radius: 30px;
  background: rgba(255, 253, 247, 0.52);
  box-shadow:
    0 22px 64px rgba(84, 63, 30, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.footer-directory .footer-brand-lockup {
  align-items: flex-start;
}

.footer-brand-lockup p {
  max-width: 280px;
  margin: 12px 0 0;
  color: rgba(34, 49, 29, 0.62);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.65;
}

.footer-directory .footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(126px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  justify-content: stretch;
}

.footer-directory .footer-column {
  align-content: start;
}

.footer-directory .footer-quote-card {
  min-height: auto;
  align-content: center;
  border-radius: 22px;
  background: rgba(255, 250, 238, 0.68);
}

.footer-bottom {
  padding-top: 2px;
}

@media (max-width: 1080px) {
  .footer-cta-card,
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .footer-cta-visual {
    order: -1;
    min-height: 260px;
  }

  .footer-directory .footer-columns {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  footer.site-footer {
    padding: 76px 20px 30px;
  }

  .footer-cta-card {
    min-height: 0;
    gap: 18px;
    padding: 26px 22px 28px;
    border-radius: 28px;
  }

  .footer-cta-card::before {
    inset: 8px;
    border-radius: 20px;
  }

  .footer-cta-visual {
    min-height: 230px;
  }

  .footer-cta-visual img {
    width: min(166px, 52vw);
  }

  .footer-cta-copy h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .footer-cta-card .footer-card-badges {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .footer-cta-card .footer-card-badges img {
    width: 164px;
  }

  .footer-directory {
    padding: 24px 22px;
    border-radius: 26px;
  }

  .footer-directory .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Lightweight motion system: premium, fast, and reduced-motion safe. */
@keyframes bodhiFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes bodhiFadeDown {
  from {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes bodhiFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--float-rotate, 0deg));
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(var(--float-rotate, 0deg));
  }
}

@keyframes bodhiSlowDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(-1.4%, -1.2%, 0) scale(1.055);
  }
}

@keyframes bodhiGlowSweep {
  from {
    transform: translateX(-140%) skewX(-16deg);
  }
  to {
    transform: translateX(140%) skewX(-16deg);
  }
}

@keyframes bodhiSoftPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

@supports (animation-timeline: view()) {
  .library-band,
  .wisdom-band,
  .meditation-band,
  .premium-band,
  .legal-preview,
  .trust-section,
  .support-grid,
  .faq-list,
  .support-form-section,
  .legal-card,
  .footer-cta-card,
  .footer-directory {
    animation: bodhiFadeUp both;
    animation-timeline: view();
    animation-range: entry 5% cover 28%;
  }

  .feature-rail article,
  .premium-grid article,
  .trust-grid article,
  .legal-links a,
  .support-grid article,
  .faq-list details,
  .legal-card section {
    animation: bodhiFadeUp both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

.site-header {
  animation: bodhiFadeDown 720ms cubic-bezier(0.16, 1, 0.3, 1) both 120ms;
}

.hero-art img {
  animation: bodhiSlowDrift 18s ease-in-out infinite;
  will-change: transform;
}

.hero-copy > * {
  animation: bodhiFadeUp 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 160ms;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 260ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 360ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 460ms;
}

.device-composition,
.library-showcase,
.topic-mockup,
.ai-showcase,
.footer-cta-visual {
  animation: bodhiFadeUp 900ms cubic-bezier(0.16, 1, 0.3, 1) both 420ms;
}

.real-app-device,
.library-phone,
.topic-screen,
.screen-phone,
.ai-floating-card,
.footer-phone-frame {
  animation: bodhiFloat 7s ease-in-out infinite;
  will-change: transform;
}

.library-phone-reader,
.topic-orbit-calm,
.ai-floating-card {
  --float-rotate: -7deg;
  animation-delay: -1.8s;
}

.library-phone-cover,
.topic-orbit-compassion {
  --float-rotate: 5deg;
  animation-delay: -3.2s;
}

.hero-store-badges a,
footer.site-footer .footer-store-badges a,
.footer-card-badges a {
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 220ms ease,
    box-shadow 220ms ease;
}

.hero-store-badges a:hover,
footer.site-footer .footer-store-badges a:hover,
.footer-card-badges a:hover {
  transform: translate3d(0, -4px, 0) scale(1.025);
  filter: brightness(1.04) saturate(1.04);
}

.hero-store-badges a::after,
footer.site-footer .footer-store-badges a::after,
.footer-card-badges a::after {
  content: "";
  position: absolute;
  inset: -14% -38%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 211, 0.42), transparent);
  opacity: 0;
}

.hero-store-badges a:hover::after,
footer.site-footer .footer-store-badges a:hover::after,
.footer-card-badges a:hover::after {
  opacity: 1;
  animation: bodhiGlowSweep 820ms ease;
}

.feature-rail article,
.premium-grid article,
.trust-grid article,
.legal-links a,
.support-grid article,
.faq-list details,
.footer-directory a,
.support-form-card input,
.support-form-card textarea {
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    opacity 220ms ease;
}

.feature-rail article:hover,
.premium-grid article:hover,
.trust-grid article:hover,
.legal-links a:hover,
.support-grid article:hover,
.faq-list details:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 24px 58px rgba(35, 45, 31, 0.12);
}

.support-form-card input:focus,
.support-form-card textarea:focus {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 18px 42px rgba(35, 45, 31, 0.1);
}

.footer-cta-card::before,
.footer-directory::before,
.support-form-card::before,
.wisdom-band::after,
.library-band::before {
  animation: bodhiSoftPulse 7.5s ease-in-out infinite;
}

@media (max-width: 720px) {
  .real-app-device,
  .library-phone,
  .topic-screen,
  .screen-phone,
  .ai-floating-card,
  .footer-phone-frame {
    animation-duration: 9s;
  }

  .feature-rail article:hover,
  .premium-grid article:hover,
  .trust-grid article:hover,
  .legal-links a:hover,
  .support-grid article:hover,
  .faq-list details:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
    filter: none !important;
  }
}
