/* AI Voice Agents page: the live call, missed-call math, demo players, sample form. */
.chip.plat { padding: .3rem .7rem; }
.chip.plat img { width: auto; height: 20px; max-width: 86px; border-radius: 0; object-fit: contain; }

/* the call */
.call { grid-area: mvp; position: relative; background: var(--ink); color: var(--paper); border: var(--line); border-radius: 26px; box-shadow: 10px 10px 0 var(--yellow); overflow: hidden; }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid rgba(255, 253, 247, .14); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 253, 247, .7); }
.call-st { display: inline-flex; align-items: center; gap: .5rem; }
.call-st b { color: var(--paper); }
.call-led { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); animation: blink .6s steps(2, jump-none) infinite; }
.call[data-phase="live"] .call-led, .call[data-phase="done"] .call-led { background: var(--mint); animation: none; }
.call-time { display: inline-flex; align-items: baseline; gap: .5rem; }
.call-time b { color: var(--yellow); font-size: .9rem; }
.call-ah { padding: .15rem .45rem; border-radius: 5px; background: var(--purple); color: #fff; font-size: .58rem; }
.call-who { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem .4rem; }
.ring { position: relative; width: 54px; height: 54px; display: grid; place-items: center; }
.ring b { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 2px solid var(--paper); font-size: 1.4rem; transition: background-color .3s; }
.ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: ringOut 1.2s var(--ease-out) infinite; }
.ring i + i { animation-delay: .6s; }
.call[data-phase="ring"] .ring b { animation: shake .5s ease-in-out infinite; }
.call:not([data-phase="ring"]) .ring i { animation: none; opacity: 0; }
.call:not([data-phase="ring"]) .ring b { background: var(--mint); }
@keyframes ringOut { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.call-who p b { display: block; font-size: 1.15rem; letter-spacing: -.02em; }
.call-sub { font-size: .8rem; color: rgba(255, 253, 247, .65); }
.call-dur { font-family: var(--f-mono); font-size: .9rem; color: var(--mint); font-variant-numeric: tabular-nums; }
.call-wave { display: block; width: 100%; height: 64px; }
.call-lines { display: grid; gap: .55rem; padding: .4rem 1.1rem 1rem; min-height: 214px; align-content: start; }
.cl { max-width: 86%; padding: .6rem .8rem; border-radius: 14px; font-size: .92rem; line-height: 1.4; animation: clIn .45s var(--spring) both; }
.cl small { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; opacity: .7; }
.cl.cl-ag { background: var(--yellow); color: var(--ink); border-bottom-left-radius: 4px; }
.cl.cl-ca { justify-self: end; background: #1f2a3c; border: 1px solid rgba(255, 253, 247, .2); border-bottom-right-radius: 4px; }
@keyframes clIn { from { transform: translateY(10px) scale(.96); opacity: 0; } }
.call-done { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: 0 1.1rem 1.1rem; padding: .7rem .9rem; border-radius: 14px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: .88rem; opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .6s var(--spring); }
.call-done b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--mint); }
.call-done em { width: 100%; font-style: normal; font-family: var(--f-mono); font-size: .7rem; padding-left: 2rem; }
.call[data-phase="done"] .call-done { opacity: 1; transform: none; }

/* missed-call math */
.mc { position: sticky; top: 100px; background: var(--ink); color: var(--paper); border: var(--line); border-radius: 22px; padding: 1.4rem; box-shadow: 10px 10px 0 var(--pink); }
.mc h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.mc-note { font-family: var(--f-mono); font-size: .66rem; color: rgba(255, 253, 247, .6); margin: .3rem 0 1rem; }
.mc label { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; margin-top: .75rem; font-size: .85rem; font-weight: 600; color: rgba(255, 253, 247, .8); }
.mc output { font-weight: 800; color: var(--yellow); font-variant-numeric: tabular-nums; }
.mc input { grid-column: 1 / -1; width: 100%; accent-color: var(--yellow); }
.mc-big { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 253, 247, .2); }
.mc-big b { display: block; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4rem); letter-spacing: -.06em; line-height: 1; color: var(--pink); font-variant-numeric: tabular-nums; }
.mc-big span { font-size: .9rem; color: rgba(255, 253, 247, .75); }
.mc-weeks { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; margin-top: 1rem; }
.mc-weeks i { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 253, 247, .12); transition: background-color .25s; }
.mc-weeks i.on { background: var(--pink); }
.mc-sub { margin-top: .7rem; font-family: var(--f-mono); font-size: .7rem; color: rgba(255, 253, 247, .7); }
.mc-sub span { color: var(--paper); font-weight: 700; }

