/* ============================================================================
   marketing-site.css — the public website's ONE stylesheet.

   THE LOOK (owner, 2026-09-03: "apni website ka look zoho.com jesa design kro").
   Zoho's homepage is a white canvas, very large tightly-set headlines in a
   near-black ink, grey supporting text, ONE solid call-to-action colour, cards
   drawn with a hairline border instead of a shadow, sections separated by
   generous whitespace and the occasional light-grey band, a quiet light footer
   with many link columns. This sheet reproduces that structure in ApnaTheka's
   OWN palette — Theka Blue for every primary act, Brand Green for the accent,
   Apna Navy for depth — read off theme/tokens.css, which the layout links first
   (tokens.css is custom properties only, so it resolves the --at-* names and
   changes nothing else). Zoho's red is NOT borrowed: the brand kit is the law.

   WHY A LINKED FILE AND NOT THE OLD INLINE <style> BLOCK. The previous design
   shipped ~900 lines of CSS inside every page (THEME_RULES R5.3 forbids a
   <style> in a Blade); a linked sheet is fetched once and cached across every
   marketing page. `_marketing-styles.blade.php` now emits the <link> so every
   include site is unchanged.

   THE PURGED BOOTSTRAP TRAP. marketing.min.css is Bootstrap + Velzon PURGED to
   the selectors the pages used when it was built; utilities like d-lg-none,
   justify-content-between, rounded-pill, list-unstyled, g-2, order-*, alert-*
   simply do not exist. Every layout this sheet needs is written HERE
   (.at-grid-*, .at-split, .at-footer-grid, .at-hero-actions …) so a page never
   reaches for a utility that silently is not there.

   THE ICON FONT IS A 69-GLYPH SUBSET (icons-marketing.min.css). A page may use
   only glyphs that subset carries, or the icon renders as a blank box.

   LEGACY ALIASES (--at-teal / --at-blue / --at-mint / --at-dark / --at-dark2)
   are kept because ~20 page Blades reference them inline. --at-blue is, oddly,
   the GREEN — it always was; renaming it means editing every page.
   ============================================================================ */

:root {
    /* legacy aliases the pages still read inline */
    --at-teal:  var(--at-blue-700);   /* #01719A — 5.48:1 on white, AA */
    --at-blue:  var(--at-green-500);  /* #3DB992 (historic name, kept) */
    --at-mint:  var(--at-green-500);
    --at-dark:  var(--at-slate-900);
    --at-dark2: var(--at-slate-800);

    /* this sheet's own vocabulary */
    --mk-ink:         var(--at-slate-900);   /* headlines            */
    --mk-text:        var(--at-slate-700);   /* body prose           */
    --mk-body:        var(--at-slate-600);   /* supporting copy      */
    --mk-subtle:      var(--at-slate-500);   /* labels, meta         */
    --mk-line:        var(--at-slate-200);   /* hairlines            */
    --mk-line-strong: var(--at-slate-300);
    --mk-alt:         var(--at-slate-50);    /* the light-grey band  */
    --mk-brand:       var(--at-blue-700);
    --mk-brand-hover: var(--at-blue-800);
    --mk-brand-soft:  var(--at-blue-50);
    --mk-brand-tint:  var(--at-blue-100);
    --mk-green:       var(--at-green-500);
    --mk-green-soft:  var(--at-green-50);
    --mk-green-tint:  var(--at-green-100);
    --mk-navy:        var(--at-navy-800);
    --mk-navy-deep:   var(--at-navy-900);
    --mk-navy-tint:   var(--at-navy-100);
    --mk-radius:      12px;
    --mk-radius-sm:   8px;
    --mk-nav-h:       68px;
    --mk-shadow:      0 24px 64px rgb(3 52 101 / 0.10), 0 2px 6px rgb(3 52 101 / 0.06);
    --mk-max:         1200px;

    /* Velzon reads the body font off this variable — point it at Inter. */
    --vz-font-sans-serif: var(--at-font-sans);
    --vz-body-font-family: var(--at-font-sans);
}

/* ── Canvas ─────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
    font-family: var(--at-font-sans);
    color: var(--mk-body);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.layout-wrapper.landing { background: #fff; overflow-x: hidden; }
.layout-wrapper.landing .container { max-width: var(--mk-max); }
.layout-wrapper.landing ::selection { background: var(--mk-brand-tint); color: var(--mk-ink); }
.layout-wrapper.landing h1, .layout-wrapper.landing h2, .layout-wrapper.landing h3,
.layout-wrapper.landing h4, .layout-wrapper.landing h5 { color: var(--mk-ink); }
.at-teal-text { color: var(--mk-brand); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.at-btn-primary,
.at-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--mk-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.at-btn-primary {
    background: var(--mk-brand);
    color: #fff;
    border: 1px solid var(--mk-brand);
}
.at-btn-primary:hover,
.at-btn-primary:focus-visible { background: var(--mk-brand-hover); border-color: var(--mk-brand-hover); color: #fff; }
.at-btn-outline {
    background: #fff;
    color: var(--mk-ink);
    border: 1px solid var(--mk-line-strong);
}
.at-btn-outline:hover,
.at-btn-outline:focus-visible { border-color: var(--mk-ink); color: var(--mk-ink); background: #fff; }
.at-btn-primary:focus-visible,
.at-btn-outline:focus-visible { outline: 3px solid var(--mk-brand-tint); outline-offset: 2px; }
.at-btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.at-link-more {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--mk-brand); font-weight: 600; text-decoration: none; font-size: 0.98rem;
}
.at-link-more:hover { color: var(--mk-brand-hover); text-decoration: underline; }

/* ── Small pill (eyebrow / kicker) ─────────────────────────────────────── */
.at-eyebrow,
.at-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mk-brand-soft);
    color: var(--mk-brand);
    border: 1px solid var(--mk-brand-tint);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.at-eyebrow i, .at-hero-kicker i { color: var(--mk-green); font-size: 0.95rem; }

