/* DGDN public — glass hub, auth, tracking */
:root {
  --dgdn-ink: #14241c;
  --dgdn-forest: #006b3f;
  --dgdn-leaf: #0d9488;
  --dgdn-teal: #0d9488;
  --dgdn-gold: #c9a227;
  --dgdn-gold-soft: #e8d9a8;
  --dgdn-ivory: #f4f7f5;
  --dgdn-paper: rgba(255, 255, 255, .72);
  --dgdn-glass: rgba(255, 255, 255, .58);
  --dgdn-glass-strong: rgba(255, 255, 255, .78);
  --dgdn-line: rgba(20, 36, 28, .1);
  --dgdn-muted: #5c6b63;
  --dgdn-danger: #dc2626;
  --dgdn-ok: #16a34a;
  --dgdn-shadow: 0 10px 28px rgba(20, 36, 28, .08);
  --dgdn-serif: "Fraunces", Georgia, serif;
  --dgdn-sans: "Outfit", system-ui, sans-serif;
  --tg-green: #006b3f;
  --tg-yellow: #ffce00;
  --tg-red: #d21034;
}

.dgdn-public,
.dgdn-auth-body,
.dgdn-auth,
.dgdn-track {
  font-family: var(--dgdn-sans);
  color: var(--dgdn-ink);
}

/* ——— Public hub ——— */
.dgdn-public {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 68% 50% at 6% 0%, rgba(0, 107, 63, .14), transparent 58%),
    radial-gradient(ellipse 50% 42% at 94% 8%, rgba(13, 148, 136, .12), transparent 55%),
    radial-gradient(ellipse 48% 40% at 82% 92%, rgba(201, 162, 39, .1), transparent 58%),
    radial-gradient(ellipse 36% 30% at 12% 78%, rgba(210, 16, 52, .05), transparent 60%),
    linear-gradient(168deg, #eef6f1 0%, #f7f5ef 46%, #f3f0ea 100%);
}

.dgdn-public-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.dgdn-public-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--tg-green) 0 33.33%, var(--tg-yellow) 33.33% 66.66%, var(--tg-red) 66.66% 100%);
  opacity: .85;
}
.dgdn-public-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.dgdn-public-blob--a {
  width: min(420px, 58vw);
  height: min(420px, 58vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle at 35% 40%, rgba(13, 148, 136, .22), rgba(0, 107, 63, .06) 62%, transparent 72%);
}
.dgdn-public-blob--b {
  width: min(380px, 52vw);
  height: min(380px, 52vw);
  left: -14%;
  bottom: 8%;
  background: radial-gradient(circle at 60% 45%, rgba(201, 162, 39, .16), rgba(244, 247, 245, 0) 70%);
}
.dgdn-public-bg-stripe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--tg-green) 0 33%, var(--tg-yellow) 33% 66%, var(--tg-red) 66% 100%);
  opacity: .9;
}

