/* ==========================================================================
   DCT — AI Practice landing page
   Header and footer are intentionally out of scope.
   ========================================================================== */

:root{
  /* ---- DCT Design System v1 ---- */
  /* Type: DM Sans only. Emphasis via weight, never italic. */
  --font-sans:"DM Sans","Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --weight-regular:400;
  --weight-medium:500;
  --weight-semibold:600;
  --weight-bold:700;

  /* Signature brand ramp — the identity. #FB572B -> #CF4A6F -> #823790 -> #5C2C9D */
  --brand-1:#FB572B;   /* orange, flame start */
  --brand-2:#CF4A6F;   /* rose */
  --brand-3:#823790;   /* magenta-violet */
  --brand-4:#5C2C9D;   /* deep violet, end */
  --brand-1-strong:#E04519;
  --brand-4-strong:#4A2380;  /* interactive / link ink */

  --gradient-brand:linear-gradient(90deg,#FB572B 0%,#CF4A6F 38%,#823790 68%,#5C2C9D 100%);
  --gradient-text:linear-gradient(92deg,#FB572B 0%,#CF4A6F 40%,#823790 70%,#5C2C9D 100%);

  /* Legacy aliases from the first pass, repointed onto the ramp so every
     existing rule inherits the real brand without being rewritten. */
  --orange:var(--brand-1);
  --orange-2:var(--brand-1);
  --pink:var(--brand-2);
  --purple:var(--brand-3);
  --violet:var(--brand-4);
  --violet-2:var(--brand-4-strong);

  /* ink ramp */
  --ink-strong:#100C16;
  --ink:#1A1720;
  --ink-2:#34303A;
  --muted:#57525F;
  --muted-2:#78737F;

  /* surface */
  --bg:#FFFFFF;
  --bg-grey:#F5F3F6;
  --line:#E6E3EA;
  --line-2:#EFEDF2;

  /* shape — radius contrast (32px gradient cards vs 16px white cards)
     is the signature; buttons are always fully pilled. */
  --radius:16px;
  --radius-lg:24px;
  --radius-hero:32px;
  --radius-full:9999px;

  --header-h:76px;   /* space the site header will occupy above the hero */
  --wrap:1240px;
  --pad:24px;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,p{margin:0}
button{font:inherit;color:inherit}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  padding:12px 18px;background:var(--ink);color:#fff;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}

:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:4px}

/* ---------------------------------------------------------------- layout -- */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
.wrap--narrow{max-width:860px}

.section{padding:96px 0}
.section--tight{padding-top:72px}
.section--grey{background:var(--bg-grey);padding:96px 0}
.section--center{text-align:center}

.mt-40{margin-top:40px}
.mt-48{margin-top:48px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.split__body{color:var(--muted);font-size:15.5px;display:grid;gap:18px}
.split__body--top{align-self:start;padding-top:8px}
.split__body strong{color:var(--ink);font-weight:600}

.grid{display:grid;gap:22px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}

/* ------------------------------------------------------------ typography -- */
.eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:20px;
}
.hero .eyebrow{margin-bottom:clamp(10px,2vh,20px)}
.eyebrow::before{content:"";width:26px;height:2px;background:currentColor;border-radius:2px}
.eyebrow--violet{color:var(--brand-4-strong)}
.eyebrow--orange{color:var(--brand-1-strong)}
.eyebrow--center{justify-content:center}

.h2{
  font-size:clamp(28px,3.4vw,42px) !important;
  line-height:1.14 !important;
  letter-spacing:-.03em !important;
  font-weight:700 !important;
  font-family: "DM Sans", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.h2--wide{max-width:20ch !important}
.h2--center{max-width:none !important}

.lede{margin-top:20px;color:var(--muted);font-size:15.5px;max-width:66ch}
.prose{margin-top:22px;color:var(--muted);font-size:15.5px;line-height:1.75}

.c-orange{color:var(--orange-2)}
.c-violet{color:var(--violet)}

.grad{
  background-image:var(--gradient-text);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
}
/* One signature ramp — all headline highlights flow the same four stops. */
.grad--warm{background-image:var(--gradient-text)}
.grad--tri{background-image:var(--gradient-text)}
.grad--muted{background-image:linear-gradient(92deg,var(--muted-2) 0%,var(--brand-3) 60%,var(--brand-4) 100%)}

/* ---------------------------------------------------------------- buttons -- */
/* Per the design system: always fully pilled, DM Sans 14/1.4 semibold.
   Black-pill `dark` is the dominant CTA; squared corners are never used. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:11px 24px;                       /* md */
  border-radius:var(--radius-full);
  font-family:var(--font-sans);
  font-size:14px;line-height:1.4;
  font-weight:var(--weight-semibold);
  text-decoration:none;white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  cursor:pointer;border:1px solid transparent;box-sizing:border-box;
}
.btn--lg{padding:14px 28px;font-size:16px}
.btn:hover{transform:translateY(-2px)}
.btn--dark{background:var(--ink);color:#fff !important;margin-top:52px}
.btn--dark:hover{box-shadow:0 12px 28px rgba(26,23,32,.25) !important; background-color: #000 !important;}
.btn--outline{background:transparent;color:var(--ink);border-color:var(--ink);margin-top:40px}
.btn--outline:hover{background:var(--ink);color:#fff}
.btn--white{background:#fff;color:var(--ink)}
.btn--ghost{background:transparent;color:#fff !important;border-color:rgba(255,255,255,.4)}
.btn--ghost:hover{border-color:#fff}

.arrow-link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:600 !important;text-decoration:none;
  margin-top:auto;padding-top:18px;
  color: #ffffff !important;
}
.arrow-link i,.arrow-link svg{width:15px !important;height:15px !important;transition:transform .18s ease}
.arrow-link:hover svg{transform:translateX(4px)}
.arrow-link--violet{color:var(--violet) !important}
.arrow-link--purple{color:var(--purple) !important}
.arrow-link--orange{color:var(--orange-2) !important}
.arrow-link--pink{color:var(--pink) !important}
.arrow-link--light{color:#fff !important !important}

/* ------------------------------------------------------------------ hero -- */
/* The hero owns exactly one fold: the viewport minus the header. Content is
   centred in it, so the fold holds copy + the Ask AI panel without scrolling.
   svh (not vh) so mobile browser chrome doesn't push the panel out of view. */
.hero{
  position:relative;overflow:hidden;background:#fff;
  min-height:calc(100svh - var(--header-h));
  display:flex;align-items:center;
  padding:clamp(20px,3.4vh,40px) 0 clamp(22px,4vh,44px);
}
/* The mesh lives in the right half only — it must never crowd the headline.
   Faded at the left edge so it dissolves toward the copy instead of stopping. */
.hero__net{
  /* Width is explicit, not auto: <canvas> is a replaced element, so width:auto
     resolves to its intrinsic (attribute) width and `right` is ignored, which
     feeds back into sizing and inflates the canvas past the viewport. */
  position:absolute;top:0;right:0;bottom:0;
  width:58%;height:100%;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 14%,#000 34%);
          mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.65) 14%,#000 34%);
}
.hero__inner{position:relative;width:100%}
.hero__copy{max-width:80%}

.hero__title{
  /* DS display-lg: 56px / 1.10 / -1.5px. This headline is display-lg, not the
     80px hero-display role — 80px over four lines cannot share the fold with
     the Ask AI panel. The 1.10 leading is kept at every size. */
  /* Scales with viewport HEIGHT as well as width: this headline shares the
     fold with the Ask AI panel, so on a short laptop screen the limit is
     vertical, not horizontal. min() takes whichever is the tighter constraint. */
  /*font-size:clamp(30px,min(4vw,5vh),56px)  !important; */
  font-size: clamp(40px, 5.4vw, 72px)  !important;
      line-height: 1.05  !important;
    letter-spacing: -2px;
  /*line-height:1.1  !important;
  letter-spacing:-1.5px;*/
  font-weight:var(--weight-semibold)  !important;
  margin-bottom:clamp(12px,2vh,18px);
}
.hero__lede{color:var(--muted);font-size:clamp(14px,1.9vh,16px);/* max-width:44ch */}

/* The Ask AI SDK injects its panel here. Reserve its height up front: the
   script is deferred and referer-gated, so the box is empty until it lands —
   without a reservation the hero collapses and the panel shoves the fold
   down when it renders. */
.ask-ai-widget{margin-top:clamp(14px,2.6vh,30px);min-height:268px}

/* The Ask DCT AI panel is rendered by the SDK into .ask-ai-widget and styles
   itself inside a shadow root, so it needs no CSS here. We only own its
   placement in the hero. */
.ask-ai-widget{margin-top:56px}
@media (max-width:680px){ .ask-ai-widget{margin-top:36px} }

/* ------------------------------------------------------------------ rail -- */
.rail{
  margin-top:56px;padding:44px 40px;
  border:1px solid var(--line);border-radius:var(--radius);background:#fff;
}
.rail__track{display:flex;align-items:flex-start}
.rail__step{position:relative;display:flex;flex-direction:column;align-items:center;flex:none;text-align:center}
.rail__gap{position:relative;flex:1;height:14px;margin-top:7px;display:flex;justify-content:center}
.rail__gap::before{
  content:"";position:absolute;top:50%;left:0;right:0;height:2px;
  background:var(--line-2);transform:translateY(-50%);
}
.rail__cap{
  position:absolute;top:-30px;
  font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);
  background:#fff;padding:0 8px;white-space:nowrap;
}
.rail__dot{width:15px;height:15px;border-radius:50%;border:2.5px solid var(--line-2);background:#fff;position:relative;z-index:1}
.rail__dot--grey{border-color:#B9BEC9}
.rail__dot--violet{border-color:var(--violet)}
.rail__dot--purple{border-color:var(--purple)}
.rail__dot--orange{border-color:var(--orange-2)}
.rail__dot--orange-fill{background:var(--orange-2);border-color:var(--orange-2);margin-right:6px}
.rail__dot--black{
  background:var(--ink);border-color:var(--ink);
  box-shadow:inset 0 0 0 3px var(--ink),inset 0 0 0 5px #fff;
}
.rail__step:nth-child(7){flex-direction:row;align-items:center}
.rail__step:nth-child(7) .rail__label{position:absolute;top:26px;left:50%;transform:translateX(-50%)}
.rail__label{margin-top:14px;font-size:14px;font-weight:600;white-space:nowrap}

/* ------------------------------------------------------------------ card -- */
.card{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.card:hover{border-color:var(--line-2);box-shadow:0 14px 40px rgba(16,20,30,.07);transform:translateY(-2px)}
.card__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.card__title{font-size:17px !important;font-weight:600 !important;letter-spacing:-.01em !important;margin-bottom:10px !important}
.card__text{color:var(--muted);font-size:13.5px;line-height:1.7}
/* Trust renders are centred subjects on white with baked-in text, so they are
   contained, not cropped. Box stays white so the letterboxing is invisible. */
.card__media{margin:22px 0 0;border-radius:12px;overflow:hidden;background:#fff}
.card__media img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain}
/* Trust copy varies in length; give the slack to the image so all three
   media boxes line up across the row, and let the link follow it. */
.card--trust .card__media{margin-top:auto;padding-top:22px}
.card--trust .arrow-link{margin-top:0}

.ico{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;flex:none;border-radius:11px;
}
.ico svg{width:19px;height:19px}
.ico--violet{background:#F1EDFE;color:var(--violet)}
.ico--purple{background:#F9EDFB;color:var(--purple)}
.ico--orange{background:#FEEEE9;color:var(--orange-2)}
.ico--pink{background:#FDEDF3;color:var(--pink)}

.pill{
  padding:5px 11px;border-radius:999px;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
}
.pill--violet{background:#F1EDFE;color:var(--violet)}
.pill--purple{background:#F9EDFB;color:var(--purple)}
.pill--orange{background:#FEEEE9;color:var(--orange-2)}

/* ----------------------------------------------------------------- agent -- */
.agent{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;
  min-height:290px;padding:22px;border-radius:var(--radius);color:#fff;
  transition:transform .2s ease,box-shadow .2s ease;
}
.agent:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(16,20,30,.2)}
.agent__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.agent__ico{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;flex:none;border-radius:11px;
  background:rgba(255,255,255,.18);
}
.agent__ico svg{width:19px;height:19px}
.agent__tag{
  padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.18);
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;
}
.agent__kicker{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;opacity:.82}
.agent__name{color: #ffffff !important;font-size:27px !important;font-weight:700 !important;letter-spacing:-.02em !important;line-height:1.15 !important;margin:2px 0 10px !important}
.agent__name sup{font-size:.42em;top:-.9em;position:relative;font-weight:500}
.agent__text{font-size:12.5px;line-height:1.65;opacity:.94}

.agent--forge   {background:linear-gradient(150deg,#823790 0%,#6E3196 100%)}
.agent--sage    {background:linear-gradient(150deg,#5C2C9D 0%,#7A4BC0 100%)}
.agent--flow    {background:linear-gradient(150deg,#FF7A4D 0%,#FB572B 100%)}
.agent--pulse   {background:linear-gradient(150deg,#E8628C 0%,#CF4A6F 100%)}
.agent--observe {background:linear-gradient(150deg,#FB572B 0%,#C93A18 100%)}
.agent--index   {background:linear-gradient(150deg,#CF4A6F 0%,#A32F52 100%)}
.agent--guardian{background:linear-gradient(150deg,#9B54AC 0%,#823790 100%)}
.agent--nexus   {background:linear-gradient(150deg,#5C2C9D 0%,#3F1C73 100%)}
.agent--vault   {background:linear-gradient(150deg,#F4551F 0%,#EC2127 100%)}

/* ----------------------------------------------------------------- steps -- */
.steps{
  display:grid;grid-template-columns:repeat(5,1fr);gap:24px;
  margin-top:56px;position:relative;
}
.step{position:relative;padding-top:44px}
.step::before{
  content:"";position:absolute;top:17px;left:34px;right:-24px;height:2px;
  background:linear-gradient(90deg,var(--violet),var(--orange-2));
}
.step:last-child::before{display:none}
.step__num{
  position:absolute;top:0;left:0;
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;background:#fff;
  border:2px solid currentColor;
  font-size:11px;font-weight:600;letter-spacing:.04em;
  z-index:1;
}
.step__num--violet{color:var(--violet)}
.step__num--pink{color:var(--pink)}
.step__num--purple{color:var(--purple)}
.step__num--red{color:var(--orange)}
.step__num--orange{color:var(--orange-2)}
.step__title{font-size:16px !important;font-weight:600 !important;margin-bottom:8px !important}
.step__text{color:var(--muted);font-size:13px;line-height:1.65}

/* ------------------------------------------------------------------ case -- */
.case{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.case:hover{border-color:var(--line-2);box-shadow:0 14px 40px rgba(16,20,30,.07);transform:translateY(-2px)}
.case__tag{
  display:flex;align-items:center;gap:8px;
  font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:12px;
}
.case__tag .dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.case__tag--violet{color:var(--violet)}
.case__tag--orange{color:var(--orange-2)}
.case__tag--pink{color:var(--pink)}
.case__tag--purple{color:var(--purple)}
.case__title{font-size:18px !important;font-weight:600 !important;letter-spacing:-.015em !important;margin-bottom:16px !important}
.case__solution{font-size:12.5px;color:var(--muted);margin:-10px 0 14px}

.ticks{display:grid;gap:9px;margin-bottom:20px}
.ticks li{
  position:relative;padding-left:24px;
  font-size:13px;color:var(--ink-2);line-height:1.5;
}
.ticks li::before{
  content:"";position:absolute;left:0;top:3px;width:14px;height:9px;
  border-left:2px solid var(--violet);border-bottom:2px solid var(--violet);
  transform:rotate(-45deg);border-radius:1px;
}
.ticks--orange li::before{border-color:var(--orange-2)}
.ticks--pink li::before{border-color:var(--pink)}
.ticks--purple li::before{border-color:var(--purple)}

.case__impact-label{
  padding-top:18px;border-top:1px solid var(--line);
  font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);
  margin-bottom:8px;
}
.case__impact{color:var(--muted);font-size:13px;line-height:1.65}

/* -------------------------------------------------------------- industry -- */
.ind{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.ind:hover{border-color:var(--line-2);box-shadow:0 14px 40px rgba(16,20,30,.07);transform:translateY(-2px)}
.ind__title{font-size:16.5px !important;font-weight:600 !important;margin:20px 0 8px}
.ind__text{color:var(--muted);font-size:13px;line-height:1.65}

/* ------------------------------------------------------------------- why -- */
.why{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.why:hover{border-color:var(--line-2);box-shadow:0 14px 40px rgba(16,20,30,.07);transform:translateY(-2px)}
.why__title{font-size:16px !important;font-weight:600 !important;margin:20px 0 8px}
.why__text{color:var(--muted);font-size:13px;line-height:1.65}
.why--dark{background:var(--ink);border-color:var(--ink);justify-content:space-between}
.why--dark:hover{border-color:var(--ink)}
.why--dark .why__title{color:#fff;font-size:17px;line-height:1.45;margin-top:0}

/* ------------------------------------------------------------------- cta -- */
.cta{position:relative;overflow:hidden;background:#0B0A10;color:#fff;padding:120px 0;text-align:center}
.cta__net{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.cta__inner{position:relative}
.cta__badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 15px;border-radius:999px;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
}
.cta__badge .dot{width:6px;height:6px;border-radius:50%;background:var(--orange-2)}
.cta__title{
  font-family: "DM Sans", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  margin:26px 0 18px !important;
  color: #ffffff !important;
  font-size:clamp(28px,4vw,48px) !important;line-height:1.14 !important;letter-spacing:-.03em !important;font-weight:700 !important;
}
.cta__lede{color:rgba(255,255,255,.66);font-size:15.5px;max-width:60ch;margin-inline:auto}
.cta__actions{display:flex;justify-content:center;gap:14px;margin-top:36px;flex-wrap:wrap}

/* =========================== RESPONSIVE =========================== */
@media (max-width:1080px){
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr);gap:32px}
  .step::before{display:none}
  .rail{padding:36px 24px;overflow-x:auto}
  .rail__track{min-width:820px}
}

@media (max-width:900px){
  .section,.section--grey{padding:72px 0}
  .split{grid-template-columns:1fr;gap:28px;align-items:start}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .hero{padding:64px 0 56px}
}

@media (max-width:680px){
  :root{--pad:18px}
  .section,.section--grey{padding:56px 0}
  .grid--3,.grid--4{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:26px}
  .hero{padding:48px 0 44px}
  .hero__title{font-size:clamp(30px,8vw,40px);letter-spacing:-1px}
  .card__media img{aspect-ratio:4/3}
  .agent{min-height:250px}
  .btn{width:100%}
  .cta{padding:80px 0}
  .cta__actions{flex-direction:column}
  .rail{padding:30px 16px}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
