﻿:root {
    --db-accent: #38bdf8;
    --db-accent-dark: #0ea5e9;
    --db-green: #244136;
    --db-ink: #07111f;
}

.db-preview {
    background: #ffffff;
}

.db-preview .tn-header {
    border-top: 6px solid var(--db-green);
}

.db-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 88vh;
    overflow: hidden;
    padding: 106px 0 54px;
    background: #eff8ff;
}

.db-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.90) 42%, rgba(255, 255, 255, 0.55) 100%);
}

.db-hero__grid,
.db-split {
    display: grid;
    gap: 28px;
}

.db-hero__grid {
    position: static;
    display: block;
}

.db-hero__content,
.db-copy-stack,
.db-section__head {
    display: grid;
    gap: 14px;
}

.db-hero__content {
    position: relative;
    z-index: 1;
    width: min(690px, 100%);
}

.db-platform-badge {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--tn-line);
    border-radius: var(--tn-radius);
    background: rgba(255, 255, 255, 0.86);
    color: var(--tn-ink);
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.db-platform-badge img {
    display: block;
    width: auto;
    height: 22px;
    object-fit: contain;
}

.db-platform-badge img:first-child {
    height: 26px;
}

.db-platform-badge span {
    font-size: 0.9rem;
    line-height: 1;
}

.db-hero h1 {
    max-width: 760px;
    color: var(--db-ink);
    font-size: 2rem;
    overflow-wrap: anywhere;
}

.db-hero__lead {
    max-width: 650px;
    color: var(--tn-muted);
    font-size: 1.04rem;
}

.db-check-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.db-check-list li {
    position: relative;
    padding-left: 24px;
    color: #26384f;
    font-weight: 700;
}

.db-check-list li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-accent), var(--db-green));
}

.db-hero__actions,
.db-center-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.db-hero__actions .tn-button {
    width: 100%;
    white-space: normal;
}

.db-hero__figure {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.db-hero__figure img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center right;
}

.db-section {
    padding: 58px 0;
    scroll-margin-top: 86px;
}

.db-section--soft {
    background: var(--tn-bg-soft);
}

.db-section--dark {
    background: linear-gradient(135deg, #0b1020, #073657);
    color: #ffffff;
}

.db-section--dark .tn-kicker {
    color: var(--db-accent);
}

.db-section.db-section--dark .db-section__head p,
.db-section.db-section--dark .db-proof-grid p,
.db-section.db-section--dark p {
    color: #d7e7f7;
}

.db-section.db-section--dark h2,
.db-section.db-section--dark .db-section__head h2,
.db-section.db-section--dark .db-proof-grid strong {
    color: #ffffff;
}

.db-section__head {
    max-width: 840px;
    margin-bottom: 26px;
}

.db-section h2,
.tn-form-aside h2 {
    color: var(--db-ink);
    font-size: 1.72rem;
}

.db-section p,
.tn-form-aside p,
.db-copy-stack p {
    color: var(--tn-muted);
}

.db-family-grid,
.db-plan-panel,
.db-proof-grid,
.db-steps,
.db-faq-list {
    display: grid;
    gap: 14px;
}

.db-family-card,
.db-plan,
.db-proof-grid article,
.db-steps article,
.db-faq-list details {
    border: 1px solid var(--tn-line);
    border-radius: var(--tn-radius);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.db-family-card {
    display: grid;
    gap: 12px;
    overflow: hidden;
    padding: 14px;
}

.db-proof-grid article {
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.db-proof-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.db-proof-grid p {
    color: #d7e7f7;
}

.db-family-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: calc(var(--tn-radius) - 2px);
}

.db-family-card h3,
.db-plan h3,
.db-steps h3 {
    color: var(--db-ink);
    font-size: 1.06rem;
}

.db-family-card a {
    color: var(--db-accent-dark);
    font-weight: 900;
}

.db-plan-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.db-plan-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--tn-line);
    border-radius: var(--tn-radius);
    background: #ffffff;
    color: var(--tn-muted);
    font-weight: 900;
    cursor: pointer;
}

