/*
      NONI™ Utility Cognitive AMR Product Page
      ------------------------------------------------------------
      WordPress / Elementor compatible single HTML file.
      Design language: ArmorBionic™ homepage-consistent header/footer,
      Frosted Light + Dark mode, Liquid Glass cards, video-first product hero,
      app-like databoards, clean typography, responsive UI.

      Replace these placeholders after uploading to WordPress Media Library:
      /wp-content/uploads/noni-amr-hero.mp4
      /wp-content/uploads/noni-amr-poster.jpg
      /wp-content/uploads/noni-amr-datasheet.pdf
      /wp-content/uploads/noni-amr-catalog.pdf
      https://www.youtube.com/embed/VIDEO_ID
    */

:root {
    --ab-navy: #07101e;
    --ab-navy-2: #111c31;
    --ab-blue: #2f6fd2;
    --ab-blue-2: #1f55a8;
    --ab-frost: #edf3fb;
    --ab-frost-2: #f7faff;
    --ab-ink: #07101e;
    --ab-muted: rgba(7, 16, 30, .66);
    --ab-soft: rgba(7, 16, 30, .48);
    --ab-page: #eaf1fa;
    --ab-card: rgba(247, 250, 255, .76);
    --ab-card-strong: rgba(247, 250, 255, .94);
    --ab-line: rgba(7, 16, 30, .14);
    --ab-line-strong: rgba(7, 16, 30, .22);
    --ab-shadow: 0 28px 90px rgba(7, 16, 30, .18);
    --ab-shadow-soft: 0 16px 46px rgba(7, 16, 30, .12);
    --ab-radius-xl: 36px;
    --ab-radius-lg: 26px;
    --ab-radius-md: 18px;
    --ab-header-h: 68px;
    --ab-max: 1240px;
}

html[data-ab-theme="dark"] {
    --ab-ink: #f7faff;
    --ab-muted: rgba(247, 250, 255, .68);
    --ab-soft: rgba(247, 250, 255, .50);
    --ab-page: #05070d;
    --ab-card: rgba(15, 24, 42, .72);
    --ab-card-strong: rgba(15, 24, 42, .94);
    --ab-line: rgba(247, 250, 255, .15);
    --ab-line-strong: rgba(247, 250, 255, .25);
    --ab-shadow: 0 30px 100px rgba(0, 0, 0, .48);
    --ab-shadow-soft: 0 18px 56px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 111, 210, .18), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(47, 111, 210, .10), transparent 32%),
        linear-gradient(180deg, var(--ab-page), var(--ab-frost));
    color: var(--ab-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[data-ab-theme="dark"] body {
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 111, 210, .24), transparent 30%),
        radial-gradient(circle at 90% 8%, rgba(47, 111, 210, .13), transparent 32%),
        linear-gradient(180deg, #05070d, #07101e 52%, #05070d);
}

body.lock {
    overflow: hidden
}

a {
    color: inherit
}

button,
input,
textarea,
select {
    font: inherit
}

.ab-page {
    min-height: 100svh;
    --glass-blur: blur(24px) saturate(142%)
}

.ab-wrap {
    width: min(var(--ab-max), calc(100% - 40px));
    margin: 0 auto
}

.ab-glass {
    background: linear-gradient(135deg, var(--ab-card-strong), var(--ab-card));
    border: 1px solid var(--ab-line);
    box-shadow: var(--ab-shadow-soft);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.ab-dark-panel {
    color: var(--ab-frost-2);
    background:
        radial-gradient(circle at 18% 12%, rgba(47, 111, 210, .25), transparent 34%),
        linear-gradient(145deg, var(--ab-navy), var(--ab-navy-2));
    border: 1px solid rgba(247, 250, 255, .15);
    box-shadow: var(--ab-shadow);
}

.ab-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--ab-line);
    background: rgba(247, 250, 255, .78);
    color: var(--ab-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.ab-btn::after {
    content: "";
    position: absolute;
    inset: -70% auto -70% -55%;
    width: 50%;
    transform: rotate(18deg) translateX(-60%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .52), transparent);
    z-index: -1;
    transition: transform .55s ease
}

