/* ==========================================================================
   OXFORDDESK — B2B landing page (front page of oxforddesk.com)
   assets/css/landing.css · 2026-11-23

   Loads after agents.css, themes.css and auth.css. Every brand colour is a
   theme token, so the page follows the palette an agent picked; the gate's
   own form controls (fields, tabs, OTP boxes) keep their auth.css styling.

   includes/ui/landing_open.php + landing_close.php
     .dk-nav       sticky top bar
     .dk-hero      brand band: pitch on the left, sign-in card on the right
     .dk-strip     products
     .dk-section   two sides / how it works / platform / FAQ
     .dk-cta       closing band
     .dk-foot      footer
   ========================================================================== */

.dk-body {
    margin: 0;
    background: var(--ag-surface);
    color: var(--ag-ink);
    font-family: var(--ag-font, Inter, system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}
.dk-body *, .dk-body *::before, .dk-body *::after { box-sizing: border-box; }
html:has(.dk-body) { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html:has(.dk-body) { scroll-behavior: auto; } }

.dk-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.dk-body h1, .dk-body h2, .dk-body h3 {
    font-family: var(--ag-font-head, "Plus Jakarta Sans", Inter, sans-serif);
    color: inherit;
    text-wrap: balance;
}

/* Icons from ag_icon(): stroke glyphs that take the text colour. Scoped to
   this page's own blocks - the gate's brand logos (Google, WhatsApp) carry
   their own fills and must not pick up a stroke. */
.dk-hero-points svg, .dk-role-tile svg, .dk-roles-tab svg, .dk-products-ico svg,
.dk-side-ico svg, .dk-soon svg, .dk-tool > svg, .dk-foot-contact svg, .dk-card-secure svg {
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.dk-skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 14px; border-radius: 8px;
    background: var(--ag-ink); color: #fff; font-weight: 600;
}
.dk-skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.dk-logo { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }

/* Badge */
.dk-logo .dk-logo-mark {
    width: 38px; height: 38px; flex: none;
    border-radius: 11px;
    box-shadow: 0 1px 1px rgba(7, 18, 40, .12), 0 6px 14px -6px rgba(12, 39, 87, .55);
}
.dk-logo .dk-logo-g1 { stop-color: var(--ag-brand-3); }
.dk-logo .dk-logo-g2 { stop-color: var(--ag-brand-deep); }
.dk-logo .dk-logo-line { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.dk-logo .dk-logo-thin { stroke-width: 1.5; opacity: .62; }
.dk-logo .dk-logo-orbit { stroke-width: 1.9; }
.dk-logo .dk-logo-dot { fill: #f6b93b; stroke: none; }

/* Wordmark: a heavy first half, a lighter accented second half. */
.dk-logo-text { display: grid; gap: 4px; }
.dk-logo-word {
    font-family: var(--ag-font-head, "Plus Jakarta Sans", sans-serif);
    font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em; line-height: 1;
    color: var(--ag-ink);
}
.dk-logo-word b { font-weight: 500; letter-spacing: -.02em; color: var(--ag-accent); }
.dk-logo-tag {
    font-family: var(--ag-font, Inter, sans-serif);
    font-size: .56rem; font-weight: 600; letter-spacing: .2em; line-height: 1;
    text-transform: uppercase; white-space: nowrap;
    color: var(--ag-ink-3);
}

/* On a brand band: white text, a glass tile. */
.dk-logo-light .dk-logo-word { color: #fff; }
.dk-logo-light .dk-logo-word b { color: rgba(255, 255, 255, .72); }
.dk-logo-light .dk-logo-tag { color: rgba(255, 255, 255, .6); }
.dk-logo-light .dk-logo-mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dk-logo-light .dk-logo-g1 { stop-color: rgba(255, 255, 255, .22); }
.dk-logo-light .dk-logo-g2 { stop-color: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.dk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 18px;
    border: 1px solid transparent; border-radius: 10px;
    font-size: .9rem; font-weight: 600; line-height: 1;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.dk-btn:hover { text-decoration: none; }
.dk-btn:focus-visible { outline: none; box-shadow: var(--ag-ring); }
.dk-body .dk-btn-solid { background: var(--ag-accent); color: #fff; box-shadow: 0 6px 16px -8px var(--ag-accent); }
.dk-body .dk-btn-solid:hover { background: var(--ag-accent-hover); color: #fff; transform: translateY(-1px); }
.dk-body .dk-btn-quiet { background: var(--ag-surface); color: var(--ag-ink); border-color: var(--ag-line); }
.dk-body .dk-btn-quiet:hover { border-color: var(--ag-line-strong); background: var(--ag-surface-2); color: var(--ag-ink); }
.dk-body .dk-btn-link { padding-inline: 6px; color: var(--ag-accent); }
.dk-body .dk-btn-link:hover { color: var(--ag-accent-hover); }
.dk-body .dk-btn-white { background: #fff; color: var(--ag-brand); }
.dk-body .dk-btn-white:hover { background: rgba(255, 255, 255, .9); color: var(--ag-brand-deep); transform: translateY(-1px); }
.dk-body .dk-btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.dk-body .dk-btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.dk-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
            backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dk-nav.is-scrolled { border-bottom-color: var(--ag-line-soft); box-shadow: 0 6px 20px -16px rgba(12, 39, 87, .35); }
.dk-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.dk-nav-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.dk-nav-brand:hover { text-decoration: none; }
.dk-nav-tag {
    padding: 4px 8px; border-radius: 6px;
    background: var(--ag-accent-wash); color: var(--ag-accent);
    font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.dk-nav-links { display: flex; gap: 4px; margin-left: auto; }
.dk-body .dk-nav-links a {
    padding: 8px 12px; border-radius: 8px;
    color: var(--ag-ink-2); font-size: .9rem; font-weight: 500; text-decoration: none;
}
.dk-body .dk-nav-links a:hover { background: var(--ag-surface-3); color: var(--ag-ink); }
.dk-nav-cta { display: flex; gap: 8px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.dk-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 56px 0 96px;
    background: var(--ag-brand-grad);
    color: #fff;
}
.dk-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 20% 20%, #000 0%, transparent 70%);
            mask-image: radial-gradient(ellipse 70% 70% at 20% 20%, #000 0%, transparent 70%);
}
.dk-hero::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, transparent 62%);
}
.dk-hero-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.dk-body .dk-hero-routes path { stroke: rgba(255, 255, 255, .2); stroke-width: 1.4; stroke-dasharray: 1.5 7; fill: none; }
.dk-body .dk-hero-routes circle { fill: rgba(255, 255, 255, .7); stroke: none; }
.dk-body .dk-hero-routes .dk-ping {
    fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.2;
    transform-box: fill-box; transform-origin: center;
    animation: ag-auth-ping 3.2s cubic-bezier(.2, .6, .3, 1) infinite;
}
@media (prefers-reduced-motion: reduce) { .dk-body .dk-hero-routes .dk-ping { animation: none; } }

.dk-hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 440px);
    gap: 56px;
    align-items: center;
}

.dk-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0 0 18px; padding: 6px 12px 6px 10px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-size: .78rem; font-weight: 600; letter-spacing: .02em;
}
.dk-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); }

.dk-body .dk-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.15rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -.035em;
    color: #fff;
}
.dk-lede {
    max-width: 560px; margin: 0 0 24px;
    font-size: 1.06rem; line-height: 1.65;
    color: rgba(255, 255, 255, .82);
}

.dk-hero-points { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.dk-hero-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.dk-hero-points svg {
    width: 30px; height: 30px; padding: 6px; flex: none;
    border-radius: 8px; background: rgba(255, 255, 255, .12);
}

.dk-hero-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 600px; }
.dk-body .dk-role-tile {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 14px 14px 12px;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    color: #fff; text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.dk-body .dk-role-tile:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .38); color: #fff; transform: translateY(-2px); }
.dk-role-tile > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.dk-role-tile b { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.dk-role-tile small { font-size: .78rem; color: rgba(255, 255, 255, .7); line-height: 1.35; }
.dk-role-tile > svg { width: 18px; height: 18px; flex: none; margin-left: auto; opacity: .7; }
.dk-role-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: #fff; color: var(--ag-brand); }
.dk-role-ico svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Sign-in card
   -------------------------------------------------------------------------- */

.dk-card {
    position: relative;
    padding: 26px 28px 0;
    border-radius: 20px;
    background: var(--ag-surface);
    color: var(--ag-ink);
    box-shadow: 0 2px 6px rgba(7, 18, 40, .12), 0 40px 80px -30px rgba(7, 18, 40, .55);
}
.dk-card-head { margin-bottom: 16px; }
.dk-body .dk-card-head h2 { margin: 0 0 4px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.025em; color: var(--ag-ink); }
.dk-card-head p { margin: 0; font-size: .88rem; color: var(--ag-ink-3); }

/* Agent | Supplier: a segmented control, one level above the gate's own
   Password | OTP tabs, so it reads as "who" before "how". */
.dk-roles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-bottom: 20px; padding: 4px;
    border: 1px solid var(--ag-line); border-radius: 12px;
    background: var(--ag-surface-3);
}
.dk-body .dk-roles-tab {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 42px; padding: 0 8px; border-radius: 9px;
    color: var(--ag-ink-2); font-size: .85rem; font-weight: 600; text-align: center; text-decoration: none;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.dk-roles-tab svg { width: 16px; height: 16px; flex: none; }
.dk-body .dk-roles-tab:hover { color: var(--ag-ink); text-decoration: none; }
.dk-body .dk-roles-tab[aria-selected="true"] {
    background: var(--ag-surface); color: var(--ag-brand);
    box-shadow: 0 1px 2px rgba(17, 26, 46, .08), 0 2px 8px -2px rgba(17, 26, 46, .12);
}
.dk-roles-tab:focus-visible { outline: none; box-shadow: var(--ag-ring); }

/* The agent panel keeps .ag-auth-card for the gate's inner sizing rules;
   its own box is dropped - the outer .dk-card is the card now. */
.dk-body .dk-panel.ag-auth-card {
    max-width: none; padding: 0; border: 0; border-radius: 0;
    background: none; box-shadow: none;
}
.dk-panel[hidden] { display: none !important; }
.dk-panel > .ag-alert { margin-bottom: 16px; }

/* The gate's "Welcome back" heading is said by the card head and the role
   tabs already. The code step keeps its heading: it says where the code went. */
.dk-panel [data-gate-step="identifier"] > .ag-auth-head { display: none; }
.dk-panel .ag-auth-foot { margin-bottom: 0; }

.dk-panel-lede { margin: 0 0 16px; font-size: .88rem; line-height: 1.55; color: var(--ag-ink-3); }
.dk-sup-form .ag-btn-lg { min-height: 44px; }
.dk-sup-form .ag-btn-lg svg { width: 17px; height: 17px; }
.dk-sup-form .ag-input { padding-block: 11px; }
.dk-muted { font-size: .8rem; color: var(--ag-ink-3); }

.dk-card-secure {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin: 20px -28px 0; padding: 12px 16px;
    border-top: 1px solid var(--ag-line-soft); border-radius: 0 0 20px 20px;
    background: var(--ag-surface-2);
    font-size: .76rem; color: var(--ag-ink-3);
}
.dk-card-secure svg { width: 14px; height: 14px; color: var(--ag-ok); }

/* --------------------------------------------------------------------------
   Products strip
   -------------------------------------------------------------------------- */

.dk-strip { position: relative; z-index: 2; margin-top: -52px; }
.ag-body.dk-body { background: var(--ag-surface); }
/* agents.css pads .ag-body's foot on phones for the dashboard's bottom tab
   bar. This page has no tab bar, so that padding was a blank white strip. */
.ag-body.dk-body { padding-bottom: 0; }
@media (max-width: 1024px) {
    .ag-body.dk-body { background: var(--ag-brand-deep); }
    .dk-body .dk-nav { background: var(--ag-surface); }   /* solid: the ground behind it is navy now */
}
.dk-body .dk-strip-title {
    margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
}
.dk-products {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0; padding: 0; list-style: none;
    border: 1px solid var(--ag-line); border-radius: 16px;
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-lg);
    overflow: hidden;
}
.dk-products li { display: grid; gap: 4px; padding: 20px 18px; }
.dk-products li + li { border-left: 1px solid var(--ag-line-soft); }
.dk-products b { font-size: .98rem; font-weight: 700; }
.dk-products small { font-size: .8rem; line-height: 1.4; color: var(--ag-ink-3); }
.dk-products-ico {
    display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px;
    border-radius: 11px; background: var(--ag-accent-wash); color: var(--ag-accent);
}
.dk-products-ico svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.dk-section { padding: 88px 0; }
.dk-section-tint { background: var(--ag-ground); }
.dk-section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.dk-section-head-left { margin: 0; text-align: left; }
.dk-kicker { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ag-accent); }
.dk-body .dk-section-head h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.dk-section-head p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ag-ink-3); }