.dgdn-public-banner {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--dgdn-ink);
  background: var(--dgdn-glass);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--dgdn-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dgdn-public-banner--float {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  margin-bottom: 0;
  z-index: 30;
}
.dgdn-public-banner-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.dgdn-public-banner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.dgdn-public-banner-logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.dgdn-public-banner-id.is-logo-only .dgdn-public-banner-logo img {
  height: 60px;
  width: auto;
  max-width: none;
}
.dgdn-public-banner:has(.is-logo-only) {
  flex-wrap: nowrap;
}
/* Barre blanche pleine largeur (portail) : logo seul à gauche, alignée sur le contenu */
.dgdn-public-banner--bar {
  margin: 0;
  padding: 10px max(20px, calc((100% - 1180px) / 2 + 20px));
  border: 0;
  border-bottom: 1px solid var(--dgdn-line);
  border-radius: 0;
  background: #fff url("/public/assets/media/banners/generalbanner.png") center / cover no-repeat;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a {
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a:hover {
  background: #eef3f0;
  color: var(--dgdn-forest);
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a.is-solid {
  padding-inline: 18px;
  background: var(--dgdn-forest);
  color: #fff;
}
.dgdn-public-banner--bar .dgdn-public-banner-nav a.is-solid:hover {
  background: #00552f;
  color: #fff;
}
.dgdn-public-banner--bar ~ .dgdn-public-inner--pad-top {
  padding-top: 40px;
}
@media (max-width: 480px) {
  .dgdn-public-banner-id.is-logo-only .dgdn-public-banner-logo img { height: 44px; }
  .dgdn-public-banner:has(.is-logo-only) { padding-block: 8px; }
  .dgdn-public-banner:has(.is-logo-only) .dgdn-public-banner-nav { flex-wrap: nowrap; gap: 6px; }
  .dgdn-public-banner:has(.is-logo-only) .dgdn-public-banner-nav a { padding: 7px 11px; font-size: .82rem; white-space: nowrap; }
}
.dgdn-public-banner-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.dgdn-public-banner-eyebrow {
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-muted);
  margin-bottom: 2px;
  max-width: 16rem;
  white-space: normal;
  line-height: 1.25;
}
.dgdn-public-banner-mark strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dgdn-forest);
}
.dgdn-public-banner-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.dgdn-public-banner-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--dgdn-ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid rgba(20, 36, 28, .12);
  background: rgba(255, 255, 255, .45);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dgdn-public-banner-nav a:hover {
  background: rgba(255, 255, 255, .75);
  border-color: rgba(13, 148, 136, .35);
  color: var(--dgdn-forest);
}
.dgdn-public-banner-nav a.is-solid {
  background: var(--dgdn-leaf);
  color: #fff;
  border-color: var(--dgdn-leaf);
}
.dgdn-public-banner-nav a.is-solid:hover {
  background: var(--dgdn-forest);
  border-color: var(--dgdn-forest);
  color: #fff;
}

.dgdn-public-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 72px;
}
.dgdn-public-inner--pad-top {
  padding-top: 110px;
}

.dgdn-hub-intro {
  text-align: center;
  margin: 8px 0 28px;
}
.dgdn-hub-intro--apps {
  margin-bottom: 32px;
}

/* ——— Hero stage (présidence-style slider) ——— */
.dgdn-hub-stage {
  position: relative;
  z-index: 0;
  min-height: min(64vh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  margin: 0;
}
.dgdn-hub-slides {
  position: absolute;
  inset: 0;
}
.dgdn-hub-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform 6s ease;
}
.dgdn-hub-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.dgdn-hub-slide--brand {
  background: linear-gradient(155deg, #0a1f18 0%, #0d3b2e 45%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dgdn-hub-slide-flag {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.dgdn-hub-slide-logo {
  position: relative;
  z-index: 1;
  width: min(280px, 46vw);
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35));
}
.dgdn-hub-stage-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 30, 20, .86) 0%, rgba(10, 30, 20, .62) 45%, rgba(10, 30, 20, .18) 100%);
  z-index: 1;
}
@media (max-width: 767px) {
  .dgdn-hub-stage-scrim { background: rgba(10, 30, 20, .66); }
}
.dgdn-hub-stage-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  width: min(1180px, 100%);
  padding: 72px 20px 104px;
}
.dgdn-hub-stage-inner > * {
  max-width: 560px;
}
.dgdn-hub-stage-kicker {
  margin: 0 0 12px;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-gold-soft);
}
.dgdn-hub-stage-title {
  margin: 0 0 14px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.dgdn-hub-stage-lead {
  margin: 0 0 24px;
  max-width: 46ch;
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
  font-size: 1.05rem;
}
.dgdn-hub-stage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.dgdn-hub-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--dgdn-leaf);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid var(--dgdn-leaf);
  min-width: 180px;
  transition: background .15s ease;
}
.dgdn-hub-btn-solid:hover {
  background: var(--dgdn-forest);
  border-color: var(--dgdn-forest);
  color: #fff;
}
.dgdn-hub-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .65);
  min-width: 180px;
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-hub-btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}
.dgdn-hub-dots {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}
.dgdn-hub-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .4);
  transition: background .15s ease, transform .15s ease;
}
.dgdn-hub-dot.is-active {
  background: var(--dgdn-leaf);
  transform: scale(1.15);
}

