@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --dg-deep: #02444F;
    --dg-deep-dark: #01343C;
    --dg-teal: #02626F;
    --dg-gold: #E6B34C;
    --dg-gold-soft: #F2D484;
    --dg-ink: #12343A;
    --dg-muted: #5E7478;
    --dg-bg: #F6FBFA;
    --dg-white: #FFFFFF;
    --dg-border: rgba(2, 98, 111, .12);
    --dg-shadow: 0 24px 70px rgba(2, 68, 79, .10);
    --dg-shadow-soft: 0 14px 38px rgba(2, 68, 79, .08);
    --dg-radius-xl: 28px;
    --dg-radius-lg: 21px;
    --dg-container: 1200px;
}

html {
    scroll-behavior: smooth;
}

html,
body.dg-standalone-page {
    margin: 0;
    min-height: 100%;
    background: var(--dg-bg);
}

body.dg-standalone-page {
    color: var(--dg-ink);
}

body.admin-bar .dg-header {
    top: 32px;
}

.dg-site,
.dg-site * {
    box-sizing: border-box;
}

.dg-site {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dg-ink);
    background:
        radial-gradient(circle at 84% 11%, rgba(230, 179, 76, .08), transparent 25rem),
        var(--dg-bg);
}

.dg-site.is-rtl {
    font-family: "Vazirmatn", "Inter", system-ui, sans-serif;
}

.dg-container {
    width: min(calc(100% - 44px), var(--dg-container));
    margin-inline: auto;
}

.dg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 82px;
    background: rgba(1, 63, 73, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dg-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.dg-brand {
    min-width: 280px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.dg-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.dg-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dg-brand__copy strong {
    color: var(--dg-gold);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.dg-brand__copy small {
    max-width: 260px;
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.dg-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.dg-nav a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
}

.dg-nav a:hover {
    color: var(--dg-gold-soft);
}

.dg-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dg-language-switcher {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}

.dg-language-switcher a {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: 9px;
    font-weight: 750;
}

.dg-language-switcher a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

.dg-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dg-button:hover {
    transform: translateY(-1px);
}

.dg-button--gold {
    color: #07343C;
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-soft));
    box-shadow: 0 12px 26px rgba(230, 179, 76, .20);
}

.dg-button--outline {
    color: var(--dg-deep);
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(2, 98, 111, .15);
    box-shadow: 0 8px 20px rgba(2, 68, 79, .05);
}

.dg-header__login {
    min-height: 39px;
    padding-inline: 18px;
}

.dg-hero {
    padding: 35px 0 65px;
}

.dg-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
    align-items: center;
    gap: 56px;
}

.dg-kicker {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    color: #8D6518;
    background: rgba(230, 179, 76, .11);
    border: 1px solid rgba(230, 179, 76, .27);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
}

.dg-hero__copy h1 {
    max-width: 730px;
    margin: 18px 0 16px;
    color: var(--dg-deep);
    font-size: clamp(34px, 3.65vw, 46px);
    line-height: 1.2;
    font-weight: 680;
    letter-spacing: -.032em;
}

.dg-site.is-rtl .dg-hero__copy h1 {
    line-height: 1.46;
    letter-spacing: 0;
}

.dg-hero__copy > p {
    max-width: 700px;
    margin: 0;
    color: var(--dg-muted);
    font-size: 14px;
    line-height: 2;
}

.dg-button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.dg-intelligence-console {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: var(--dg-radius-xl);
    color: #fff;
    background:
        radial-gradient(circle at 86% 12%, rgba(230, 179, 76, .13), transparent 13rem),
        linear-gradient(145deg, var(--dg-deep-dark), var(--dg-teal));
    box-shadow: 0 30px 80px rgba(2, 68, 79, .16);
}

.dg-intelligence-console::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 38px 38px;
}

.dg-intelligence-console > * {
    position: relative;
    z-index: 1;
}

.dg-intelligence-console__top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.dg-intelligence-console__top img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.dg-intelligence-console__top span {
    display: block;
    margin-bottom: 4px;
    color: var(--dg-gold-soft);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dg-intelligence-console__top h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 650;
}

.dg-intelligence-flow {
    display: grid;
    gap: 2px;
    margin-top: 15px;
}

.dg-intelligence-flow article {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: start;
    gap: 11px;
    padding: 12px 0;
}