/* comparison */
.vs { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
.vs-head { max-width: 64rem; }
.vs-head > p { margin-top: 1.1rem; color: var(--ink-2); max-width: 70ch; }
.vs-tbl { margin-top: 2.4rem; overflow-x: auto; border: var(--line); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); background: #fff; }
.vs-tbl table { width: 100%; min-width: 720px; border-collapse: collapse; }
.vs-tbl caption { caption-side: top; text-align: left; padding: .9rem 1.1rem; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid rgba(13, 20, 33, .12); }
.vs-tbl th, .vs-tbl td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(13, 20, 33, .1); font-size: .95rem; }
.vs-tbl thead th { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.vs-tbl thead th.me { background: var(--ink); color: var(--yellow); }
.vs-tbl tbody th { font-weight: 800; }
.vs-tbl td.me { background: #fff7d6; font-weight: 700; }
.vs-tbl td::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: .55rem; border-radius: 50%; border: 1.5px solid var(--ink); vertical-align: 0; }
.vs-tbl td.y::before { background: var(--mint); } .vs-tbl td.m::before { background: var(--yellow); } .vs-tbl td.n::before { background: var(--pink); }
.vs-tbl tbody tr:last-child > * { border-bottom: 0; }
.vs-note { margin-top: 1.6rem; padding: 1rem 1.2rem; border: 2px dashed rgba(13, 20, 33, .35); border-radius: 14px; color: var(--ink-2); max-width: 72ch; }

/* demos */
.demos { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--ink); color: var(--paper); border-top: var(--line); }
.demos .eyebrow { color: rgba(255, 253, 247, .6); }
.demos-head { max-width: 64rem; }
.demos-head > p { margin-top: 1.1rem; color: rgba(255, 253, 247, .75); max-width: 68ch; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
.demo { display: flex; flex-direction: column; gap: .8rem; padding: 1.3rem; border: 2px solid rgba(255, 253, 247, .25); border-radius: 22px; background: #141d2d; transition: border-color .3s, box-shadow .3s, transform .5s var(--spring); }
.demo.playing { border-color: var(--yellow); box-shadow: 8px 8px 0 var(--yellow); transform: translate(-3px, -3px); }
.dm-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dm-top h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.dm-top span { font-family: var(--f-mono); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.dm-agents { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .88rem; }
.dm-agents b { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem .3rem .35rem; border: 1.5px solid rgba(255, 253, 247, .35); border-radius: 999px; }
.dm-agents b i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--ink); font-style: normal; font-size: .7rem; }
.dm-agents b.hu i { background: var(--pink); }
.dm-agents b small { font-weight: 500; color: rgba(255, 253, 247, .65); }
.dm-agents em { font-style: normal; color: var(--yellow); }
.dm-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.dm-tags span { font-family: var(--f-mono); font-size: .64rem; padding: .2rem .5rem; border: 1px solid rgba(255, 253, 247, .3); border-radius: 6px; color: rgba(255, 253, 247, .85); }
.player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .7rem .8rem; border-radius: 16px; background: var(--paper); color: var(--ink); }
.pl-btn { display: grid; place-items: center; width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); font-size: 1.05rem; transition: transform .4s var(--spring); }
.pl-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.pl-wave { position: relative; height: 44px; cursor: pointer; touch-action: none; }
.pl-wave canvas { display: block; width: 100%; height: 100%; }
.pl-t { font-family: var(--f-mono); font-size: .72rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-res { display: grid; gap: .5rem; font-size: .9rem; color: rgba(255, 253, 247, .82); }
.dm-res p b { display: inline-block; margin-right: .4rem; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 5px; }
.dm-res p:first-child b { background: var(--mint); color: var(--ink); }
.dm-res p:last-child b { background: var(--blue); color: var(--ink); }
.demo-note { margin-top: 1.6rem; font-family: var(--f-mono); font-size: .72rem; color: rgba(255, 253, 247, .6); }

/* sample form */
.sample { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
.smp-copy > p { margin-top: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.smp-card { background: #fff; border: var(--line); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); padding: clamp(1.3rem, 3vw, 2rem); }
.smp-t { font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; }
.vform { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.2rem; }
.vform label { display: grid; gap: .35rem; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vform label.full { grid-column: 1 / -1; }
.vform input, .vform textarea { font: inherit; font-family: var(--f-sans); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); padding: .75rem .85rem; border: var(--line); border-radius: 12px; background: var(--paper); transition: box-shadow .2s, background-color .2s; }
.vform input:focus, .vform textarea:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--yellow); }
.vform input:user-invalid { border-color: #c2185b; box-shadow: 3px 3px 0 #ffb3cc; }
.smp-card .btn[disabled] { opacity: .6; cursor: progress; }
.smp-err { margin-top: 1rem; padding: .7rem .9rem; border-radius: 12px; background: #ffe6f0; font-size: .9rem; }
.smp-thanks[hidden], .smp-err[hidden] { display: none; }
.smp-thanks { display: flex; gap: 1rem; align-items: flex-start; }
.smp-thanks > b { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); border: var(--line); font-size: 1.2rem; }
.smp-thanks strong { font-size: 1.3rem; }
.smp-thanks p { color: var(--ink-2); }

/* why + platforms */
.why-v { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
.wv-p { margin-top: 1.1rem; color: var(--ink-2); max-width: 72ch; }
.wv-p a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.plats { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; margin-top: 2.2rem; }
.plats li { display: grid; place-items: center; height: 84px; border: var(--line); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 var(--ink); transition: transform .45s var(--spring); }
.plats li:hover { transform: translateY(-4px) rotate(-1.5deg); }
.plats img { max-width: 70%; max-height: 34px; object-fit: contain; }
.plats span { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.wv-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.wv-links a { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem; border: var(--line); border-radius: 16px; background: var(--cream); text-decoration: none; transition: transform var(--d-std) var(--spring), box-shadow var(--d-std); }
.wv-links a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.wv-links h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.wv-links p { font-size: .9rem; color: var(--ink-2); }
.wv-links b { margin-top: auto; }

/* safe */
.safe { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
.sf-p { margin-top: 1.1rem; color: var(--ink-2); max-width: 66ch; }
.sf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.2rem; }
.sf-grid li { padding: 1.3rem; border: var(--line); border-radius: 18px; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.sf-grid li > b { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border: var(--line); border-radius: 10px; background: var(--yellow); font-family: var(--f-mono); font-size: .75rem; }
.sf-grid li:nth-child(2) > b { background: var(--mint); } .sf-grid li:nth-child(3) > b { background: var(--blue); } .sf-grid li:nth-child(4) > b { background: var(--pink); }
.sf-grid h3 { margin: .8rem 0 .4rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.sf-grid p { font-size: .9rem; color: var(--ink-2); }

@media (max-width: 1080px) {
  .ship-2 .ship-row { grid-template-columns: repeat(3, 1fr); }
  .ship-2 .ship-row li:nth-child(n+4) { border-top: 1px solid rgba(255, 253, 247, .2); }
  .plats { grid-template-columns: repeat(3, 1fr); }
  .sf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .demo-grid, .sample, .wv-links { grid-template-columns: 1fr; }
  .mc { position: static; }
}
@media (max-width: 600px) {
  .ship-2 .ship-row { grid-template-columns: 1fr 1fr; }
  .ship-2 .ship-row li:last-child { grid-column: 1 / -1; }
  .vform { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr; }
  .plats { grid-template-columns: 1fr 1fr; }
  .call-lines { min-height: 250px; }
  .call-ah { display: none; }
}