/* Two sides */
.dk-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dk-side {
    display: flex; flex-direction: column;
    padding: 32px; border: 1px solid var(--ag-line); border-radius: 20px;
    background: var(--ag-surface);
    box-shadow: var(--ag-shadow-sm);
}
.dk-side-alt { background: linear-gradient(180deg, var(--ag-accent-wash) 0%, var(--ag-surface) 55%); }
.dk-side header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.dk-side-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--ag-brand-grad); color: #fff; }
.dk-side-ico svg { width: 23px; height: 23px; }
.dk-side-k { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ag-accent); }
.dk-body .dk-side h3 { margin: 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }

.dk-ticks { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.dk-ticks li {
    position: relative; padding-left: 32px;
    font-size: .93rem; line-height: 1.55; color: var(--ag-ink-2);
}
.dk-ticks li::before {
    content: ""; position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--ag-ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dk-ticks b { color: var(--ag-ink); font-weight: 600; }

.dk-soon {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 0 0 22px; padding: 12px 14px;
    border: 1px dashed var(--ag-accent-line); border-radius: 12px;
    background: var(--ag-surface);
    font-size: .85rem; line-height: 1.5; color: var(--ag-ink-2);
}
.dk-soon svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ag-accent); }
.dk-soon b { color: var(--ag-ink); }
.dk-side-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }

/* Steps */
.dk-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
    margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.dk-steps li {
    position: relative; padding: 26px 22px;
    border: 1px solid var(--ag-line); border-radius: 16px;
    background: var(--ag-surface);
}
.dk-steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -21px; width: 22px; height: 2px;
    background: var(--ag-line-strong);
}
.dk-step-n {
    display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
    border-radius: 50%; background: var(--ag-accent); color: #fff;
    font-family: var(--ag-font-head, sans-serif); font-weight: 800;
    box-shadow: 0 0 0 6px var(--ag-accent-wash);
}
.dk-body .dk-steps h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; }
.dk-steps p { margin: 0; font-size: .89rem; line-height: 1.55; color: var(--ag-ink-3); }

/* Platform tools */
.dk-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dk-tool {
    padding: 24px; border: 1px solid var(--ag-line-soft); border-radius: 16px;
    background: var(--ag-surface);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.dk-tool:hover { border-color: var(--ag-accent-line); box-shadow: var(--ag-shadow); transform: translateY(-2px); }
.dk-tool > svg { width: 42px; height: 42px; padding: 10px; margin-bottom: 14px; border-radius: 11px; background: var(--ag-accent-wash); color: var(--ag-accent); }
.dk-body .dk-tool h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; }
.dk-tool p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--ag-ink-3); }