.dg-intelligence-flow article + article {
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.dg-intelligence-flow__number {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--dg-gold-soft);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 9px;
    font-weight: 800;
}

.dg-intelligence-flow h3 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.dg-intelligence-flow p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 10px;
    line-height: 1.6;
}

.dg-intelligence-console__status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 13px;
    color: rgba(255, 255, 255, .87);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 9px;
    font-weight: 650;
}

.dg-intelligence-console__status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dg-gold);
    box-shadow: 0 0 0 4px rgba(230, 179, 76, .13);
}

.dg-modules-section {
    position: relative;
    padding: 58px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 92%, rgba(2, 98, 111, .06), transparent 23rem),
        linear-gradient(180deg, #fff, #fbfdfd);
    border-top: 1px solid rgba(2, 98, 111, .06);
}

.dg-modules-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(2,98,111,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,98,111,.018) 1px, transparent 1px);
    background-size: 46px 46px;
}

.dg-modules-section > .dg-container {
    position: relative;
    z-index: 1;
}

.dg-modules-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
    align-items: end;
    gap: 44px;
    margin-bottom: 27px;
}

.dg-modules-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    margin-bottom: 8px;
    border-radius: 999px;
    color: #8D6518;
    background: rgba(230, 179, 76, .10);
    border: 1px solid rgba(230, 179, 76, .24);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .07em;
}

.dg-modules-heading h2 {
    max-width: 760px;
    margin: 0;
    color: var(--dg-deep);
    font-size: 28px;
    line-height: 1.45;
    font-weight: 690;
}

.dg-modules-heading p {
    margin: 0;
    color: var(--dg-muted);
    font-size: 11px;
    line-height: 1.85;
}

.dg-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dg-module-card {
    position: relative;
    min-height: 196px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 17px;
    border-radius: var(--dg-radius-lg);
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--dg-border);
    box-shadow: 0 14px 34px rgba(2, 68, 79, .06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.dg-module-card::after {
    content: "";
    position: absolute;
    width: 105px;
    height: 105px;
    inset: auto -46px -50px auto;
    border-radius: 50%;
    border: 1px solid rgba(2, 98, 111, .06);
}

.dg-module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(2, 98, 111, .22);
    box-shadow: 0 20px 44px rgba(2, 68, 79, .10);
}

.dg-module-card.is-featured {
    color: #fff;
    background:
        radial-gradient(circle at 91% 7%, rgba(230, 179, 76, .14), transparent 11rem),
        linear-gradient(148deg, var(--dg-deep-dark), var(--dg-teal));
    border-color: rgba(255, 255, 255, .10);
    box-shadow: 0 21px 48px rgba(2, 68, 79, .15);
}

.dg-module-card.is-featured::after {
    border-color: rgba(255, 255, 255, .08);
}

.dg-module-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.dg-module-card__icon {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: rgba(2, 98, 111, .06);
    border: 1px solid rgba(2, 98, 111, .11);
}

.dg-module-card.is-featured .dg-module-card__icon {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .13);
}

.dg-module-card__icon::before,
.dg-module-card__icon::after,
.dg-module-card__icon span::before,
.dg-module-card__icon span::after {
    content: "";
    position: absolute;
    display: block;
}

/* Network */
.dg-module-card__icon--network::before,
.dg-module-card__icon--network::after,
.dg-module-card__icon--network span::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dg-gold);
}

.dg-module-card__icon--network::before { top: 8px; left: 9px; }
.dg-module-card__icon--network::after { top: 10px; right: 8px; }
.dg-module-card__icon--network span::before { bottom: 7px; left: 17px; }

.dg-module-card__icon--network span::after {
    width: 23px;
    height: 15px;
    top: 13px;
    left: 9px;
    border-left: 1px solid rgba(230, 179, 76, .72);
    border-right: 1px solid rgba(230, 179, 76, .72);
    transform: skewY(-18deg);
}

/* Institution */
.dg-module-card__icon--institution::before {
    width: 20px;
    height: 15px;
    left: 10px;
    bottom: 8px;
    border: 1px solid #8D6518;
    border-top: 0;
}

.dg-module-card__icon--institution::after {
    width: 0;
    height: 0;
    top: 8px;
    left: 8px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 8px solid rgba(230, 179, 76, .7);
}