/* ── Own layout helpers (the purged Bootstrap has none of these) ────────── */
.at-grid { display: grid; gap: 20px; }
.at-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.at-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.at-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}
.at-narrow { max-width: 840px; margin-left: auto; margin-right: auto; }
.at-center { text-align: center; }
.at-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.at-actions.at-center { justify-content: center; }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar.navbar-landing {
    background: #fff !important;
    border-bottom: 1px solid var(--mk-line);
    padding: 0 !important;
    min-height: var(--mk-nav-h);
    box-shadow: none;
    transition: box-shadow .2s ease;
}
.navbar.navbar-landing.is-sticky { box-shadow: 0 6px 24px rgb(3 52 101 / 0.06); }
.navbar.navbar-landing .custom-container {
    max-width: calc(var(--mk-max) + 48px);
    padding-left: 24px;
    padding-right: 24px;
    min-height: var(--mk-nav-h);
    display: flex;
    align-items: center;
}
/* Velzon ships two wordmarks and swaps them on scroll (its landing bar is
   transparent over a dark hero). Ours is white in every state: keep the navy
   lockup always. */
.navbar-landing .navbar-brand .card-logo-dark  { display: none !important; }
.navbar-landing .navbar-brand .card-logo-light { display: block !important; }
.navbar-landing .navbar-brand { padding: 0; margin-right: 8px; }
.navbar-landing .navbar-brand img { height: 36px; width: auto; }

.navbar.navbar-landing .at-nav-links { margin: 0 auto 0 28px; gap: 2px; }
.navbar.navbar-landing .navbar-nav .nav-item .nav-link {
    color: var(--mk-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 14px !important;
    border-radius: var(--mk-radius-sm);
    transition: color .15s ease, background-color .15s ease;
}
.navbar.navbar-landing .navbar-nav .nav-item .nav-link:hover,
.navbar.navbar-landing .navbar-nav .nav-item .nav-link:focus { color: var(--mk-brand) !important; background: var(--mk-alt); }
.navbar.navbar-landing .navbar-nav .nav-item .nav-link.active { color: var(--mk-brand) !important; }

.at-nav-actions { display: flex; align-items: center; gap: 8px; }
.at-nav-signin {
    color: var(--mk-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: var(--mk-radius-sm);
}
.at-nav-signin:hover { color: var(--mk-brand); background: var(--mk-alt); }
.navbar-landing .at-login-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--mk-brand);
    color: #fff !important;
    border: 1px solid var(--mk-brand);
    padding: 10px 18px;
    border-radius: var(--mk-radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease;
}
.navbar-landing .at-login-btn:hover { background: var(--mk-brand-hover); border-color: var(--mk-brand-hover); }
.navbar-landing .at-login-btn--mobile { padding: 7px 14px; font-size: 0.85rem; }

/* toggler + the signed-in dropdown, on the white bar */
.navbar-landing.navbar-light .navbar-toggler { color: var(--mk-ink); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-sm); padding: 6px 10px; }
.navbar-landing.navbar-light .navbar-toggler .ri-menu-line { color: var(--mk-ink); }
.navbar-landing.navbar-light .user-dropdown-name,
.navbar-landing.navbar-light .dropdown-toggle { color: var(--mk-ink); }
.navbar-landing .dropdown-menu { border: 1px solid var(--mk-line); border-radius: var(--mk-radius); box-shadow: var(--mk-shadow); }
.navbar-landing .dropdown-item { font-size: 0.92rem; color: var(--mk-text); }
.navbar-landing .dropdown-item:hover { background: var(--mk-alt); color: var(--mk-brand); }

/* Top-bar cluster (Login + hamburger): mobile only. In-nav Sign in: desktop only. */
.at-nav-mobile-cluster { display: none; }
.at-nav-login-desk { display: none; }
@media (min-width: 992px) { .at-nav-login-desk { display: inline-flex; } }
@media (max-width: 991.98px) {
    .at-nav-mobile-cluster { display: flex; align-items: center; gap: 8px; }
    .navbar.navbar-landing .custom-container { flex-wrap: wrap; }
    .navbar-landing.navbar-light .navbar-collapse {
        background: #fff;
        border: 1px solid var(--mk-line);
        border-radius: var(--mk-radius);
        padding: 10px 12px 14px;
        margin: 6px 0 12px;
        box-shadow: var(--mk-shadow);
        width: 100%;
    }
    .navbar.navbar-landing .at-nav-links { margin: 0; flex-direction: column; gap: 0; }
    .navbar.navbar-landing .navbar-nav .nav-item .nav-link { padding: 11px 12px !important; }
    .at-nav-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--mk-line); }
    .at-nav-actions .at-login-btn { justify-content: center; }
}