.db-plan-tab.is-active {
    border-color: rgba(14, 165, 233, 0.54);
    background: #eef8ff;
    color: var(--db-ink);
}

.db-plan-panel[hidden] {
    display: none;
}

.db-plan {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    padding-top: 52px;
    position: relative;
}

.db-plan > .tn-button {
    min-height: 58px;
    margin-top: auto;
    white-space: normal;
    line-height: 1.25;
}

.db-plan--featured {
    border-color: rgba(56, 189, 248, 0.72);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.db-plan__badge,
.db-plan__eyebrow {
    display: inline-flex;
    width: fit-content;
    font-weight: 900;
}

.db-plan__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dff7ff;
    color: #0369a1;
    font-size: 0.78rem;
}

.db-plan__eyebrow {
    margin-bottom: 6px;
    color: var(--db-accent-dark);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.db-price {
    display: grid;
    gap: 3px;
    padding: 12px;
    border-radius: var(--tn-radius);
    background: #f7fbff;
}

.db-price small,
.db-price span {
    color: var(--tn-muted);
    font-weight: 750;
}

.db-price small {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.db-price strong {
    color: var(--db-ink);
    font-size: 1.35rem;
}

.db-plan ul,
.db-details div,
.tn-form-aside__box ul {
    display: grid;
    gap: 8px;
}

.db-plan ul {
    padding-left: 18px;
    color: #2d3d54;
}

.tn-form-aside__box ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.tn-form-aside__box li {
    padding-left: 4px;
}

.db-details {
    border-top: 1px solid var(--tn-line);
    padding-top: 10px;
}

.db-details summary,
.db-faq-list summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    color: var(--db-ink);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.db-details summary::after,
.db-faq-list summary::after {
    content: "+";
    color: var(--db-accent-dark);
    font-size: 1.25rem;
}

.db-details[open] summary::after,
.db-faq-list details[open] summary::after {
    content: "-";
}

.db-details div {
    margin-top: 12px;
    color: #34455c;
}

.db-details h4 {
    margin: 4px 0 0;
    color: var(--db-ink);
}

.db-steps article {
    padding: 18px;
}

.db-steps article span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #dff7ff;
    color: var(--db-ink);
    font-weight: 900;
}

.tn-section__head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.tn-google-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: var(--tn-radius);
    background: #f0fbff;
    box-shadow: 0 10px 32px rgba(14, 165, 233, 0.08);
}

.tn-google-card strong {
    color: var(--tn-text);
    font-size: 1.35rem;
    line-height: 1;
}

.tn-google-card strong span,
.tn-social-card__rating {
    color: #f59e0b;
}

.tn-google-card > span {
    color: var(--tn-muted);
    font-weight: 800;
}

.tn-google-card em {
    color: #0369a1;
    font-style: normal;
    font-weight: 900;
}

.tn-social-carousel {
    position: relative;
    margin-top: 12px;
}

.tn-social-track {
    display: flex;
    gap: 16px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tn-social-card {
    flex: 0 0 min(420px, calc(100vw - 56px));
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 300px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--tn-line);
    border-radius: var(--tn-radius);
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
    scroll-snap-align: start;
}

.tn-social-card__logo {
    width: 160px;
    height: 74px;
    max-width: 100%;
    object-fit: contain;
    padding: 8px;
    border: 1px solid var(--tn-line);
    border-radius: var(--tn-radius);
    background: #ffffff;
}

.tn-social-card__logo--smartdispenser {
    width: 190px;
    max-width: 100%;
    object-fit: cover;
    padding: 0;
}

.tn-social-card p {
    color: var(--tn-text);
    font-weight: 800;
}

.tn-social-card cite {
    color: var(--tn-muted);
    font-style: normal;
    font-weight: 700;
}

.tn-carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--tn-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--tn-text);
    box-shadow: var(--tn-shadow);
    cursor: pointer;
    transform: translateY(-50%);
}

.tn-carousel-btn--prev {
    left: -14px;
}

.tn-carousel-btn--next {
    right: -14px;
}

.db-faq-list details {
    padding: 16px;
}

.db-faq-list p {
    margin-top: 12px;
}

.db-form-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
}

