/* atlas-gate_v2.css · LastStop kit /v6/decks/_kit/atlas-funnel/ · 2026-10-01
   The ATLAS LIVE funnel: inline panel (platter), email gate, full-screen live view, phone recording, inline capture.
   Every rule is scoped to .ag-* roots, so it does not style the host page. Fonts are inherited from the host. */
/* impeccable-disable dark-glow, radial-halo -- the owner asked for the brand glow (LED, light strip, bubble rim) */

@property --ag-s { syntax: "<number>"; inherits: true; initial-value: .5; }

.ag-root, .ag-inline-wrap, .ag-panel {
  --ag-ink: #E8EEF6;
  --ag-muted: #B4BFCE;
  --ag-faint: #8A97A9;
  --ag-panel: #12141A;
  --ag-bar: #0D0F13;
  --ag-line: rgba(232, 238, 246, .12);
  --ag-line-hi: rgba(232, 238, 246, .22);
  --ag-blue: #3B82F6;
  --ag-blue-hi: #6AA0FF;
  --ag-blue-soft: rgba(59, 130, 246, .14);
  --ag-ink-on-blue: #06080C;
  --ag-ease: cubic-bezier(.2, .8, .2, 1);
  color: var(--ag-ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.ag-root *, .ag-inline-wrap *, .ag-panel * { box-sizing: border-box; }
.ag-root :where(h2, h3, p, ol, ul, figure, fieldset), .ag-inline-wrap :where(h2, h3, p), .ag-panel :where(h2, h3, p, fieldset) { margin: 0; }
.ag-root [hidden], .ag-inline-wrap [hidden], .ag-panel [hidden], .ag-root[hidden] { display: none !important; }
.ag-root svg, .ag-inline-wrap svg, .ag-panel svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; max-width: 100%; }
.ag-root :where(button, input, select, textarea), .ag-inline-wrap :where(button, input, select, textarea), .ag-panel :where(button, input, select, textarea) { font: inherit; color: inherit; line-height: 1.4; }
.ag-root button, .ag-inline-wrap button, .ag-panel button { cursor: pointer; }
.ag-root :focus-visible, .ag-inline-wrap :focus-visible, .ag-panel :focus-visible { outline: 3px solid #9CC3FF; outline-offset: 2px; }
.ag-root a, .ag-inline-wrap a, .ag-panel a { color: #B9D4FF; }
.ag-tx { font-size: .62em; font-weight: 700; line-height: 0; vertical-align: -0.28em; margin-left: .04em; letter-spacing: 0; }
.ag-sr, .ag-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }
.ag-hp { left: -9999px; }
html.ag-lock, html.ag-lock body { overflow: hidden; }

/* ---------------------------------------------------------------- shared controls */
.ag-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 17px; text-decoration: none; line-height: 1.3;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .25s, color .2s;
}
.ag-btn svg { width: 22px; height: 22px; flex: none; }
.ag-btn-primary { background: var(--ag-blue); color: var(--ag-ink-on-blue); }
.ag-btn-primary:hover:not(:disabled) { background: var(--ag-blue-hi); color: var(--ag-ink-on-blue); }
.ag-btn-ghost { background: transparent; color: var(--ag-ink); border-color: var(--ag-line-hi); }
.ag-btn-ghost:hover:not(:disabled) { border-color: var(--ag-blue-hi); background: var(--ag-blue-soft); color: var(--ag-ink); }
.ag-btn-quiet { background: transparent; color: var(--ag-muted); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.ag-btn-quiet:hover:not(:disabled) { color: var(--ag-ink); }
.ag-btn:disabled { opacity: .6; cursor: default; }
.ag-btn:active:not(:disabled) { transform: translateY(1px); }
.ag-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--ag-muted); }
.ag-icon:hover { background: rgba(255, 255, 255, .06); color: var(--ag-ink); }
.ag-icon svg { width: 20px; height: 20px; }
.ag-ctl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(16, 19, 26, .72); color: #DCE6F2; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.ag-ctl:hover { border-color: rgba(140, 194, 255, .7); color: #fff; box-shadow: 0 0 18px -2px rgba(47, 140, 255, .7); }
.ag-ctl svg { width: 20px; height: 20px; }
.ag-ic-off { display: none; }
[aria-pressed="true"] > .ag-ic-on { display: none; }
[aria-pressed="true"] > .ag-ic-off { display: block; }
.ag-ctl[aria-pressed="true"] { border-color: rgba(255, 154, 31, .7); color: #FFD27A; }
.ag-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #7FD6A4; box-shadow: 0 0 10px rgba(127, 214, 164, .8); flex: none; }
.ag-tap { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 76px; padding: 0 34px 0 26px; border-radius: 999px; border: 0; color: #06080C; font-size: 22px; font-weight: 700;
  background: radial-gradient(circle at 30% 30%, #CFE6FF, #6AA0FF 45%, #2F8CFF 100%); box-shadow: 0 0 0 2px rgba(234, 244, 255, .7), 0 0 40px 6px rgba(47, 140, 255, .85), 0 0 120px 20px rgba(47, 140, 255, .35); }
.ag-tap svg { width: 30px; height: 30px; fill: #06080C; stroke: none; }
.ag-tap-ring { position: absolute; inset: -10px; border-radius: inherit; border: 2px solid rgba(168, 216, 255, .9); animation: ag-tap-ring-kf 1.6s ease-out infinite; pointer-events: none; }
@keyframes ag-tap-ring-kf { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes ag-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ag-pop-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* form fields */
.ag-field { display: grid; gap: 6px; align-content: start; }
.ag-wide { grid-column: 1 / -1; }
.ag-root label, .ag-inline-wrap label, .ag-panel label { font-size: 15px; font-weight: 600; color: var(--ag-muted); line-height: 1.35; }
.ag-root :is(input[type="text"], input[type="email"], select), .ag-inline-wrap :is(input[type="text"], input[type="email"]), .ag-panel :is(input[type="text"], input[type="email"], select) {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; background: #0A0C10; border: 1px solid var(--ag-line-hi); color: var(--ag-ink); font-size: 17px;
}
.ag-root select, .ag-panel select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ag-muted) 50%), linear-gradient(135deg, var(--ag-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.ag-root textarea, .ag-panel textarea {
  width: 100%; min-height: 78px; padding: 11px 14px; border-radius: 12px; display: block;
  background: #0A0C10; border: 1px solid var(--ag-line-hi); color: var(--ag-ink); font-size: 17px; line-height: 1.45; resize: vertical;
}
.ag-root :is(input, textarea)::placeholder, .ag-inline-wrap input::placeholder, .ag-panel :is(input, textarea)::placeholder { color: #6E7B8D; }
.ag-root :is(input, select, textarea):focus, .ag-inline-wrap input:focus, .ag-panel :is(input, select, textarea):focus { border-color: var(--ag-blue-hi); outline: 2px solid rgba(106, 160, 255, .45); outline-offset: 1px; }
.ag-root input[aria-invalid="true"], .ag-inline-wrap input[aria-invalid="true"], .ag-panel input[aria-invalid="true"] { border-color: #E58C8C; }
.ag-root .ag-check, .ag-panel .ag-check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 400; color: var(--ag-ink); cursor: pointer; line-height: 1.45; }
.ag-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ag-blue); }
.ag-gcheck { padding: 13px 14px; border-radius: 14px; border: 1px solid var(--ag-line-hi); background: rgba(255, 255, 255, .025); transition: border-color .2s, background .2s; }
.ag-gcheck:hover { border-color: rgba(106, 160, 255, .5); }
.ag-gcheck:has(input:checked) { border-color: rgba(106, 160, 255, .6); background: rgba(47, 140, 255, .1); }
.ag-more { margin: 0; padding: 0; border: 0; min-width: 0; animation: ag-reveal .4s var(--ag-ease) both; }
.ag-more-k { padding: 0; margin: 0 0 10px; font-size: 14px; color: var(--ag-faint); line-height: 1.4; }
.ag-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; }
@keyframes ag-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ag-msg { font-size: 16px; color: #F4B4B4; line-height: 1.45; }
.ag-msg:empty { display: none; }
.ag-consent { font-size: 14px; color: var(--ag-faint); line-height: 1.45; }
.ag-consent a { color: #B9D4FF; text-underline-offset: 2px; }
.ag-consent a:hover { color: var(--ag-ink); }
.ag-go {
  min-height: 60px; padding: 0 22px 0 24px; border-radius: 15px; font-size: 19px; font-weight: 700; justify-content: space-between; gap: 14px;
  background: linear-gradient(180deg, #5A9BFF 0%, #3B82F6 55%, #2F73E6 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .2) inset, 0 16px 34px -18px rgba(47, 140, 255, .9);
}
.ag-go:hover:not(:disabled) { background: linear-gradient(180deg, #7AB0FF 0%, #5A9BFF 55%, #3B82F6 100%); }
.ag-go svg { width: 24px; height: 24px; stroke-width: 2.2; transition: transform .2s; }
.ag-go:hover:not(:disabled) svg { transform: translateX(4px); }
.ag-spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(6, 8, 12, .3); border-top-color: var(--ag-ink-on-blue); }
.ag-go.ag-busy .ag-spin { display: block; animation: ag-spin-kf .8s linear infinite; }
.ag-go.ag-busy svg { display: none; }
@keyframes ag-spin-kf { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- inline email capture (footer, anywhere) */
.ag-inline { display: grid; gap: 8px; }
.ag-inline-row { display: flex; gap: 10px; }
.ag-inline-row input { flex: 1 1 auto; min-width: 0; }
.ag-inline-go { flex: none; min-height: 48px; padding: 0 20px; white-space: nowrap; }
.ag-inline-done { display: grid; gap: 12px; justify-items: start; outline: none; }
.ag-inline-done p { font-size: 17px; color: var(--ag-muted); line-height: 1.45; }
.ag-inline-done b { color: var(--ag-ink); }
.ag-inline-live { min-height: 46px; }

/* ---------------------------------------------------------------- the email gate (modal) */
.ag-gate { position: fixed; inset: 0; z-index: 10100; display: grid; overflow-y: auto; overscroll-behavior: contain; padding: 24px 16px; }
.ag-scrim { position: fixed; inset: 0; background: rgba(3, 4, 7, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: ag-fade-in .25s ease both; }
.ag-card {
  position: relative; align-self: center; justify-self: center; width: min(540px, 100%); padding: 26px 28px 20px; border-radius: 22px; outline: none;
  background: linear-gradient(180deg, #171B23 0%, #0F1217 100%); border: 1px solid rgba(140, 194, 255, .24);
  box-shadow: 0 50px 100px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: ag-pop-in .35s var(--ag-ease) both;
}
.ag-card::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #7DB8FF 30%, #EAF4FF 50%, #7DB8FF 70%, transparent); }
.ag-x { position: absolute; right: 12px; top: 12px; }
.ag-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding-right: 40px; }
.ag-mark { position: relative; display: block; width: 60px; height: 60px; flex: none; }
.ag-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8FB6F0; }
.ag-card h2 { margin-top: 4px; font-size: 27px; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.ag-sub { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ag-muted); text-wrap: pretty; }
.ag-phone { display: none; }
.ag-form { margin-top: 18px; display: grid; gap: 14px; }
.ag-form .ag-consent { text-align: center; }

/* ---------------------------------------------------------------- ATLAS LIVE full screen (fallback), wide screens */
.ag-live { position: fixed; inset: 0; z-index: 10200; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #050608; outline: none; animation: ag-fade-in .35s ease both; }
.ag-bar, .ag-reel-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 8px 6px 16px; background: var(--ag-bar); border-bottom: 1px solid #1C1F25; }
.ag-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(47, 140, 255, .75), transparent); opacity: .7; pointer-events: none; }
.ag-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 700; color: #DCE6F2; white-space: nowrap; }
.ag-brand img { display: block; width: 24px; height: 24px; flex: none; }
.ag-tag { padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #AEB8C6; }
.ag-live-x { width: 40px; height: 40px; }
.ag-live-body { position: relative; min-height: 0; }
.ag-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background: #0B0C10; }
.ag-wait {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 22px; color: #C9D3E0; font-size: 17px; font-weight: 600;
  background: radial-gradient(ellipse 50% 45% at 50% 45%, #0B1322 0%, #05070C 60%, #050608 100%); transition: opacity .5s, visibility .5s;
}
.ag-live.ag-loaded .ag-wait, .ag-pl-view.ag-loaded .ag-wait { opacity: 0; visibility: hidden; }
.ag-orb { position: relative; display: block; width: 132px; height: 132px; }
.ag-orb::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(168, 216, 255, .8); animation: ag-tap-ring-kf 1.6s ease-out infinite; }
.ag-mark .abub3, .ag-orb .abub3, .ag-end-mk .abub3 { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ag-mark img, .ag-orb img, .ag-end-mk img { display: block; }

/* ---------------------------------------------------------------- ATLAS LIVE on phones: the 4:5 recording (full screen and in the panel) */
.ag-reel { position: fixed; inset: 0; z-index: 10200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #000; outline: none; animation: ag-fade-in .3s ease both; }
.ag-reel-bar { padding-top: max(6px, env(safe-area-inset-top)); background: #000; border-bottom-color: #15171C; }
.ag-reel-ctrls { display: flex; gap: 8px; }
.ag-reel-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #000; }
.ag-reel-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ag-toggle { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ag-glyph { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(11, 12, 16, .72); border: 1px solid rgba(255, 255, 255, .25); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s; }
.ag-glyph svg { width: 32px; height: 32px; margin-left: 4px; fill: #fff; stroke: none; }
.ag-paused .ag-glyph { opacity: 1; transform: none; }
.ag-reel-tap { position: absolute; z-index: 3; margin: 0; }
.ag-end {
  position: absolute; inset: 0; z-index: 4; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 24px 20px; overflow-y: auto; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #0B1322 0%, #05070C 62%, #020304 100%); animation: ag-fade-in .45s ease both;
}
.ag-end-mk { position: relative; display: block; width: 92px; height: 92px; margin-bottom: 4px; }
.ag-end-k { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FB6F0; }
.ag-end-q { max-width: 16ch; margin-bottom: 8px; font-size: 27px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.ag-act { width: min(340px, 100%); min-height: 54px; }
.ag-act.ag-btn-ghost { background: var(--ag-panel); }
.ag-act.ag-btn-primary { justify-content: space-between; padding: 0 20px 0 22px; background: linear-gradient(180deg, #5A9BFF 0%, #3B82F6 55%, #2F73E6 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 16px 34px -18px rgba(47, 140, 255, .9); }
.ag-act.ag-btn-primary svg { width: 22px; height: 22px; stroke-width: 2.2; }
.ag-offer { max-width: 30ch; font-size: 14px; font-weight: 600; line-height: 1.45; color: #FFD27A; }
.ag-again { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ag-faint); font-size: 15px; font-weight: 600; }
.ag-again:hover { color: var(--ag-ink); }
.ag-again svg { width: 18px; height: 18px; }
.ag-prog { height: 3px; margin: 10px 16px max(14px, env(safe-area-inset-bottom)); border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ag-prog i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--ag-p, 0)); background: linear-gradient(90deg, #2F8CFF, #A8D8FF); transition: transform .26s linear; }

/* ---------------------------------------------------------------- the inline panel (default on the hub): a platter that drops down */
.ag-panel { position: relative; width: 100%; scroll-margin-top: var(--ag-scroll-offset, 72px); }
.ag-panel-clip { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ag-ease); }
.ag-panel.ag-open .ag-panel-clip { grid-template-rows: 1fr; }
.ag-panel-inner { min-height: 0; overflow: hidden; }
.ag-panel-pad { padding: 22px 16px 34px; }
.ag-platter {
  position: relative; width: min(1208px, 100%); margin-inline: auto; border-radius: 22px; overflow: hidden; background: #0B0C10;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 0 0 2px rgba(255, 255, 255, .05), 0 50px 90px -30px rgba(0, 0, 0, .95), 0 24px 40px -24px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(-12px); transition: opacity .45s ease, transform .6s var(--ag-ease);
}
.ag-panel.ag-open .ag-platter { opacity: 1; transform: none; }
.ag-pl-top { position: relative; height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 8px 0 20px;
  background: linear-gradient(180deg, #565D65 0%, #3D4349 46%, #2A2E33 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .55); }
.ag-etch { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #C3C9D0; text-shadow: 0 -1px 0 rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .08); white-space: nowrap; }
.ag-etch .ag-tx { letter-spacing: 0; }
.ag-led { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #8CC2FF; box-shadow: 0 0 6px 1px rgba(24, 119, 242, .9); }
.ag-pl-ctls { margin-left: auto; display: flex; gap: 6px; }
.ag-pl-ctl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .5); background: linear-gradient(180deg, #4A5159, #2E3338); color: #E3E8EE; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); transition: color .2s, box-shadow .2s; }
.ag-pl-ctl:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 14px -2px rgba(24, 119, 242, .8); }
.ag-pl-ctl svg { width: 18px; height: 18px; }
.ag-pl-ctl[aria-pressed="true"] { color: #FFD27A; }
.ag-strip { position: relative; z-index: 1; display: block; height: 3px; background: linear-gradient(90deg, rgba(24, 119, 242, .2), #8CC2FF 28%, #EAF4FF 50%, #8CC2FF 72%, rgba(24, 119, 242, .2)); box-shadow: 0 0 14px 2px rgba(24, 119, 242, .75); }
.ag-pl-body { position: relative; background: #0B0C10; }
.ag-pl-stage { position: relative; overflow: hidden; height: calc(900px * var(--ag-s)); background: #0B0C10; }
.ag-pl-frame { position: absolute; left: 0; top: 0; display: block; width: 1440px; height: 900px; border: 0; background: #0B0C10; transform-origin: 0 0; transform: scale(var(--ag-s)); }
.ag-pl-stage > .ag-wait .ag-orb { width: 108px; height: 108px; }
.ag-pl-bottom { position: relative; height: 24px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(60, 130, 235, .16), rgba(60, 130, 235, .08)), linear-gradient(180deg, #4B535D 0%, #363D46 52%, #272C33 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .4); }
.ag-pl-bottom::before { content: ""; width: 64px; height: 4px; border-radius: 9px; background: #15181C; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .14); }
.ag-pl-bottom i { position: absolute; right: 18px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #8CC2FF; box-shadow: 0 0 6px 1px rgba(24, 119, 242, .9); }
/* the email step at the top of the panel */
.ag-pl-email { display: grid; gap: 14px; width: min(720px, 100%); margin-inline: auto; padding: 28px clamp(18px, 4vw, 36px) 26px; }
.ag-pl-email h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.ag-pl-email .ag-sub { margin-top: -6px; font-size: 16px; }
.ag-pl-row { display: flex; gap: 10px; }
.ag-pl-row input { flex: 1 1 auto; min-width: 0; }
.ag-pl-row .ag-go { flex: none; min-height: 48px; font-size: 17px; border-radius: 12px; padding: 0 18px 0 20px; }
.ag-pl-email .ag-consent { text-align: left; }
/* the phone recording in the panel */
.ag-pl-reel { position: relative; aspect-ratio: 4 / 5; background: #000; overflow: hidden; }
.ag-pl-reel video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ag-pl-reel .ag-end { gap: 10px; padding: 18px 16px; }
.ag-pl-reel .ag-end-q { font-size: 24px; }
.ag-pl-reel .ag-act { min-height: 50px; }
.ag-pl-prog { height: 3px; background: rgba(255, 255, 255, .1); }
.ag-pl-prog i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--ag-p, 0)); background: linear-gradient(90deg, #2F8CFF, #A8D8FF); transition: transform .26s linear; }
.ag-pl-mute { display: none; }
.ag-panel.ag-phone-mode .ag-pl-mute { display: grid; }
/* the panel, full screen (same frame, no reload) */
.ag-panel.ag-full .ag-platter { position: fixed; inset: 0; z-index: 10200; width: auto; margin: 0; border-radius: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; transform: none; transition: none; }
.ag-panel.ag-full .ag-pl-body { min-height: 0; height: 100%; }
.ag-panel.ag-full .ag-pl-view { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.ag-panel.ag-full .ag-pl-stage { height: 100%; }
.ag-panel.ag-full .ag-pl-frame { width: 100%; height: 100%; transform: none; }
.ag-panel.ag-full .ag-pl-reel { aspect-ratio: auto; height: 100%; }

/* v2: one logo system: a small v3 bubble in the bars */
.ag-mini { position: relative; display: block; width: 26px; height: 26px; flex: none; }
.ag-mini .abub3 { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ag-mini img { display: block; width: 100%; }

/* v2: explore mode on a phone: a short note above the recording */
.ag-reel-note { margin: 0; padding: 10px 16px; font-size: 15px; font-weight: 600; line-height: 1.4; color: #FFE2A3; background: #14120C; border-bottom: 1px solid rgba(255, 210, 122, .25); text-align: center; }
.ag-reel:has(.ag-reel-note:not([hidden])) { grid-template-rows: auto auto minmax(0, 1fr) auto; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 899.98px) {
  .ag-phone { display: inline; }
}
@media (max-width: 640px) {
  .ag-gate { padding: 12px; }
  .ag-card { padding: 22px 18px 16px; border-radius: 20px; }
  .ag-head { gap: 12px; padding-right: 34px; }
  .ag-mark { width: 50px; height: 50px; }
  .ag-card h2 { font-size: 23px; }
  .ag-sub { font-size: 16px; margin-top: 12px; }
  .ag-form { gap: 12px; margin-top: 16px; }
  .ag-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ag-root :is(input[type="text"], input[type="email"], select, textarea), .ag-panel :is(input[type="text"], input[type="email"], select, textarea) { font-size: 16px; }
  .ag-gcheck { font-size: 16px; }
  .ag-go { min-height: 58px; font-size: 18px; }
  .ag-panel-pad { padding: 16px 12px 26px; }
  .ag-platter { border-radius: 18px; }
  .ag-pl-top { height: 46px; padding-left: 14px; gap: 10px; }
  .ag-etch.ag-etch-r { display: none; }
  .ag-pl-email { padding: 20px 16px 18px; gap: 12px; }
  .ag-pl-email h3 { font-size: 21px; }
  .ag-pl-row { flex-direction: column; }
  .ag-pl-row .ag-go { min-height: 54px; }
}
@media (max-width: 480px) {
  .ag-inline-row { flex-direction: column; }
  .ag-inline-go { width: 100%; }
}
@media (max-width: 380px) {
  .ag-end-q { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-root, .ag-root *, .ag-root *::before, .ag-root *::after,
  .ag-panel, .ag-panel *, .ag-panel *::before, .ag-panel *::after,
  .ag-inline-wrap *, .ag-inline-wrap *::before, .ag-inline-wrap *::after { animation: none !important; transition: none !important; }
}