.dgdn-hub-stage-tricolor {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  z-index: 3;
  background: linear-gradient(90deg, var(--tg-green) 0 33.33%, var(--tg-yellow) 33.33% 66.66%, var(--tg-red) 66.66% 100%);
}

@media (prefers-reduced-motion: reduce) {
  .dgdn-hub-slide {
    transition: opacity .2s ease;
    transform: none;
  }
  .dgdn-hub-slide.is-active {
    transform: none;
  }
}

.dgdn-hub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dgdn-hub-cta-btn {
  width: auto !important;
  min-width: 180px;
  padding-left: 22px;
  padding-right: 22px;
}

.dgdn-hub-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-leaf);
}
.dgdn-hub-lead {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--dgdn-muted);
  line-height: 1.55;
  font-size: 1rem;
}

.dgdn-hub-tiles {
  margin-bottom: 40px;
}
.dgdn-hub-tiles .dgdn-tile {
  min-height: 168px;
}

.dgdn-hub-section-title {
  font-family: var(--dgdn-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  color: var(--dgdn-ink);
}
.dgdn-hub-section-lead {
  margin: 0 0 22px;
  color: var(--dgdn-muted);
  line-height: 1.5;
  max-width: 48ch;
}

.dgdn-hub-how {
  margin: 8px 0 48px;
}
.dgdn-hub-how--compact {
  margin-top: 28px;
}
.dgdn-hub-how-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--dgdn-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.dgdn-hub-how-card {
  padding: 22px 24px;
  border-top: 1px solid var(--dgdn-line);
}
.dgdn-hub-how-card:first-child { border-top: 0; }
@media (min-width: 768px) {
  .dgdn-hub-how-grid { grid-template-columns: 1fr 1fr 1fr; }
  .dgdn-hub-how-card { border-top: 0; border-left: 1px solid var(--dgdn-line); }
  .dgdn-hub-how-card:first-child { border-left: 0; }
}
.dgdn-hub-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8f3ed;
  color: var(--dgdn-forest);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 10px;
}
.dgdn-hub-how-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--dgdn-ink);
}
.dgdn-hub-how-card p {
  margin: 0;
  color: var(--dgdn-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.dgdn-hub-help {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #e8f3ed;
}
.dgdn-hub-help .dgdn-hub-section-title {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.dgdn-hub-help-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--dgdn-forest);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease;
}
.dgdn-hub-help-btn:hover { background: #00552f; color: #fff; }
.dgdn-hub-help-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dgdn-hub-help .dgdn-hub-section-lead {
  margin-bottom: 0;
}

/* ——— Accueil public (piste A) : fond uni, tuiles, DGDN Mobile ——— */
.dgdn-public:has(.dgdn-hub-stage) {
  background: #f6f8f7;
}
.dgdn-public:has(.dgdn-hub-stage) .dgdn-public-blob,
.dgdn-public:has(.dgdn-hub-stage) .dgdn-public-bg-stripe {
  display: none;
}
.dgdn-hub-main {
  padding-top: 0;
}

/* Icônes Android / iOS du hero → section #dgdn-mobile */
.dgdn-hub-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.dgdn-hub-stores-label {
  width: 100%;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
}
.dgdn-hub-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-hub-store i { font-size: 1.35rem; }
.dgdn-hub-store:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
  color: #fff;
}
.dgdn-hub-store.is-solid {
  background: #fff;
  border-color: #fff;
  color: var(--dgdn-ink);
}
.dgdn-hub-store.is-solid:hover {
  background: #eef3f0;
  border-color: #eef3f0;
  color: var(--dgdn-ink);
}

/* Tuiles qui chevauchent le bas du hero */
.dgdn-hub-ptiles {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: -56px 0 48px;
}
@media (min-width: 768px) {
  .dgdn-hub-ptiles { grid-template-columns: 1fr 1fr; }
  .dgdn-hub-ptiles:has(> :only-child) { grid-template-columns: 1fr; }
}
.dgdn-hub-ptiles-empty {
  margin: 32px 0 40px;
}
.dgdn-hub-ptile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 6px 16px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--dgdn-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 28px -20px rgba(20, 36, 28, .45);
  transition: border-color .15s ease, transform .15s ease;
}
.dgdn-hub-ptile:hover {
  border-color: rgba(0, 107, 63, .35);
  transform: translateY(-2px);
}
.dgdn-hub-ptile:focus-visible,
.dgdn-hub-store:focus-visible,
.dgdn-hub-badge:focus-visible,
.dgdn-hub-help-btn:focus-visible {
  outline: 2px solid var(--tg-yellow);
  outline-offset: 2px;
}
.dgdn-hub-ptile-icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f3ed;
  color: var(--dgdn-forest);
  font-size: 1.3rem;
}
.dgdn-hub-ptile-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--dgdn-ink);
}
.dgdn-hub-ptile-desc {
  color: var(--dgdn-muted);
  font-size: .93rem;
  line-height: 1.5;
}
.dgdn-hub-ptile-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--dgdn-forest);
  font-size: .92rem;
  font-weight: 600;
}