.ab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ab-shadow-soft);
    border-color: var(--ab-line-strong)
}

.ab-btn:hover::after {
    transform: rotate(18deg) translateX(280%)
}

.ab-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--ab-blue), var(--ab-blue-2));
    border-color: transparent;
    box-shadow: 0 16px 42px rgba(47, 111, 210, .30)
}

.ab-btn.dark {
    color: #fff;
    background: rgba(247, 250, 255, .12);
    border-color: rgba(247, 250, 255, .18)
}

.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: inherit;
    background: rgba(247, 250, 255, .10);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px)
}

.ab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ab-blue);
    box-shadow: 0 0 20px rgba(47, 111, 210, .55);
    flex: 0 0 auto
}

.ab-section {
    padding: 86px 0
}

.ab-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px
}

.ab-section-head h2 {
    margin: 0;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.04;
    letter-spacing: -.035em;
    max-width: 800px;
    text-wrap: balance
}

.ab-section-head p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 16px;
    line-height: 1.72;
    max-width: 430px
}

p {
    font-size: clamp(15px, 1.03vw, 17px);
    line-height: 1.7;
    letter-spacing: -.006em
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
    overflow-wrap: anywhere
}

/* Video hero */
.ab-video-hero {
    position: relative;
    min-height: calc(100svh - var(--ab-header-h));
    display: grid;
    color: #fff;
    overflow: hidden;
    padding: 50px 0 34px;
}

.ab-video-hero video,
.ab-video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ab-video-fallback {
    background: radial-gradient(circle at 20% 16%, rgba(47, 111, 210, .55), transparent 28%), linear-gradient(135deg, #07101e, #152746)
}

.ab-video-hero video {
    opacity: .46
}

.ab-video-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 16, 30, .90), rgba(7, 16, 30, .52) 52%, rgba(7, 16, 30, .80)), linear-gradient(180deg, rgba(7, 16, 30, .14), rgba(7, 16, 30, .92));
    pointer-events: none
}

.ab-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 34px;
}

.ab-hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(30px, 7vw, 60px);
    line-height: .98;
    letter-spacing: -.048em;
    max-width: 760px;
}

.ab-hero-copy p {
    margin: 0 0 26px;
    max-width: 680px;
    color: rgba(255, 255, 255, .75);
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.72;
}

.ab-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ab-hero-console {
    border-radius: 34px;
    padding: 16px;
    background: rgba(247, 250, 255, .10);
    border: 1px solid rgba(247, 250, 255, .16);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .30);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%)
}

.ab-console-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px
}

.ab-console-card {
    min-height: 128px;
    border-radius: 22px;
    padding: 25px;
    background: rgba(7, 16, 30, .56);
    border: 1px solid rgba(247, 250, 255, .14);
    position: relative;
    overflow: hidden
}

.ab-console-card.large {
    grid-row: span 2;
    min-height: 268px
}

.ab-console-card span {
    display: block;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em
}

.ab-console-card strong {
    display: block;
    margin: 8px 0 8px;
    font-size: clamp(10px, 3vw, 30px);
    line-height: 1.02;
    letter-spacing: -.03em
}

.ab-console-card b {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650
}

.ab-video-dock {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.ab-video-tile {
    min-height: 120px;
    border-radius: 24px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    background: rgba(247, 250, 255, .12);
    border: 1px solid rgba(247, 250, 255, .16);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform .24s ease, background .24s ease
}

.ab-video-tile:hover {
    transform: translateY(-4px);
    background: rgba(247, 250, 255, .18)
}

.ab-video-tile b {
    font-size: 12px;
    line-height: 1.25
}

.ab-video-tile span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 700
}

.ab-fluid {
    position: relative;
    overflow: hidden
}

.ab-fluid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .32), transparent 28%);
    opacity: 0;
    transition: opacity .24s ease;
    pointer-events: none
}

.ab-fluid:hover::before {
    opacity: 1
}

.ab-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .72s cubic-bezier(.2, .8, .2, 1), transform .72s cubic-bezier(.2, .8, .2, 1)
}

.ab-reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* Content sections */
.ab-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: stretch
}

.ab-product-card {
    border-radius: var(--ab-radius-xl);
    padding: 26px;
    min-height: 520px
}

