/* Onlinemagneet — agents homepage */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

body.om-site.om-home.om-agents,
body.om-site.om-agents {
    background: #05070a;
    color: #e8eef4;
    font-family: Inter, system-ui, sans-serif;
}

.ag-wrap {
    width: min(1240px, calc(100% - 2.75rem));
    margin: 0 auto;
}
.ag-kicker {
    margin: 0 0 0.9rem;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #FF8C42;
}
.ag-lead {
    max-width: 38rem;
    margin: 0 0 2.2rem;
    color: rgba(255,255,255,0.62);
    font-size: 1.12rem;
    line-height: 1.55;
}
h1, h2 {
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
}
.ag-repeat h2, .ag-stuck h2, .ag-board h2, .ag-ctrl h2, .ag-own h2, .ag-plan h2, .ag-faq h2, .ag-end h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(2.05rem, 4.2vw, 3.35rem);
    line-height: 1.05;
}

.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem 1.45rem;
    border-radius: 0.9rem;
    font-weight: 800;
    font-size: 1.02rem;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 0;
    cursor: pointer;
}
a.ag-btn:hover { transform: translateY(-1px); }
.ag-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #FF6B35, #E63946);
    box-shadow: 0 14px 32px rgba(230, 57, 70, 0.32);
}
.ag-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
}
.ag-btn--sm { padding: 0.62rem 0.9rem; font-size: 0.86rem; }

.ag-chip {
    display: inline-flex;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}
