/* Round 61 — iPhone image fixes, three-phone hero, shorter pages, clean menu.
   Fictional demo data only. */

/* ----- Safari / iPhone: never stretch images ----- */
img{
  max-width:100%;
  height:auto;
}
.cx-composite,
.cx-phone img,
.cx-shot img,
.cx-doc img,
.cx-hero-device img,
.cx-visual-media img,
.cx-stage img,
.cx-stage .cx-composite,
.t-plat-img,
.cx-media img,
.cx-clip video,
.cx-clip img{
  width:100%;
  height:auto !important;
  max-width:100%;
  object-fit:contain;
}
.t-logo-icon,
.header img,
.t-menu-logo img,
.t-footer img,
.t-logo-pic img{
  width:32px;
  max-width:32px;
  height:auto;
}
/* Kill forced aspect that squishes or crops oddly */
.cx-docs.three .cx-doc{aspect-ratio:auto !important}
.cx-docs.three .cx-doc img{height:auto !important;object-fit:contain !important}

/* Mobile: one column, text above image, phones in flow and centred */
@media (max-width:979px){
  .cx-row,
  .cx-row.flip,
  .cx-visual-grid,
  .cx-visual-grid.is-flip{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:22px;
  }
  .cx-row > .cx-copy,
  .cx-visual-grid > .cx-visual-copy{order:1 !important}
  .cx-row > .cx-media,
  .cx-visual-grid > .cx-visual-media{order:2 !important}
  .cx-media,
  .cx-media.has-phone,
  .cx-media.is-left{
    position:relative;
    margin:0 !important;
    padding:0 !important;
  }
  .cx-media .cx-phone,
  .cx-office .cx-phone,
  .cx-media.has-phone .cx-phone,
  .cx-media.is-left .cx-phone{
    position:static !important;
    right:auto !important;
    left:auto !important;
    bottom:auto !important;
    top:auto !important;
    width:100% !important;
    max-width:280px !important;
    margin:0 auto !important;
    display:block;
    padding:8px;
  }
  /* One clean frame: on a stacked desktop+phone pair, show the phone only */
  .cx-media.has-phone .cx-shot{display:none}
  .cx-phone,
  .cx-phone-lg{
    max-width:280px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  .cx-docs,
  .cx-docs.report,
  .cx-docs.three{grid-template-columns:1fr 1fr;gap:12px}
}

/* ----- Homepage hero: three-phone Socials composition ----- */
.cx-hero .cx-hero-phones{
  margin:0 auto 48px;
  max-width:980px;
}
.cx-hero .t-plat-cap{color:#fff;font-weight:800}
.cx-hero .t-plat-track{max-width:980px}
@media (max-width:719px){
  .cx-hero{overflow:visible}
  .cx-hero .cx-hero-phones,
  .cx-hero .t-plat-track{
    max-width:400px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:40px;
    padding:18px 4px 6px;
  }
}
@media (min-width:720px){
  .cx-hero .cx-hero-phones{margin-bottom:56px}
}

/* ----- Full-screen white menu (mobile) ----- */
.t-menu{
  background:#fff;
  color:var(--hy-ink,#101828);
}
.t-menu-top{
  min-height:64px;
  padding:0 16px 0 20px;
  border-bottom:1px solid #EEEAF4;
}
.t-menu-logo,
.t-menu-logo .wordmark{color:#101828}
.t-menu-logo .wordmark .nex{color:#7C3AED}
.t-menu .t-close{
  width:44px;height:44px;
  color:#101828;
  font-size:28px;
}
.t-menu-cta-top{
  padding:20px 20px 8px;
}
.t-menu-cta-top .btn{
  display:flex;
  width:100%;
  min-height:52px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#8E1EF4;
  color:#fff !important;
  font-size:17px;
  font-weight:800;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(142,30,244,.25);
}
.t-menu nav{padding:8px 8px 28px}
.t-menu .t-row{
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#101828 !important;
  background:transparent;
  border-bottom:1px solid #EEEAF4;
  min-height:58px;
  padding:0 16px;
}
.t-menu .t-row::after{
  width:10px;height:10px;
  border-right:2px solid #101828;
  border-bottom:2px solid #101828;
  transform:rotate(45deg);
  margin-top:-4px;
  transition:transform .2s ease;
}
.t-menu .t-row[aria-expanded="true"]::after{
  transform:rotate(-135deg);
  margin-top:4px;
}
.t-menu a.t-row::after{display:none} /* plain links: no chevron */
.t-menu .t-sub{
  background:#FAF8FC;
  padding:4px 0 8px;
  border-bottom:1px solid #EEEAF4;
}
.t-menu .t-sub a{
  min-height:48px;
  padding:0 20px 0 28px;
  font-size:16px;
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
  color:#101828 !important;
}
.t-menu-app,
.t-menu .t-row-lang,
.t-menu .t-sub-lang{display:none !important}

/* ----- Desktop nav dropdowns ----- */
.nav.nav-long .t-dd{position:relative;display:flex;align-items:center}
.nav.nav-long .t-dd-btn{
  appearance:none;
  background:transparent;
  border:0;
  color:#fff;
  font:inherit;
  font-weight:600;
  cursor:pointer;
  padding:8px 10px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.nav.nav-long .t-dd-btn::after{
  content:"";
  width:7px;height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
  margin-top:-3px;
}
.nav.nav-long .t-dd.is-open .t-dd-btn::after,
.nav.nav-long .t-dd:hover .t-dd-btn::after{transform:rotate(-135deg);margin-top:3px}
.nav.nav-long .t-dd-panel{
  display:none;
  position:absolute;
  top:calc(100% - 2px);
  left:0;
  min-width:220px;
  background:#fff;
  color:#101828;
  border-radius:12px;
  box-shadow:0 16px 40px rgba(30,11,58,.18);
  padding:8px 0;
  z-index:80;
}
.nav.nav-long .t-dd.is-open .t-dd-panel,
.nav.nav-long .t-dd:hover .t-dd-panel,
.nav.nav-long .t-dd:focus-within .t-dd-panel{display:block}
.nav.nav-long .t-dd-panel a{
  display:block;
  color:#101828 !important;
  padding:10px 16px;
  min-height:44px;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
.nav.nav-long .t-dd-panel a:hover,
.nav.nav-long .t-dd-panel a:focus-visible{
  background:#F5F0FB;
  color:#2E1065 !important;
}

/* ----- Page accordions (secondary detail) ----- */
.cx-acc{
  border:0;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(46,16,101,.08);
  margin:0 0 14px;
  overflow:hidden;
}
.cx-acc > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:56px;
  padding:14px 18px;
  font-family:var(--display,Manrope),Inter,sans-serif;
  font-weight:800;
  font-size:18px;
  letter-spacing:-.02em;
  color:#101828;
}
.cx-acc > summary::-webkit-details-marker{display:none}
.cx-acc > summary::after{
  content:"";
  flex:none;
  width:10px;height:10px;
  border-right:2px solid #2E1065;
  border-bottom:2px solid #2E1065;
  transform:rotate(45deg);
  margin-top:-4px;
  transition:transform .2s ease;
}
.cx-acc[open] > summary::after{transform:rotate(-135deg);margin-top:4px}
.cx-acc .cx-acc-body{padding:0 18px 20px}
.cx-acc .cx-media{margin-top:12px}
#pricing .t-plan-includes{
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 28px rgba(46,16,101,.08);
  padding:0;
  overflow:hidden;
}
#pricing .t-plan-includes > h4,
#pricing .t-plan-includes > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:52px;
  padding:12px 18px;
  margin:0;
  font-weight:800;
}
#pricing details.t-plan-includes > summary::-webkit-details-marker{display:none}
#pricing details.t-plan-includes > summary::after{
  content:"";
  width:10px;height:10px;
  border-right:2px solid #2E1065;
  border-bottom:2px solid #2E1065;
  transform:rotate(45deg);
  margin-top:-4px;
}
#pricing details.t-plan-includes[open] > summary::after{transform:rotate(-135deg);margin-top:4px}
#pricing details.t-plan-includes .t-inc-body,
#pricing details.t-plan-includes ul,
#pricing details.t-plan-includes p{padding:0 18px 16px}

@media (min-width:980px){
  /* Keep key desktop layouts; accordions may be opened by JS */
  .cx-acc{box-shadow:none;background:transparent;border-radius:0;margin:0 0 48px}
  .cx-acc > summary{padding-left:0;padding-right:0}
}

/* Menu sub-links: plain weight, generous spacing; thin divider */
.t-menu .t-sub a{
  font-weight:400 !important;
  letter-spacing:0;
  text-transform:none;
  min-height:52px;
  padding:12px 20px 12px 28px;
  font-size:17px;
  line-height:1.35;
}
.t-menu .t-sub-split{
  height:1px;
  background:#E8E4F0;
  margin:10px 20px;
  padding:0;
  border:0;
}
.t-menu .t-lang{
  margin-top:auto;
  border-top:1px solid #EEEAF4;
  padding-top:6px;
}
.t-menu .t-lang-opt{
  display:flex;
  width:100%;
  align-items:center;
  min-height:52px;
  padding:12px 20px 12px 28px;
  border:0;
  background:transparent;
  font:400 17px/1.35 Inter,sans-serif;
  color:#101828;
  text-align:left;
  cursor:pointer;
}
.t-menu .t-lang-opt.is-on{font-weight:700}
.t-menu .t-lang-opt[disabled],
.t-menu .t-lang-opt[aria-disabled="true"]{
  color:#9A96A8;
  cursor:not-allowed;
}
.t-menu-contact{display:none} /* sales/support live under Contact / footer */

/* Footer globe language control (not in the header) */
.t-foot-base{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px 24px;
}
.t-foot-globe{position:relative;flex:none}
.t-globe-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  background:transparent;
  color:#fff;
  font:600 13px/1 Inter,sans-serif;
  cursor:pointer;
}
.t-globe-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.t-globe-pop{
  position:absolute;
  right:0;
  bottom:calc(100% + 6px);
  min-width:180px;
  background:#fff;
  color:#101828;
  border-radius:12px;
  box-shadow:0 16px 40px rgba(30,11,58,.2);
  padding:6px 0;
  z-index:20;
}
.t-globe-pop[hidden]{display:none}
.t-globe-pop button{
  display:block;
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
  min-height:44px;
  padding:8px 16px;
  font:400 15px/1.3 Inter,sans-serif;
  color:#101828;
  cursor:pointer;
}
.t-globe-pop button.is-on{font-weight:700}
.t-globe-pop button[disabled]{color:#9A96A8;cursor:not-allowed}

.cx-about{background:var(--hy-grey,#F5F4F8);padding:64px 0}
.cx-only-desk{display:block}
.cx-only-mobile{display:none}
@media (max-width:979px){
  .cx-only-desk{display:none !important}
  .cx-only-mobile{display:block}
  .figure.cx-only-mobile,
  figure.cx-only-mobile{display:block}
}
@media (min-width:980px){
  .cx-only-mobile{display:none !important}
  .cx-only-desk{display:block}
}

.t-menu nav{flex:1 1 auto}
.nav.nav-long .t-dd-panel .t-sub-split{
  height:1px;
  background:#E8E4F0;
  margin:8px 16px;
  padding:0;
}

/* ----- Homepage structure (centred titles, benefits, team, real work, legal, footer) ----- */
.cx-title-underline{
  text-align:center;
  margin:0 auto;
  font-family:var(--display,Manrope),Inter,sans-serif;
  font-weight:800;
  font-size:clamp(28px,4vw,40px);
  letter-spacing:-.03em;
  color:#101828;
  line-height:1.15;
}
.cx-title-underline::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  background:#8E1EF4;
  border-radius:2px;
  margin:14px auto 0;
}
.cx-lead{
  text-align:center;
  max-width:36em;
  margin:16px auto 0;
  font-size:18px;
  line-height:1.45;
  color:#3D3750;
}

.cx-why{
  background:#fff;
  padding:72px 0 64px;
}
.cx-why-list{
  list-style:none;
  margin:36px auto 0;
  padding:0;
  display:grid;
  gap:22px;
  max-width:720px;
}
.cx-why-list li{
  display:flex;
  align-items:flex-start;
  gap:18px;
  background:#F5F4F8;
  border-radius:16px;
  padding:20px 22px;
}
.cx-why-ic{
  flex:none;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#1E0B3A;
  color:#fff;
  display:grid;
  place-items:center;
}
.cx-why-ic svg{width:26px;height:26px;display:block}
.cx-why-list h3{
  margin:0 0 4px;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  color:#101828;
}
.cx-why-list p{margin:0;color:#3D3750;font-size:16px;line-height:1.45}
@media (min-width:900px){
  .cx-why-list{
    max-width:1100px;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
  .cx-why-list li{
    flex-direction:column;
    align-items:flex-start;
    padding:28px 24px 26px;
    min-height:100%;
  }
}

.cx-team{
  background:#F5F4F8;
  padding:72px 0 64px;
}
.cx-team-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:36px;
}
.cx-team-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(46,16,101,.08);
  padding:24px 22px 22px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.cx-team-ic{
  width:48px;height:48px;
  border-radius:50%;
  background:#1E0B3A;
  color:#fff;
  display:grid;
  place-items:center;
  margin-bottom:6px;
}
.cx-team-ic svg{width:22px;height:22px;display:block}
.cx-team-card h3{
  margin:0;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  color:#101828;
}
.cx-team-card p{
  margin:0;
  color:#3D3750;
  font-size:16px;
  line-height:1.45;
  flex:1;
}
.cx-team-card .cx-more{
  margin-top:8px;
  font-weight:700;
  color:#6D28D9;
  text-decoration:none;
}
.cx-team-card .cx-more:hover{color:#2E1065}
@media (min-width:640px){
  .cx-team-grid{grid-template-columns:1fr 1fr;gap:18px}
}
@media (min-width:1100px){
  .cx-team-grid{grid-template-columns:repeat(4,1fr)}
}

.cx-real{
  background:#fff;
  padding:72px 0 64px;
}
.cx-real-grid{
  display:grid;
  gap:32px;
  margin-top:36px;
  align-items:center;
}
.cx-real-media{margin:0}
.cx-real-media img{
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 16px 40px rgba(46,16,101,.12);
}
.cx-real-points{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.cx-real-points h3{
  margin:0 0 6px;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  color:#101828;
}
.cx-real-points p{margin:0;color:#3D3750;font-size:16px;line-height:1.45}
@media (min-width:980px){
  .cx-real-grid{grid-template-columns:1.15fr .85fr;gap:48px}
}

.cx-legal{
  background:#F5F4F8;
  padding:56px 0;
}
.cx-legal-grid{
  display:grid;
  gap:32px;
}
.cx-legal h2{
  margin:0 0 10px;
  font-size:22px;
  font-weight:800;
  color:#101828;
}
.cx-legal p{
  margin:0 0 10px;
  color:#3D3750;
  font-size:15px;
  line-height:1.5;
}
.cx-legal a{color:#6D28D9}
@media (min-width:800px){
  .cx-legal-grid{grid-template-columns:1fr 1fr;gap:40px}
}

/* Footer columns */
.t-footer .t-foot-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px 18px;
}
@media (min-width:900px){
  .t-footer .t-foot-cols{grid-template-columns:repeat(5,1fr)}
}
.t-footer .t-foot-cols h3{
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 10px;
}
.t-footer .t-foot-cols a{color:rgba(255,255,255,.8)}
.t-footer .t-foot-cols a:hover{color:#fff}

/* Chevrons (not plus/minus): override touches.css !important plus icons */
.t-menu .t-row[data-sub]::after{
  content:"" !important;
  width:10px !important;
  height:10px !important;
  border:0 !important;
  border-right:2px solid #101828 !important;
  border-bottom:2px solid #101828 !important;
  background:transparent !important;
  border-radius:0 !important;
  font-size:0 !important;
  color:transparent !important;
  transform:rotate(45deg) !important;
  margin-top:-4px !important;
  margin-right:6px !important;
}
.t-menu .t-row[data-sub][aria-expanded="true"]::after{
  content:"" !important;
  transform:rotate(-135deg) !important;
  margin-top:4px !important;
}

/* Win over .pc-touches .header .nav a:not(.btn){color:#fff!important} */
.pc-touches .header .nav .t-dd-panel a:not(.btn),
.pc-touches .header .nav .t-dd-panel a:not(.btn):hover,
.pc-touches .header .nav .t-dd-panel a:not(.btn):focus-visible{
  color:#101828 !important;
}
.pc-touches .header .nav .t-dd-panel a:not(.btn)::after{display:none !important;content:none !important;transform:none !important}
.pc-touches .header .nav .t-dd-panel a:not(.btn):hover,
.pc-touches .header .nav .t-dd-panel a:not(.btn):focus-visible{
  background:#F5F0FB;
  color:#2E1065 !important;
}
