/* Tank Dip Log — compact product page (not CRM-pattern) */

:root {
    --dl-ink: #071018;
    --dl-ink-soft: #13202c;
    --dl-paper: #f3f6f8;
    --dl-snow: #ffffff;
    --dl-muted: #5b6b78;
    --dl-line: rgba(7, 16, 24, 0.08);
    --dl-cyan: #1aa7c4;
    --dl-cyan-deep: #0e7a92;
    --dl-orange: #ff6500;
    --dl-warn: #d97706;
    --dl-ok: #0d9488;
    --dl-display: "Plus Jakarta Sans", Inter, sans-serif;
    --dl-body: "Plus Jakarta Sans", Inter, sans-serif;
}

.dip-body {
    overflow-x: clip;
}

.dl-hero,
.dl-page,
.dl-compare,
.dl-round,
.dl-close,
.dl-hero h1,
.dl-hero p,
.dl-hero a,
.dl-hero span,
.dl-hero li,
.dl-hero strong,
.dl-page h2,
.dl-page h3,
.dl-page p,
.dl-page li,
.dl-page span,
.dl-page a,
.dl-page strong,
.dl-close h2 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

/* ——— Hero (CRM-matched content styling) ——— */
.dl-hero {
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 148px 0 72px;
    background: #ffffff;
    color: #0f1b33;
}

.dl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 48% 52% at 78% 42%, rgba(147, 197, 253, 0.28), transparent 70%),
        radial-gradient(ellipse 36% 40% at 92% 70%, rgba(255, 178, 120, 0.22), transparent 72%),
        radial-gradient(ellipse 30% 34% at 62% 18%, rgba(125, 211, 252, 0.16), transparent 70%),
        #ffffff;
}

.dl-hero .container,
.dl-hero .dl-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.dl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px 48px;
    align-items: center;
    width: 100%;
}

.dl-hero-copy {
    min-width: 0;
    max-width: min(38rem, 100%);
}

.dl-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background-image:
        linear-gradient(90deg, #ffe8d6 0%, #ffffff 48%, #dceeff 100%),
        linear-gradient(90deg, #ffb07a 0%, #9ec9f5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #ff6500;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
}

.dl-hero-copy h1 {
    text-align: left;
    font-size: clamp(2.55rem, 4.6vw, 3.75rem);
    margin: 0 0 28px;
    letter-spacing: -0.045em;
    line-height: 1.08;
    color: #0f1b33;
    font-weight: 800;
    overflow-wrap: break-word;
    min-width: 0;
}

.dl-hero-copy h1 span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #ff6500;
}

.dl-hero-benefits {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 34rem;
}

.dl-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: #334155;
}

.dl-hero-benefits i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 101, 0, 0.12);
    color: #ff6500;
    font-size: 0.95rem;
    font-weight: 700;
}

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

.dl-hero-actions .btn {
    animation: dlPillIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.4s + (var(--d, 0) * 0.12s));
}

.dl-hero-actions .btn i {
    font-size: 1.2rem;
    margin-left: 4px;
}

.dl-hero .btn:focus-visible,
.dl-close .btn:focus-visible {
    outline: 3px solid #0369a1;
    outline-offset: 3px;
}

.dl-hero-visual {
    position: relative;
    min-width: 0;
    min-height: 420px;
    display: grid;
    place-items: center;
    animation-delay: 0.12s;
    overflow: visible;
}

.dl-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.dl-hero-glow-a {
    width: 280px;
    height: 280px;
    right: 8%;
    top: 6%;
    background: rgba(125, 211, 252, 0.35);
}

.dl-hero-glow-b {
    width: 220px;
    height: 220px;
    right: 18%;
    bottom: 4%;
    background: rgba(253, 186, 116, 0.28);
}

.dl-hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(100%, 540px);
    margin: 0 auto;
    padding: 18px 12px 28px;
}

.dl-hero-photo {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 28px 60px rgba(15, 27, 51, 0.2),
        0 0 0 1px rgba(15, 27, 51, 0.08);
    aspect-ratio: 16 / 11;
}

.dl-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 28%;
}

.dl-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 24, 0.05) 0%, transparent 42%, rgba(7, 16, 24, 0.45) 100%),
        linear-gradient(90deg, rgba(7, 16, 24, 0.12) 0%, transparent 28%);
    pointer-events: none;
}

.dl-hero-photo-caption {
    position: absolute;
    z-index: 1;
    right: 14px;
    bottom: 14px;
    left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f1b33;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(7, 16, 24, 0.16);
}

