:root {
    --web-bg: #07111f;
    --web-bg-soft: #0f172a;
    --web-surface: rgba(255, 255, 255, 0.06);
    --web-surface-strong: rgba(255, 255, 255, 0.1);
    --web-border: rgba(255, 255, 255, 0.1);
    --web-text: #eef4ff;
    --web-muted: #94a3b8;
    --web-primary: #3b82f6;
    --web-primary-dark: #1e4d8c;
    --web-accent: #22d3ee;
    --web-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --web-radius: 20px;
    --web-font: "Inter", system-ui, sans-serif;
    --web-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.dm-website {
    margin: 0;
    font-family: var(--web-font);
    color: var(--web-text);
    background: var(--web-bg);
    line-height: 1.6;
}

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

.dm-web-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.14), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(30, 77, 140, 0.35), transparent 40%),
        linear-gradient(180deg, #07111f 0%, #0b1628 100%);
    z-index: -1;
}

.dm-web-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.dm-web-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(7, 17, 31, 0.72);
    border-bottom: 1px solid var(--web-border);
}

.dm-web-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 74px;
}

.dm-web-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dm-web-brand .dm-app-logo {
    width: 38px;
    height: 38px;
}

.dm-web-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.dm-web-nav a {
    color: var(--web-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dm-web-nav a:hover {
    color: var(--web-text);
}

.dm-web-header-actions {
    display: flex;
    gap: 10px;
}

.dm-web-menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--web-border);
    border-radius: 12px;
    background: var(--web-surface);
    color: var(--web-text);
    cursor: pointer;
}

.dm-web-mobile-nav {
    display: grid;
    gap: 8px;
    padding: 0 16px 16px;
    border-top: 1px solid var(--web-border);
}

.dm-web-mobile-nav[hidden] {
    display: none !important;
}

.dm-web-mobile-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--web-surface);
    color: var(--web-muted);
}

.dm-web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    font: inherit;
}

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

.dm-web-btn-primary {
    background: linear-gradient(135deg, var(--web-primary), #2563eb);
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.dm-web-btn-outline,
.dm-web-btn-ghost {
    border-color: var(--web-border);
    background: var(--web-surface);
    color: var(--web-text);
}

.dm-web-btn-lg {
    padding: 14px 22px;
    font-size: 1rem;
}

.dm-web-hero {
    padding: 72px 0 40px;
}

.dm-web-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.dm-web-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.dm-web-hero-copy h1 {
    margin: 0 0 16px;
    font-family: var(--web-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.dm-web-lead {
    margin: 0 0 28px;
    color: var(--web-muted);
    font-size: 1.08rem;
    max-width: 56ch;
}

.dm-web-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dm-web-signed-in {
    margin-top: 22px;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.dm-web-hero-visual {
    position: relative;
    min-height: 440px;
    padding: 24px 28px 36px;
}

.dm-web-hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 4% 4% 8%;
    border-radius: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.45), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.35), transparent 55%);
    filter: blur(40px);
    z-index: 0;
}

.dm-web-preview-card {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 40px 90px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.6s ease;
}

.dm-web-hero-visual:hover .dm-web-preview-card {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.dm-web-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.dm-web-preview-toolbar > span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #f87171;
}

.dm-web-preview-toolbar > span:nth-child(2) {
    background: #fbbf24;
}

.dm-web-preview-toolbar > span:nth-child(3) {
    background: #34d399;
}

.dm-web-preview-url {
    margin-left: 12px;
    flex: 1;
    padding: 5px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-web-preview-url i {
    color: #16a34a;
    margin-right: 4px;
    font-size: 0.68rem;
}

.dm-web-letter {
    padding: 26px 28px 24px;
}

.dm-web-letter-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 3px solid #1e4d8c;
}

.dm-web-letter-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1e4d8c, #3b82f6);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.dm-web-letter-head strong {
    display: block;
    font-size: 1rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.dm-web-letter-head small {
    color: #64748b;
    font-size: 0.72rem;
}

.dm-web-letter-meta {
    display: flex;
    justify-content: space-between;
    margin: 14px 0 12px;
    color: #64748b;
    font-size: 0.74rem;
}

.dm-web-letter-subject {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 0.86rem;
    color: #1e293b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dm-web-letter-lines span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    margin-bottom: 10px;
}

.dm-web-letter-lines .short {
    width: 64%;
}

.dm-web-letter-lines .mid {
    width: 80%;
}

.dm-web-letter-sign {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 18px;
}

.dm-web-letter-sign em {
    display: block;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 1.35rem;
    color: #1e3a8a;
    line-height: 1;
}

.dm-web-letter-sign small {
    color: #64748b;
    font-size: 0.72rem;
}

.dm-web-letter-stamp {
    padding: 8px 12px;
    border: 2px solid #16a34a;
    border-radius: 10px;
    color: #16a34a;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: rotate(-8deg);
    opacity: 0.85;
}

.dm-web-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(12px);
    animation: dm-web-float 6s ease-in-out infinite;
}

