/* ===================== Page hero ===================== */
.sq-hero{
  padding:64px 0 var(--section-pad-y-sm);
}
.sq-hero-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:48px;
  align-items:center;
}
.sq-hero h1{
  font-size:clamp(2.1rem, 4.2vw, 3.1rem);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-0.035em;
  margin:0 0 20px;
}
.sq-hero-lede{
  font-size:1.1rem;
  line-height:1.55;
  color:var(--text-secondary);
  margin-bottom:28px;
}
.sq-hero-lede strong{color:var(--text-primary);font-weight:600;}
.sq-hero-cta{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}
.sq-trust-points{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:22px;
}
.sq-trust-points li{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.86rem;
  font-weight:500;
  color:var(--text-secondary);
}
.sq-trust-points svg{width:15px;height:15px;color:var(--success-text);flex-shrink:0;}

/* =====================================================================
   Hero motion graphic: a questionnaire being read, answered and flagged.
   Same architecture as the Trust Center graphic: JS toggles .is-active on
   a scene, CSS owns only the in-scene entrance timing.
   ===================================================================== */
.sq-motion{
  background:var(--background);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
/* The frame is the agent, not the file: Sekorti is visibly the thing doing
   the work, and the status line narrates what it is doing right now. */
.sq-motion-bar{
  display:flex;
  align-items:center;
  gap:9px;
  padding:12px 16px;
  background:var(--navy);
  border-bottom:1px solid var(--border);
}
.sq-motion-bar img{width:19px;height:19px;flex-shrink:0;}
.sq-motion-title{
  font-size:0.84rem;
  font-weight:700;
  color:#fff;
}
.sq-autopilot{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:2px 9px;
  border-radius:var(--radius-pill);
  background:rgba(122,217,255,.16);
  color:#9fe2ff;
  font-size:0.66rem;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  flex-shrink:0;
}
.sq-autopilot svg{width:10px;height:10px;}

/* Live status: what the agent is doing at this exact moment. */
.sq-motion-status{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  background:var(--surface);
  border-bottom:1px solid var(--border);
  min-width:0;
}
.sq-pulse{
  width:7px;height:7px;
  border-radius:50%;
  background:var(--brand-primary);
  flex-shrink:0;
  animation:sqPulse 1.4s ease-in-out infinite;
}
@keyframes sqPulse{
  0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(47,62,158,.4);}
  50%{opacity:.6;box-shadow:0 0 0 5px rgba(47,62,158,0);}
}
.sq-action{
  font-size:0.76rem;
  font-weight:600;
  color:var(--text-secondary);
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sq-motion-meta{
  margin-left:auto;
  font-size:0.68rem;
  font-weight:600;
  color:var(--text-tertiary);
  white-space:nowrap;
  flex-shrink:0;
}

.sq-motion-stage{
  position:relative;
  height:268px;
}
.sq-scene{
  position:absolute;
  inset:0;
  padding:20px;
  display:flex;
  flex-direction:column;
  opacity:0;
  visibility:hidden;
  transition:opacity .45s ease, visibility .45s;
}
.sq-scene.is-active{opacity:1;visibility:visible;}
.sq-scene-body{margin-block:auto;width:100%;}
.sq-scene-title{
  display:block;
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-tertiary);
  margin-bottom:14px;
}
.sq-scene.is-active .sq-anim{
  animation:sqRise .5s cubic-bezier(.22,.9,.32,1) both;
}
.sq-scene.is-active .sq-anim:nth-child(2){animation-delay:.10s;}
.sq-scene.is-active .sq-anim:nth-child(3){animation-delay:.20s;}
.sq-scene.is-active .sq-anim:nth-child(4){animation-delay:.30s;}
@keyframes sqRise{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:none;}
}

