


.agy-stage { position: relative; padding: 22px; display: grid; gap: 16px; }
.agy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-family: 'Space Grotesk'; font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.agy-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px;
    background: rgba(16,185,129,0.12); color: var(--emerald); font-size: 11px; white-space: nowrap; }
.agy-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: hiwPing 2.4s ease-out infinite; }
.agy-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.agy-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.025); overflow: hidden; }
.agy-tile::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46%;
    background: linear-gradient(135deg, var(--c1, #10b981), var(--c2, #065f46)); opacity: 0.12; }
.agy-tile::after { content: ''; position: absolute; left: 14%; right: 30%; bottom: 20%; height: 5px; border-radius: 3px;
    background: rgba(255,255,255,0.16); box-shadow: 0 -9px 0 rgba(255,255,255,0.08); }
.agy-tile b { position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.agy-mock .agy-tile::before { animation: agyTileOn 9s ease infinite; animation-delay: calc(var(--i) * 0.16s); }
.agy-mock .agy-tile b { animation: agyDotOn 9s ease infinite; animation-delay: calc(var(--i) * 0.16s); }
.agy-mock .agy-tile { animation: agyTileBorder 9s ease infinite; animation-delay: calc(var(--i) * 0.16s); }
@keyframes agyTileOn { 0%, 6% { opacity: 0.12; } 12%, 88% { opacity: 0.95; } 96%, 100% { opacity: 0.12; } }
@keyframes agyDotOn { 0%, 6% { background: rgba(255,255,255,0.12); } 12%, 88% { background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.8); } 96%, 100% { background: rgba(255,255,255,0.12); } }
@keyframes agyTileBorder { 0%, 6% { border-color: rgba(255,255,255,0.07); } 12%, 88% { border-color: rgba(16,185,129,0.35); } 96%, 100% { border-color: rgba(255,255,255,0.07); } }
.agy-prog { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.agy-prog i { display: block; height: 100%; background: linear-gradient(90deg, #10b981, #6ee7b7); transform-origin: left; transform: scaleX(1); }
.agy-mock .agy-prog i { animation: agyProg 9s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes agyProg { 0%, 4% { transform: scaleX(0); } 40%, 90% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
.agy-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08); background: #0e1110; font-size: 12px; color: var(--text-dim); }
.agy-brand-lbl { font-family: 'Space Grotesk'; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; }
.agy-swap { display: grid; justify-items: end; }
.agy-swap > span { grid-area: 1 / 1; font-family: 'Newsreader', Georgia, serif; font-weight: 700; font-size: 15px; color: var(--text); white-space: nowrap; }
.agy-swap .b2 { color: var(--emerald); opacity: 0; }
.agy-mock .agy-swap .b1 { animation: agyB1 9s ease infinite; }
.agy-mock .agy-swap .b2 { animation: agyB2 9s ease infinite; }
@keyframes agyB1 { 0%, 48% { opacity: 1; transform: none; } 53%, 90% { opacity: 0; transform: translateY(-8px); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes agyB2 { 0%, 49% { opacity: 0; transform: translateY(8px); } 55%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(8px); } }


.agy-hero .hiw-stat b { white-space: nowrap; }
.agy-hero .hiw-stat b span { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; }


.agy-models-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 48px; }
.agy-models-head h2 { max-width: 720px; margin-bottom: 0; }
.agy-cur { display: inline-flex; padding: 4px; border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; background: rgba(255,255,255,0.02); }
.agy-cur button { padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-dim); cursor: pointer;
    font-family: 'Space Grotesk'; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; transition: background .25s, color .25s; }
.agy-cur button.active { background: var(--emerald); color: var(--bg); }
.agy-cur button:focus-visible, .agy-form :focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }


.agy-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; padding-top: 20px; }
.agy-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; padding: 30px 28px 28px;
    border: 1px solid var(--hiw-line); background: var(--hiw-card); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.agy-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.28); box-shadow: 0 24px 60px -30px rgba(16,185,129,0.35); }
.agy-card.feat { border: 1px solid transparent;
    background: linear-gradient(var(--hiw-card), var(--hiw-card)) padding-box,
                conic-gradient(from var(--hiw-a, 0deg), rgba(16,185,129,0.75), rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.07) 60%, rgba(16,185,129,0.75)) border-box;
    animation: hiwSpinBorder 8s linear infinite; }
.agy-tag { font-family: 'Space Grotesk'; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald); }
.agy-badge { position: absolute; top: -12px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--emerald); color: var(--bg);
    font-family: 'Space Grotesk'; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; }
.agy-card h3 { font-family: 'Newsreader', Georgia, serif; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--text); margin: 10px 0 18px; }
.agy-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--hiw-line); }
.agy-big b { font-family: 'Space Grotesk'; font-size: 44px; line-height: 1; font-weight: 700; color: var(--text); letter-spacing: -0.02em; white-space: nowrap; }
.agy-big > span { font-size: 14px; color: var(--text-dim); }
.agy-packs { display: grid; gap: 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--hiw-line); }
.agy-pack { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 12px 14px; border-radius: 12px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }
.agy-pack .n { font-family: 'Space Grotesk'; font-weight: 600; font-size: 14px; color: var(--text); }
.agy-pack .p { font-family: 'Space Grotesk'; font-weight: 700; font-size: 22px; color: var(--text); text-align: right; white-space: nowrap; }
.agy-pack .s { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-dim); }
.agy-pack.ask .p { font-size: 15px; color: var(--emerald); }
.agy-card .hiw-checks { margin: 0 0 24px; flex: 0 0 auto; }
.agy-card-cta { margin-top: auto; justify-content: center; width: 100%; padding: 14px 20px; font-size: 14px; text-align: center; }