/* ── Hero (homepage) ────────────────────────────────────────────────────── */
.at-hero {
    background: #fff;
    padding: calc(var(--mk-nav-h) + 80px) 0 0;
    text-align: center;
    position: relative;
}
.at-hero-tagline {
    font-size: clamp(2.4rem, 5.6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    color: var(--mk-ink);
    margin: 0 auto 18px;
    max-width: 16ch;
}
.at-hero-heading {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 600;
    color: var(--mk-text);
    line-height: 1.45;
    letter-spacing: -0.005em;
    max-width: 720px;
    margin: 0 auto 14px;
}
.at-hero-sub {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    color: var(--mk-body);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 30px;
}
.at-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.at-hero-note {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
    margin: 22px 0 0;
    font-size: 0.86rem;
    color: var(--mk-subtle);
}
.at-hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.at-hero-note i { color: var(--mk-green); }

/* The product window under the hero — the register the panels really draw,
   in its own vocabulary (navy-tint strip, Theka-blue active tab, green-tint
   column head), so the first thing a visitor sees IS the product. */
.at-shot {
    max-width: 1080px;
    margin: 64px auto 0;
    background: #fff;
    border: 1px solid var(--mk-line);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: var(--mk-shadow);
    overflow: hidden;
    text-align: left;
}
.at-shot-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    background: var(--mk-alt);
    border-bottom: 1px solid var(--mk-line);
}
.at-shot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mk-line-strong); }
.at-shot-url {
    margin-left: 10px; flex: 1 1 auto; max-width: 360px;
    background: #fff; border: 1px solid var(--mk-line); border-radius: 6px;
    padding: 4px 12px; font-size: 0.74rem; color: var(--mk-subtle);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.at-shot-body { padding: 18px; background: var(--mk-alt); }
.at-shot-card { background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); overflow: hidden; }
.at-shot-strip {
    display: flex; align-items: center; gap: 4px;
    background: var(--mk-navy-tint);
    padding: 0 12px;
    min-height: 46px;
    border-bottom: 1px solid var(--mk-line);
}
.at-shot-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0 12px; height: 46px;
    font-size: 0.82rem; font-weight: 600; color: var(--mk-navy);
    position: relative; white-space: nowrap;
}
.at-shot-tab.is-on { color: var(--mk-brand); }
.at-shot-tab.is-on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--mk-brand); border-radius: 3px 3px 0 0; }
.at-shot-n {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    background: var(--mk-green); color: var(--mk-navy);
    font-size: 0.7rem; font-weight: 700;
}
.at-shot-chip {
    margin-left: auto;
    background: #fff; border: 1px solid var(--mk-line);
    border-radius: 999px; padding: 4px 10px;
    font-size: 0.74rem; font-weight: 600; color: var(--mk-navy);
    white-space: nowrap;
}
.at-shot-cuts { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid var(--mk-line); }
.at-shot-cut {
    flex: 1 1 0; min-width: 0;
    border: 1px solid var(--mk-line-strong); border-radius: 8px;
    padding: 8px 10px; font-size: 0.78rem; color: var(--mk-text);
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    white-space: nowrap; overflow: hidden;
}
.at-shot-cut b { font-weight: 500; color: var(--mk-subtle); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; }
.at-shot-cut::after { content: '⌄'; color: var(--mk-subtle); }
.at-shot-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.at-shot-table th {
    background: var(--mk-green-tint);
    color: var(--mk-navy);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 10px 14px; text-align: left; white-space: nowrap;
    border-bottom: 2px solid var(--mk-brand);
}
.at-shot-table td { padding: 11px 14px; border-bottom: 1px solid var(--mk-line); color: var(--mk-text); vertical-align: middle; }
.at-shot-table tr:last-child td { border-bottom: 0; }
.at-shot-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.at-shot-table .c { text-align: center; color: var(--mk-subtle); }
.at-shot-main { font-weight: 600; color: var(--mk-ink); }
.at-shot-sub { font-size: 0.72rem; color: var(--mk-subtle); margin-top: 1px; }
.at-shot-money { font-weight: 700; color: var(--mk-ink); }
.at-shot-state {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 600; white-space: nowrap;
}
.at-shot-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.at-shot-state.ok   { background: var(--mk-green-soft); color: var(--at-green-700); }
.at-shot-state.wait { background: var(--at-warning-bg, #FEF3C7); color: #92400E; }
@media (max-width: 767.98px) {
    .at-shot-hide-sm { display: none; }
    .at-shot-cuts .at-shot-cut:nth-child(n+3) { display: none; }
    .at-shot-body { padding: 10px; }
    .at-shot-table th, .at-shot-table td { padding: 9px 10px; }
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.at-stats-bar { background: #fff; padding: 72px 0 8px; }
.at-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.at-stat-item { text-align: center; padding: 20px 12px; border-left: 1px solid var(--mk-line); }
.at-stat-item:first-child { border-left: 0; }
.at-stat-value {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--mk-ink);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.at-stat-label {
    font-size: 0.8rem; color: var(--mk-subtle);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
    margin-top: 8px;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.at-section { padding: 96px 0; }
.at-section--alt { background: var(--mk-alt); }
.at-section-head { margin-bottom: 56px; }
.at-section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--mk-ink);
    margin: 0;
}
.at-section-sub {
    font-size: 1.1rem;
    color: var(--mk-body);
    line-height: 1.65;
    max-width: 660px;
    margin: 14px auto 0;
}
.at-section-sub a { color: var(--mk-brand); font-weight: 600; text-decoration: none; }
.at-section-sub a:hover { text-decoration: underline; }
.at-lead { font-size: 1.08rem; color: var(--mk-body); line-height: 1.7; }

/* ── Feature cards ──────────────────────────────────────────────────────── */
.at-feature-card {
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    padding: 28px 26px;
    height: 100%;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.at-feature-card:hover { border-color: var(--mk-line-strong); box-shadow: var(--mk-shadow); transform: translateY(-2px); }
a .at-feature-card { color: inherit; }
.at-feature-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    background: var(--mk-brand);
    flex-shrink: 0;
    margin-bottom: 18px;
}
.at-feature-name { font-size: 1.08rem; font-weight: 700; color: var(--mk-ink); margin: 0 0 6px; letter-spacing: -0.01em; }
.at-feature-desc { font-size: 0.93rem; color: var(--mk-body); line-height: 1.6; margin: 0; }
.at-feature-desc span { color: var(--mk-brand); }

/* ── Steps (how it works) ───────────────────────────────────────────────── */
.at-step-card { padding: 8px 4px; position: relative; }
.at-step-num {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--mk-brand-soft);
    color: var(--mk-brand);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}
.at-step-index { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-subtle); margin-bottom: 6px; }
.at-step-title { font-size: 1.08rem; font-weight: 700; color: var(--mk-ink); margin: 0 0 6px; }
.at-step-desc { font-size: 0.93rem; color: var(--mk-body); line-height: 1.6; margin: 0; }
.at-step-connector { display: none; }

/* ── Benefits list ──────────────────────────────────────────────────────── */
.at-benefit-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--mk-line); }
.at-benefit-item:first-child { padding-top: 0; }
.at-benefit-item:last-child { border-bottom: 0; }
.at-benefit-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--mk-green-soft); color: var(--at-green-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; flex-shrink: 0; margin-top: 2px;
}
.at-benefit-title { font-size: 1rem; font-weight: 700; color: var(--mk-ink); margin: 0 0 3px; }
.at-benefit-desc { font-size: 0.92rem; color: var(--mk-body); line-height: 1.6; margin: 0; }