.dl-hero-photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.dl-hero-card {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 27, 51, 0.08);
    box-shadow: 0 14px 30px rgba(15, 27, 51, 0.14);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
    white-space: nowrap;
    animation: dlFloat 4.8s ease-in-out infinite;
}

.dl-hero-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex: 0 0 auto;
    color: inherit;
}

.dl-hero-card-icon i {
    font-size: 1rem;
    line-height: 1;
}

.dl-hero-card-icon.is-orange {
    background: #ffedd5;
    color: #ea580c;
}

.dl-hero-card-icon.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.dl-hero-card > span:last-child {
    display: inline;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f1b33;
}

.dl-hero-card-top {
    top: 6px;
    right: 0;
}

.dl-hero-card-bottom {
    left: 0;
    bottom: 8px;
    animation-delay: 0.55s;
}

.dl-hero-anim {
    animation: dlHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

@keyframes dlHeroIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dlPillIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ——— Compare board ——— */
/* ——— Page body (CRM-matched shell) ——— */
.dl-page {
    padding: 28px 0 90px;
    background:
        radial-gradient(ellipse 55% 30% at 0% 8%, rgba(14, 165, 233, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 28% at 100% 0%, rgba(255, 101, 0, 0.08), transparent 50%),
        linear-gradient(180deg, #f4f6fb 0%, #eef2f8 100%);
}

.dl-page > .container {
    max-width: 1360px;
}

.dl-block {
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 13, 32, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

/* ——— Problem / solution (SOP-style) ——— */
.dl-fixes-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 32px;
}

.dl-fixes-kicker {
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff6500;
}

.dl-fixes-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.22;
    color: var(--dl-ink);
}

.dl-fixes-head h2 span {
    color: #ff6500;
}

.dl-fixes-head > p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--dl-muted);
}

.dl-fixes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.dl-fix {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 32px rgba(8, 13, 32, 0.08);
    border: 1px solid rgba(8, 13, 32, 0.05);
}

.dl-problem,
.dl-solution {
    padding: 22px 20px 24px;
}

.dl-problem {
    background: linear-gradient(165deg, #fff1ee 0%, #ffd2cb 100%);
}

.dl-solution {
    background: linear-gradient(165deg, #edfbf3 0%, #b7ebc9 100%);
}

.dl-fix-join {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: grid;
    place-items: center;
    background: #080d20;
    color: #ff8a3d;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 22px rgba(8, 13, 32, 0.28);
}

.dl-fix-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 14px;
    color: #fff;
    font-size: 1.35rem;
}

.dl-problem .dl-fix-ico {
    background: #c4453a;
    box-shadow: 0 8px 16px rgba(196, 69, 58, 0.3);
}

.dl-solution .dl-fix-ico {
    background: #12824a;
    box-shadow: 0 8px 16px rgba(18, 130, 74, 0.3);
}

.dl-problem > span,
.dl-solution > span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dl-problem > span {
    color: #c4453a;
}

.dl-solution > span {
    color: #12824a;
}

.dl-problem h3,
.dl-solution h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    color: #080d20;
    line-height: 1.25;
}

.dl-problem p,
.dl-solution p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4b5563;
}

/* ——— Round section ——— */
.dl-round-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px 48px;
    align-items: center;
}

.dl-round-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.8vw, 2.1rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--dl-ink);
    overflow-wrap: break-word;
    min-width: 0;
}

.dl-round-copy > p {
    margin: 0 0 22px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--dl-muted);
}

.dl-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.dl-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #243447;
    line-height: 1.4;
}

.dl-points i {
    flex: 0 0 auto;
    margin-top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 167, 196, 0.14);
    color: var(--dl-cyan-deep);
    font-size: 0.9rem;
}

.dl-round-panel {
    background: linear-gradient(165deg, #0c1a24 0%, #102433 100%);
    border-radius: 20px;
    padding: 18px 16px 14px;
    color: var(--dl-snow);
    box-shadow: 0 22px 48px rgba(7, 16, 24, 0.28);
}

.dl-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-panel-top strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.dl-panel-top span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.dl-panel-row {
    display: grid;
    grid-template-columns: 0.7fr 1fr 1.1fr 0.9fr;
    gap: 8px;
    align-items: center;
    padding: 11px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.dl-panel-row.is-warn {
    background: rgba(217, 119, 6, 0.16);
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.25);
}

.dl-panel-row .id {
    color: #7dd3fc;
    font-weight: 800;
}

.dl-panel-row .grade {
    color: rgba(255, 255, 255, 0.55);
}

.dl-panel-row .in {
    color: rgba(255, 255, 255, 0.78);
}

.dl-panel-row .out {
    text-align: right;
    color: #5eead4;
    font-weight: 800;
}

.dl-panel-row.is-warn .out {
    color: #fdba74;
}

.dl-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    padding-top: 10px;
}

