/**
 * Decto landing — Quippy-grade brand storytelling + app showcase + motion
 */

body.index-page {
  --dl-ink: #0f2419;
  --dl-ink-soft: #4a5f56;
  --dl-ink-muted: #7a8f84;
  --dl-green: #17382f;
  --dl-green-deep: #0f2e22;
  --dl-gold: #c5a46d;
  --dl-paper: transparent;
  --dl-line: rgba(15, 36, 29, 0.08);
  --dl-max: 1120px;
  background: transparent !important;
  color: var(--dl-ink);
  overflow-x: clip;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100dvh;
  max-height: none !important;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

html:has(body.index-page) {
  overflow-x: clip;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}

/* ── Nav ── */
body.index-page .navbar,
body.index-page #navbar {
  display: block !important;
  position: fixed !important;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  padding: calc(10px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 28px) 10px !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 0 !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.index-page .navbar.is-scrolled,
body.index-page #navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 28px rgba(15, 36, 29, 0.06) !important;
}

body.index-page .navbar > .container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: var(--dl-max);
  width: 100%;
  margin: 0 auto;
}

body.index-page .navbar .nav-menu { display: none !important; }

@media (min-width: 960px) {
  body.index-page .navbar .nav-menu {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }
}

body.index-page .bl-nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dl-ink-soft) !important;
  padding: 8px 12px;
  border-radius: 999px;
}

body.index-page .bl-nav-link:hover {
  color: var(--dl-ink) !important;
  background: rgba(15, 36, 29, 0.05);
}

body.index-page .nav-guest-links {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.index-page .bl-nav-cta {
  border-radius: 999px !important;
  padding: 9px 16px !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

body.index-page .bl-nav-cta--provider {
  background: transparent !important;
  color: var(--dl-green) !important;
  border: 1px solid rgba(23, 56, 47, 0.18) !important;
  box-shadow: none !important;
}

body.index-page .bl-nav-cta:not(.bl-nav-cta--provider) {
  background: var(--dl-green) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(23, 56, 47, 0.2);
}

/* ── Layout ── */
.dl-landing {
  position: relative;
  isolation: isolate;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.dl-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 92% -5%, rgba(197, 164, 109, 0.16), transparent 58%),
    radial-gradient(700px 480px at -5% 30%, rgba(23, 56, 47, 0.07), transparent 55%);
  z-index: 0;
}

.dl-landing > * { position: relative; z-index: 1; }

.dl-container {
  width: min(100% - 32px, var(--dl-max));
  margin-inline: auto;
}

/* ── Hero ── */
.dl-hero {
  padding:
    calc(92px + env(safe-area-inset-top, 0px))
    0
    clamp(48px, 8vw, 72px);
}

.dl-hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

@media (min-width: 960px) {
  .dl-hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dl-gold);
}

.dl-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.dl-hero__lead {
  margin: 0 0 24px;
  max-width: 34em;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.75;
  color: var(--dl-ink-soft);
}

.dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.dl-btn:hover { transform: translateY(-1px); }

.dl-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--dl-green), var(--dl-green-deep));
  box-shadow: 0 12px 28px rgba(23, 56, 47, 0.22);
}

.dl-btn--ghost {
  color: var(--dl-ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--dl-line);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.dl-btn--provider {
  color: var(--dl-green);
  background: rgba(23, 56, 47, 0.06);
  border-color: rgba(23, 56, 47, 0.14);
}

.dl-hero__note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dl-ink-muted);
}

/* Mascot + phones */
.dl-hero__visual {
  position: relative;
  min-height: 360px;
}

.dl-mascot {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(88px, 16vw, 120px);
  height: clamp(88px, 16vw, 120px);
  z-index: 3;
  animation: dl-mascot-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(15, 36, 29, 0.18));
}

.dl-mascot img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

@keyframes dl-mascot-float {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
  50% { transform: translateX(-50%) translateY(-12px) rotate(2deg); }
}

.dl-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 2.5vw, 18px);
  padding-top: 72px;
}

.dl-phone {
  width: clamp(118px, 22vw, 168px);
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2a2a, #111);
  box-shadow:
    0 24px 50px rgba(15, 36, 29, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translateY(0);
  animation: dl-phone-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dl-phone--left {
  transform: rotate(-7deg) translateY(18px);
  animation-delay: 0.12s;
}

.dl-phone--center {
  z-index: 2;
  transform: translateY(-6px);
  animation-delay: 0s;
}

.dl-phone--right {
  transform: rotate(7deg) translateY(18px);
  animation-delay: 0.22s;
}

@keyframes dl-phone-rise {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; }
}

.dl-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.3);
  position: relative;
}

.dl-phone__notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #111;
  z-index: 2;
}

.dl-phones--live .dl-phone { position: relative; }

.dl-phones--live .dl-phone__screen {
  padding: 0;
  background: rgba(255,255,255,0.28);
}

.dl-phones--live .dl-phone__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.dl-phones--inline .dl-phone__screen {
  padding: 0;
  background: rgba(255,255,255,0.28);
}