/* ── Checklist ──────────────────────────────────────────────────────────── */
.at-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.at-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.98rem; color: var(--mk-text); line-height: 1.5; }
.at-checks li i { color: var(--mk-green); font-size: 1.1rem; margin-top: 1px; }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.at-testimonial-card {
    background: #fff;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    padding: 30px 28px;
    height: 100%;
    display: flex; flex-direction: column;
}
.at-quote-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--mk-brand-soft); color: var(--mk-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-bottom: 18px;
}
.at-quote-text { font-size: 1.02rem; color: var(--mk-text); line-height: 1.7; margin: 0 0 22px; flex: 1 1 auto; }
.at-quote-who { display: flex; align-items: center; gap: 12px; }
.at-quote-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--mk-navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.at-quote-author { font-size: 0.92rem; font-weight: 700; color: var(--mk-ink); }
.at-quote-location { font-size: 0.8rem; color: var(--mk-subtle); font-weight: 500; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.at-faq-section { background: #fff; }
.at-faq .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--mk-line);
    border-radius: 0 !important;
    background: transparent;
    margin: 0;
}
.at-faq .accordion-item:hover { box-shadow: none; }
.at-faq .accordion-button {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mk-ink);
    padding: 22px 0;
    background: transparent;
    box-shadow: none !important;
    gap: 14px;
    border-radius: 0 !important;
    text-align: left;
}
.at-faq .accordion-button:not(.collapsed) { color: var(--mk-brand); background: transparent; }
.at-faq .accordion-button::after {
    background: none;
    content: '';
    width: 28px; height: 28px; min-width: 28px;
    border-radius: 50%;
    background-color: var(--mk-alt);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    transition: transform .2s ease, background-color .2s ease;
}
.at-faq .accordion-button:not(.collapsed)::after {
    background-color: var(--mk-brand-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2301719A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    transform: rotate(180deg);
}
.at-faq .accordion-body { padding: 0 44px 24px 44px; font-size: 0.98rem; color: var(--mk-body); line-height: 1.75; }
.at-faq .at-faq-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; min-width: 30px; border-radius: 8px;
    background: var(--mk-brand-soft); color: var(--mk-brand);
    font-size: 0.76rem; font-weight: 700;
}
.at-faq .accordion-button:not(.collapsed) .at-faq-num { background: var(--mk-brand); color: #fff; }
/* the old right-hand illustration — kept defined for any page still drawing it */
.at-faq-illustration { display: flex; align-items: center; justify-content: center; }
.at-faq-graphic {
    width: 100%; max-width: 360px; aspect-ratio: 1;
    background: var(--mk-alt); border: 1px solid var(--mk-line); border-radius: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 24px; text-align: center;
}
.at-faq-graphic .at-faq-icon-big { width: 72px; height: 72px; border-radius: 18px; background: var(--mk-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.at-faq-graphic p { font-size: 0.9rem; color: var(--mk-body); margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) { .at-faq-illustration { display: none; } }

/* ── Colour band CTA (inner pages) ──────────────────────────────────────── */
.at-cta-banner {
    background: var(--mk-navy);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.at-cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 90% 10%, rgb(1 113 154 / 0.45), transparent 70%),
        radial-gradient(400px 260px at 5% 100%, rgb(61 185 146 / 0.22), transparent 70%);
    pointer-events: none;
}
.at-cta-banner h2, .at-cta-banner h3 { color: #fff; letter-spacing: -0.02em; }
.at-cta-banner .btn-light { background: #fff; color: var(--mk-navy); border-color: #fff; font-weight: 600; }
.at-cta-banner .btn-light:hover { background: var(--mk-alt); color: var(--mk-navy-deep); }
.at-cta-banner .btn-outline-light { color: #fff; border-color: rgb(255 255 255 / 0.5); font-weight: 600; }
.at-cta-banner .btn-outline-light:hover { background: rgb(255 255 255 / 0.1); border-color: #fff; color: #fff; }

/* ── Final CTA (homepage) ───────────────────────────────────────────────── */
.at-final-cta { padding: 104px 0; text-align: center; background: #fff; border-top: 1px solid var(--mk-line); }
.at-final-title { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--mk-ink); margin: 0 0 12px; }
.at-final-sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--mk-body); margin: 0 0 32px; }

/* ── Contact rows ───────────────────────────────────────────────────────── */
.at-contact-list { display: grid; gap: 14px; margin-top: 28px; }
.at-contact-item { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.at-contact-ico {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--mk-brand-soft); color: var(--mk-brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.at-contact-ico.is-wa { background: #E8F8EE; color: #128C4A; }
.at-contact-k { font-size: 0.74rem; color: var(--mk-subtle); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.at-contact-v { font-size: 0.98rem; font-weight: 600; color: var(--mk-ink); }
.at-contact-item:hover .at-contact-v { color: var(--mk-brand); }

/* ── Forms (demo request + Start Free modal) ────────────────────────────── */
.layout-wrapper.landing .card { border: 1px solid var(--mk-line); border-radius: var(--mk-radius) !important; box-shadow: none !important; }
.layout-wrapper.landing .form-label { color: var(--mk-text) !important; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; }
.layout-wrapper.landing .form-control,
.layout-wrapper.landing .form-select,
.layout-wrapper.landing .input-group-text {
    border-color: var(--mk-line-strong);
    color: var(--mk-ink);
    font-size: 0.95rem;
    padding: 10px 12px;
    background: #fff;
}
.layout-wrapper.landing .input-group-text { color: var(--mk-subtle); background: var(--mk-alt); }
.layout-wrapper.landing .form-control:focus,
.layout-wrapper.landing .form-select:focus {
    border-color: var(--mk-brand);
    box-shadow: 0 0 0 3px var(--mk-brand-tint);
}
.layout-wrapper.landing .form-control::placeholder { color: var(--at-slate-400); }
.layout-wrapper.landing .text-muted { color: var(--mk-subtle) !important; }
.layout-wrapper.landing [style*="#94a3b8"] { color: var(--mk-subtle) !important; }
/* the two forms' scripts emit .alert-success / .alert-danger, which the purged
   Bootstrap never carried — so a refusal used to render as unstyled text. */
.layout-wrapper.landing .alert { padding: 10px 14px; border-radius: var(--mk-radius-sm); font-size: 0.9rem; border: 1px solid transparent; }
.layout-wrapper.landing .alert-success { background: var(--mk-green-soft); color: var(--at-green-700); border-color: var(--mk-green-tint); }
.layout-wrapper.landing .alert-danger  { background: var(--at-danger-bg, #FEF2F2); color: var(--at-danger-strong, #B91C1C); border-color: var(--at-danger-border, #FECACA); }
.layout-wrapper.landing .alert-warning { background: var(--at-warning-bg, #FFFBEB); color: #92400E; border-color: var(--at-warning-border, #FDE68A); }
.layout-wrapper.landing .alert-info    { background: var(--mk-brand-soft); color: var(--mk-brand-hover); border-color: var(--mk-brand-tint); }

/* Start Free modal — the panel's quiet dialog, brand ink on white */
#startFreeModal .modal-content { border: 1px solid var(--mk-line); border-radius: 16px; box-shadow: var(--mk-shadow); }
#startFreeModal .modal-header { background: #fff !important; color: var(--mk-ink) !important; border-bottom: 1px solid var(--mk-line) !important; padding: 20px 24px; }
#startFreeModal .modal-header .modal-title { color: var(--mk-ink); font-size: 1.15rem; letter-spacing: -0.01em; }
#startFreeModal .modal-header .modal-title i { color: var(--mk-brand); }
#startFreeModal .modal-header small { color: var(--mk-body); opacity: 1 !important; }
#startFreeModal .btn-close-white { filter: none; opacity: .6; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.at-footer { background: var(--mk-alt); border-top: 1px solid var(--mk-line); padding: 72px 0 0; }
.at-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
}
.at-footer-brand { font-size: 0.92rem; color: var(--mk-body); line-height: 1.7; margin-top: 18px; max-width: 360px; }
.at-footer h3 { font-size: 0.78rem; font-weight: 700; color: var(--mk-ink); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.at-footer-links { list-style: none; padding: 0; margin: 0; }
.at-footer-links li { margin-bottom: 10px; }
.at-footer-links a { font-size: 0.9rem; color: var(--mk-body); text-decoration: none; transition: color .15s ease; }
.at-footer-links a:hover { color: var(--mk-brand); }
.at-footer-social { display: flex; gap: 8px; margin-top: 22px; }
.at-footer-social a {
    width: 36px; height: 36px; border-radius: 10px;
    background: #fff; border: 1px solid var(--mk-line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mk-body); font-size: 1rem; text-decoration: none;
    transition: color .15s ease, border-color .15s ease;
}
.at-footer-social a:hover { color: var(--mk-brand); border-color: var(--mk-brand); }
.at-footer-bottom { border-top: 1px solid var(--mk-line); padding: 22px 0; margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.at-footer-bottom p, .at-footer-bottom a { font-size: 0.84rem; color: var(--mk-subtle); margin: 0; }
.at-footer-bottom a { text-decoration: none; }
.at-footer-bottom a:hover { color: var(--mk-brand); }
.at-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ── Back to top ────────────────────────────────────────────────────────── */
.landing-back-top { border-radius: 10px !important; box-shadow: var(--mk-shadow); }

/* ── Inner pages: hero, breadcrumb, prose, pricing ──────────────────────── */
.at-page-hero {
    background: #fff;
    padding: calc(var(--mk-nav-h) + 56px) 0 40px;
    position: relative;
    border-bottom: 1px solid var(--mk-line);
}
.at-page-hero::before { content: none; }
.at-page-hero .at-eyebrow { margin-bottom: 18px; }
.at-page-title {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    color: var(--mk-ink);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    max-width: 900px;
}
.at-page-title .at-teal-text { color: var(--mk-brand); }
.at-page-lead { font-size: 1.12rem; color: var(--mk-body); line-height: 1.7; max-width: 720px; margin: 0; }
.at-page-lead i { color: var(--mk-subtle); }
.at-breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; font-size: 0.84rem; }
.at-breadcrumb a { color: var(--mk-subtle); text-decoration: none; }
.at-breadcrumb a:hover { color: var(--mk-brand); }
.at-breadcrumb li { color: var(--mk-text); }
.at-breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--mk-line-strong); }
.at-breadcrumb li:last-child::after { content: ''; }

.at-prose p { font-size: 1.05rem; color: var(--mk-text); line-height: 1.8; margin-bottom: 18px; }
.at-prose h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; color: var(--mk-ink); margin: 40px 0 14px; }
.at-prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--mk-ink); margin: 28px 0 10px; }
.at-prose ul, .at-prose ol { padding-left: 22px; margin-bottom: 18px; }
.at-prose li { font-size: 1.02rem; color: var(--mk-text); line-height: 1.75; margin-bottom: 6px; }
.at-prose a { color: var(--mk-brand); font-weight: 600; text-decoration: none; }
.at-prose a:hover { text-decoration: underline; }
.at-prose img { max-width: 100%; border-radius: var(--mk-radius); }
.at-prose blockquote { border-left: 3px solid var(--mk-brand); padding: 4px 0 4px 18px; color: var(--mk-text); margin: 20px 0; }

.at-price-card { border: 1px solid var(--mk-line); border-radius: 16px; background: #fff; padding: 32px 28px; height: 100%; transition: box-shadow .18s ease, transform .18s ease; }
.at-price-card:hover { box-shadow: var(--mk-shadow); transform: translateY(-2px); }
.at-price-card.at-price-featured { border-color: var(--mk-brand); box-shadow: var(--mk-shadow); position: relative; }
.at-price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--mk-brand); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.at-price-name { font-size: 1.1rem; font-weight: 800; color: var(--mk-ink); }
.at-price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--mk-ink); line-height: 1.1; }
.at-price-amount small { font-size: 0.85rem; font-weight: 600; color: var(--mk-subtle); letter-spacing: 0; }
.at-price-features { list-style: none; padding: 0; margin: 22px 0; }
.at-price-features li { font-size: 0.92rem; color: var(--mk-text); padding: 7px 0; display: flex; align-items: flex-start; gap: 8px; }
.at-price-features li i { color: var(--mk-green); margin-top: 3px; }

/* tables on the guide pages */
.layout-wrapper.landing .table { color: var(--mk-text); }
.layout-wrapper.landing .table thead tr[style] { background: var(--mk-navy) !important; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1199.98px) {
    .at-split { gap: 40px; }
}
@media (max-width: 991.98px) {
    .at-section { padding: 72px 0; }
    .at-section-head { margin-bottom: 40px; }
    .at-grid-3, .at-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .at-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .at-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .at-stat-item:nth-child(3) { border-left: 0; }
    .at-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .at-footer-grid > :first-child { grid-column: 1 / -1; }
    .at-hero { padding-top: calc(var(--mk-nav-h) + 56px); }
    .at-shot { margin-top: 44px; }
    .at-page-hero { padding: calc(var(--mk-nav-h) + 40px) 0 32px; }
}
@media (max-width: 575.98px) {
    .at-section { padding: 56px 0; }
    .at-grid-2, .at-grid-3, .at-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .at-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .at-stat-item { padding: 14px 6px; }
    .at-hero-actions .at-btn-primary, .at-hero-actions .at-btn-outline,
    .at-page-hero .at-btn-primary, .at-page-hero .at-btn-outline,
    .at-final-cta .at-btn-primary, .at-final-cta .at-btn-outline { width: 100%; }
    .at-footer-grid { grid-template-columns: minmax(0, 1fr); }
    .at-footer-bottom { flex-direction: column; }
    .at-faq .accordion-body { padding-left: 0; }
    .at-testimonial-card, .at-feature-card { padding: 22px 20px; }
}
/* 16px inputs stop iOS zooming the form; bigger tap targets on phones */
@media (max-width: 767.98px) {
    .layout-wrapper.landing .form-control,
    .layout-wrapper.landing .form-select { font-size: 16px; min-height: 44px; }
    .at-btn-primary, .at-btn-outline { min-height: 44px; }
    #demo_otp, #sf_otp { letter-spacing: 4px !important; font-size: 16px !important; }
    .navbar-landing .navbar-brand img { height: 30px !important; width: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .at-feature-card, .at-price-card { transition: none; }
}

/* ── Module groups (features page) ──────────────────────────────────────── */
.at-group { margin-top: 72px; }
.at-group:first-of-type { margin-top: 0; }
.at-group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--mk-line); }
.at-group-head h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--mk-ink); margin: 0; }
.at-group-head p { margin: 0; color: var(--mk-body); font-size: 0.98rem; max-width: 560px; }
.at-group-kicker { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-brand); margin-bottom: 6px; }
.at-feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.at-feature-tags span { font-size: 0.72rem; font-weight: 600; color: var(--mk-text); background: var(--mk-alt); border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
/* a numbered flow (how a bill / a day moves through the product) */
.at-flow { counter-reset: flow; display: grid; gap: 0; }
.at-flow-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--mk-line); }
.at-flow-step:last-child { border-bottom: 0; }
.at-flow-step::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); width: 44px; height: 44px; border-radius: 12px; background: var(--mk-navy); color: #fff; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.at-flow-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--mk-ink); margin: 0 0 4px; }
.at-flow-step p { font-size: 0.95rem; color: var(--mk-body); line-height: 1.65; margin: 0; }
/* the panel strip — who uses which surface */
.at-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.at-panel-card { border: 1px solid var(--mk-line); border-radius: var(--mk-radius); padding: 24px; background: #fff; }
.at-panel-card .at-panel-who { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-brand); }
.at-panel-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--mk-ink); margin: 6px 0 10px; letter-spacing: -0.01em; }
.at-panel-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.at-panel-card li { font-size: 0.9rem; color: var(--mk-text); display: flex; gap: 8px; align-items: flex-start; }
.at-panel-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mk-green); margin-top: 8px; flex-shrink: 0; }
@media (max-width: 991.98px) { .at-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .at-group { margin-top: 56px; } }
@media (max-width: 575.98px) { .at-panels { grid-template-columns: minmax(0, 1fr); } }