.agy-table-wrap { border-radius: 20px; border: 1px solid var(--hiw-line); background: var(--hiw-card); overflow: hidden; }
.agy-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.agy-table th, .agy-table td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hiw-line); }
.agy-table thead th { font-family: 'Space Grotesk'; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald);
    background: rgba(16,185,129,0.05); }
.agy-table tbody th { font-weight: 600; color: var(--text); width: 26%; }
.agy-table td { color: var(--text-dim); }
.agy-table tbody tr:last-child th, .agy-table tbody tr:last-child td { border-bottom: 0; }
.agy-table tbody tr { transition: background .25s; }
.agy-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.agy-note { margin-top: 18px; font-size: 14px; line-height: 1.7; color: var(--text-dim); }


.agy-form-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.agy-form-side p { font-size: 16px; line-height: 1.7; color: var(--text-dim); }
.agy-form-side .hiw-checks { margin-top: 22px; }
.agy-form { position: relative; border-radius: 22px; padding: 30px; border: 1px solid var(--hiw-line); background: var(--hiw-card); display: grid; gap: 18px; }

#agyForm[hidden], #agyDone[hidden], #agyNoJs[hidden] { display: none !important; }
.agy-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.agy-field { display: grid; gap: 7px; min-width: 0; }
.agy-field label { font-family: 'Space Grotesk'; font-size: 13px; font-weight: 600; color: var(--text); }
.agy-field label small { font-weight: 400; color: var(--text-dim); font-size: 12px; }
.agy-field input, .agy-field select, .agy-field textarea { width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 14px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: var(--text); font: inherit; font-size: 16px; }
.agy-field select { appearance: none; -webkit-appearance: none; padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310b981' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.agy-field select option { background: #0b0d0c; color: #EBEBEB; }
.agy-field textarea { min-height: 120px; resize: vertical; }
.agy-field input:focus, .agy-field select:focus, .agy-field textarea:focus { outline: none; border-color: rgba(16,185,129,0.6); box-shadow: 0 0 0 3px rgba(16,185,129,0.14); }
.agy-field.bad input, .agy-field.bad select, .agy-field.bad textarea { border-color: #f87171; }
.agy-err { font-size: 12.5px; color: #fca5a5; min-height: 0; }
.agy-err:empty { display: none; }
.agy-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.agy-submit { justify-content: center; width: 100%; border: 0; cursor: pointer; }
.agy-submit[disabled] { opacity: 0.6; cursor: default; transform: none !important; }
.agy-fine { font-size: 12.5px; line-height: 1.6; color: var(--text-dim); margin: 0; }
.agy-status { font-size: 14px; line-height: 1.6; color: #fca5a5; }
.agy-status:empty { display: none; }
.agy-status a, .agy-done a, .agy-fine a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.agy-done { border-radius: 22px; padding: 34px 30px; border: 1px solid rgba(16,185,129,0.35); background: rgba(16,185,129,0.06); }
.agy-done h3 { font-family: 'Newsreader', Georgia, serif; font-size: 26px; color: var(--text); margin: 0 0 10px; }
.agy-done p { color: var(--text-dim); line-height: 1.7; margin: 0; }
.agy-nojs { font-size: 14px; color: var(--text-dim); line-height: 1.6; }


.agy-pre { opacity: 0; transform: translateY(26px); }
.agy-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }


@media (max-width: 1024px) {
    .agy-models { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
    .agy-form-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
    .agy-stage { padding: 16px; gap: 12px; }
    .agy-tiles { gap: 6px; }
    .agy-models-head { margin-bottom: 32px; }
    .agy-card { padding: 26px 22px 22px; }
    .agy-big b { font-size: 38px; }
    .agy-row { grid-template-columns: minmax(0, 1fr); }
    .agy-form { padding: 22px 18px; }
    .agy-table-wrap { border: 0; background: none; border-radius: 0; overflow: visible; }
    .agy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .agy-table, .agy-table tbody, .agy-table tr, .agy-table th, .agy-table td { display: block; width: auto; }
    .agy-table tbody tr { border: 1px solid var(--hiw-line); border-radius: 16px; background: var(--hiw-card); margin-bottom: 12px; padding: 6px 0; }
    .agy-table tbody th { width: auto; border-bottom: 1px solid var(--hiw-line); padding: 12px 16px; font-size: 15px; }
    .agy-table td { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 10px 16px; border-bottom: 0; }
    .agy-table td::before { content: attr(data-label); font-family: 'Space Grotesk'; font-size: 12px; font-weight: 600; color: var(--emerald); }
}
@media (prefers-reduced-motion: reduce) {
    .agy-mock *, .agy-card.feat, .agy-live i { animation: none !important; }
    .agy-mock .agy-tile::before { opacity: 0.95; }
    .agy-mock .agy-tile b { background: #34d399; }
    .agy-mock .agy-swap .b1 { opacity: 0; }
    .agy-mock .agy-swap .b2 { opacity: 1; transform: none; }
    .agy-pre, .agy-in { opacity: 1 !important; transform: none !important; transition: none !important; }
    .agy-card, .agy-card:hover { transition: none; transform: none; }
}