/* Section DGDN Mobile */
.dgdn-hub-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin: 0 0 32px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #0f2a1f;
  color: #fff;
  overflow: hidden;
  scroll-margin-top: 24px;
}
@media (min-width: 900px) {
  .dgdn-hub-mobile {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    padding: 40px 48px 0;
    align-items: end;
  }
  .dgdn-hub-mobile-txt { padding-bottom: 40px; }
}
.dgdn-hub-mobile-kicker {
  margin: 0 0 10px;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tg-yellow);
}
.dgdn-hub-mobile-title {
  margin: 0 0 12px;
  font-family: var(--dgdn-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
.dgdn-hub-mobile-lead {
  margin: 0 0 20px;
  max-width: 50ch;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}
.dgdn-hub-mobile-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.dgdn-hub-mobile-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
}
.dgdn-hub-mobile-list i {
  font-size: 1.15rem;
  color: #6fd3a0;
}
.dgdn-hub-mobile-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dgdn-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--dgdn-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
}
.dgdn-hub-badge i { font-size: 1.6rem; }
.dgdn-hub-badge small {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  color: var(--dgdn-muted);
}
.dgdn-hub-badge.is-soon {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
  border: 1px dashed rgba(255, 255, 255, .35);
  cursor: default;
}
.dgdn-hub-badge.is-soon small { color: rgba(255, 255, 255, .6); }