.dg-module-card__icon--institution span::before {
    width: 2px;
    height: 11px;
    left: 15px;
    bottom: 10px;
    background: #8D6518;
    box-shadow: 6px 0 0 #8D6518;
}

/* Agreement */
.dg-module-card__icon--agreement::before,
.dg-module-card__icon--agreement::after {
    width: 15px;
    height: 18px;
    top: 10px;
    border: 1px solid #8D6518;
    border-radius: 4px;
}

.dg-module-card__icon--agreement::before { left: 7px; transform: rotate(-8deg); }
.dg-module-card__icon--agreement::after { right: 7px; transform: rotate(8deg); }

.dg-module-card__icon--agreement span::before {
    width: 10px;
    height: 2px;
    left: 16px;
    top: 20px;
    border-radius: 999px;
    background: var(--dg-gold);
}

/* Event */
.dg-module-card__icon--event::before {
    width: 21px;
    height: 18px;
    top: 11px;
    left: 9px;
    border: 1px solid #8D6518;
    border-radius: 5px;
}

.dg-module-card__icon--event::after {
    width: 21px;
    height: 5px;
    top: 11px;
    left: 9px;
    border-bottom: 1px solid #8D6518;
}

.dg-module-card__icon--event span::before,
.dg-module-card__icon--event span::after {
    width: 2px;
    height: 5px;
    top: 8px;
    background: var(--dg-gold);
}

.dg-module-card__icon--event span::before { left: 15px; }
.dg-module-card__icon--event span::after { right: 15px; }

/* Opportunity */
.dg-module-card__icon--opportunity::before {
    width: 17px;
    height: 17px;
    top: 8px;
    left: 11px;
    border: 1px solid #8D6518;
    border-radius: 50%;
}

.dg-module-card__icon--opportunity::after {
    width: 8px;
    height: 6px;
    left: 16px;
    bottom: 7px;
    border: 1px solid #8D6518;
    border-top: 0;
    border-radius: 0 0 4px 4px;
}

.dg-module-card__icon--opportunity span::before {
    width: 9px;
    height: 2px;
    left: 16px;
    bottom: 13px;
    background: var(--dg-gold);
}

/* Document */
.dg-module-card__icon--document::before {
    width: 18px;
    height: 23px;
    top: 8px;
    left: 11px;
    border: 1px solid #8D6518;
    border-radius: 4px;
}

.dg-module-card__icon--document::after {
    width: 9px;
    height: 1px;
    top: 17px;
    left: 16px;
    background: var(--dg-gold);
    box-shadow: 0 5px 0 var(--dg-gold);
}

/* Globe */
.dg-module-card__icon--globe::before {
    width: 22px;
    height: 22px;
    top: 9px;
    left: 9px;
    border: 1px solid #8D6518;
    border-radius: 50%;
}

.dg-module-card__icon--globe::after {
    width: 10px;
    height: 20px;
    top: 10px;
    left: 15px;
    border-left: 1px solid var(--dg-gold);
    border-right: 1px solid var(--dg-gold);
    border-radius: 50%;
}

.dg-module-card__icon--globe span::before {
    width: 18px;
    height: 1px;
    left: 11px;
    top: 20px;
    background: var(--dg-gold);
}

/* Analytics */
.dg-module-card__icon--analytics::before,
.dg-module-card__icon--analytics::after,
.dg-module-card__icon--analytics span::before {
    bottom: 9px;
    width: 5px;
    border-radius: 3px 3px 0 0;
    background: rgba(230, 179, 76, .78);
}

.dg-module-card__icon--analytics::before {
    height: 10px;
    left: 9px;
}

.dg-module-card__icon--analytics::after {
    height: 17px;
    left: 18px;
}

.dg-module-card__icon--analytics span::before {
    height: 24px;
    left: 27px;
}

.dg-module-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.dg-site.is-rtl .dg-module-card__meta {
    align-items: flex-start;
}

.dg-module-card__number {
    color: #9A701B;
    font-size: 8px;
    font-weight: 850;
}

.dg-module-card.is-featured .dg-module-card__number {
    color: var(--dg-gold-soft);
}

.dg-module-card__featured,
.dg-module-card__state {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 6px;
    font-weight: 850;
    white-space: nowrap;
}