.ab-product-card h2 {
    margin: 18px 0 14px;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.04;
    letter-spacing: -.035em
}

.ab-product-card p {
    margin: 0;
    color: var(--ab-muted);
    max-width: 720px
}

.ab-amr-illustration {
    margin-top: 28px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(47, 111, 210, .10), rgba(247, 250, 255, .42));
    border: 1px solid var(--ab-line);
    min-height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden
}

.ab-amr-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.ab-metric-card {
    border-radius: 26px;
    padding: 20px;
    min-height: 154px
}

.ab-metric-card small {
    display: block;
    color: var(--ab-soft);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em
}

.ab-metric-card strong {
    display: block;
    margin: 8px 0 8px;
    color: var(--ab-ink);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.02em
}

.ab-metric-card span {
    display: block;
    color: var(--ab-muted);
    font-size: 14px;
    line-height: 1.55
}

.ab-board {
    border-radius: var(--ab-radius-xl);
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.ab-board-card {
    min-height: 238px;
    border-radius: 26px;
    padding: 20px;
    background: rgba(247, 250, 255, .42);
    border: 1px solid var(--ab-line);
    position: relative;
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease
}

.ab-board-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ab-shadow-soft)
}

.ab-board-card.big {
    grid-column: span 2
}

.ab-board-card.dark {
    color: #fff;
    background: radial-gradient(circle at 80% 15%, rgba(47, 111, 210, .32), transparent 34%), linear-gradient(145deg, #07101e, #152746)
}

.ab-vector {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: var(--ab-blue);
    background: rgba(47, 111, 210, .10);
    border: 1px solid rgba(47, 111, 210, .16);
    margin-bottom: 18px
}

.ab-board-card.dark .ab-vector {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .16)
}

.ab-board-card h3 {
    margin: 0 0 9px;
    font-size: 22px;
    line-height: 1.14;
    letter-spacing: -.02em
}

.ab-board-card p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 15px;
    line-height: 1.62
}

.ab-board-card.dark p {
    color: rgba(255, 255, 255, .68)
}

.ab-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px
}

.ab-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(47, 111, 210, .08);
    border: 1px solid rgba(47, 111, 210, .14);
    color: var(--ab-ink);
    font-size: 12px;
    font-weight: 850
}

.ab-board-card.dark .ab-chip {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .15)
}

.ab-split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 18px;
    align-items: stretch
}

.ab-panel {
    border-radius: var(--ab-radius-xl);
    padding: 26px
}

.ab-panel h2 {
    margin: 14px 0;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.05;
    letter-spacing: -.035em
}

.ab-panel p {
    margin: 0;
    color: rgba(255, 255, 255, .70)
}

.ab-feature-list {
    display: grid;
    gap: 12px
}

.ab-feature-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: start;
    border-radius: 22px;
    padding: 16px;
    transition: transform .24s ease, box-shadow .24s ease
}

.ab-feature-row:hover {
    transform: translateY(-3px);
    box-shadow: var(--ab-shadow-soft)
}

.ab-feature-index {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ab-blue);
    font-size: 13px;
    font-weight: 900
}

.ab-feature-row b {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.3
}

.ab-feature-row span {
    display: block;
    color: var(--ab-muted);
    font-size: 14px;
    line-height: 1.56
}

.ab-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.ab-app-card {
    border-radius: 28px;
    padding: 22px;
    min-height: 190px;
    transition: transform .24s ease, box-shadow .24s ease
}

.ab-app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ab-shadow-soft)
}

.ab-app-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.14;
    letter-spacing: -.02em
}

.ab-app-card p {
    margin: 0;
    color: var(--ab-muted);
    font-size: 15px;
    line-height: 1.64
}

.ab-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.ab-model-card {
    border-radius: var(--ab-radius-xl);
    padding: 26px
}

.ab-model-card h3 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.03em
}

.ab-model-card p {
    margin: 0 0 18px;
    color: var(--ab-muted)
}

.ab-model-list {
    display: grid;
    gap: 10px
}

.ab-model-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--ab-line)
}

.ab-model-row span {
    color: var(--ab-muted);
    font-weight: 700
}