.ag-chip--ok { background: rgba(65,214,154,0.15); color: #41D69A; }
.ag-chip--wait { background: rgba(255,140,66,0.18); color: #FF8C42; }

/* ——— Hero ——— */
.ag-hero {
    position: relative;
    overflow: hidden;
    padding: 4.4rem 0 2.2rem;
}
.ag-hero__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 55% at 18% -8%, rgba(255,107,53,0.34), transparent 58%),
        radial-gradient(ellipse 50% 45% at 92% 8%, rgba(230,57,70,0.18), transparent 55%),
        radial-gradient(ellipse 40% 40% at 70% 70%, rgba(65,214,154,0.07), transparent 50%),
        linear-gradient(180deg, #05070a 0%, #07090c 100%);
}
.ag-hero__fx::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 30% 0%, #000 8%, transparent 72%);
    opacity: 0.7;
}
.ag-hero__intro {
    position: relative;
    z-index: 1;
    margin-bottom: 2.6rem;
}
.ag-hero h1 {
    margin: 0 0 1.25rem;
    max-width: 11.2em;
    font-size: clamp(2.7rem, 7.4vw, 5.55rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}
.ag-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #FFB088, #FF6B35 42%, #E63946);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ag-hero__lead {
    margin: 0 0 1.7rem;
    max-width: 36rem;
    font-size: 1.18rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
}
.ag-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.ag-sys {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}
.ag-sys li {
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ——— Product stage ——— */
.ag-stage {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 2.75rem));
    margin: 0 auto;
}
.ag-stage__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin: 0 0 0.85rem;
}
.ag-stage__tabs button {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    padding: 0.95rem 1.05rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,11,16,0.72);
    color: rgba(255,255,255,0.55);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.ag-stage__tabs button span {
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.35);
}
.ag-stage__tabs button b {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: rgba(255,255,255,0.78);
}
.ag-stage__tabs button small {
    color: rgba(255,255,255,0.38);
    font-size: 0.75rem;
}
.ag-stage__tabs button.is-on {
    background: linear-gradient(180deg, rgba(255,107,53,0.2), rgba(12,16,22,0.9));
    border-color: rgba(255,107,53,0.45);
    box-shadow: 0 12px 32px rgba(255,107,53,0.12);
}
.ag-stage__tabs button.is-on span { color: #FF8C42; }
.ag-stage__tabs button.is-on b { color: #fff; }
.ag-stage__win {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    background: #080b10;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 0 1px rgba(255,107,53,0.08),
        0 0 80px rgba(255,107,53,0.12),
        0 50px 120px rgba(0,0,0,0.55);
}
.ag-stage__win[hidden] { display: none; }
.ag-stage__win::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.55), transparent);
    pointer-events: none;
}
.ag-stage__chrome {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.05rem;
    background: #0c1016;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ag-stage__dots { display: flex; gap: 0.35rem; }
.ag-stage__dots i {
    width: 9px; height: 9px; border-radius: 99px;
    background: rgba(255,255,255,0.16);
}
.ag-stage__dots i:nth-child(1) { background: #E63946; }
.ag-stage__dots i:nth-child(2) { background: #FF8C42; }
.ag-stage__dots i:nth-child(3) { background: #41D69A; }
.ag-stage__chrome strong {
    color: #fff;
    font-size: 0.92rem;
    letter-spacing: -0.02em;
}
.ag-stage__path {
    color: rgba(255,255,255,0.38);
    font-size: 0.78rem;
    font-weight: 600;
}
.ag-stage__toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.05rem;
    background: #0a0e14;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ag-stage__toolbar span {
    padding: 0.32rem 0.65rem;
    border-radius: 0.5rem;
    color: rgba(255,255,255,0.42);
    font-size: 0.74rem;
    font-weight: 700;
}
.ag-stage__toolbar span.is-on {
    background: rgba(255,107,53,0.14);
    color: #fff;
}
.ag-stage__clock {
    margin-left: auto;
    color: rgba(255,255,255,0.32) !important;
    font-variant-numeric: tabular-nums;
}
.ag-stage__body {
    display: grid;
    grid-template-columns: 1fr 0.95fr 1fr;
    gap: 0.85rem;
    padding: 1.05rem;
    min-height: 280px;
    background:
        radial-gradient(ellipse 50% 80% at 80% 0%, rgba(255,107,53,0.08), transparent 55%),
        #080b10;
}
.ag-stage__bar {
    display: flex;
    gap: 1.2rem;
    padding: 0.7rem 1.1rem 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #0a0e14;
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
    font-weight: 700;
}
.ag-stage__bar .is-hot { color: #FF8C42; }
.ag-stage__cap {
    margin: 1rem 0 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.92rem;
}

.ag-shot__lbl {
    margin: 0 0 0.5rem;
    color: rgba(255,255,255,0.42);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ag-mail, .ag-wa, .ag-form, .ag-mini, .ag-stage__run {
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0c1016;
}
.ag-mail { padding: 0.95rem 1rem 1.05rem; }
.ag-mail__from { margin: 0; color: rgba(255,255,255,0.45); font-size: 0.75rem; }
.ag-mail__sub { margin: 0.2rem 0 0; color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; }
.ag-mail__txt { margin: 0.4rem 0 0.7rem; color: rgba(255,255,255,0.58); font-size: 0.88rem; line-height: 1.45; }
.ag-att {
    display: inline-flex;
    padding: 0.28rem 0.6rem;
    border-radius: 0.5rem;
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.28);
    color: #FF8C42;
    font-size: 0.72rem;
    font-weight: 800;
}
.ag-wa { padding: 0.9rem 1rem; margin-bottom: 0.55rem; }
.ag-wa__meta { color: rgba(255,255,255,0.38); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ag-wa__who { margin: 0.25rem 0 0.5rem; color: #fff; font-weight: 800; }
.ag-wa__bubble {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 0.2rem 0.9rem 0.9rem 0.9rem;
    background: #075E54;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}
.ag-form {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.95rem;
}
.ag-form span { color: rgba(255,255,255,0.4); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ag-form b { color: #fff; font-size: 0.92rem; }

.ag-stage__run {
    padding: 0.95rem 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(255,107,53,0.12), rgba(12,16,22,0.95));
    border-color: rgba(255,107,53,0.28);
}
.ag-run { margin: 0; padding: 0; list-style: none; }
.ag-run li {
    position: relative;
    padding: 0.42rem 0 0.42rem 1.75rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
}
.ag-run li::before {
    position: absolute;
    left: 0; top: 0.4rem;
    width: 1.2rem; height: 1.2rem;
    display: grid; place-items: center;
    border-radius: 99px;
    font-size: 0.68rem; font-weight: 800;
}
.ag-run li.is-ok::before { content: '✓'; background: rgba(65,214,154,0.16); color: #41D69A; }
.ag-run li.is-stop { color: #fff; font-weight: 650; }
.ag-run li.is-stop::before { content: '!'; background: #FF6B35; color: #fff; }
.ag-run b { color: #fff; }

.ag-stage__win.is-playing .ag-run li {
    opacity: 0;
    animation: agStep 0.45s ease forwards;
}
.ag-stage__win.is-playing .ag-run li:nth-child(1) { animation-delay: 0.15s; }
.ag-stage__win.is-playing .ag-run li:nth-child(2) { animation-delay: 0.55s; }
.ag-stage__win.is-playing .ag-run li:nth-child(3) { animation-delay: 1s; }
@keyframes agStep {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.ag-mini { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.85rem 0.8rem 0.9rem; }
.ag-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.58rem 0.7rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.03);
}
.ag-row.is-wait {
    background: rgba(255,107,53,0.1);
    box-shadow: inset 3px 0 0 #FF6B35;
}
.ag-row strong { display: block; color: #fff; font-size: 0.86rem; }
.ag-row small { color: rgba(255,255,255,0.42); font-size: 0.72rem; }

.ag-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #41D69A;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ag-live i {
    width: 7px; height: 7px; border-radius: 50%;
    background: #41D69A;
    animation: agPulse 1.8s ease-out infinite;
}
@keyframes agPulse {
    0% { box-shadow: 0 0 0 0 rgba(65,214,154,0.55); }
    100% { box-shadow: 0 0 0 8px rgba(65,214,154,0); }
}

/* ——— Repeat work ——— */
.ag-repeat { padding: 5.2rem 0 1.5rem; }
.ag-repeat__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
    margin-top: 1.6rem;
}
.ag-repeat article {
    padding: 1.15rem 1rem 1.2rem;
    border-radius: 1.05rem;
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.08);
}
.ag-repeat article.is-on {
    background: linear-gradient(180deg, rgba(255,107,53,0.16), rgba(12,16,22,0.95));
    border-color: rgba(255,107,53,0.38);
}
.ag-repeat span {
    display: block;
    margin-bottom: 0.55rem;
    font-family: 'Space Grotesk', Inter, sans-serif;
    color: #FF8C42;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.ag-repeat h3 { margin: 0 0 0.3rem; color: #fff; font-size: 1.02rem; }
.ag-repeat p { margin: 0; color: rgba(255,255,255,0.5); font-size: 0.84rem; line-height: 1.4; }

/* ——— Stuck ——— */
.ag-stuck { padding: 4.2rem 0 5rem; }
.ag-stuck__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.ag-stuck article {
    padding: 1.6rem 1.4rem 1.7rem;
    border-radius: 1.2rem;
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.08);
}
.ag-stuck article span {
    display: block;
    margin-bottom: 1.1rem;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.06em;
    color: #FF6B35;
}
.ag-stuck h3 { margin: 0 0 0.5rem; color: #fff; font-size: 1.2rem; letter-spacing: -0.03em; }
.ag-stuck p { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.5; }

/* ——— Dashboard ——— */
.ag-board { padding: 0 0 5.2rem; }
.ag-board__tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.3rem;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.ag-board__tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-weight: 800;
    font-size: 0.86rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}
.ag-board__tabs button.is-on {
    background: linear-gradient(135deg, #FF6B35, #E63946);
    color: #fff;
}
.ag-board__cap {
    margin: 1rem 0 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
}
.ag-app {
    display: grid;
    grid-template-columns: 196px 1fr;
    min-height: 540px;
    border-radius: 1.3rem;
    overflow: hidden;
    background: #080b10;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 0 1px rgba(255,107,53,0.06),
        0 40px 100px rgba(0,0,0,0.5);
}
.ag-app[hidden] { display: none; }
.ag-app__nav {
    background: #0a0e14;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 1.15rem 0.75rem;
}
.ag-app__who {
    padding: 0.15rem 0.55rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0.75rem;
}
.ag-app__who b { display: block; color: #fff; font-size: 0.95rem; }
.ag-app__who small { color: #41D69A; font-size: 0.72rem; font-weight: 700; }
.ag-app__nav nav { display: flex; flex-direction: column; gap: 0.18rem; }
.ag-app__nav a {
    display: flex;
    justify-content: space-between;
    padding: 0.52rem 0.6rem;
    border-radius: 0.6rem;
    color: rgba(255,255,255,0.52);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}
.ag-app__nav a.is-on { background: rgba(255,107,53,0.14); color: #fff; }
.ag-app__nav em {
    font-style: normal;
    background: #E63946;
    color: #fff;
    font-size: 0.66rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}
.ag-app__canvas { padding: 1rem 1.15rem 1.2rem; min-width: 0; }
.ag-app__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}
.ag-app__top strong {
    display: block;
    color: #fff;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 1.15rem;
}
.ag-app__top small { color: rgba(255,255,255,0.4); }
.ag-app__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}
.ag-app__stats > div {
    padding: 0.8rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
}
.ag-app__stats span {
    display: block;
    color: rgba(255,255,255,0.42);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ag-app__stats b {
    display: block;
    margin: 0.2rem 0 0.1rem;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 1.55rem;
    color: #fff;
    letter-spacing: -0.04em;
}
.ag-app__stats small { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.ag-app__stats .is-hot {
    background: linear-gradient(180deg, rgba(255,107,53,0.16), rgba(255,107,53,0.05));
    border-color: rgba(255,107,53,0.35);
}
.ag-app__split {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 0.7rem;
    min-width: 0;
}
.ag-table {
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: #0c1016;
}
.ag-table__head,
.ag-table__row {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 1.1fr 0.85fr;
    gap: 0.4rem;
    padding: 0.68rem 0.85rem;
    align-items: center;
    font-size: 0.82rem;
}
.ag-table__head {
    color: rgba(255,255,255,0.38);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #10151d;
}
.ag-table__row { color: rgba(255,255,255,0.82); border-top: 1px solid rgba(255,255,255,0.05); }
.ag-table__row.is-wait { background: rgba(255,107,53,0.08); }
.ag-src { color: rgba(255,255,255,0.5); font-weight: 700; font-size: 0.75rem; }
.ag-detail {
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(255,107,53,0.12), rgba(12,16,22,0.9));
    border: 1px solid rgba(255,107,53,0.28);
}
.ag-detail__kicker {
    margin: 0 0 0.35rem;
    color: #FF8C42;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ag-detail h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.05rem; }
.ag-detail p { margin: 0 0 0.8rem; color: rgba(255,255,255,0.62); font-size: 0.86rem; line-height: 1.45; }
.ag-detail__acts { display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* ——— Control ——— */
.ag-ctrl { padding: 0 0 5rem; }
.ag-ctrl__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: center;
}
.ag-ctrl__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.ag-ctrl__list li {
    padding: 0.95rem 1.1rem;
    border-radius: 0.95rem;
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.62);
    font-size: 0.98rem;
}
.ag-ctrl__list b { color: #fff; }
.ag-ctrl__card {
    padding: 1.4rem 1.3rem 1.45rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255,107,53,0.14), rgba(12,16,22,0.95));
    border: 1px solid rgba(255,107,53,0.32);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.ag-ctrl__rule {
    margin: 0 0 1rem;
    color: #fff;
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

/* ——— Owned ——— */
.ag-own { padding: 0 0 5rem; }
.ag-own__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}
.ag-own article {
    padding: 1.4rem 1.25rem;
    border-radius: 1.15rem;
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.08);
}
.ag-own span {
    display: block;
    margin-bottom: 0.45rem;
    color: #FF8C42;
    font-weight: 800;
    font-size: 0.92rem;
}
.ag-own p { margin: 0; color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.45; }

.ag-plan { padding: 0 0 4.2rem; }
.ag-plan__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}
.ag-plan__track article {
    padding: 1.4rem 1.25rem 1.5rem;
    border-radius: 1.15rem;
    background: #0c1016;
    border: 1px solid rgba(255,255,255,0.08);
}
.ag-plan__track article.is-now {
    background: linear-gradient(180deg, rgba(255,107,53,0.16), rgba(12,16,22,0.9));
    border-color: rgba(255,107,53,0.35);
}
.ag-plan__track span {
    display: block;
    margin-bottom: 0.5rem;
    color: #FF8C42;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ag-plan__track h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.18rem; }
.ag-plan__track p { margin: 0; color: rgba(255,255,255,0.58); font-size: 0.95rem; }

.ag-faq { padding: 0 0 4.8rem; }
.ag-faq details {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.15rem 0;
}
.ag-faq summary {
    cursor: pointer;
    color: #fff;
    font-weight: 750;
    font-size: 1.12rem;
    list-style: none;
}
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq p { margin: 0.7rem 0 0; color: rgba(255,255,255,0.64); max-width: 46rem; }

.ag-end {
    padding: 4.2rem 0 5.6rem;
    text-align: center;
    background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(255,107,53,0.18), transparent 70%);
}
.ag-end .ag-hero__ctas { justify-content: center; }
.ag-end p { margin: 0 auto 1.5rem; max-width: 36rem; color: rgba(255,255,255,0.66); }

@media (max-width: 1080px) {
    .ag-stage__body,
    .ag-repeat__row,
    .ag-stuck__row,
    .ag-own__row,
    .ag-plan__track,
    .ag-ctrl__grid,
    .ag-app,
    .ag-app__split,
    .ag-app__stats {
        grid-template-columns: 1fr;
    }
    .ag-stage__tabs { grid-template-columns: 1fr; }
    .ag-stage__tabs button { flex-direction: row; align-items: center; gap: 0.7rem; }
    .ag-stage__path { display: none; }
    .ag-board__tabs { width: 100%; }
    .ag-board__tabs button { flex: 1; }
    .ag-app__nav { display: none; }
    .ag-table__head { display: none; }
    .ag-table__head, .ag-table__row { grid-template-columns: 1fr auto; }
    .ag-table__row span:nth-child(3) { display: none; }
}

@media (max-width: 720px) {
    .ag-hero { padding: 2.8rem 0 1.6rem; }
    .ag-hero h1 { max-width: 12em; font-size: clamp(2.15rem, 11vw, 3rem); }
    .ag-repeat { padding-top: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ag-live i { animation: none; }
    .ag-stage__win.is-playing .ag-run li {
        opacity: 1;
        animation: none;
    }
}