.dg-module-card__featured {
    color: var(--dg-gold-soft);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
}

.dg-module-card__state {
    color: #7C6840;
    background: rgba(230, 179, 76, .09);
    border: 1px solid rgba(230, 179, 76, .18);
}

.dg-lock-icon {
    position: relative;
    width: 8px;
    height: 7px;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.dg-lock-icon::before {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 5px;
    height: 5px;
    border: 1px solid currentColor;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.dg-module-card h3 {
    min-height: 42px;
    margin: 16px 0 7px;
    color: var(--dg-deep);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 750;
}

.dg-module-card.is-featured h3 {
    color: #fff;
}

.dg-module-card p {
    margin: 0;
    color: var(--dg-muted);
    font-size: 9px;
    line-height: 1.82;
}

.dg-module-card.is-featured p {
    color: rgba(255, 255, 255, .77);
}

.dg-module-card__link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    color: #8C691F;
    text-decoration: none;
    border-top: 1px solid rgba(2, 98, 111, .08);
    font-size: 8px;
    font-weight: 800;
}

.dg-module-card.is-featured .dg-module-card__link {
    color: var(--dg-gold-soft);
    border-top-color: rgba(255, 255, 255, .10);
}

.dg-module-card__arrow {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(230, 179, 76, .10);
    border: 1px solid rgba(230, 179, 76, .15);
}

.dg-module-card.is-featured .dg-module-card__arrow {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .11);
}

.dg-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 5%, rgba(230, 179, 76, .08), transparent 16rem),
        var(--dg-deep-dark);
}

.dg-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
}

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

.dg-footer__accent {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dg-gold), transparent);
}

.dg-footer__main {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.dg-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dg-footer__brand img {
    width: 51px;
    height: 51px;
    object-fit: contain;
}

.dg-footer__brand strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dg-gold);
    font-size: 16px;
    font-weight: 800;
}

.dg-footer__brand p {
    margin: 0;
    color: rgba(255, 255, 255, .70);
    font-size: 9px;
    line-height: 1.7;
}

.dg-footer__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dg-footer__nav a {
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    font-size: 8px;
    font-weight: 700;
}

.dg-footer__nav a:hover {
    color: var(--dg-gold-soft);
    border-color: rgba(230, 179, 76, .24);
}

.dg-footer__bottom {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .48);
    font-size: 8px;
}

.dg-assistant-launcher {
    position: fixed;
    inset-inline-end: 18px;
    bottom: 16px;
    z-index: 140;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 9px;
}

.dg-assistant-launcher__button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: #fff;
    background: var(--dg-deep);
    box-shadow: 0 12px 30px rgba(2, 68, 79, .19);
    font-family: inherit;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

.dg-assistant-launcher__spark {
    color: var(--dg-gold);
    font-size: 12px;
    line-height: 1;
}