/* ── Who does what (features) — a ruled list, one row per person ────────── */
.at-roles { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--mk-line); }
.at-role { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--mk-line); }
.at-role-who { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: var(--mk-ink); }
.at-role-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mk-brand-soft); color: var(--mk-brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.at-role-what { margin: 0; font-size: 1.05rem; color: var(--mk-text); line-height: 1.65; }
@media (max-width: 767.98px) { .at-role { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px 0; } }

/* ── The hero's product window on a phone: the strip's chip and the fourth tab
   step aside, figures never break mid-value, and the card scrolls sideways
   rather than squeezing the columns (measured on a 390px screenshot). ──── */
@media (max-width: 767.98px) {
    .at-shot-chip { display: none; }
    .at-shot-strip { overflow-x: auto; }
    .at-shot-card { overflow-x: auto; }
    .at-shot-table { min-width: 420px; font-size: 0.78rem; }
    .at-shot-table .r .at-shot-main, .at-shot-table .at-shot-money, .at-shot-table .at-shot-sub { white-space: nowrap; }
    .at-shot-table td:nth-child(2) .at-shot-main { white-space: nowrap; }
}
@media (max-width: 575.98px) {
    .at-shot-table { min-width: 0; }
    .at-shot-table th:first-child, .at-shot-table td:first-child { display: none; }
    .at-shot-table th, .at-shot-table td { padding: 9px 8px; }
}

/* ── Legal documents (privacy · terms · refund · data deletion) ───────────
   One shape for the four: the white hero names the document and its dates,
   a sticky contents rail on the left, the article on the right — numbered
   sections, definition tables, quiet callouts, a contact card. Print keeps
   the article and drops the rail. ─────────────────────────────────────── */
.at-legal-hero { background: #fff; padding: calc(var(--mk-nav-h) + 48px) 0 32px; border-bottom: 1px solid var(--mk-line); }
.at-legal-hero .at-page-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 840px; }
.at-legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; font-size: 0.86rem; color: var(--mk-subtle); }
.at-legal-meta b { color: var(--mk-text); font-weight: 600; }
.at-legal-summary { max-width: 780px; font-size: 1.05rem; color: var(--mk-body); line-height: 1.65; margin: 16px 0 0; }
.at-legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 56px 0 88px; align-items: start; }
.at-legal-toc { position: sticky; top: calc(var(--mk-nav-h) + 24px); }
.at-legal-toc h2 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mk-subtle); margin: 0 0 10px; }
.at-legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mk-line); }
.at-legal-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.88rem; color: var(--mk-body); text-decoration: none; line-height: 1.35; }
.at-legal-toc li a:hover { color: var(--mk-brand); border-left-color: var(--mk-brand-tint); }
.at-legal-toc li a.is-on { color: var(--mk-brand); border-left-color: var(--mk-brand); font-weight: 600; }
.at-legal-related { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--mk-line); }
.at-legal-related a { display: block; font-size: 0.86rem; color: var(--mk-body); text-decoration: none; padding: 4px 0; }
.at-legal-related a:hover { color: var(--mk-brand); }
.at-legal-doc { max-width: 780px; }
.at-legal-doc section { scroll-margin-top: calc(var(--mk-nav-h) + 20px); padding: 0 0 34px; margin: 0 0 34px; border-bottom: 1px solid var(--mk-line); }
.at-legal-doc section:last-of-type { border-bottom: 0; }
.at-legal-doc h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--mk-ink); margin: 0 0 14px; display: flex; gap: 12px; align-items: baseline; }
.at-legal-doc h2 .n { color: var(--mk-brand); font-variant-numeric: tabular-nums; font-size: 0.95rem; font-weight: 700; }
.at-legal-doc h3 { font-size: 1.02rem; font-weight: 700; color: var(--mk-ink); margin: 22px 0 8px; }
.at-legal-doc p, .at-legal-doc li { font-size: 0.98rem; color: var(--mk-text); line-height: 1.75; }
.at-legal-doc p { margin: 0 0 12px; }
.at-legal-doc ul, .at-legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.at-legal-doc li { margin-bottom: 6px; }
.at-legal-doc a { color: var(--mk-brand); text-decoration: none; font-weight: 600; }
.at-legal-doc a:hover { text-decoration: underline; }
.at-legal-doc strong { color: var(--mk-ink); font-weight: 700; }
.at-legal-doc table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 0.92rem; }
.at-legal-doc th, .at-legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--mk-line); color: var(--mk-text); line-height: 1.55; }
.at-legal-doc th { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mk-subtle); background: var(--mk-alt); }
.at-legal-doc td:first-child { font-weight: 600; color: var(--mk-ink); width: 32%; }
.at-legal-note { background: var(--mk-alt); border: 1px solid var(--mk-line); border-left: 3px solid var(--mk-brand); border-radius: 10px; padding: 14px 16px; margin: 14px 0 18px; font-size: 0.94rem; color: var(--mk-text); line-height: 1.6; }
.at-legal-note.is-warn { border-left-color: #B45309; }
.at-legal-note.is-ok { border-left-color: var(--mk-green); }
.at-legal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 18px; }
.at-legal-fact { border: 1px solid var(--mk-line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.at-legal-fact b { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mk-subtle); margin-bottom: 4px; }
.at-legal-fact span { font-size: 0.95rem; color: var(--mk-ink); font-weight: 600; }
.at-legal-contact { border: 1px solid var(--mk-line); border-radius: 12px; padding: 22px 24px; background: var(--mk-alt); margin-top: 8px; }
.at-legal-contact h3 { margin: 0 0 10px; }
.at-legal-contact p { margin: 0 0 6px; }
.at-legal-wrap { overflow-x: auto; }
@media (max-width: 991.98px) {
    .at-legal { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0 64px; }
    .at-legal-toc { position: static; }
    .at-legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
    .at-legal-facts { grid-template-columns: minmax(0, 1fr); }
    .at-legal-hero { padding: calc(var(--mk-nav-h) + 32px) 0 26px; }
}
@media (max-width: 575.98px) {
    .at-legal-toc ol { grid-template-columns: minmax(0, 1fr); }
    .at-legal-doc td:first-child { width: 40%; }
}
@media print {
    .at-legal-toc, .navbar, .at-footer, #back-to-top { display: none !important; }
    .at-legal { display: block; padding: 0; }
    .at-legal-hero { padding: 0 0 16px; }
}
.at-legal-doc code { font-family: var(--at-font-mono, ui-monospace, monospace); font-size: 0.86em; color: var(--mk-ink); background: var(--mk-alt); border: 1px solid var(--mk-line); border-radius: 5px; padding: 1px 6px; }