.dm-web-float strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.2;
}

.dm-web-float small {
    color: var(--web-muted);
    font-size: 0.72rem;
}

.dm-web-float .ico {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ico-red { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.ico-green { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.ico-blue { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }

.dm-web-float-a {
    top: 0;
    right: -6px;
}

.dm-web-float-b {
    bottom: 64px;
    left: -18px;
    animation-delay: -2s;
}

.dm-web-float-c {
    bottom: 0;
    right: 24px;
    animation-delay: -4s;
}

@keyframes dm-web-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.dm-web-stats {
    padding: 10px 0 36px;
}

.dm-web-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dm-web-stat {
    padding: 22px;
    border-radius: var(--web-radius);
    background: var(--web-surface);
    border: 1px solid var(--web-border);
    text-align: center;
}

.dm-web-stat strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 6px;
}

.dm-web-stat span {
    color: var(--web-muted);
    font-size: 0.92rem;
}

.dm-web-section {
    padding: 72px 0;
}

.dm-web-section-alt {
    background: rgba(255, 255, 255, 0.02);
    border-block: 1px solid var(--web-border);
}

.dm-web-section-head {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.dm-web-section-head-left {
    margin: 0 0 0;
    text-align: left;
}

.dm-web-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #7dd3fc;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dm-web-section-head h2 {
    margin: 0 0 12px;
    font-family: var(--web-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}

.dm-web-section-head p {
    margin: 0;
    color: var(--web-muted);
}

.dm-web-feature-grid,
.dm-web-module-grid {
    display: grid;
    gap: 18px;
}

.dm-web-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.dm-web-feature-card,
.dm-web-module-card {
    padding: 24px;
    border-radius: var(--web-radius);
    background: var(--web-surface);
    border: 1px solid var(--web-border);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dm-web-feature-card:hover,
.dm-web-module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.35);
    background: var(--web-surface-strong);
}

.dm-web-feature-icon,
.dm-web-module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
    font-size: 1.15rem;
}

.dm-web-feature-card h3,
.dm-web-module-card h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
}

.dm-web-feature-card p,
.dm-web-module-card p {
    margin: 0;
    color: var(--web-muted);
    font-size: 0.95rem;
}

.dm-web-module-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dm-web-module-card .dm-web-module-icon {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.dm-web-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.dm-web-contact-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--web-border);
    box-shadow: var(--web-shadow);
}

.dm-web-contact-card h3 {
    margin: 0 0 18px;
    font-size: 1.3rem;
}

.dm-web-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.dm-web-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--web-muted);
}

.dm-web-contact-list i {
    width: 18px;
    color: #7dd3fc;
    margin-top: 3px;
}

.dm-web-contact-list a:hover {
    color: var(--web-text);
}

.dm-web-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.dm-web-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--web-border);
    color: #bfdbfe;
}

.dm-web-footer {
    padding: 34px 0 42px;
    border-top: 1px solid var(--web-border);
}

.dm-web-footer-inner {
    display: grid;
    gap: 14px;
    text-align: center;
}

