﻿/* WebPhone SDK page styles */
body.page-webphone{--ink:#153c31;--ink2:#244b40;--gold:#d99a08;--gold2:#b97800;--cream:#f8f1e7;--cream2:#fffaf3;--muted:#677770;--border:#e8e1d7;--shadow:0 20px 48px rgba(28,44,37,.09);}

body.page-webphone,
html:has(body.page-webphone){scroll-behavior:smooth}

body.page-webphone{margin:0;color:var(--ink);background:#fff;font-family:"DM Sans",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}

body.page-webphone h1,
body.page-webphone h2,
body.page-webphone h3,
body.page-webphone .brand strong{font-family:"Manrope",sans-serif;letter-spacing:-.035em}

body.page-webphone h1,
body.page-webphone h2,
body.page-webphone h3,
body.page-webphone p{margin-top:0}

body.page-webphone h2{font-size:clamp(2rem,4vw,3.35rem);line-height:1.08;margin-bottom:18px}

body.page-webphone .eyebrow{margin-bottom:12px;color:var(--gold2);font-size:.75rem;letter-spacing:.14em;text-transform:uppercase}

body.page-webphone .section{padding:105px 0}

body.page-webphone .section-heading{max-width:790px;margin-bottom:48px}

body.page-webphone .section-heading.centered{text-align:center;margin-inline:auto}

body.page-webphone .site-header{height:76px;background:rgba(255,255,255,.95);border-top:4px solid #333;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:150;backdrop-filter:blur(14px)}

body.page-webphone .nav-wrap{height:72px;display:flex;align-items:center;gap:28px}

body.page-webphone .brand{display:inline-flex;align-items:center;gap:10px;flex:none}

body.page-webphone .brand-mark{width:43px;height:43px;color:#b97800;display:grid;place-items:center}

body.page-webphone .brand span:last-child{display:flex;flex-direction:column;line-height:1}

body.page-webphone .brand strong{font-size:1.25rem}

body.page-webphone .brand small{margin-top:5px;font-size:.68rem;font-weight:600;letter-spacing:.15em}

body.page-webphone .primary-nav{display:flex;align-items:center;justify-content:center;gap:26px;margin-left:auto}

body.page-webphone .primary-nav>a{position:relative;padding:24px 0}

body.page-webphone .primary-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:17px;height:2px;background:var(--gold);transform:scaleX(0);transition:.2s}

body.page-webphone .menu-button{display:none;margin-left:auto;border:0;background:none;padding:6px}

body.page-webphone .button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border:1px solid #b97800;border-radius:10px;background:#b97800;color:#fff;box-shadow:0 9px 24px rgba(211,148,0,.2);transition:.2s}

body.page-webphone .button:hover{transform:translateY(-2px)}


body.page-webphone .button-outline{background:transparent;color:var(--gold2);box-shadow:none}

body.page-webphone .button-dark-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff;box-shadow:none}

body.page-webphone .text-link{color:var(--gold2);font-weight:600}

body.page-webphone .hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 25%,rgba(213,157,31,.13),transparent 27%),linear-gradient(110deg,#fbf5ec,#fff 52%,#faf5ed)}

body.page-webphone .hero-grid{min-height:650px;display:grid;grid-template-columns:.92fr 1.08fr;align-items:center;gap:42px;padding-block:45px 70px}

body.page-webphone .hero h1{font-size:clamp(3.2rem,5.8vw,5.25rem);line-height:.98;margin-bottom:24px}

body.page-webphone .hero h1 span{color:var(--gold2)}

body.page-webphone .lead{max-width:640px;color:#5e6d68;font-size:1.08rem}

body.page-webphone .hero-visual{display:flex;align-items:center;justify-content:center}

body.page-webphone .hero-image{width:100%;max-width:760px;height:auto;border-radius:28px;filter:drop-shadow(0 25px 40px rgba(0,0,0,.12));mix-blend-mode:multiply}

body.page-webphone .trust-grid span{display:block;color:var(--gold2);font-size:1.35rem;font-weight:600}

body.page-webphone .intro-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:75px}

body.page-webphone .intro-section{overflow:hidden}

.browser-card,
body.page-webphone .server-card{border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow)}

body.page-webphone .browser-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:28px;background:linear-gradient(135deg,#f8f1e7,#f2e7d8);box-shadow:0 18px 38px rgba(21,60,49,.08)}

body.page-webphone .webphone-flow-card{display:flex;min-width:0;height:250px;box-sizing:border-box;align-items:center;justify-content:center;gap:11px;padding:22px 16px;flex-direction:column;border:1px solid var(--border);border-radius:20px;background:#fff;text-align:center;box-shadow:0 9px 22px rgba(21,60,49,.055)}

body.page-webphone .webphone-browser-card{position:relative;padding-top:56px;overflow:hidden}

body.page-webphone .webphone-browser-top{position:absolute;top:0;right:0;left:0;display:flex;height:36px;box-sizing:border-box;align-items:center;gap:7px;padding:0 14px;border-bottom:1px solid var(--border)}

body.page-webphone .webphone-browser-top span{width:8px;height:8px;border-radius:50%;background:#b97800}

body.page-webphone .webphone-webrtc-card{border-color:#153c31;background:#153c31;color:#fff;box-shadow:0 14px 28px rgba(21,60,49,.18)}

body.page-webphone .webphone-flow-icon{display:grid;width:58px;height:58px;flex:0 0 58px;box-sizing:border-box;place-items:center;border:1px solid rgba(185,120,0,.16);border-radius:50%;background:#fff}

body.page-webphone .webphone-flow-icon svg{width:31px;height:31px;fill:none;stroke:#b97800;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

body.page-webphone .webphone-logo-icon img{display:block;width:48px;height:48px;object-fit:contain}

body.page-webphone .webphone-flow-card strong{font:600 .94rem "Manrope",sans-serif}

body.page-webphone .webphone-flow-card small{color:#687a73;font:500 .78rem/1.45 "DM Sans",sans-serif}

body.page-webphone .webphone-webrtc-card small{color:#afc2bc}

body.page-webphone .webphone-media{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:5px}

body.page-webphone .webphone-media span{padding:5px 7px;border-radius:7px;background:#fff7e9;color:#153c31;font:600 .67rem "DM Sans",sans-serif}

body.page-webphone .server-card{padding:30px;text-align:center}

body.page-webphone .server-card span,
body.page-webphone .server-card strong,
body.page-webphone .server-card small{display:block}

body.page-webphone .server-card span{color:var(--gold2);font-weight:600}

body.page-webphone .server-card strong{margin:12px 0}

body.page-webphone .server-card small{color:var(--muted)}

body.page-webphone .feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}

body.page-webphone .feature-grid article{min-height:270px;padding:25px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.88)}

body.page-webphone .feature-grid article>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff;color:var(--gold2);box-shadow:0 7px 18px rgba(28,43,36,.08);font-size:1rem;font-weight:600}

body.page-webphone .solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}

body.page-webphone .solution-grid article{padding:27px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.035)}

body.page-webphone .solution-grid article>span{color:#b97800;font-family:"Manrope";font-size:1.35rem;font-weight:600}

body.page-webphone .solution-grid h3{margin:16px 0 8px}

body.page-webphone .solution-grid p{margin:0;color:#c4d4cf;font-size:.9rem}

body.page-webphone .architecture-diagram{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:13px}

body.page-webphone .web-deployment-visual{display:grid;grid-template-columns:minmax(0,.95fr) 34px minmax(0,1.05fr) 34px minmax(0,1.15fr);gap:10px;align-items:center;padding:24px;border:1px solid rgba(255,255,255,.13);border-radius:24px;background:linear-gradient(135deg,#f8f1e7,#f2e7d8);box-shadow:0 18px 38px rgba(0,0,0,.16);color:#153c31}

body.page-webphone .web-deployment-node{display:flex;min-width:0;align-items:center;justify-content:center;gap:12px;padding:16px 12px;border:1px solid #e7ddcf;border-radius:16px;background:#fff;text-align:center;box-shadow:0 8px 20px rgba(21,60,49,.055)}

body.page-webphone .web-deployment-browser{min-height:174px;flex-direction:column}

body.page-webphone .web-deployment-sdk{min-height:196px;flex-direction:column;border-color:#153c31;background:#153c31;color:#fff;box-shadow:0 14px 28px rgba(21,60,49,.18)}

body.page-webphone .web-deployment-node strong,body.page-webphone .web-deployment-node small{display:block}

body.page-webphone .web-deployment-node strong{font:600 .92rem "Manrope",sans-serif}

body.page-webphone .web-deployment-node small{margin-top:5px;color:#687a73;font:500 .75rem/1.45 "DM Sans",sans-serif}

body.page-webphone .web-deployment-sdk small{color:#afc2bc}

body.page-webphone .web-deployment-icon,body.page-webphone .web-deployment-logo{display:grid;width:50px;height:50px;flex:0 0 50px;place-items:center;border:1px solid rgba(185,120,0,.16);border-radius:50%;background:#fff}

body.page-webphone .web-deployment-icon svg{width:28px;height:28px;fill:none;stroke:#b97800;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

body.page-webphone .web-deployment-logo img{display:block;width:42px;height:42px;object-fit:contain}

body.page-webphone .web-deployment-connector{position:relative;display:block;height:2px;background:linear-gradient(90deg,rgba(185,120,0,.22),#b97800,rgba(185,120,0,.22))}

body.page-webphone .web-deployment-connector::after{content:"";position:absolute;right:-1px;top:50%;width:7px;height:7px;border-top:2px solid #b97800;border-right:2px solid #b97800;transform:translateY(-50%) rotate(45deg)}

body.page-webphone .web-deployment-targets{display:grid;gap:10px}

body.page-webphone .web-deployment-targets .web-deployment-node{justify-content:flex-start;text-align:left}

.arch-box b,
body.page-webphone .arch-box span{display:block}

body.page-webphone .arch-box span{margin-top:8px;color:#bdd0ca;font-size:.8rem}

body.page-webphone .samples-section{background:var(--cream2)}

body.page-webphone .developer-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}

.sample-list b,
body.page-webphone .sample-list span{display:block}

body.page-webphone .sample-list span{color:var(--muted);font-size:.84rem}

body.page-webphone .pricing-grid article{padding:35px;border:1px solid var(--border);border-radius:20px;text-align:center}

body.page-webphone .pricing-grid article.featured{background:linear-gradient(145deg,#153f34,#0d2f27);color:#fff;transform:translateY(-10px);box-shadow:var(--shadow)}

body.page-webphone .pricing-grid p{color:var(--gold2);font-weight:600;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem}

body.page-webphone .pricing-grid h3{font-size:2.5rem;margin:5px 0}

body.page-webphone .pricing-grid span{display:block;margin-bottom:25px;color:var(--muted);font-size:.85rem}

body.page-webphone .closing-cta{padding:0 0 50px}

body.page-webphone .closing-card{min-height:270px;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px 58px;border-radius:28px;color:#fff;background:radial-gradient(circle at 85% 50%,rgba(215,157,17,.17),transparent 20%),linear-gradient(120deg,#0d352b,#08261f)}

body.page-webphone .closing-card h2{max-width:700px;font-size:clamp(2rem,4vw,3rem)}

body.page-webphone .closing-card p:not(.eyebrow){max-width:720px;color:#bfd0ca;margin-bottom:0}

body.page-webphone .closing-actions{display:flex;flex-wrap:wrap;gap:12px;flex:none}

@media (max-width:1050px){
body.page-webphone .primary-nav{gap:17px}

body.page-webphone .feature-grid{grid-template-columns:repeat(2,1fr)}

body.page-webphone .solution-grid{grid-template-columns:repeat(2,1fr)}

}

@media (max-width:1250px){
body.page-webphone .intro-grid,
body.page-webphone .architecture-card{grid-template-columns:minmax(0,1fr);gap:40px}

body.page-webphone .intro-grid>div:first-child{max-width:760px}

body.page-webphone .intro-grid>*,
body.page-webphone .browser-flow,
body.page-webphone .web-deployment-visual{min-width:0;width:100%;box-sizing:border-box}

body.page-webphone .browser-flow{max-width:820px;margin-inline:auto}
}

@media (max-width:760px){
body.page-webphone .browser-flow{grid-template-columns:minmax(0,1fr);gap:12px;padding:22px}

body.page-webphone .webphone-flow-card{height:auto;min-height:180px}

body.page-webphone .web-deployment-visual{grid-template-columns:minmax(0,1fr);gap:12px;padding:22px}

body.page-webphone .web-deployment-browser,
body.page-webphone .web-deployment-sdk{min-height:170px}

body.page-webphone .web-deployment-connector{width:2px;height:25px;margin:0 auto;background:linear-gradient(180deg,rgba(185,120,0,.22),#b97800,rgba(185,120,0,.22))}

body.page-webphone .web-deployment-connector::after{right:auto;left:50%;top:auto;bottom:-1px;transform:translateX(-50%) rotate(135deg)}
}

@media (max-width:850px){
.hero-grid,
.intro-grid,
body.page-webphone .architecture-card,
.developer-grid,
.faq-grid{grid-template-columns:1fr}

body.page-webphone .architecture-card{padding:40px}

body.page-webphone .intro-grid,
body.page-webphone .developer-grid,
body.page-webphone .architecture-diagram{grid-template-columns:1fr}

body.page-webphone .architecture-diagram{min-height:auto}

body.page-webphone .web-deployment-visual{grid-template-columns:minmax(0,.95fr) 28px minmax(0,1fr) 28px minmax(0,1.1fr);width:100%;box-sizing:border-box}

body.page-webphone .arch-arrow{transform:rotate(90deg);text-align:center}
}

@media (max-width:560px){
body.page-webphone .section{padding:76px 0}

body.page-webphone .feature-grid{grid-template-columns:1fr}

body.page-webphone .solution-grid{grid-template-columns:1fr}

body.page-webphone .browser-flow{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}

body.page-webphone .webphone-flow-card{height:auto;min-height:170px}

body.page-webphone .architecture-card{padding:28px 18px}

body.page-webphone .web-deployment-visual{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}

body.page-webphone .web-deployment-browser,body.page-webphone .web-deployment-sdk{min-height:160px}

body.page-webphone .web-deployment-connector{width:2px;height:25px;margin:0 auto;background:linear-gradient(180deg,rgba(185,120,0,.22),#b97800,rgba(185,120,0,.22))}

body.page-webphone .web-deployment-connector::after{right:auto;left:50%;top:auto;bottom:-1px;transform:translateX(-50%) rotate(135deg)}

}

/* Match Agent AI panel behavior: never compress multi-card visuals. */
@media (max-width:760px){
body.page-webphone .browser-flow,
body.page-webphone .web-deployment-visual{grid-template-columns:minmax(0,1fr)}

body.page-webphone .webphone-flow-card{height:auto;min-height:180px}

body.page-webphone .web-deployment-connector{width:2px;height:25px;margin-inline:auto;background:linear-gradient(180deg,rgba(185,120,0,.22),#b97800,rgba(185,120,0,.22))}

body.page-webphone .web-deployment-connector::after{right:auto;left:50%;top:auto;bottom:-1px;transform:translateX(-50%) rotate(135deg)}
}

body.page-home .hero-grid > .hero-visual,
body.page-server .hero-grid > .hero-visual,
body.page-phone .hero-grid > .hero-visual,
body.page-webphone .hero-grid > .hero-visual,
body.page-recording .hero-grid > .hero-visual,
body.page-agentai .hero-grid > .hero-visual{align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;}