.dl-phones--inline .dl-phone__preview-scale {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 22px;
}

.dl-phones--inline .lp-preview__shell {
  width: 360px;
  transform-origin: top center;
  transform: scale(0.4);
  pointer-events: none !important;
  user-select: none;
  touch-action: none;
}

.dl-phones--inline .lp-preview__dock {
  position: absolute !important;
  left: 50% !important;
  bottom: 10px !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

.dl-phones--inline .dl-phone--center .lp-preview__shell {
  transform: scale(0.44);
}

@media (max-width: 839px) {
  .dl-phones--inline {
    padding-top: 36px;
    justify-content: center;
  }

  .dl-phones--inline .dl-phone--left,
  .dl-phones--inline .dl-phone--right {
    display: none;
  }

  .dl-phones--inline .dl-phone--center {
    width: min(240px, 62vw);
    transform: none;
    animation-delay: 0s;
  }

  .dl-phones--inline .dl-phone--center .lp-preview__shell {
    transform: scale(0.58);
  }
}

.dl-phone__live-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(23, 56, 47, 0.9);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
}

.dl-ui-feed,
.dl-ui-map,
.dl-ui-profile {
  height: 100%;
  padding: 28px 10px 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.dl-ui-feed {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.55), rgba(244, 249, 246, 0.4));
}

.dl-ui-feed__story {
  display: flex;
  gap: 6px;
}

.dl-ui-feed__story span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--dl-gold);
  background: rgba(23, 56, 47, 0.08);
}

.dl-ui-feed__card {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 56, 47, 0.08), rgba(197, 164, 109, 0.12));
  animation: dl-ui-pulse 3.2s ease-in-out infinite;
}

.dl-ui-map {
  background: linear-gradient(160deg, #dce8e2, #f5faf7);
}

.dl-ui-map__pin {
  width: 14px;
  height: 14px;
  margin: 40% auto 0;
  border-radius: 50% 50% 50% 0;
  background: var(--dl-green);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 8px rgba(23, 56, 47, 0.12);
  animation: dl-pin-bounce 2.4s ease-in-out infinite;
}

@keyframes dl-pin-bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}

.dl-ui-profile {
  background: rgba(255,255,255,0.3);
  text-align: center;
}

.dl-ui-profile__avatar {
  width: 48px;
  height: 48px;
  margin: 20% auto 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 56, 47, 0.15), rgba(197, 164, 109, 0.2));
}

.dl-ui-profile__line {
  height: 8px;
  margin: 10px 16px 0;
  border-radius: 999px;
  background: rgba(15, 36, 29, 0.08);
}

@keyframes dl-ui-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

/* ── Scenarios (Quippy-style) ── */
.dl-scenarios {
  padding: clamp(40px, 7vw, 64px) 0;
  border-top: 1px solid var(--dl-line);
}

.dl-scenarios__head {
  max-width: 640px;
  margin-bottom: 22px;
}

.dl-scenarios__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dl-scenarios__head p {
  margin: 0;
  color: var(--dl-ink-soft);
  line-height: 1.7;
}

.dl-scenario-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dl-scenario-rail::-webkit-scrollbar { display: none; }

.dl-scenario-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(15, 36, 29, 0.05);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dl-scenario-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 36, 29, 0.08);
}

.dl-scenario-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dl-gold);
}

.dl-scenario-card p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--dl-ink);
}

/* ── Journey timeline ── */
.dl-journey {
  padding: clamp(40px, 7vw, 64px) 0;
  border-top: 1px solid var(--dl-line);
}

.dl-journey__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 900;
}

.dl-journey__head p {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--dl-ink-soft);
  line-height: 1.7;
}

.dl-journey__track {
  display: grid;
  gap: 10px;
}

@media (min-width: 840px) {
  .dl-journey__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.dl-journey__step {
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 8px 22px rgba(15, 36, 29, 0.05);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.dl-journey__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dl-journey__step strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--dl-gold);
  margin-bottom: 6px;
}

.dl-journey__step span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dl-ink-soft);
  line-height: 1.45;
}

/* ── Method + audience ── */
.dl-section {
  padding: clamp(40px, 7vw, 64px) 0;
  border-top: 1px solid var(--dl-line);
}

.dl-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
}

.dl-section__head p {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--dl-ink-soft);
  line-height: 1.7;
}

.dl-method-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 840px) {
  .dl-method-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.dl-method-card {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 8px 22px rgba(15, 36, 29, 0.05);
}

.dl-method-card i {
  color: var(--dl-gold);
  margin-bottom: 10px;
}

.dl-method-card h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  font-weight: 900;
}

.dl-method-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dl-ink-soft);
}

.dl-split {
  display: grid;
  gap: 14px;
}

@media (min-width: 840px) {
  .dl-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dl-audience-card {
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 28px rgba(15, 36, 29, 0.06);
}

.dl-audience-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
}