/* Téléphone illustratif */
.dgdn-hub-mobile-phone {
  display: flex;
  justify-content: center;
}
.dgdn-hub-phone {
  width: min(240px, 100%);
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 300px;
  padding: 14px 14px 24px;
  border: 6px solid #1d4434;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #f6f8f7;
}
@media (max-width: 899px) {
  .dgdn-hub-phone { border-bottom: 6px solid #1d4434; border-radius: 28px; min-height: 0; }
}
.dgdn-hub-phone-bar {
  display: flex;
  justify-content: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dgdn-line);
}
.dgdn-hub-phone-bar img { height: 26px; width: auto; }
.dgdn-hub-phone-note {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(20, 36, 28, .5);
  color: var(--dgdn-ink);
  font-size: .76rem;
  line-height: 1.35;
}
.dgdn-hub-phone-note i { font-size: 1.1rem; color: var(--dgdn-forest); }
.dgdn-hub-phone-note b { display: block; font-size: .8rem; }
.dgdn-hub-phone-card {
  display: grid;
  gap: 7px;
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--dgdn-line);
}
.dgdn-hub-phone-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #dfe6e2;
}
.dgdn-hub-phone-line.is-w70 { width: 70%; background: #c3d1c9; }
.dgdn-hub-phone-line.is-w60 { width: 60%; background: #c3d1c9; }
.dgdn-hub-phone-line.is-w45 { width: 45%; }
.dgdn-hub-phone-line.is-w35 { width: 35%; }
.dgdn-hub-phone-steps {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}
.dgdn-hub-phone-steps i {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #dfe6e2;
}
.dgdn-hub-phone-steps i.is-done { background: var(--tg-green); }

@media (prefers-reduced-motion: reduce) {
  .dgdn-hub-ptile { transition: none; }
  .dgdn-hub-ptile:hover { transform: none; }
}

.dgdn-page-title {
  font-family: var(--dgdn-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 0 12px;
  text-transform: none;
  color: var(--dgdn-ink);
}

.dgdn-card {
  background: var(--dgdn-glass-strong);
  border-radius: 24px;
  box-shadow: var(--dgdn-shadow);
  border: 1px solid rgba(255, 255, 255, .75);
  padding: 28px 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dgdn-grid-2, .dgdn-grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) {
  .dgdn-grid-2 { grid-template-columns: 1fr 1fr; }
  .dgdn-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.dgdn-tile-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}
.dgdn-tile-grid-2 {
  grid-template-columns: 1fr;
}
.dgdn-tile-grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dgdn-tile-grid-2 { grid-template-columns: 1fr 1fr; }
  .dgdn-tile-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .dgdn-tile-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.dgdn-empty-note {
  margin-top: 1rem;
  color: var(--dgdn-muted);
}

.dgdn-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 22px 20px;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .78);
  background: var(--dgdn-glass);
  box-shadow: 0 8px 24px rgba(20, 36, 28, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.dgdn-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--tg-green), var(--tg-yellow), var(--tg-red));
  opacity: .7;
}
.dgdn-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, .4);
}
.dgdn-tile-icon {
  width: 44px; height: 44px;
  border-radius: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 148, 136, .12);
  color: var(--dgdn-leaf);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.dgdn-tile-title {
  color: var(--dgdn-ink);
  font-weight: 650;
  font-size: 1.02rem;
  margin-bottom: 8px;
  letter-spacing: .01em;
  text-transform: none;
}
.dgdn-tile-desc { color: var(--dgdn-muted); font-size: .92rem; line-height: 1.5; }

/* legacy topbar (unused by PublicBase; kept harmless) */
.dgdn-topbar { display: none; }
.dgdn-top-links { display: flex; gap: 8px; flex-wrap: wrap; }
.dgdn-top-links a {
  color: var(--dgdn-forest);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.dgdn-top-links a:hover { background: rgba(13, 63, 48, .06); }
.dgdn-top-links a.dgdn-link-solid {
  background: var(--dgdn-forest);
  color: #fff;
  border-color: var(--dgdn-forest);
}
.dgdn-top-links a.dgdn-link-solid:hover { background: #0a3327; }

.dgdn-logo-wrap { display: none; }

/* ——— Auth split (glass DGDN) ——— */
.dgdn-auth-body {
  margin: 0;
  min-height: 100%;
  background: #eef4f1;
}

.dgdn-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: transparent;
}
@media (min-width: 960px) {
  .dgdn-auth { grid-template-columns: minmax(380px, 46%) 1fr; }
}

.dgdn-auth-brand {
  position: relative;
  min-height: 280px;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a1f18;
}
.dgdn-auth-brand-photo {
  position: absolute;
  inset: 0;
  background: url('/public/assets/media/images/dgdn-building.jpg') center/cover no-repeat;
  pointer-events: none;
}
.dgdn-auth-brand-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 28, 22, .35) 0%, rgba(8, 28, 22, .55) 45%, rgba(8, 28, 22, .78) 100%);
}
.dgdn-auth-brand-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tg-green) 0 33%, var(--tg-yellow) 33% 66%, var(--tg-red) 66% 100%);
  opacity: .9;
}

.dgdn-auth-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 36px 42px;
  min-height: inherit;
}