.dm-web-footer-copy {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.dm-web-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.dm-web-footer-links a,
.dm-web-footer-legal-btn {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.dm-web-footer-legal-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dm-web-footer-legal-btn:hover,
.dm-web-footer-links a:hover {
    color: #ffffff;
}

.dm-web-legal-content {
    color: #e2e8f0;
    line-height: 1.65;
    font-size: 0.95rem;
}

.dm-web-legal-content p {
    margin: 0 0 1rem;
}

.dm-web-legal-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .dm-web-nav,
    .dm-web-header-actions {
        display: none;
    }

    .dm-web-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .dm-web-hero-grid,
    .dm-web-contact-grid,
    .dm-web-feature-grid,
    .dm-web-module-grid,
    .dm-web-stats-grid {
        grid-template-columns: 1fr;
    }

    .dm-web-hero {
        padding-top: 42px;
    }

    .dm-web-hero-visual {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .dm-web-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dm-web-btn {
        width: 100%;
    }
}

.dm-web-existing-client {
    margin: 18px 0 0;
    color: var(--web-muted);
    font-size: 0.92rem;
}

.dm-web-existing-client a {
    color: #93c5fd;
    font-weight: 600;
}

.dm-web-existing-client a:hover {
    color: #fff;
}

.dm-web-existing-client a:hover {
    color: #fff;
}

.dm-web-business-search {
    margin-top: 28px;
    max-width: 520px;
}

.dm-web-business-search-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 600;
}

.dm-web-business-search-field {
    position: relative;
}

.dm-web-business-search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--web-text);
    font: inherit;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

.dm-web-business-search-input::placeholder {
    color: #64748b;
}

.dm-web-business-search-input:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
    background-color: rgba(255, 255, 255, 0.08);
}

.dm-web-business-search-hint {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 0.82rem;
}

.dm-web-business-search-hint strong {
    color: #93c5fd;
    font-weight: 600;
}

.dm-web-business-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(11, 22, 40, 0.98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    max-height: min(420px, 60vh);
    overflow: auto;
}

.dm-web-business-search-results[hidden] {
    display: none !important;
}

.dm-web-business-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dm-web-business-card:hover,
.dm-web-business-card:focus-visible,
.dm-web-business-card.is-active {
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
    outline: none;
}

.dm-web-business-card-logo,
.dm-web-business-card-logo-fallback {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
}

.dm-web-business-card-logo {
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #fff;
}

.dm-web-business-card-logo-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.dm-web-business-card-body h3 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    line-height: 1.3;
}

.dm-web-business-card-body p {
    margin: 0;
    color: var(--web-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.dm-web-business-card-handle {
    align-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dm-web-business-search-empty,
.dm-web-business-search-loading {
    padding: 14px 12px;
    color: var(--web-muted);
    font-size: 0.9rem;
    text-align: center;
}

body.dm-web-modal-open {
    overflow: hidden;
}

.dm-web-modal[hidden] {
    display: none !important;
}

.dm-web-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.dm-web-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(4px);
}

.dm-web-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(540px, 100%);
    max-height: min(640px, calc(100vh - 32px));
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: #0f172a;
    border: 1px solid var(--web-border);
    box-shadow: var(--web-shadow);
}

.dm-web-modal-head {
    flex: 0 0 auto;
    padding: 24px 28px 0;
    padding-right: 56px;
}

.dm-web-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 28px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.dm-web-modal-body::-webkit-scrollbar {
    width: 6px;
}

.dm-web-modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}

.dm-web-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.dm-web-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--web-text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.dm-web-modal-head h2 {
    margin: 0 0 8px;
    font-family: var(--web-display);
    font-size: 1.55rem;
    line-height: 1.15;
}

.dm-web-modal-head p {
    margin: 0;
    color: var(--web-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.dm-web-lead-form {
    display: grid;
    gap: 12px;
}

.dm-web-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #cbd5e1;
}

.dm-web-field input,
.dm-web-field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--web-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--web-text);
    font: inherit;
}