.dl-audience-card p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--dl-ink-soft);
}

.dl-audience-card a {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--dl-green);
  text-decoration: none;
}

.dl-audience-card a:hover { text-decoration: underline; }

/* ── Final CTA ── */
.dl-final {
  padding: clamp(48px, 8vw, 72px) 0 calc(88px + env(safe-area-inset-bottom, 0px));
}

.dl-final__box {
  text-align: center;
  padding: clamp(32px, 6vw, 48px) 24px;
  border-radius: 24px;
  border: 1px solid var(--dl-line);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(197, 164, 109, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 20px 50px rgba(15, 36, 29, 0.08);
}

.dl-final__mascot {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  animation: dl-mascot-float 4.8s ease-in-out infinite;
}

.dl-final__mascot img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.dl-final__box h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 900;
}

.dl-final__box p {
  margin: 0 auto 20px;
  max-width: 34em;
  color: var(--dl-ink-soft);
  line-height: 1.7;
}

.dl-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.dl-app-dock {
  position: fixed;
  inset-inline: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 480;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  pointer-events: none;
}

.dl-app-dock a,
.dl-app-dock span {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--dl-line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  color: var(--dl-ink-soft);
  box-shadow: 0 8px 24px rgba(15, 36, 29, 0.08);
}

.dl-app-dock span { opacity: 0.55; }
.dl-app-dock[hidden] { display: none !important; }

.dl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.dl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Landing scroll unlock — never trap body height on index */
body.index-page,
html:has(body.index-page) {
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
  overscroll-behavior-y: auto;
}

body.index-page .main-content {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

body.index-page .dl-phones,
body.index-page .dl-phone,
body.index-page .dl-phone__screen {
  touch-action: pan-y;
}

@media (prefers-reduced-motion: reduce) {
  .dl-mascot,
  .dl-final__mascot,
  .dl-phone,
  .dl-ui-feed__card,
  .dl-ui-map__pin { animation: none !important; }
  .dl-reveal { opacity: 1; transform: none; }
}

/* ===== Immersive landing v2 ===== */
body.index-page .dl-landing--v2 {
  --dl-display: 'Peyda', 'Vazirmatn', sans-serif;
}

body.index-page .dl-hero--immersive {
  position: relative;
  min-height: min(100dvh, 920px);
  display: grid;
  place-items: center;
  padding: calc(88px + env(safe-area-inset-top, 0px)) 20px 72px;
  overflow: hidden;
  isolation: isolate;
}

body.index-page .dl-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 70% 10%, rgba(255, 252, 247, 0.92), transparent 60%),
    radial-gradient(ellipse 55% 45% at 12% 80%, rgba(197, 164, 109, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 70%, rgba(120, 150, 135, 0.2), transparent 55%),
    linear-gradient(165deg, #e8efe9 0%, #f4f0e8 42%, #eef3ef 100%);
}

body.index-page .dl-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: dl-orb-drift 14s ease-in-out infinite alternate;
}

body.index-page .dl-hero__orb--a {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: 8%;
  left: -8%;
  background: rgba(197, 164, 109, 0.35);
}

body.index-page .dl-hero__orb--b {
  width: min(46vw, 380px);
  height: min(46vw, 380px);
  bottom: 4%;
  right: -6%;
  background: rgba(23, 56, 47, 0.18);
  animation-delay: -4s;
}

body.index-page .dl-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes dl-orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -22px, 0) scale(1.06); }
}

body.index-page .dl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

body.index-page .dl-brand-mark {
  margin: 0;
  font-family: var(--dl-display);
  font-size: clamp(2.8rem, 10vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #122c26;
  animation: dl-brand-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.index-page .dl-hero--immersive #dl-hero-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--dl-display);
  font-size: clamp(1.55rem, 4.6vw, 2.55rem);
  font-weight: 800;
  line-height: 1.25;
  color: #17382f;
}

body.index-page .dl-hero--immersive .dl-hero__lead {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  font-weight: 600;
  line-height: 1.7;
  color: #4d635c;
}

body.index-page .dl-hero--immersive .dl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

body.index-page .dl-hero__smart {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin-top: 4px;
}

body.index-page .dl-smart-link {
  font-size: 0.84rem;
  font-weight: 800;
  color: #17382f;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 164, 109, 0.55);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body.index-page .dl-smart-link:hover {
  color: #0f2e22;
  border-color: #c5a46d;
}

body.index-page .dl-reveal {
  animation: dl-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.index-page .dl-reveal:nth-child(2) { animation-delay: 0.08s; }
body.index-page .dl-reveal:nth-child(3) { animation-delay: 0.14s; }
body.index-page .dl-reveal:nth-child(4) { animation-delay: 0.2s; }
body.index-page .dl-reveal:nth-child(5) { animation-delay: 0.26s; }

@keyframes dl-brand-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes dl-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.index-page .dl-hero__orb,
  body.index-page .dl-brand-mark,
  body.index-page .dl-reveal {
    animation: none !important;
  }
}
