
:root {
  --ink:#101828; --muted:#667085; --blue:#1457f5; --cyan:#08bde8;
  --red:#f32222; --line:#e7eaf0; --paper:#ffffff; --soft:#f5f7fb;
  --radius:22px; --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.6}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(var(--max),calc(100% - 44px));margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{font-size:35px;line-height:1;font-weight:850;letter-spacing:-2.4px;color:#080808}
.logo-dot{color:var(--red)}
.nav-links{display:flex;align-items:center;gap:25px;font-size:14px;font-weight:650}
.nav-links a:hover,.footer-links a:hover{color:var(--blue)}
.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 19px;border-radius:12px;background:var(--blue);color:white;font-weight:750;border:1px solid var(--blue);transition:.2s}
.nav-cta:hover,.button:hover{background:#0c43ce;transform:translateY(-1px)}
.button.secondary{background:white;color:var(--ink);border-color:#d7dce5}
.button.secondary:hover{border-color:var(--blue);color:var(--blue)}
.menu-toggle{display:none;background:white;border:1px solid var(--line);border-radius:10px;padding:9px 12px}
.hero{padding:94px 0 74px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:55px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--blue);font-size:12px;font-weight:850;letter-spacing:1.5px;text-transform:uppercase}
.eyebrow:before{content:"";width:23px;height:3px;background:var(--cyan);border-radius:4px}
h1{font-size:clamp(42px,6vw,70px);line-height:1.04;letter-spacing:-3.5px;margin:20px 0}
h2{font-size:clamp(29px,4vw,43px);line-height:1.12;letter-spacing:-1.6px;margin:0 0 17px}
h3{font-size:20px;line-height:1.25;margin:0 0 10px;letter-spacing:-.4px}
.lead{font-size:19px;line-height:1.65;color:#596579;max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-art{min-height:390px;border-radius:30px;background:linear-gradient(145deg,#f2f7ff,#eefbff 58%,#fff3f3);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:32px}
.art-card{background:white;border:1px solid #e6ebf4;box-shadow:0 24px 70px #1b3b7618;border-radius:22px;padding:25px;width:min(100%,390px);transform:rotate(-3deg)}
.art-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.art-code{width:145px;height:145px;border:12px solid #111;border-radius:12px;margin:15px auto;background:repeating-linear-gradient(90deg,#111 0 8px,white 8px 15px),repeating-linear-gradient(0deg,transparent 0 8px,#111 8px 13px);position:relative}
.art-code:after{content:"";position:absolute;width:44px;height:44px;background:var(--red);border:7px solid white;border-radius:12px;left:38px;top:38px}
.art-lines{height:9px;border-radius:10px;background:#edf0f5;margin:10px 0}
.art-lines.short{width:58%}
.pill{display:inline-block;background:#eaf1ff;color:var(--blue);padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}
.section{padding:80px 0}
.section.soft{background:var(--soft)}
.section-heading{max-width:700px;margin-bottom:34px}
.section-heading p{font-size:17px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.card{border:1px solid var(--line);border-radius:19px;padding:25px;background:white;transition:.2s}
.card:hover{border-color:#b9caff;box-shadow:0 14px 35px #193c7510;transform:translateY(-3px)}
.card-icon{width:46px;height:46px;border-radius:14px;background:#edf3ff;color:var(--blue);display:grid;place-items:center;font-size:22px;margin-bottom:20px}
.card p{color:var(--muted);font-size:15px;margin:0 0 17px}
.card-link{font-size:14px;font-weight:800;color:var(--blue)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.feature-list{display:grid;gap:15px}
.feature{padding:17px 0;border-bottom:1px solid var(--line)}
.feature strong{display:block;margin-bottom:4px}
.feature span{color:var(--muted);font-size:14px}
.cta-band{border-radius:25px;background:#101828;color:white;padding:44px;display:flex;justify-content:space-between;align-items:center;gap:25px}
.cta-band p{color:#c6cfdd;margin:8px 0 0}
.page-hero{padding:88px 0 55px;background:linear-gradient(180deg,#f5f8ff,white)}
.page-hero h1{max-width:850px}
.page-hero .lead{max-width:790px}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:28px}
.page-content{padding:55px 0 85px}
.content-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.content-item{padding:26px;border:1px solid var(--line);border-radius:18px}
.content-item p{color:var(--muted);margin:0}
.site-footer{background:#0d1422;color:white;padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:45px}
.footer-brand .logo{color:white}
.footer-brand p{max-width:340px;color:#aeb9c9;font-size:14px}
.site-footer h4{font-size:13px;letter-spacing:.7px;text-transform:uppercase;color:#c7d1df}
.footer-links{display:grid;gap:10px;color:#c0cada;font-size:14px}
.footer-bottom{border-top:1px solid #293244;margin-top:38px;padding-top:19px;color:#9aa8bb;font-size:12px;display:flex;justify-content:space-between;gap:20px}
.agent-placeholder{margin-top:26px;padding:25px;border:1px dashed #9aabc8;border-radius:18px;background:#f8faff;color:var(--muted)}
.agent-placeholder strong{color:var(--ink)}
@media(max-width:850px){
 .hero-grid,.split{grid-template-columns:1fr;gap:30px}
 .hero{padding:65px 0 55px}
 .hero-art{min-height:310px}
 .cards{grid-template-columns:repeat(2,1fr)}
 .nav-links{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:22px;border-bottom:1px solid var(--line);align-items:stretch;gap:17px;flex-direction:column}
 .nav-links.open{display:flex}
 .menu-toggle{display:block}
 .nav-cta{display:none}
}
@media(max-width:600px){
 .container{width:min(100% - 32px,var(--max))}
 h1{letter-spacing:-2.2px}
 .lead{font-size:17px}
 .cards,.content-grid,.footer-grid{grid-template-columns:1fr}
 .section{padding:58px 0}
 .cta-band{padding:28px;align-items:flex-start;flex-direction:column}
 .footer-bottom{flex-direction:column}
 .nav{height:70px}
 .nav-links{top:70px}
}

/* Toutcode brand identity image in homepage hero */
.hero-brand-art {
  background: #ffffff;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}
.hero-brand-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 850px) {
  .hero-brand-art {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
  }
  .hero-brand-art img {
    max-height: none;
  }
}

/* Toutcode D-ID live agent */
.toutcode-agent-section {
  padding: 75px 0 85px;
  background: #f5f7fb;
}
.toutcode-agent-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(430px, 70vh, 680px);
  min-height: 430px;
  max-height: 680px;
  overflow: hidden;
  border-radius: 20px;
  background: #111827;
  box-shadow: 0 18px 55px rgba(16,24,40,.12);
}
#toutcode-agent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
}
#toutcode-agent > *,
#toutcode-agent iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: inherit;
}
@media(max-width:760px) {
  .toutcode-agent-section {
    padding: 55px 0;
  }
  .toutcode-agent-frame {
    height: clamp(430px, 70vh, 620px);
    min-height: 430px;
    max-height: 620px;
    border-radius: 14px;
  }
}


/* Toutcode feature icon system */
.card-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.page-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1050px;
  margin: 0 0 18px;
}

.page-hero-title-copy {
  min-width: 0;
  flex: 1;
}

.page-hero-title-copy h1 {
  margin-bottom: 0;
}

.page-feature-icon {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, #edf3ff, #eafaff);
  border: 1px solid #dce8ff;
  border-radius: 26px;
}

.page-feature-icon svg {
  width: 58px;
  height: 58px;
  display: block;
}

@media (max-width: 600px) {
  .page-hero-title-row {
    gap: 12px;
    align-items: flex-start;
  }

  .page-feature-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 17px;
    margin-top: 8px;
  }

  .page-feature-icon svg {
    width: 36px;
    height: 36px;
  }

  .page-hero-title-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
    letter-spacing: -1.8px;
  }
}