.dgdn-auth-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: auto;
}
.dgdn-auth-logo {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
  background: transparent;
}
.dgdn-auth-wordmark-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.dgdn-auth-wordmark {
  font-size: 1.25rem;
  letter-spacing: .08em;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.dgdn-auth-wordmark-sub {
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: 4px;
  max-width: 16rem;
  white-space: normal;
  line-height: 1.3;
}

.dgdn-auth-center {
  margin: 36px 0 24px;
  max-width: 28rem;
}
.dgdn-auth-kicker {
  margin: 0 0 12px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dgdn-gold-soft);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.dgdn-auth-hero-title {
  margin: 0 0 16px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}
.dgdn-auth-hero-lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.dgdn-auth-bottom {
  margin-top: auto;
}

.dgdn-auth-rotator {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dgdn-auth-rotator-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
  font-weight: 600;
}
.dgdn-auth-rotator-words {
  position: relative;
  height: 1.55em;
  overflow: hidden;
  font-family: var(--dgdn-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}
.dgdn-auth-rotator-words span {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(8px);
  animation: dgdn-rotator 12s infinite;
}
.dgdn-auth-rotator-words span:nth-child(1) { animation-delay: 0s; }
.dgdn-auth-rotator-words span:nth-child(2) { animation-delay: 3s; }
.dgdn-auth-rotator-words span:nth-child(3) { animation-delay: 6s; }
.dgdn-auth-rotator-words span:nth-child(4) { animation-delay: 9s; }

@keyframes dgdn-rotator {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  8%, 22% { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-8px); }
}

.dgdn-rise {
  opacity: 0;
  transform: translateY(10px);
  animation: dgdn-rise .35s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes dgdn-rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dgdn-rise {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .dgdn-auth-rotator-words span {
    animation: none;
    opacity: 0;
    transform: none;
  }
  .dgdn-auth-rotator-words span:first-child {
    opacity: 1;
  }
  .dgdn-tile:hover {
    transform: none;
  }
}

.dgdn-auth-form {
  position: relative;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 45% at 80% 10%, rgba(13, 148, 136, .12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 107, 63, .08), transparent 55%),
    linear-gradient(165deg, #eef6f2 0%, #f6f4ee 100%);
  overflow: hidden;
}
.dgdn-auth-form-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .45), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, .08), transparent 45%);
}
@media (min-width: 960px) {
  .dgdn-auth-form { padding: 48px 8vw; }
}

.dgdn-auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .62);
  border-radius: 28px;
  padding: 32px 28px 28px;
  box-shadow: 0 16px 40px rgba(20, 36, 28, .1);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dgdn-auth-title {
  font-family: var(--dgdn-serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.dgdn-auth-sub {
  color: var(--dgdn-muted);
  font-size: .95rem;
  margin: 0 0 22px;
  line-height: 1.45;
}

.dgdn-auth-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 22px;
  font-size: .88rem;
}
.dgdn-auth-meta a { color: var(--dgdn-leaf); font-weight: 600; text-decoration: none; }
.dgdn-auth-meta a:hover { text-decoration: underline; }

.dgdn-auth-alert {
  background: rgba(201, 162, 39, .12);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: .9rem;
  border: 1px solid rgba(201, 162, 39, .25);
}
.dgdn-auth-alert a { color: var(--dgdn-forest); font-weight: 700; }

.dgdn-alert {
  padding: 11px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: .92rem;
}
.dgdn-alert-error { background: #fdecec; color: var(--dgdn-danger); border: 1px solid #f4c7c7; }
.dgdn-alert-ok { background: #e8f6ee; color: var(--dgdn-ok); border: 1px solid #c6e6d4; }
.dgdn-alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.dgdn-field { margin-bottom: 14px; }
.dgdn-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--dgdn-muted);
  margin-bottom: 6px;
}

.dgdn-input, .dgdn-select {
  width: 100%;
  border: 1px solid rgba(20, 36, 28, .12);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: rgba(255, 255, 255, .62);
  color: var(--dgdn-ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dgdn-input:focus, .dgdn-select:focus {
  background: rgba(255, 255, 255, .88);
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .14);
}

.dgdn-check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .9rem;
  color: var(--dgdn-muted);
  margin: 4px 0 16px;
}

.dgdn-btn-green,
.dgdn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dgdn-leaf);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .12s ease, background .12s ease;
}
.dgdn-btn-green:hover,
.dgdn-btn-primary:hover { background: var(--dgdn-forest); transform: translateY(-1px); color: #fff; }

.dgdn-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dgdn-forest);
  border: 1px solid var(--dgdn-line);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.dgdn-btn-ghost:hover { background: rgba(13, 63, 48, .05); }