.ab-model-row b {
    text-align: right;
    color: var(--ab-ink)
}

.ab-spec-layout {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 18px;
    align-items: start
}

.ab-spec-lead {
    position: sticky;
    top: calc(var(--ab-header-h) + 24px);
    border-radius: var(--ab-radius-xl);
    padding: 26px
}

.ab-spec-lead h2 {
    margin: 14px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em
}

.ab-spec-lead p {
    margin: 0 0 20px;
    color: rgba(247, 250, 255, .70);
    font-size: 16px;
    line-height: 1.72
}

.ab-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
}

.ab-spec-item {
    border-radius: 20px;
    padding: 17px;
    min-height: 94px
}

.ab-spec-item span {
    display: block;
    color: var(--ab-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em
}

.ab-spec-item b {
    display: block;
    margin-top: 8px;
    color: var(--ab-ink);
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -.01em
}

.ab-resource-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: center;
}

.ab-youtube-box iframe {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(131, 131, 131, 0.449);
    border-radius: 30px;
}

.ab-youtube-box.has-video iframe {
    display: block;
}

.ab-play {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .26)
}

.ab-youtube-box h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.03em
}

.ab-youtube-box p {
    margin: 0 auto;
    color: rgba(255, 255, 255, .68);
    max-width: 520px
}

.ab-resource-list {
    display: grid;
    gap: 12px
}

.ab-resource-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    border-radius: 26px;
    padding: 18px;
    color: var(--ab-ink);
    text-decoration: none;
    transition: transform .24s ease, box-shadow .24s ease
}

.ab-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ab-shadow-soft)
}

.ab-resource-card b {
    display: block;
    margin-bottom: 5px;
    font-size: 17px;
    line-height: 1.25
}

.ab-resource-card span {
    display: block;
    color: var(--ab-muted);
    font-size: 14px;
    line-height: 1.5
}

.ab-resource-type {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ab-blue);
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto
}

.ab-cta {
    border-radius: 42px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center
}

.ab-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(20px, 5vw, 50px);
    line-height: 1.02;
    letter-spacing: -.035em
}

.ab-cta p {
    margin: 0;
    color: rgba(247, 250, 255, .70);
    max-width: 720px
}

.ab-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end
}

.ab-footer {
    padding: 56px 0 26px;
    background: #07101e;
    color: #fff
}

.ab-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(6, 1fr);
    gap: 24px;
    align-items: start
}

.ab-footer-brand p {
    margin: 14px 0 0;
    max-width: 360px;
    color: rgba(247, 250, 255, .62);
    font-size: 14px;
    line-height: 1.65
}

.ab-footer h4 {
    margin: 0 0 12px;
    color: rgba(247, 250, 255, .92);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em
}

.ab-footer a {
    display: block;
    color: rgba(247, 250, 255, .58);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.38;
    margin: 8px 0
}

.ab-footer a:hover {
    color: #fff
}

.ab-footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(247, 250, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(247, 250, 255, .50);
    font-size: 12px;
    line-height: 1.4
}

.ab-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(7, 16, 30, .64);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.ab-modal.active {
    display: flex
}

.ab-modal-card {
    width: min(720px, 96vw);
    max-height: min(760px, 88svh);
    overflow: auto;
    border-radius: 34px;
    padding: 26px;
    background: var(--ab-card-strong);
    color: var(--ab-ink);
    border: 1px solid var(--ab-line);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .32);
    position: relative;
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%)
}

.ab-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    border: 1px solid var(--ab-line);
    background: transparent;
    color: var(--ab-ink);
    cursor: pointer;
    font-size: 22px
}

.ab-modal-card h3 {
    margin: 0 52px 12px 0;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -.03em
}

.ab-modal-card p {
    margin: 0 0 18px;
    color: var(--ab-muted);
    font-size: 16px;
    line-height: 1.72
}

.ab-form {
    display: grid;
    gap: 12px;
    margin-top: 18px
}

.ab-form label {
    font-size: 13px;
    font-weight: 850;
    color: var(--ab-ink);
    display: grid;
    gap: 7px
}