.db-form-section .tn-form-layout,
.db-form-section .tn-form,
.db-form-section .tn-form-aside {
    min-width: 0;
}

.db-form input,
.db-form select,
.db-form textarea {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.db-form .tn-choice-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.db-form .tn-choice-card input {
    width: 18px;
    min-height: 18px;
}

.db-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: none;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--tn-line);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
}

.db-sticky-cta.visible {
    display: block;
}

.db-sticky-cta .tn-button {
    height: 48px;
    min-height: 48px;
}

@media (max-width: 767px) {
    .db-preview {
        padding-bottom: 78px;
    }

    .db-preview .tn-nav {
        min-height: 66px;
    }

    .db-preview .tn-nav__brand img {
        width: 74px;
    }

    .db-hero__content > *,
    .db-section__head,
    .db-form-section .tn-form-layout,
    .db-form-section .tn-form,
    .db-form-section .tn-form-aside,
    .db-family-grid,
    .db-plan-panel,
    .db-proof-grid,
    .db-steps,
    .db-faq-list {
        width: 100%;
        max-width: calc(100vw - 24px);
    }

    .db-form-section .tn-form-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .db-preview .tn-form-aside,
    .db-preview .tn-form {
        padding: 18px;
    }

    .db-hero h1 {
        font-size: 1.62rem;
        word-break: break-word;
    }

    .db-preview .tn-button {
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 0.94rem;
    }

    .db-preview .footer__grid {
        grid-template-columns: 1fr;
    }

    .db-preview .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .db-hero::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.94) 48%, #ffffff 100%);
    }

    .db-hero__figure img {
        object-position: center top;
    }
}

@media (max-width: 560px) {
    .tn-carousel-btn {
        display: none;
    }

    .tn-social-card {
        flex: 0 0 calc(100vw - 40px);
        min-height: 0;
        padding: 18px;
        scroll-snap-align: center;
    }

    .tn-social-track {
        gap: 12px;
        margin-inline: -12px;
        padding: 6px 12px 18px;
        scroll-padding-inline: 12px;
    }

    .tn-social-card__logo {
        width: 132px;
        height: 62px;
        padding: 7px;
    }

    .tn-social-card__logo--smartdispenser {
        width: 172px;
        height: 62px;
    }
}

@media (max-width: 340px) {
    .db-hero h1 {
        font-size: 1.42rem;
    }

    .db-hero__lead,
    .db-check-list li {
        font-size: 0.92rem;
    }

    .db-preview .tn-button {
        font-size: 0.86rem;
        padding-right: 10px;
        padding-left: 10px;
    }

    .db-form-section .tn-form,
    .db-form-section .tn-form-aside {
        padding: 14px;
    }
}

@media (min-width: 640px) {
    .db-hero__actions {
        flex-direction: row;
    }

    .db-hero__actions .tn-button {
        width: auto;
    }
}

@media (min-width: 768px) {
    .db-hero {
        padding: 128px 0 72px;
    }

    .db-hero__grid {
        display: block;
    }

    .db-hero h1 {
        font-size: 2.6rem;
    }

    .db-hero__figure img {
        aspect-ratio: auto;
    }

    .db-split {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: start;
    }

    .db-section {
        padding: 78px 0;
    }

    .db-section h2,
    .tn-form-aside h2 {
        font-size: 2.1rem;
    }

    .db-family-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .db-plan-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

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

    .db-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .tn-section__head--split {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
        align-items: end;
    }

    .db-sticky-cta {
        display: none;
    }
}

@media (min-width: 769px) {
    .db-sticky-cta {
        display: none !important;
    }
}

.db-section.db-section--dark h2,
.db-section.db-section--dark .db-section__head h2,
.db-section.db-section--dark .db-proof-grid strong {
    color: #ffffff !important;
}

.db-section.db-section--dark .db-section__head p,
.db-section.db-section--dark .db-proof-grid p,
.db-section.db-section--dark p {
    color: #d7e7f7 !important;
}

@media (min-width: 1024px) {
    .db-hero h1 {
        font-size: 3rem;
    }

    .db-family-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .db-plan-panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