.dgdn-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .dgdn-form-grid { grid-template-columns: 1fr 1fr; } }

.dgdn-auth-foot {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--dgdn-muted);
  text-align: center;
}
.dgdn-auth-foot a { color: var(--dgdn-leaf); font-weight: 600; text-decoration: none; }

/* OTP */
.dgdn-otp {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin: 8px 0 20px;
}
.dgdn-otp-box {
  width: 100%;
  max-width: 52px;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid rgba(20, 36, 28, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  color: var(--dgdn-ink);
}
.dgdn-otp-box:focus {
  outline: none;
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .16);
  background: rgba(255, 255, 255, .9);
}

/* ——— Tracking (split: brand | form) ——— */
.dgdn-track {
  min-height: 100vh;
  background: var(--dgdn-ivory);
}

.dgdn-track-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .dgdn-track-split {
    grid-template-columns: minmax(340px, 46%) 1fr;
  }
}

.dgdn-track-brand-pane {
  display: none;
  position: relative;
  min-height: 100vh;
  color: #fff;
  background: url('/public/assets/media/images/dgdn-building.jpg') center/cover no-repeat;
  overflow: hidden;
}
.dgdn-track-brand-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 22, .4) 0%, rgba(8, 28, 22, .62) 45%, rgba(8, 28, 22, .92) 100%),
    linear-gradient(90deg, rgba(0, 153, 143, .35), transparent 75%);
}
.dgdn-track-brand-pane::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #008751 0 33%, #ffce00 33% 66%, #d21034 66% 100%);
}
.dgdn-track-brand-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 42px 48px;
  max-width: 28rem;
}
.dgdn-track-brand-eyebrow {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dgdn-gold-soft);
}
.dgdn-track-brand-title {
  margin: 0 0 20px;
  font-family: var(--dgdn-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.dgdn-track-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.dgdn-track-brand-lead {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 32ch;
}

@media (min-width: 900px) {
  .dgdn-track-brand-pane { display: block; }
}

.dgdn-track-form-pane {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--dgdn-ivory);
}

.dgdn-track-form-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 28, 22, .9), rgba(0, 153, 143, .78)),
    url('/public/assets/media/images/dgdn-building.jpg') center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.dgdn-track-form-banner-id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.dgdn-track-form-banner .dgdn-track-brand-icon {
  margin: 0;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .28);
}
.dgdn-track-form-banner .dgdn-track-brand-eyebrow {
  margin: 0 0 2px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .78);
}
.dgdn-track-form-banner-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .95rem;
  text-transform: uppercase;
  line-height: 1.2;
}
.dgdn-track-form-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.dgdn-track-form-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1);
  transition: background .15s ease, border-color .15s ease;
}
.dgdn-track-form-nav a:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.dgdn-track-panel {
  width: min(560px, calc(100% - 36px));
  margin: 20px auto 48px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--dgdn-line);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--dgdn-shadow);
  animation: dgdn-track-in .28s ease-out;
}
@media (min-width: 900px) {
  .dgdn-track-panel {
    margin: 28px auto 56px;
    padding: 32px 28px 28px;
  }
}

@keyframes dgdn-track-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dgdn-track-panel { animation: none; }
}