.dg-assistant-panel {
    width: min(320px, calc(100vw - 26px));
    padding: 17px;
    border-radius: 19px;
    color: var(--dg-ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--dg-border);
    box-shadow: 0 22px 62px rgba(2, 68, 79, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dg-assistant-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dg-assistant-panel__head span {
    display: block;
    margin-bottom: 2px;
    color: #9A701B;
    font-size: 7px;
    font-weight: 850;
}

.dg-assistant-panel__head strong {
    display: block;
    color: var(--dg-deep);
    font-size: 12px;
    font-weight: 800;
}

.dg-assistant-panel__close {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    border: 1px solid var(--dg-border);
    color: var(--dg-muted);
    background: #fff;
    font-size: 17px;
    cursor: pointer;
}

.dg-assistant-panel > p {
    margin: 12px 0;
    color: var(--dg-muted);
    font-size: 9px;
    line-height: 1.75;
}

.dg-assistant-panel__prompts {
    display: grid;
    gap: 6px;
}

.dg-assistant-panel__prompts button {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 11px;
    color: var(--dg-deep);
    background: rgba(246, 251, 250, .92);
    border: 1px solid var(--dg-border);
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    text-align: start;
    cursor: pointer;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1080px) {
    .dg-nav {
        display: none;
    }

    .dg-hero__grid,
    .dg-modules-heading {
        grid-template-columns: 1fr;
    }

    .dg-hero__grid {
        gap: 34px;
    }

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

@media (max-width: 700px) {
    body.admin-bar .dg-header {
        top: 46px;
    }

    .dg-container {
        width: min(calc(100% - 26px), var(--dg-container));
    }

    .dg-header__inner {
        min-height: 72px;
        flex-wrap: wrap;
        padding-block: 9px;
    }

    .dg-brand {
        min-width: 0;
    }

    .dg-brand img {
        width: 43px;
        height: 43px;
    }

    .dg-brand__copy strong {
        font-size: 15px;
    }

    .dg-brand__copy small,
    .dg-header__login {
        display: none;
    }

    .dg-language-switcher a {
        min-height: 27px;
        padding-inline: 7px;
        font-size: 8px;
    }

    .dg-hero {
        padding: 28px 0 52px;
    }

    .dg-hero__copy h1 {
        font-size: 31px;
    }

    .dg-button {
        width: 100%;
    }

    .dg-intelligence-console {
        padding: 21px;
    }

    .dg-modules-section {
        padding: 48px 0 58px;
    }

    .dg-module-grid {
        grid-template-columns: 1fr;
    }

    .dg-module-card {
        min-height: 180px;
    }

    .dg-footer__main,
    .dg-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 20px;
    }

    .dg-footer__nav {
        flex-wrap: wrap;
    }
}

/* ============================================================
   Patch 0.2.6 — Home polish
   ============================================================ */
.dg-modules-section {
    background:
        radial-gradient(circle at 10% 88%, rgba(2,98,111,.09), transparent 26rem),
        radial-gradient(circle at 88% 8%, rgba(230,179,76,.08), transparent 24rem),
        linear-gradient(180deg,#edf6f4 0%,#f4f9f8 58%,#eaf3f2 100%);
}
.dg-modules-shell {
    padding:34px;
    border:1px solid rgba(2,98,111,.11);
    border-radius:31px;
    background:rgba(255,255,255,.57);
    box-shadow:0 24px 65px rgba(2,68,79,.09);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
}
.dg-modules-heading {display:block;max-width:790px;margin-bottom:26px;}
.dg-modules-heading p {max-width:700px;margin-top:9px;color:#526d71;font-size:11px;line-height:1.9;}
.dg-module-card {background:linear-gradient(160deg,rgba(255,255,255,.83),rgba(238,247,245,.82));border-color:rgba(2,98,111,.14);}
.dg-module-card:nth-child(2n):not(.is-featured){background:linear-gradient(155deg,rgba(250,253,252,.9),rgba(229,241,239,.78));}
.dg-module-card p {color:#49666a;font-size:10px;line-height:1.9;}
.dg-module-card__link {margin-inline:-8px;margin-bottom:-7px;padding:10px 8px 7px;border-radius:11px;transition:background .2s ease,color .2s ease;}
.dg-module-card__link:hover {background:rgba(230,179,76,.10);}
.dg-module-card.is-featured .dg-module-card__link:hover {background:rgba(255,255,255,.08);}
.dg-footer__nav {gap:9px;}
.dg-footer__nav a {min-height:auto;padding:0;border:0;background:transparent;}
.dg-footer__nav > span {color:rgba(230,179,76,.55);font-size:9px;}
.dg-footer__bottom {display:grid;grid-template-columns:1fr auto 1fr;}
.dg-footer__identity {justify-self:start;}
.dg-footer__copyright {justify-self:center;color:rgba(255,255,255,.68);font-weight:650;}
.dg-footer__system {justify-self:end;}
.dg-assistant-launcher {bottom:22px;inset-inline-end:22px;}
@media (max-width:700px){
  .dg-modules-shell{padding:20px;border-radius:24px;}
  .dg-footer__bottom{display:flex;}
}


/* ============================================================
   Patch 0.2.7 — Standard readable typography and card navigation
   ============================================================ */

.dg-brand__copy small {
    font-size: 12px;
}

.dg-nav a {
    font-size: 13px;
}

.dg-language-switcher a {
    font-size: 11px;
}

.dg-button,
.dg-header__login {
    font-size: 13px;
}

.dg-kicker {
    min-height: 32px;
    font-size: 11px;
}

.dg-hero__copy > p {
    font-size: 16px;
    line-height: 1.95;
}

.dg-intelligence-console__top span {
    font-size: 11px;
}

.dg-intelligence-console__top h2 {
    font-size: 21px;
}

.dg-intelligence-flow h3 {
    font-size: 14px;
}

.dg-intelligence-flow p {
    font-size: 12px;
    line-height: 1.7;
}

.dg-intelligence-flow__number,
.dg-intelligence-console__status {
    font-size: 11px;
}

.dg-modules-section {
    padding: 64px 0 76px;
    background:
        radial-gradient(circle at 7% 85%, rgba(2, 98, 111, .16), transparent 28rem),
        radial-gradient(circle at 93% 12%, rgba(230, 179, 76, .13), transparent 26rem),
        linear-gradient(145deg, #dcebea 0%, #eef6f4 47%, #d9e9e7 100%);
}

.dg-modules-shell {
    position: relative;
    overflow: hidden;
    padding: 0 36px 36px;
    border: 1px solid rgba(2, 98, 111, .16);
    border-radius: 34px;
    background:
        linear-gradient(155deg, rgba(250,253,252,.82), rgba(226,240,237,.72));
    box-shadow:
        0 30px 80px rgba(2, 68, 79, .12),
        inset 0 1px 0 rgba(255,255,255,.75);
}

.dg-modules-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(2,98,111,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,98,111,.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.dg-modules-shell > * {
    position: relative;
    z-index: 1;
}

.dg-modules-heading {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    margin: 0 -36px 30px;
    padding: 30px 36px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(230,179,76,.14), transparent 16rem),
        linear-gradient(135deg, #013d47, #02626f);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.dg-modules-heading__eyebrow {
    min-height: 30px;
    margin-bottom: 9px;
    color: var(--dg-gold-soft);
    background: rgba(230,179,76,.10);
    border-color: rgba(230,179,76,.30);
    font-size: 11px;
}

.dg-modules-heading h2 {
    color: #fff;
    font-size: 32px;
    line-height: 1.45;
}

.dg-modules-heading p {
    max-width: 760px;
    margin-top: 9px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.9;
}

.dg-access-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 17px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
}

.dg-access-flow span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.07);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.dg-access-flow i {
    color: var(--dg-gold);
    font-size: 13px;
    font-style: normal;
}

.dg-module-grid {
    gap: 16px;
}

.dg-module-card {
    min-height: 232px;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    background:
        radial-gradient(circle at 90% 6%, rgba(230,179,76,.07), transparent 10rem),
        linear-gradient(155deg, rgba(255,255,255,.87), rgba(224,239,236,.90));
    border: 1px solid rgba(2,98,111,.16);
    box-shadow:
        0 16px 38px rgba(2,68,79,.08),
        inset 0 1px 0 rgba(255,255,255,.86);
}

.dg-module-card:nth-child(3n):not(.is-featured) {
    background:
        radial-gradient(circle at 8% 92%, rgba(2,98,111,.07), transparent 10rem),
        linear-gradient(155deg, rgba(247,251,250,.94), rgba(215,234,231,.86));
}

.dg-module-card[data-disabled="true"] {
    cursor: default;
}

.dg-module-card__icon {
    width: 48px;
    height: 48px;
}

.dg-module-card__number {
    font-size: 11px;
}

.dg-module-card__featured,
.dg-module-card__state {
    min-height: 26px;
    padding: 0 10px;
    font-size: 10px;
}

.dg-module-card h3 {
    min-height: 50px;
    margin: 18px 0 9px;
    font-size: 17px;
    line-height: 1.55;
}

.dg-module-card p {
    color: #405e63;
    font-size: 13px;
    line-height: 1.85;
}

.dg-module-card.is-featured p {
    color: rgba(255,255,255,.82);
}

.dg-module-card__link {
    min-height: 43px;
    margin: auto -8px -8px;
    padding: 11px 9px 8px;
    color: #805f1c;
    font-size: 12px;
}

.dg-module-card__arrow {
    width: 29px;
    height: 29px;
    font-size: 13px;
}

.dg-module-card:hover .dg-module-card__link {
    background: rgba(230,179,76,.12);
}

.dg-module-card.is-featured:hover .dg-module-card__link {
    background: rgba(255,255,255,.08);
}

.dg-footer__brand p {
    font-size: 12px;
}

.dg-footer__nav a {
    font-size: 11px;
}

.dg-footer__bottom {
    font-size: 10px;
}

.dg-assistant-launcher__button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 11px;
}

.dg-assistant-panel__head span {
    font-size: 10px;
}

.dg-assistant-panel__head strong {
    font-size: 14px;
}

.dg-assistant-panel > p {
    font-size: 12px;
}

.dg-assistant-panel__prompts button {
    min-height: 39px;
    font-size: 11px;
}

@media (max-width: 1080px) {
    .dg-modules-heading {
        grid-template-columns: 1fr;
    }

    .dg-access-flow {
        width: fit-content;
    }
}

@media (max-width: 700px) {
    .dg-modules-shell {
        padding: 0 20px 20px;
    }

    .dg-modules-heading {
        margin-inline: -20px;
        padding: 24px 20px;
    }

    .dg-access-flow {
        display: none;
    }

    .dg-module-card {
        min-height: 210px;
    }
}


/* ============================================================
   Patch 0.2.9 — Logged-in spacing and final route migration
   ============================================================ */

.dg-hero {
    padding-top: 50px !important;
}

.dg-intelligence-console {
    margin-top: 20px;
}

body.logged-in .dg-hero {
    padding-top: 54px !important;
}

body.logged-in .dg-intelligence-console {
    margin-top: 24px;
}

@media (max-width: 700px) {
    .dg-intelligence-console,
    body.logged-in .dg-intelligence-console {
        margin-top: 0;
    }
}


/* ============================================================
   Patch 0.3.0 — Correct Hero vertical alignment
   ============================================================ */

.dg-hero {
    padding-top: 46px !important;
}

.dg-hero__grid {
    align-items: start !important;
}

.dg-hero__copy {
    padding-top: 0;
}

.dg-intelligence-console,
body.logged-in .dg-intelligence-console {
    margin-top: 0 !important;
}

@media (min-width: 1081px) {
    .dg-hero__copy,
    .dg-intelligence-console {
        align-self: start;
    }
}

@media (max-width: 700px) {
    .dg-hero {
        padding-top: 28px !important;
    }
}


/* ============================================================
   Patch 0.3.1 — Final Home Hero lock
   ============================================================ */

/*
 * The breathing room now lives on the actual grid in markup.
 * These rules neutralize legacy section padding and keep both columns
 * aligned at exactly the same visual starting point.
 */
.dg-site > main > .dg-hero {
    padding-top: 0 !important;
    padding-bottom: 66px !important;
}

.dg-site > main > .dg-hero > .dg-container > .dg-hero__grid {
    align-items: start !important;
}

.dg-site > main > .dg-hero .dg-hero__copy,
.dg-site > main > .dg-hero .dg-intelligence-console {
    align-self: start !important;
    margin-top: 0 !important;
}

.dg-site > main > .dg-hero .dg-intelligence-console {
    box-shadow:
        0 30px 78px rgba(2,68,79,.15),
        inset 0 1px 0 rgba(255,255,255,.06);
}

@media (max-width: 700px) {
    .dg-site > main > .dg-hero > .dg-container > .dg-hero__grid {
        padding-top: 26px !important;
    }

    .dg-site > main > .dg-hero {
        padding-bottom: 46px !important;
    }
}


/* ============================================================
   Patch 0.3.2 — Authenticated navigation cleanup
   ============================================================ */

.dg-button-row.is-authenticated {
    gap: 0;
}

.dg-button-row.is-authenticated .dg-button--outline {
    min-width: 178px;
}

/*
 * Header actions remain balanced after the login button disappears.
 * The language selector stays aligned with the page edge.
 */
body.logged-in .dg-header__actions {
    justify-content: flex-end;
}


/* ============================================================
   Patch 0.5.1 — Authenticated home breathing room
   ============================================================ */

@media (min-width: 1081px) {
    body.logged-in
    .dg-site > main > .dg-hero > .dg-container > .dg-hero__grid {
        padding-top: 52px !important;
    }

    body.logged-in
    .dg-site > main > .dg-hero .dg-intelligence-console {
        margin-top: 14px !important;
    }
}

@media (max-width: 1080px) {
    body.logged-in
    .dg-site > main > .dg-hero .dg-intelligence-console {
        margin-top: 0 !important;
    }
}