.ab-form input,
.ab-form textarea,
.ab-form select {
    width: 100%;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid var(--ab-line);
    background: rgba(247, 250, 255, .48);
    color: var(--ab-ink);
    padding: 12px 14px;
    outline: none;
    font-size: 15px
}

.ab-form textarea {
    min-height: 118px;
    resize: vertical
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important
    }

    .ab-reveal {
        opacity: 1;
        transform: none
    }
}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {

    .ab-glass,
    .ab-mega,
    .ab-drawer,
    .ab-modal-card,
    .ab-video-tile,
    .ab-hero-console {
        background: var(--ab-card-strong) !important
    }
}

@media (max-width:1160px) {

    .ab-mega-inner {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
        max-height: calc(100svh - var(--ab-header-h) - 20px);
        overflow-y: auto
    }

    .ab-mega-feature {
        grid-column: span 4
    }

    .ab-footer-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .ab-footer-brand {
        grid-column: span 3
    }
}

@media (max-width:980px) {
    :root {
        --ab-header-h: 64px
    }

    .ab-menu-btn {
        display: inline-grid;
        place-items: center
    }

    .ab-mega,
    .ab-scrim {
        display: none
    }

    .ab-video-hero {
        min-height: auto;
        padding: 72px 0 28px
    }

    .ab-hero-content,
    .ab-intro-grid,
    .ab-split,
    .ab-spec-layout,
    .ab-resource-grid,
    .ab-cta {
        grid-template-columns: 1fr
    }

    .ab-spec-lead {
        position: relative;
        top: auto
    }

    .ab-section-head {
        display: block
    }

    .ab-section-head p {
        margin-top: 14px
    }

    .ab-cta-actions {
        justify-content: flex-start
    }
}

@media (max-width:720px) {
    .ab-wrap {
        width: min(100% - 28px, var(--ab-max))
    }

    .ab-section {
        padding: 58px 0
    }

    .ab-hero-copy h1 {
        font-size: clamp(42px, 14vw, 68px);
        letter-spacing: -.035em
    }

    .ab-console-grid,
    .ab-video-dock,
    .ab-metric-grid,
    .ab-board,
    .ab-app-grid,
    .ab-model-grid,
    .ab-spec-grid {
        grid-template-columns: 1fr
    }

    .ab-board-card.big {
        grid-column: auto
    }

    .ab-console-card.large {
        grid-row: auto;
        min-height: 180px
    }

    .ab-product-card {
        min-height: auto
    }

    .ab-youtube-box {
        min-height: 380px;
        padding: 24px
    }

    .ab-cta {
        padding: 30px
    }

    .ab-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .ab-footer-brand {
        grid-column: span 2
    }

    .ab-footer-bottom {
        display: block
    }

    .ab-footer-bottom span {
        display: block;
        margin: 8px 0
    }
}

@media (max-width:460px) {
    .ab-brand strong {
        font-size: 14px
    }

    .ab-brand-mark {
        width: 30px;
        height: 30px;
        border-radius: 10px
    }

    .ab-hero-actions,
    .ab-cta-actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .ab-btn {
        width: 100%
    }

    .ab-footer-grid {
        grid-template-columns: 1fr
    }

    .ab-footer-brand {
        grid-column: auto
    }

    .ab-resource-card {
        align-items: flex-start
    }

    .ab-resource-type {
        width: 42px;
        height: 42px
    }
}

/* Final Frosted Light overrides: remove leftover dark boxes and white-on-white text. */
html[data-ab-theme="light"] {
    --ab-ink: #07111f;
    --ab-muted: #45546a;
    --ab-soft: #657287;
    --ab-page: #e7eef8;
    --ab-card: rgba(244, 248, 253, .82);
    --ab-card-strong: rgba(238, 245, 252, .96);
    --ab-line: rgba(7, 16, 30, .16);
    --ab-line-strong: rgba(7, 16, 30, .24);
    --ab-shadow: 0 24px 72px rgba(29, 55, 92, .18);
    --ab-shadow-soft: 0 14px 42px rgba(29, 55, 92, .12);
}