/* FAQ */
.dk-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; align-items: start; }
.dk-faq { display: grid; gap: 10px; }
.dk-faq details {
    border: 1px solid var(--ag-line); border-radius: 14px;
    background: var(--ag-surface);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dk-faq details[open] { border-color: var(--ag-accent-line); box-shadow: var(--ag-shadow-sm); }
.dk-faq summary {
    position: relative; padding: 18px 52px 18px 20px;
    font-weight: 600; font-size: .96rem; cursor: pointer; list-style: none;
}
.dk-faq summary::-webkit-details-marker { display: none; }
.dk-faq summary::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--ag-ink-3); border-bottom: 2px solid var(--ag-ink-3);
    transform: rotate(45deg); transition: transform .2s ease, margin-top .2s ease;
}
.dk-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.dk-faq summary:focus-visible { outline: none; box-shadow: var(--ag-ring); border-radius: 14px; }
.dk-faq details p { margin: 0; padding: 0 20px 18px; font-size: .92rem; line-height: 1.6; color: var(--ag-ink-2); }

/* Closing band */
.dk-cta { padding: 56px 0; background: var(--ag-brand-grad); color: #fff; }
.dk-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dk-body .dk-cta h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; color: #fff; }
.dk-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.dk-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.dk-cta .dk-btn { min-height: 46px; padding-inline: 22px; }

/* Footer */
.dk-foot { padding: 56px 0 0; background: var(--ag-surface); border-top: 1px solid var(--ag-line-soft); }
.dk-foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; }
.dk-foot-brand p { max-width: 340px; margin: 14px 0 0; font-size: .88rem; line-height: 1.6; color: var(--ag-ink-3); }
.dk-foot-contact { display: grid; gap: 6px; }
.dk-body .dk-foot-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ag-ink-2); font-weight: 500; }
.dk-foot-contact svg { width: 16px; height: 16px; color: var(--ag-accent); }
.dk-foot nav { display: grid; align-content: start; gap: 10px; }
.dk-body .dk-foot h3 { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ag-ink); }
.dk-body .dk-foot nav a { color: var(--ag-ink-3); font-size: .9rem; text-decoration: none; }
.dk-body .dk-foot nav a:hover { color: var(--ag-accent); }
.dk-foot-base { padding-block: 18px 24px; border-top: 1px solid var(--ag-line-soft); font-size: .8rem; color: var(--ag-ink-4); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .dk-nav-links { display: none; }
    .dk-nav-cta { margin-left: auto; }
    .dk-hero-in { grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); gap: 36px; }
    .dk-hero-roles { grid-template-columns: 1fr; }
    .dk-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dk-products li:nth-child(4) { border-left: 0; }
    .dk-products li:nth-child(n+4) { border-top: 1px solid var(--ag-line-soft); }
    .dk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dk-steps li::after { display: none; }
    .dk-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
    .dk-hero { padding: 36px 0 88px; }
    .dk-hero-in { grid-template-columns: 1fr; gap: 28px; }
    .dk-card { max-width: 480px; width: 100%; margin-inline: auto; }
    .dk-hero-copy { text-align: left; }
    .dk-hero-roles { display: none; }   /* the card's own tabs do this job here */
    .dk-sides { grid-template-columns: 1fr; }
    .dk-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
    .dk-foot-in { grid-template-columns: 1fr 1fr; }
    .dk-foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .dk-wrap { padding-inline: 16px; }
    .dk-nav-in { height: 60px; gap: 12px; }
    .dk-nav-tag { display: none; }
    .dk-nav-cta .dk-btn-quiet { display: none; }
    .dk-nav-cta .dk-btn { min-height: 36px; padding-inline: 14px; font-size: .84rem; }
    .dk-logo-word { font-size: 1.16rem; }
    .dk-logo .dk-logo-mark { width: 34px; height: 34px; border-radius: 10px; }
    .dk-logo-tag { font-size: .5rem; letter-spacing: .16em; }
    .dk-hero-points { margin-bottom: 0; }
    .dk-lede { font-size: 1rem; }
    .dk-card { padding: 22px 18px 0; border-radius: 18px; }
    .dk-card-secure { margin-inline: -18px; border-radius: 0 0 18px 18px; }
    .dk-roles-tab { font-size: .8rem; }
    .dk-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dk-products li { padding: 16px 14px; }
    .dk-products li:nth-child(odd) { border-left: 0; }
    .dk-products li:nth-child(4) { border-left: 1px solid var(--ag-line-soft); }
    .dk-products li:nth-child(n+3) { border-top: 1px solid var(--ag-line-soft); }
    .dk-section { padding: 60px 0; }
    .dk-side { padding: 22px; }
    .dk-steps, .dk-tools { grid-template-columns: 1fr; }
    .dk-cta-btns { width: 100%; }
    .dk-cta-btns .dk-btn { flex: 1 1 0; }
}

