/* Agent Showcase portal */
.portal .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.head-row { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--font-display); letter-spacing: .02em; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 16px/1.15 var(--font-display); }
.brand-sub { font-size: 12.5px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.nav a.btn-primary { color: #fff; margin-left: 8px; min-height: 38px; }
.nav a.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.presenter-banner { background: #FFF4DE; color: #5C3A00; font-size: 14px; padding: 9px 0; border-bottom: 1px solid #F1D29A; }
.presenter-banner a { color: #5C3A00; font-weight: 600; }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); background: radial-gradient(1000px 420px at 85% -10%, rgba(0, 120, 212, .10), transparent 60%), radial-gradient(700px 300px at 0% 0%, rgba(175, 43, 191, .05), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -.03em; margin: 14px 0 20px; }
.hero h1 .accent { color: var(--blue); }
.lede { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticker { background: var(--bar); color: #DCE5EE; border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); min-height: 320px; display: flex; flex-direction: column; }
.ticker-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #8FA1B4; font-weight: 700; }
.ticker-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #2EDC68; animation: pulse 2.4s infinite; }
.ticker-list { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.tick { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); animation: tick-in .5s var(--ease) both; }
@keyframes tick-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tick .ti { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.tick .ti .icon { width: 16px; height: 16px; }
.tick.k .ti { background: rgba(15, 123, 123, .25); color: #6FD6D6; }
.tick.s .ti { background: rgba(227, 163, 59, .22); color: #F2C46D; }
.tick.l .ti { background: rgba(61, 220, 151, .18); color: #7BE8B6; }
.tick b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; }
.tick span { font-size: 12.5px; color: #9FB0C1; }
.tick .who { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6D8095; display: block; margin-bottom: 2px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(28px, 4vw, 44px) 0 0; }
.stats div { border-top: 2px solid var(--ink); padding-top: 12px; }
.stats dt { font: 700 clamp(28px, 3.2vw, 40px)/1 var(--font-display); letter-spacing: -.02em; }
.stats dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.filters-bar { position: sticky; top: 68px; z-index: 40; background: linear-gradient(#fff 82%, rgba(255, 255, 255, 0)); padding: 14px 0 18px; scroll-margin-top: 68px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; min-height: 40px; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 500; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: clamp(48px, 7vw, 88px); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); animation: card-in .6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.card:hover { border-color: #C3CCD5; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card[hidden] { display: none; }
.shot { position: relative; aspect-ratio: 16 / 10; background: var(--bg-3); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.card:hover .shot img { transform: scale(1.04); }
.shot.placeholder { display: grid; place-items: center; background: radial-gradient(600px 300px at 20% 0%, var(--blue-50), transparent 60%), linear-gradient(160deg, #F4F6F9, #E3EAF2); }
.shot .ph-icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.shot .ph-icon .icon { width: 32px; height: 32px; }
.shot .type { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 8px rgba(11, 26, 36, .12); }
.shot .type .icon { width: 14px; height: 14px; }
.card[data-type="automation"] .shot .type { color: #7A4B00; }
.card-body { padding: 18px 20px 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card .product { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card p.tl { color: var(--ink-2); font-size: 15px; }
.points { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.points li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.points .icon { width: 16px; height: 16px; color: var(--green); margin-top: 3px; }
.try { font-size: 13px; color: var(--muted); background: var(--bg-2); border-radius: 10px; padding: 9px 12px; }
.try b { color: var(--ink-2); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; position: relative; z-index: 2; }

.shared { background: var(--bg-2); padding: clamp(48px, 7vw, 88px) 0; }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 46em; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.shared-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.tile .ti { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-ink); display: grid; place-items: center; }
.tile h3 { font-size: 17px; }
.tile p { font-size: 14.5px; color: var(--ink-2); }
.process { padding: clamp(48px, 7vw, 88px) 0; }
.process-list { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.process-list li { counter-increment: p; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 8px; }
.process-list li::before { content: counter(p, decimal-leading-zero); font: 700 15px/1 var(--mono); color: var(--blue); }
.process-list h3 { font-size: 19px; }
.process-list p { color: var(--ink-2); font-size: 15px; }
.cta-band { background: var(--bar); color: #DCE5EE; padding: clamp(40px, 6vw, 72px) 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; max-width: 22em; }
.cta-band p { margin-top: 10px; color: #A9B7C6; max-width: 40em; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.site-foot { padding: 32px 0 44px; border-top: 1px solid var(--line-2); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.foot-tag { margin-top: 12px; color: var(--ink-2); max-width: 32em; }
.foot-notes { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shared-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ticker { min-height: 0; }
  .tick:nth-child(n+3) { display: none; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 700px) {
  .cards, .shared-grid, .process-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