.dm-web-field input:focus,
.dm-web-field textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.dm-web-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dm-web-form-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
}

.dm-web-form-alert.is-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.dm-web-form-alert.is-success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.dm-web-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.dm-web-modal-footnote {
    margin: 12px 0 0;
    color: var(--web-muted);
    font-size: 0.82rem;
}

.dm-web-lead-success {
    text-align: center;
    padding: 12px 0 4px;
}

.dm-web-lead-success-icon {
    font-size: 2.4rem;
    color: #4ade80;
    margin-bottom: 10px;
}

.dm-web-lead-success h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.dm-web-lead-success p {
    margin: 0 0 18px;
    color: var(--web-muted);
}

@media (max-width: 640px) {
    .dm-web-modal-dialog {
        max-height: calc(100vh - 20px);
    }

    .dm-web-modal-head {
        padding: 20px 20px 0;
        padding-right: 48px;
    }

    .dm-web-modal-body {
        padding: 12px 20px 20px;
    }

    .dm-web-field-grid,
    .dm-web-modal-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .dm-web-modal-actions .dm-web-btn {
        width: 100%;
    }
}

.dm-web-app-grid,
.dm-web-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dm-web-app-card,
.dm-web-testimonial-card {
    background: var(--web-surface);
    border: 1px solid var(--web-border);
    border-radius: var(--web-radius);
    padding: 24px;
    box-shadow: var(--web-shadow);
}

.dm-web-app-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.dm-web-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.18));
    color: #4ade80;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.dm-web-app-body h3,
.dm-web-testimonial-card blockquote {
    margin: 0 0 10px;
}

.dm-web-app-body p,
.dm-web-testimonial-card blockquote {
    color: var(--web-muted);
}

.dm-web-app-placeholder {
    grid-column: 1 / -1;
    color: var(--web-muted);
    text-align: center;
    padding: 24px;
    border: 1px dashed var(--web-border);
    border-radius: var(--web-radius);
}

.dm-web-testimonial-stars {
    color: #fbbf24;
    margin-bottom: 12px;
    display: flex;
    gap: 4px;
}

.dm-web-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
}

.dm-web-testimonial-author span {
    color: var(--web-muted);
    font-size: 0.9rem;
}

.dm-web-faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.dm-web-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--web-border);
    border-radius: 16px;
    overflow: hidden;
}

.dm-web-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 600;
    position: relative;
    padding-right: 44px;
}

.dm-web-faq-item summary::-webkit-details-marker {
    display: none;
}

.dm-web-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--web-accent);
    font-size: 1.2rem;
}

.dm-web-faq-item[open] summary::after {
    content: "−";
}

.dm-web-faq-answer {
    padding: 0 20px 18px;
    color: var(--web-muted);
}

.dm-web-footer-tagline {
    margin-top: 8px;
    color: var(--web-muted);
    font-size: 0.88rem;
}

@media (max-width: 860px) {
    .dm-web-app-grid,
    .dm-web-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .dm-web-app-card {
        flex-direction: column;
    }
}

/* ---------- v7 homepage refresh ---------- */

.dm-web-header {
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.dm-web-header.is-scrolled {
    background: rgba(7, 17, 31, 0.9);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.dm-web-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
}

.dm-web-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dm-web-brand-name span {
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dm-web-nav a {
    position: relative;
}

.dm-web-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.dm-web-nav a:hover::after {
    transform: scaleX(1);
}

.dm-web-hero {
    padding: 84px 0 56px;
}

.dm-web-hero-copy h1 {
    font-size: clamp(2.5rem, 5.2vw, 4.3rem);
}

.dm-web-accent {
    background: linear-gradient(120deg, #60a5fa 0%, #22d3ee 55%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dm-web-badge {
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.dm-web-btn-primary:hover {
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.5);
}

.dm-web-btn-light {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.25);
}

.dm-web-btn-glass {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.dm-web-btn:focus-visible,
.dm-web-nav a:focus-visible,
.dm-web-footer-col a:focus-visible,
.dm-web-footer-legal-btn:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

/* Built-for strip */
.dm-web-audience {
    padding: 24px 0 48px;
}

.dm-web-audience-head {
    text-align: center;
    margin-bottom: 22px;
}

.dm-web-audience-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #7dd3fc;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dm-web-audience-label::before,
.dm-web-audience-label::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.7));
}