.dgdn-track-kicker {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dgdn-leaf);
  font-weight: 650;
  margin: 0 0 8px;
}
.dgdn-track-heading {
  font-family: var(--dgdn-serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.dgdn-track-lead {
  color: var(--dgdn-muted);
  margin: 0 0 22px;
  line-height: 1.5;
  font-size: .95rem;
}

.dgdn-steps {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.dgdn-steps li {
  flex: 1;
  font-size: .8rem;
  font-weight: 650;
  color: var(--dgdn-muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--dgdn-line);
}
.dgdn-steps li.is-on {
  color: var(--dgdn-forest);
  border-bottom-color: var(--dgdn-gold);
}

.dgdn-choice {
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .dgdn-choice { grid-template-columns: 1fr 1fr; }
}

.dgdn-choice a {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--dgdn-paper);
  border: 1px solid var(--dgdn-line);
  border-radius: 18px;
  padding: 20px 18px 18px;
  min-height: 168px;
  box-shadow: 0 8px 24px rgba(13, 63, 48, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.dgdn-choice a:hover {
  border-color: var(--dgdn-gold);
  box-shadow: 0 10px 28px rgba(13, 63, 48, .08);
}
.dgdn-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(0, 153, 143, .1);
  color: var(--dgdn-leaf);
  font-size: 1.1rem;
}
.dgdn-choice-tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dgdn-leaf);
  margin-bottom: 8px;
}
.dgdn-choice h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.dgdn-choice p {
  margin: 0;
  color: var(--dgdn-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.dgdn-input-icon {
  position: relative;
}
.dgdn-input-icon > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dgdn-muted);
  font-size: 1rem;
  pointer-events: none;
}
.dgdn-input-icon .dgdn-input {
  padding-left: 42px;
}

.dgdn-result {
  background: rgba(0, 153, 143, .04);
  border-radius: 16px;
  border: 1px solid var(--dgdn-line);
  padding: 18px;
  margin-bottom: 16px;
}
.dgdn-result-dl {
  display: grid;
  gap: 14px;
  margin: 0;
}
.dgdn-result dt {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dgdn-muted);
  margin: 0 0 4px;
}
.dgdn-result dd {
  margin: 0;
  font-weight: 650;
}
.dgdn-result-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dgdn-progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 24, 27, .08);
  overflow: hidden;
}
.dgdn-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--dgdn-ok);
  min-width: 2px;
}
.dgdn-progress-label {
  font-size: .85rem;
  color: var(--dgdn-muted);
  font-variant-numeric: tabular-nums;
  min-width: 2.5rem;
}
.dgdn-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 122, 88, .12);
  color: var(--dgdn-ok);
  font-size: .85rem;
  font-weight: 650;
}

.dgdn-note {
  background: rgba(0, 153, 143, .08);
  color: var(--dgdn-forest);
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .88rem;
  margin-top: 20px;
  line-height: 1.5;
}
.dgdn-help {
  color: #9a7b12;
  font-size: .82rem;
  margin-top: 6px;
  line-height: 1.4;
}

.dgdn-radio-stack {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.dgdn-radio-stack-2 {
  grid-template-columns: 1fr 1fr;
}
.dgdn-radio-card {
  display: block;
  border: 1px solid var(--dgdn-line);
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dgdn-radio-card:has(input:checked) {
  border-color: var(--dgdn-leaf);
  box-shadow: 0 0 0 3px rgba(0, 153, 143, .12);
}
.dgdn-radio-card input { margin-right: 8px; }

.dgdn-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.dgdn-track-actions .dgdn-btn-primary {
  width: auto;
  min-width: 220px;
}
.dgdn-track-actions .dgdn-btn-ghost { width: auto; }
.dgdn-track-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  padding-left: 22px;
}
.dgdn-track-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #008751, #ffce00, #d21034);
}

@media (max-width: 640px) {
  .dgdn-auth-panel { padding: 24px 18px; border-radius: 22px; }
  .dgdn-otp { gap: 6px; }
  .dgdn-radio-stack-2 { grid-template-columns: 1fr; }
  .dgdn-track-panel { width: min(100%, calc(100% - 28px)); padding: 22px 18px; }
}