html[data-ab-theme="light"] body,
html[data-ab-theme="light"] .ab-page {
    color: var(--ab-ink);
    background:
        radial-gradient(circle at 12% -6%, rgba(47, 111, 210, .16), transparent 32%),
        radial-gradient(circle at 94% 8%, rgba(53, 159, 210, .10), transparent 30%),
        linear-gradient(180deg, #e2eaf5 0%, #edf3fa 46%, #e7edf6 100%);
}

html[data-ab-theme="light"] :is(.ab-glass, .ab-panel, .ab-board, .ab-board-card, .ab-app-card, .ab-model-card, .ab-spec-item, .ab-resource-card, .ab-modal-card) {
    color: var(--ab-ink);
    background: linear-gradient(135deg, rgba(255, 255, 255, .50), rgba(235, 242, 250, .78));
    border-color: var(--ab-line);
    box-shadow: var(--ab-shadow-soft);
}

html[data-ab-theme="light"] :is(.ab-dark-panel, .ab-board-card.dark, .ab-spec-lead, .ab-cta) {
    color: var(--ab-ink) !important;
    background:
        radial-gradient(circle at 88% 8%, rgba(47, 111, 210, .12), transparent 34%),
        linear-gradient(135deg, rgba(246, 249, 253, .88), rgba(226, 236, 248, .88)) !important;
    border: 1px solid var(--ab-line) !important;
    box-shadow: var(--ab-shadow) !important;
}

html[data-ab-theme="light"] :is(.ab-section-head, .ab-dark-panel, .ab-board-card.dark, .ab-spec-lead, .ab-cta, .ab-modal-card, .ab-mega, .ab-drawer) :is(h1, h2, h3, h4, h5, h6, b, strong, summary, label, a) {
    color: var(--ab-ink) !important;
    text-shadow: none !important;
}

html[data-ab-theme="light"] :is(.ab-section-head, .ab-dark-panel, .ab-board-card.dark, .ab-spec-lead, .ab-cta, .ab-modal-card, .ab-mega, .ab-drawer) :is(p, li, small, span) {
    color: var(--ab-muted) !important;
    text-shadow: none !important;
}

html[data-ab-theme="light"] :is(.ab-btn.dark, .ab-mega-actions a) {
    color: var(--ab-ink) !important;
    background: rgba(242, 248, 253, .86) !important;
    border-color: rgba(7, 16, 30, .18) !important;
}

html[data-ab-theme="light"] :is(.ab-btn.primary, .ab-resource-type) {
    color: #fff !important;
}

html[data-ab-theme="light"] :is(.ab-chip, .ab-board-card.dark .ab-chip, .ab-board-card.dark .ab-vector) {
    color: var(--ab-ink) !important;
    background: rgba(224, 234, 246, .90) !important;
    border-color: rgba(7, 16, 30, .14) !important;
}

html[data-ab-theme="light"] .ab-footer {
    color: var(--ab-ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(47, 111, 210, .12), transparent 32%),
        linear-gradient(180deg, #edf3fa, #dfe8f4);
    border-top: 1px solid var(--ab-line);
}

html[data-ab-theme="light"] .ab-footer :is(.ab-brand, h4, strong, a) {
    color: var(--ab-ink) !important;
}

html[data-ab-theme="light"] .ab-footer :is(p, .ab-footer-bottom) {
    color: var(--ab-muted) !important;
}

/* Responsive media/content guardrails */
.ab-page :is(img, video, iframe) {
    max-width: 100%;
}

.ab-page :is(.ab-product-card, .ab-board-card, .ab-app-card, .ab-model-card, .ab-resource-card, .ab-youtube-box, .ab-hero-console, .ab-video-tile, .ab-amr-illustration) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ab-page .ab-youtube-box {
    aspect-ratio: 16 / 9;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
}

.ab-page .ab-youtube-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

.ab-page .ab-amr-illustration {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.ab-page .ab-amr-illustration img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 720px) {
    .ab-page :is(.ab-resource-grid, .ab-board, .ab-app-grid, .ab-model-grid, .ab-spec-grid, .ab-video-dock, .ab-console-grid, .ab-metric-grid) {
        grid-template-columns: 1fr !important;
    }

    .ab-page .ab-resource-card {
        align-items: flex-start;
        flex-direction: column;
    }
}