.dm-web-audience-label::after {
    transform: scaleX(-1);
}

.dm-web-audience-head h2 {
    margin: 8px 0 0;
    color: var(--web-text);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.dm-web-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.dm-web-audience-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--web-border);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dm-web-audience-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.35);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.dm-web-audience-card strong {
    margin-top: 6px;
    color: var(--web-text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.dm-web-audience-card small {
    color: var(--web-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.dm-web-audience-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.dm-web-audience-icon.ico-violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.dm-web-audience-icon.ico-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.dm-web-audience-icon.ico-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.dm-web-audience-icon.ico-sky { background: linear-gradient(135deg, #0ea5e9, #3b82f6); }
.dm-web-audience-icon.ico-emerald { background: linear-gradient(135deg, #10b981, #14b8a6); }

@media (max-width: 1100px) {
    .dm-web-audience-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dm-web-audience {
        padding: 16px 0 36px;
    }

    .dm-web-audience-head {
        margin-bottom: 16px;
    }

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

    .dm-web-audience-card {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .dm-web-audience-card:last-child {
        grid-column: 1 / -1;
    }

    .dm-web-audience-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 0.95rem;
    }

    .dm-web-audience-card strong {
        font-size: 0.88rem;
    }

    .dm-web-audience-card small {
        font-size: 0.74rem;
    }
}

/* Stats */
.dm-web-stat {
    position: relative;
    overflow: hidden;
}

.dm-web-stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    opacity: 0.8;
}

.dm-web-stat strong {
    font-size: 2.1rem;
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Features & modules */
.dm-web-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dm-web-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dm-web-feature-card {
    position: relative;
    overflow: hidden;
}

.dm-web-feature-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
    pointer-events: none;
}

.dm-web-feature-icon {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.dm-web-module-icon {
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.dm-web-module-card:hover .dm-web-module-icon {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
}

.dm-web-module-card .dm-web-module-icon {
    transition: background 0.2s ease, color 0.2s ease;
}

/* How it works */
.dm-web-section-tight {
    padding-top: 24px;
}

.dm-web-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
    position: relative;
}

.dm-web-step {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: var(--web-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--web-border);
}

.dm-web-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: var(--web-display);
    font-size: 2.6rem;
    line-height: 1;
    color: rgba(147, 197, 253, 0.18);
    font-weight: 700;
}

.dm-web-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    font-size: 1.1rem;
}

.dm-web-step h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.dm-web-step p {
    margin: 0;
    color: var(--web-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.dm-web-testimonial-card {
    position: relative;
}

.dm-web-testimonial-mark {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 2rem;
    color: rgba(147, 197, 253, 0.16);
}

.dm-web-testimonial-card blockquote {
    color: #dbe4f0;
    font-size: 1.02rem;
}

.dm-web-faq-item[open] {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.06);
}

/* CTA band */
.dm-web-cta-band {
    padding: 24px 0 8px;
}

.dm-web-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 40px 44px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.22), transparent 40%),
        linear-gradient(120deg, #1d4ed8 0%, #2563eb 45%, #0891b2 100%);
    box-shadow: 0 30px 70px rgba(29, 78, 216, 0.35);
}

.dm-web-cta-card h2 {
    margin: 0 0 8px;
    font-family: var(--web-display);
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.15;
    color: #ffffff;
}

.dm-web-cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.dm-web-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* Footer */
.dm-web-footer {
    padding: 56px 0 28px;
    background: rgba(2, 6, 23, 0.45);
}

.dm-web-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--web-border);
}

.dm-web-footer-brand .dm-web-footer-tagline {
    margin: 14px 0 0;
    max-width: 38ch;
    font-size: 0.92rem;
}

.dm-web-footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.dm-web-footer-col h4 {
    margin: 0 0 4px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.dm-web-footer-col a,
.dm-web-footer-col .dm-web-footer-legal-btn {
    color: var(--web-muted);
    font-size: 0.92rem;
    text-decoration: none;
    text-align: left;
}

.dm-web-footer-col a:hover,
.dm-web-footer-col .dm-web-footer-legal-btn:hover {
    color: #ffffff;
}

.dm-web-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
}

.dm-web-footer-copy {
    color: var(--web-muted);
    font-size: 0.86rem;
}

.dm-web-footer-top {
    color: var(--web-muted);
    font-size: 0.86rem;
}

.dm-web-footer-top:hover {
    color: #ffffff;
}

/* Scroll reveal (only when JS is running) */
.dm-js .dm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.2s ease, background 0.2s ease;
}

.dm-js .dm-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.dm-js .dm-web-feature-card.dm-reveal.is-visible:hover,
.dm-js .dm-web-module-card.dm-reveal.is-visible:hover {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .dm-web-float {
        animation: none;
    }

    .dm-web-preview-card {
        transform: none;
    }

    .dm-js .dm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1100px) {
    .dm-web-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .dm-web-module-grid,
    .dm-web-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dm-web-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dm-web-hero-visual {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .dm-web-preview-card {
        transform: none;
    }

    .dm-web-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
    }

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

    .dm-web-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .dm-web-hero {
        padding: 36px 0 32px;
    }

    .dm-web-feature-grid,
    .dm-web-module-grid,
    .dm-web-steps {
        grid-template-columns: 1fr;
    }

    .dm-web-hero-visual {
        padding: 16px 6px 56px;
        min-height: 0;
    }

    .dm-web-float-a {
        right: 0;
        top: -6px;
    }

    .dm-web-float-b {
        left: 0;
        bottom: 12px;
    }

    .dm-web-float-c {
        display: none;
    }

    .dm-web-letter {
        padding: 20px 18px;
    }

    .dm-web-cta-actions {
        width: 100%;
    }

    .dm-web-footer-grid {
        grid-template-columns: 1fr;
    }
}
/* ---------- v8 dashboard preview (hero) ---------- */

.dm-web-preview-card .dm-web-preview-url {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dm-web-dash {
    padding: 18px;
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.dm-web-dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dm-web-dash-kpi {
    padding: 12px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.dm-web-dash-kpi small {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
}

.dm-web-dash-kpi strong {
    display: block;
    margin: 2px 0;
    color: #0f172a;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.dm-web-dash-kpi em {
    font-style: normal;
    font-size: 0.68rem;
    color: #64748b;
}

.dm-web-dash-kpi em.up {
    color: #16a34a;
    font-weight: 700;
}

.dm-web-dash-chart {
    padding: 12px 14px 10px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.dm-web-dash-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
}

.dm-web-dash-legend {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-weight: 600;
}

.dm-web-dash-legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #2563eb;
}

.dm-web-dash-legend i.alt {
    margin-left: 6px;
    background: #22d3ee;
}

.dm-web-dash-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    height: 96px;
    align-items: end;
}

.dm-web-dash-bars span {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 100%;
}

.dm-web-dash-bars b {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.dm-web-dash-bars b.alt {
    background: linear-gradient(180deg, #67e8f9, #06b6d4);
}

.dm-web-dash-apps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.dm-web-dash-apps span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.76rem;
    font-weight: 600;
}

.dm-web-dash-apps i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.72rem;
}

.dm-web-nav {
    gap: 18px;
}

@media (max-width: 640px) {
    .dm-web-dash {
        padding: 12px;
    }

    .dm-web-dash-kpi strong {
        font-size: 1rem;
    }

    .dm-web-dash-apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.dm-web-nav a,
.dm-web-header-actions .dm-web-btn {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .dm-web-nav {
        gap: 16px;
    }

    .dm-web-nav a {
        font-size: 0.9rem;
    }

    .dm-web-nav-optional {
        display: none;
    }
}