/* ---- Scene 1: the file lands and is recognised ---- */
.sq-m-upload{
  display:flex;
  align-items:center;
  gap:13px;
  padding:16px;
  border:1.5px dashed var(--border-strong);
  border-radius:var(--radius-md);
  background:var(--surface);
}
.sq-m-file{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;height:40px;
  flex-shrink:0;
  border-radius:10px;
  background:var(--brand-primary-soft);
  color:var(--brand-primary);
}
.sq-m-file svg{width:19px;height:19px;}
.sq-m-upload strong{display:block;font-size:0.82rem;color:var(--text-primary);}
.sq-m-upload small{font-size:0.72rem;color:var(--text-tertiary);}
.sq-m-detect{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:9px 12px;
  border-radius:var(--radius-md);
  background:var(--success-bg);
  color:var(--success-text);
  font-size:0.76rem;
  font-weight:600;
}
.sq-m-detect svg{width:13px;height:13px;flex-shrink:0;}

/* ---- Scene 2: answering, with a live counter ---- */
.sq-m-progress-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.sq-m-count{
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:-0.02em;
  color:var(--text-primary);
}
.sq-m-count span{font-size:0.9rem;font-weight:600;color:var(--text-tertiary);}
.sq-m-pct{font-size:0.8rem;font-weight:700;color:var(--brand-primary);}
.sq-m-bar{
  height:7px;
  border-radius:4px;
  background:var(--border);
  overflow:hidden;
  margin-bottom:16px;
}
.sq-m-bar i{
  display:block;
  height:100%;
  width:0;
  border-radius:4px;
  background:var(--brand-primary);
}
.sq-scene.is-active .sq-m-bar i{
  animation:sqFill 2.4s cubic-bezier(.3,.8,.35,1) .2s both;
}
@keyframes sqFill{to{width:73%;}}

.sq-m-rows{display:flex;flex-direction:column;gap:7px;}
.sq-m-row{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 11px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  font-size:0.76rem;
  color:var(--text-secondary);
  min-width:0;
}
.sq-m-row span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sq-m-tick{
  display:flex;
  align-items:center;
  justify-content:center;
  width:17px;height:17px;
  flex-shrink:0;
  border-radius:50%;
  background:var(--success-bg);
  color:var(--success-text);
}
.sq-m-tick svg{width:10px;height:10px;}
.sq-m-row.is-pending .sq-m-tick{background:var(--border);color:var(--text-tertiary);}
/* Rows resolve one after another while the bar climbs. */
.sq-scene.is-active .sq-m-row:nth-child(1){animation:sqRise .4s ease .3s both;}
.sq-scene.is-active .sq-m-row:nth-child(2){animation:sqRise .4s ease 1s both;}
.sq-scene.is-active .sq-m-row:nth-child(3){animation:sqRise .4s ease 1.7s both;}

/* ---- Scene 3: a drafted answer with its source ---- */
.sq-m-q{
  font-size:0.78rem;
  font-weight:700;
  color:var(--text-primary);
  margin-bottom:9px;
  line-height:1.4;
}
.sq-m-a{
  padding:12px 13px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:1px solid var(--border);
  font-size:0.78rem;
  line-height:1.5;
  color:var(--text-secondary);
}
.sq-m-a strong{color:var(--text-primary);}
.sq-m-cite{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid var(--border);
  font-size:0.7rem;
  font-weight:600;
  color:var(--text-tertiary);
}
.sq-m-cite svg{width:11px;height:11px;color:var(--success-text);flex-shrink:0;}