.dl-panel-foot > span:first-child {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.dl-panel-btn {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dl-orange), #ff8a3d);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

/* ——— Close (CRM-style horizontal band) ——— */
.dl-close {
    margin-top: 48px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 40px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 120% at 100% 0%, rgba(255, 101, 0, 0.18), transparent 55%),
        linear-gradient(135deg, #0c1228 0%, #161f3c 55%, #1a2448 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(12, 18, 40, 0.28);
}

.dl-close-copy {
    max-width: 36rem;
    text-align: left;
}

.dl-close h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.dl-close-copy > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.55;
}

.dl-close .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(255, 101, 0, 0.35);
}

.dl-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ——— Responsive ——— */
@media (max-width: 980px) {
    .dl-hero {
        padding: 120px 0 56px;
    }

    .dl-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .dl-hero-copy {
        max-width: none;
    }

    .dl-hero-copy h1 {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }

    .dl-hero-visual {
        min-height: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        overflow: visible;
    }

    .dl-hero-glow {
        display: none;
    }

    .dl-hero-stage {
        max-width: 100%;
        padding: 12px 4px 18px;
    }

    .dl-hero-card {
        display: inline-flex;
        max-width: min(190px, 58%);
        padding: 8px 10px;
        gap: 8px;
        font-size: 0.74rem;
        white-space: normal;
        line-height: 1.25;
    }

    .dl-hero-card-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 0.88rem;
    }

    .dl-hero-card-icon i {
        font-size: 0.88rem;
    }

    .dl-hero-card > span:last-child {
        font-size: 0.74rem;
    }

    .dl-hero-card-top {
        top: 0;
        right: 0;
    }

    .dl-hero-card-bottom {
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
    }

    .dl-hero-photo {
        width: 100%;
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .dl-hero-photo img {
        object-position: 55% 22%;
    }

    .dl-hero-photo-caption {
        left: auto;
        right: 12px;
        bottom: 12px;
        transform: none;
        max-width: min(58%, 200px);
        justify-content: flex-start;
        white-space: nowrap;
        line-height: 1.3;
        z-index: 3;
    }
}

@media (max-width: 900px) {
    .dl-page {
        padding: 20px 0 72px;
    }

    .dl-block {
        padding: 28px 16px;
        border-radius: 24px;
    }

    .dl-close {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 32px 28px;
        margin-top: 28px;
    }

    .dl-close-copy {
        max-width: none;
        text-align: center;
    }

    .dl-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .dl-fixes-grid,
    .dl-fix {
        grid-template-columns: 1fr;
    }

    .dl-fix-join {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .dl-round-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dl-panel-row {
        grid-template-columns: 0.65fr 0.9fr 1fr 0.85fr;
        font-size: 0.7rem;
        gap: 4px;
        padding: 10px 8px;
    }
}

@media (max-width: 560px) {
    .dl-hero {
        padding: 108px 0 36px;
        overflow-x: clip;
    }

    .dl-hero-grid {
        gap: 28px;
    }

    .dl-hero-copy h1 {
        font-size: clamp(2rem, 9vw, 2.55rem);
        margin-bottom: 22px;
    }

    .dl-hero-benefits {
        gap: 10px;
    }

    .dl-hero-benefits li {
        font-size: 0.94rem;
    }

    .dl-hero-photo {
        border-radius: 16px;
        aspect-ratio: 5 / 4;
    }

    .dl-hero-card {
        max-width: min(168px, 62%);
        padding: 7px 9px;
        gap: 7px;
        border-radius: 12px;
    }

    .dl-hero-card-icon {
        width: 24px;
        height: 24px;
    }

    .dl-hero-card > span:last-child {
        font-size: 0.7rem;
    }

    .dl-hero-card-bottom {
        bottom: 0;
    }

    .dl-hero-photo-caption {
        left: auto;
        right: 10px;
        bottom: 10px;
        max-width: min(55%, 180px);
        font-size: 0.64rem;
        padding: 6px 10px;
        white-space: nowrap;
        text-align: left;
    }

    .dl-problem,
    .dl-solution {
        padding: 20px 16px 22px;
    }

    .dl-close {
        padding: 28px 20px;
        gap: 18px;
    }

    .dl-close .btn-primary {
        width: auto;
        align-self: center;
        justify-content: center;
        padding: 12px 22px;
        font-size: 0.95rem;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-hero-anim,
    .dl-hero-actions .btn,
    .dl-hero-card {
        animation: none !important;
    }

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