/* --------------------------------------------------------------------------
   Phones and tablets: the sign-in only (2026-11-23)

   Up to 1024px the page is an app door, not a brochure: the top bar with
   the logo, the card centred on the brand band, and one legal line. The
   pitch, the sections and the footer are desktop only.
   -------------------------------------------------------------------------- */

.dk-tab-short, .dk-mini-legal { display: none; }
.dk-roles-tab { white-space: nowrap; }

@media (max-width: 1024px) {
    .dk-hero-copy, .dk-strip, .dk-section, .dk-cta, .dk-foot, .dk-nav-cta { display: none; }
    html:has(.dk-body) { scroll-padding-top: 0; }

    .dk-nav-in { justify-content: center; }
    .dk-hero {
        display: flex; align-items: center;
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
        padding: 32px 0 24px;
    }
    .dk-hero-in { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
    .dk-card { width: 100%; max-width: 460px; margin: 0; }

    .dk-mini-legal {
        display: block; margin: 0;
        font-size: .76rem; text-align: center;
        color: rgba(255, 255, 255, .62);
    }
    .dk-body .dk-mini-legal a { color: rgba(255, 255, 255, .85); }
}

@media (max-width: 600px) {
    .dk-hero { min-height: calc(100dvh - 60px); padding: 18px 0 18px; }
}

/* Narrow phones: the short tab label, so it stays on one line. */
@media (max-width: 440px) {
    .dk-tab-long { display: none; }
    .dk-tab-short { display: inline; }
    .dk-roles-tab { gap: 6px; font-size: .8rem; }
}
@media (max-width: 340px) {
    .dk-roles-tab svg { display: none; }
}