/* ---- Scene 4: what is done and what needs a person ---- */
.sq-m-split{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
.sq-m-stat{
  padding:14px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
}
.sq-m-stat b{
  display:block;
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.1;
  color:var(--text-primary);
}
.sq-m-stat span{font-size:0.72rem;color:var(--text-tertiary);}
.sq-m-stat.is-flagged{background:var(--warning-bg);border-color:var(--warning-border);}
.sq-m-stat.is-flagged b{color:var(--warning-text);}
.sq-m-flag{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:1px solid var(--border);
  font-size:0.74rem;
  color:var(--text-secondary);
  min-width:0;
}
.sq-m-flag svg{width:14px;height:14px;color:var(--warning-text);flex-shrink:0;}
.sq-m-flag span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* ---- Caption + progress ---- */
.sq-motion-foot{
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 16px;
  border-top:1px solid var(--border);
  background:var(--surface);
}
/* The whole pitch in one line of numbers: almost everything handled without
   a person, and the few exceptions handed back deliberately. */
.sq-counter{
  font-size:0.78rem;
  color:var(--text-tertiary);
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sq-counter strong{
  font-weight:700;
  color:var(--text-primary);
}
.sq-counter .sq-open{color:var(--warning-text);}
.sq-counter em{font-style:normal;margin:0 5px;color:var(--border-strong);}
.sq-motion-progress{display:flex;gap:5px;margin-left:auto;flex-shrink:0;}
.sq-motion-progress i{
  width:16px;height:3px;
  border-radius:2px;
  background:var(--border-strong);
  transition:background-color .3s ease;
}
.sq-motion-progress i.is-on{background:var(--brand-primary);}

@media (max-width: 980px){
  .sq-hero-grid{grid-template-columns:1fr;}
  .sq-motion{max-width:440px;}
}

/* On a phone the status row is too narrow for both the agent's current step
   and the file meta, and the step is the one that carries the message. */
@media (max-width: 460px){
  .sq-motion-meta{display:none;}
}
/* On the narrowest phones the longest step still will not fit on one line,
   so let it wrap rather than truncate mid-sentence. */
@media (max-width: 400px){
  .sq-action{white-space:normal;line-height:1.3;}
}

@media (prefers-reduced-motion: reduce){
  .sq-scene,
  .sq-scene.is-active .sq-anim,
  .sq-scene.is-active .sq-m-row,
  .sq-scene.is-active .sq-m-bar i{
    animation:none;
    transition:none;
  }
  .sq-m-bar i{width:73%;}
}

/* ===================== Shared section head ===================== */
.sq-section-head{
  max-width:620px;
  margin-bottom:36px;
}
.sq-section-head p{
  margin-top:14px;
  font-size:1rem;
  color:var(--text-secondary);
}

/* ===================== See it working ===================== */
.sq-demo{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.sq-sheet{
  background:var(--background);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  width:min(100%, 860px);
}
.sq-sheet-head{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:16px 22px;
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.sq-sheet-head strong{font-size:0.95rem;color:var(--text-primary);}
.sq-sheet-head small{font-size:0.8rem;color:var(--text-tertiary);}
.sq-sheet-status{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 11px;
  border-radius:var(--radius-pill);
  background:var(--success-bg);
  color:var(--success-text);
  font-size:0.75rem;
  font-weight:700;
}
.sq-qa{
  padding:20px 22px;
  border-bottom:1px solid var(--border);
}
.sq-qa:last-child{border-bottom:0;}
.sq-qa-q{
  display:flex;
  gap:10px;
  font-size:0.92rem;
  font-weight:700;
  color:var(--text-primary);
  margin-bottom:11px;
  line-height:1.45;
}
.sq-qa-num{
  flex-shrink:0;
  color:var(--text-tertiary);
  font-weight:700;
}
.sq-qa-a{
  padding:14px 16px;
  border-radius:var(--radius-md);
  background:var(--surface);
  font-size:0.9rem;
  line-height:1.55;
  color:var(--text-secondary);
}
.sq-qa-a strong{color:var(--text-primary);}
.sq-qa-cite{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:11px;
  padding-top:11px;
  border-top:1px solid var(--border);
  font-size:0.78rem;
  font-weight:600;
  color:var(--text-tertiary);
}
.sq-qa-cite svg{width:13px;height:13px;color:var(--success-text);flex-shrink:0;}
/* The flagged answer reads differently on purpose: it is the honest case. */
.sq-qa-a.is-flagged{background:var(--warning-bg);}
.sq-qa-a.is-flagged .sq-qa-cite{border-top-color:var(--warning-border);}
.sq-qa-a.is-flagged .sq-qa-cite svg{color:var(--warning-text);}

/* ===================== How it works ===================== */
.sq-steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
}
.sq-step{display:flex;flex-direction:column;}
.sq-step-num{
  font-size:0.78rem;
  font-weight:700;
  color:var(--brand-primary);
  letter-spacing:0.04em;
  margin-bottom:14px;
}
.sq-step-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;height:46px;
  border-radius:14px;
  background:var(--brand-primary-soft);
  color:var(--brand-primary);
  margin-bottom:16px;
}
.sq-step-icon svg{width:22px;height:22px;}
.sq-step h3{font-size:1.05rem;font-weight:700;margin:0 0 8px;}
.sq-step p{font-size:0.92rem;line-height:1.55;color:var(--text-secondary);}

/* ===================== Why it's different: dark band ===================== */
.sq-different{background:var(--navy);}
.sq-different .eyebrow{color:var(--text-on-navy-dim);}
.sq-different h2{color:#fff;}
.sq-contrasts{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.sq-contrast{
  padding:24px;
  border:1px solid var(--border-on-navy);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,0.03);
}
.sq-contrast-not{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:var(--text-on-navy-dim);
  margin-bottom:12px;
}
.sq-contrast-not svg{width:12px;height:12px;color:var(--danger);}
.sq-contrast h3{font-size:1rem;font-weight:700;margin:0 0 8px;color:#fff;}
.sq-contrast p{font-size:0.88rem;line-height:1.55;color:var(--text-on-navy-dim);}

/* ===================== Capabilities ===================== */
.sq-capabilities{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
.sq-cap{
  padding:26px 24px;
  background:var(--background);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  transition:transform .15s ease, box-shadow .15s ease;
}
.sq-cap:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);}
.sq-cap-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:12px;
  background:var(--brand-primary-soft);
  color:var(--brand-primary);
  margin-bottom:16px;
}
.sq-cap-icon svg{width:21px;height:21px;}
.sq-cap h3{font-size:1rem;font-weight:700;margin:0 0 6px;}
.sq-cap p{font-size:0.88rem;line-height:1.5;color:var(--text-secondary);}

/* ===================== FAQ ===================== */
.sq-faq{
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.sq-faq-list{
  max-width:720px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}
.sq-faq-item{border-bottom:1px solid var(--border);}
.sq-faq-item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 4px;
  font-size:0.98rem;
  font-weight:600;
  color:var(--text-primary);
  cursor:pointer;
  list-style:none;
}
.sq-faq-item summary::-webkit-details-marker{display:none;}
.sq-faq-item summary svg{
  width:18px;height:18px;
  flex-shrink:0;
  color:var(--text-tertiary);
  transition:transform .15s ease;
}
.sq-faq-item[open] summary svg{transform:rotate(45deg);}
.sq-faq-item p{
  padding:0 4px 20px;
  max-width:620px;
  font-size:0.92rem;
  line-height:1.6;
  color:var(--text-secondary);
}

/* ===================== Try it ===================== */
.sq-cta{text-align:center;}
.sq-cta-inner{max-width:560px;margin:0 auto;}
.sq-cta h2{
  font-size:clamp(1.7rem, 3vw, 2.2rem);
  font-weight:800;
  letter-spacing:-0.03em;
  margin:0 0 14px;
}
.sq-cta p{font-size:1rem;color:var(--text-secondary);margin-bottom:28px;}
.sq-cta .domain-scanner{max-width:520px;margin:0 auto;}
.sq-cta .field-row{padding:8px;}
.sq-cta .field-row input{font-size:1.02rem;}
.sq-cta-secondary{margin-top:16px;font-size:0.9rem;color:var(--text-tertiary);}
.sq-cta-secondary a{font-weight:600;color:var(--brand-primary);}

/* ===================== Responsive ===================== */
@media (max-width: 900px){
  .sq-capabilities{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width: 860px){
  .sq-steps{grid-template-columns:1fr;gap:28px;}
  .sq-contrasts{grid-template-columns:1fr;}
  .sq-capabilities{grid-template-columns:1fr;}
}
@media (max-width: 560px){
  .sq-m-split{grid-template-columns:1fr;}
}

@media (prefers-reduced-motion: reduce){
  .sq-cap{transition:none;}
  .sq-cap:hover{transform:none;}
}
