/* ==========================================================================
   Trishant Global Services: "agents at work". Dark by default, light optional.
   Same type system as Resume Tailor; parent-brand accent is signal blue.
   ========================================================================== */
@font-face{font-family:"Bricolage Grotesque";font-weight:600;font-display:swap;src:url(fonts/bricolage-grotesque-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-weight:800;font-display:swap;src:url(fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-weight:400;font-display:swap;src:url(fonts/instrument-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-weight:500;font-display:swap;src:url(fonts/instrument-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-weight:600;font-display:swap;src:url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-display:swap;src:url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2")}

:root{
  --f-display:"Bricolage Grotesque",ui-sans-serif,system-ui,sans-serif;
  --f-body:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
  --radius:16px;
  --rt-yellow:#F6D84A; --rt-ink:#1B1A10;     /* Resume Tailor's own accent, used only on its card */
}
:root,[data-theme="dark"]{
  color-scheme:dark;
  --bg:#10182B; --glow:#1D2B52;
  --surface:#172038; --surface-2:#1E2944; --input:#121A2F;
  --line:#2A3756; --line-soft:#222E4B;
  --text:#EAE7DF; --muted:#9AA4BB;
  --accent:#4C9BFF; --accent-hover:#6AADFF; --accent-ink:#06142B; --accent-soft:rgba(76,155,255,.14); --accent-line:rgba(76,155,255,.45);
  --ok:#5BD6A0; --ok-soft:rgba(91,214,160,.14); --ok-line:rgba(91,214,160,.42);
  --warn:#F2B25C; --danger:#F28B91; --danger-soft:rgba(240,113,120,.14);
  --shadow:0 22px 48px -28px rgba(0,0,0,.75);
}
[data-theme="light"]{
  color-scheme:light;
  --bg:#F4F6FB; --glow:#E3EAF8;
  --surface:#FFFFFF; --surface-2:#EEF1F8; --input:#FAFBFE;
  --line:#D8DEEC; --line-soft:#E5E9F2;
  --text:#121A2C; --muted:#56607A;
  --accent:#1F6FE0; --accent-hover:#1A5FC2; --accent-ink:#FFFFFF; --accent-soft:#E6F0FE; --accent-line:#A9C8F5;
  --ok:#0F8458; --ok-soft:#E1F4EB; --ok-line:#A7DCC3;
  --warn:#9A5600; --danger:#B42318; --danger-soft:#FDE6E3;
  --shadow:0 18px 40px -26px rgba(18,26,44,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.6 var(--f-body);-webkit-font-smoothing:antialiased;
  background-image:radial-gradient(1000px 480px at 82% -160px,var(--glow),transparent 70%)}
.wrap{max-width:1180px;margin:0 auto;padding-left:24px;padding-right:24px}
a{color:var(--accent)}
h1,h2,h3{font-family:var(--f-display);font-weight:600;letter-spacing:-.015em;margin:0;line-height:1.15}
p{margin:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--accent);color:var(--accent-ink);padding:8px 14px;border-radius:8px;z-index:30;font-weight:600}
.skip:focus{left:12px}
.muted{color:var(--muted)}
section[id]{scroll-margin-top:84px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:11px;padding:12px 20px;font:600 15px var(--f-body);cursor:pointer;text-decoration:none;transition:background-color .15s,border-color .15s}
.btn.primary{background:var(--accent);color:var(--accent-ink)}
.btn.primary:hover{background:var(--accent-hover)}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--muted);background:var(--surface-2)}
.btn.small{padding:8px 14px;font-size:14px;border-radius:9px}
.btn:disabled{opacity:.6;cursor:wait}
.btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Top bar ---------- */
.bar{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line-soft)}
.bar-inner{display:flex;align-items:center;gap:18px;height:66px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--text);margin-right:auto}
.brand img,.brand svg{width:36px;height:36px;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-text b{font:800 19px var(--f-display);letter-spacing:-.02em}
.brand-text span{font-size:11.5px;color:var(--muted);font-weight:500;letter-spacing:.01em}
.nav{display:flex;gap:2px}
.nav a{color:var(--muted);text-decoration:none;font-size:14.5px;font-weight:500;padding:8px 12px;border-radius:9px}
.nav a:hover{color:var(--text);background:var(--surface)}
.theme-toggle{display:inline-grid;place-items:center;width:40px;height:40px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:11px;cursor:pointer}
.theme-toggle:hover{border-color:var(--muted)}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[data-theme="dark"] .i-moon,[data-theme="light"] .i-sun{display:none}

/* ---------- Hero ---------- */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;padding-top:72px;padding-bottom:72px}
.hero h1{font-weight:800;font-size:clamp(2.5rem,5.4vw,4.1rem);line-height:1.02;letter-spacing:-.035em;max-width:14ch}
.lede{font-size:1.14rem;color:var(--muted);max-width:56ch;margin:24px 0 30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.facts{list-style:none;padding:0;margin:32px 0 0;display:flex;flex-wrap:wrap;gap:10px 24px;color:var(--muted);font-size:14.5px}
.facts li{display:flex;align-items:center;gap:8px}
.facts svg{width:18px;height:18px;fill:none;stroke:var(--ok);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Agent console (the hero's one animated moment) */
.console{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.console-head{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line-soft);background:var(--surface-2);font-size:13.5px;color:var(--muted)}
.console-head b{color:var(--text);font-weight:600}
.dots{display:flex;gap:6px;margin-right:4px}
.dots i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.console-state{margin-left:auto;font-size:12.5px;padding:2px 10px;border-radius:99px;background:var(--accent-soft);color:var(--accent);font-weight:600}
.console-state.is-done{background:var(--ok-soft);color:var(--ok)}
.console ol{list-style:none;margin:0;padding:14px 16px 18px;font:400 13.5px/1.5 var(--f-mono)}
.console li{display:grid;grid-template-columns:22px 92px 1fr;gap:8px;align-items:start;padding:7px 0;border-bottom:1px dashed var(--line-soft)}
.console li:last-child{border-bottom:0}
.console .who{color:var(--muted)}
.console .tick{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--ok-soft);color:var(--ok);font-size:11px;margin-top:1px}
.console .spin{background:var(--accent-soft);color:var(--accent)}
.console li.pending{opacity:0;transform:translateY(4px)}
.console li.show{opacity:1;transform:none;transition:opacity .35s,transform .35s}
.console .final{color:var(--ok)}

/* ---------- Section heads ---------- */
.section{padding-top:72px;padding-bottom:72px;border-top:1px solid var(--line-soft)}
.s-head{display:grid;grid-template-columns:1fr 1fr;gap:24px 56px;align-items:end;margin-bottom:36px}
.s-head h2{font-weight:800;font-size:clamp(1.9rem,3.6vw,2.7rem);letter-spacing:-.03em;max-width:18ch}
.s-head p{color:var(--muted);max-width:56ch}

/* ---------- Services ---------- */
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin:0}
.pillars>div{border-top:2px solid var(--line);padding-top:18px}
.pillars>div:first-child{border-top-color:var(--accent)}
.pillars svg{width:30px;height:30px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:12px}
.pillars dt{font:600 1.12rem var(--f-display);margin-bottom:8px}
.pillars dd{margin:0;color:var(--muted);font-size:15px;line-height:1.65}

/* ---------- Products ---------- */
.products{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:auto auto;gap:18px}
.product{position:relative;display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.product h3{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.product p{color:var(--muted)}
.product .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.status{font:600 12px var(--f-body);padding:3px 10px;border-radius:99px}
.status.live{background:var(--ok-soft);color:var(--ok)}
.status.soon{background:var(--accent-soft);color:var(--accent)}
.p-rt{grid-row:1/3}
.p-rt .shot{border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:1200/630;background:#121A2E}
.p-rt .shot img{display:block;width:100%;height:100%;object-fit:cover}
.p-rt .rt-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#1F2A45}
.p-rt .btn.primary{background:var(--rt-yellow);color:var(--rt-ink)}
.p-rt .btn.primary:hover{filter:brightness(.95)}
.p-rt ul{margin:0;padding-left:18px;color:var(--muted);font-size:15px}
.p-cfo .glyph,.p-more .glyph{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);border:1px solid var(--accent-line)}
.p-cfo .glyph svg,.p-more .glyph svg{width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p-more{background:transparent;border-style:dashed;box-shadow:none}

/* ---------- Agentic payments ---------- */
.pay{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.pay-points{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-direction:column;gap:16px}
.pay-points li{display:grid;grid-template-columns:26px 1fr;gap:12px}
.pay-points svg{width:22px;height:22px;fill:none;stroke:var(--ok);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.pay-points b{display:block;font-weight:600}
.pay-points span{color:var(--muted);font-size:15px}
.demo{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.demo-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;background:var(--surface-2);border-bottom:1px solid var(--line-soft);font-size:13.5px}
.demo-head b{font-weight:600}
.demo-tag{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:2px 10px}
.demo-body{padding:20px 20px 22px}
.req{display:flex;gap:14px;align-items:flex-start}
.agent-ava{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);border:1px solid var(--accent-line);flex:none}
.agent-ava svg{width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.req-text{font-size:15px}
.req-text small{display:block;color:var(--muted);font-size:13px}
.req dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:16px 0 0;font-size:14.5px}
.req dt{color:var(--muted)}
.req dd{margin:0;font-weight:500}
.amount{font:800 1.9rem var(--f-display);letter-spacing:-.02em;margin:16px 0 4px;font-variant-numeric:tabular-nums}
.limit{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;margin:6px 0 4px}
.limit i{display:block;height:100%;background:var(--accent);border-radius:99px}
.limit-txt{font-size:13px;color:var(--muted)}
.demo-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.demo-steps{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:9px;font-size:14.5px}
.demo-steps li{display:flex;align-items:center;gap:10px;color:var(--muted)}
.demo-steps li.ok{color:var(--text)}
.demo-steps .ic{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--surface-2);font-size:12px}
.demo-steps li.ok .ic{background:var(--ok-soft);color:var(--ok)}
.demo-steps li.run .ic{background:var(--accent-soft);color:var(--accent)}
.demo-result{margin-top:16px;padding:14px 16px;border-radius:12px;font-size:14.5px}
.demo-result.ok{background:var(--ok-soft);border:1px solid var(--ok-line)}
.demo-result.no{background:var(--danger-soft);border:1px solid color-mix(in srgb,var(--danger) 40%,transparent)}
.demo-result code{font-family:var(--f-mono);font-size:13px}

/* ---------- Process ---------- */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:s}
.steps li{position:relative;padding:22px 20px 22px;background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius)}
.steps .n{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--accent);color:var(--accent-ink);font:700 15px var(--f-body);margin-bottom:14px}
.steps h3{font-size:1.12rem;margin-bottom:8px}
.steps p{color:var(--muted);font-size:15px}

/* ---------- Enquiry ---------- */
.enq{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:start}
.enq-side h2{font-weight:800;font-size:clamp(1.9rem,3.6vw,2.7rem);letter-spacing:-.03em}
.enq-side p{color:var(--muted);margin-top:16px}
.contact-list{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-direction:column;gap:12px}
.contact-list a{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;padding:14px 16px;border:1px solid var(--line-soft);border-radius:12px;background:var(--surface)}
.contact-list a:hover{border-color:var(--accent-line)}
.contact-list svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.contact-list small{display:block;color:var(--muted);font-size:12.5px}
.form{background:var(--surface);border:1px solid var(--line-soft);border-radius:18px;padding:26px;box-shadow:var(--shadow)}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500;color:var(--muted)}
.field.full{grid-column:1/-1}
.field .opt{font-weight:400}
.field input,.field select,.field textarea{font:inherit;font-weight:400;color:var(--text);background:var(--input);border:1px solid var(--line);border-radius:11px;padding:12px 13px;width:100%}
.field textarea{min-height:140px;resize:vertical;line-height:1.55}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--danger)}
.err{color:var(--danger);font-size:13px;font-weight:500;min-height:0}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted);margin-top:16px}
.consent input{margin-top:4px;accent-color:var(--accent);width:16px;height:16px;flex:none}
.hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.form-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px}
.form-foot .muted{font-size:13px}
.form-msg{margin-top:16px;padding:14px 16px;border-radius:12px;font-size:15px}
.form-msg.ok{background:var(--ok-soft);border:1px solid var(--ok-line)}
.form-msg.bad{background:var(--danger-soft);border:1px solid color-mix(in srgb,var(--danger) 40%,transparent)}
.done{text-align:center;padding:30px 10px}
.done .big-tick{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;background:var(--ok-soft);border:1px solid var(--ok-line)}
.done .big-tick svg{width:28px;height:28px;fill:none;stroke:var(--ok);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.done h3{font-size:1.5rem;margin-bottom:8px}
.done p{color:var(--muted);max-width:46ch;margin:0 auto 18px}

/* ---------- Footer ---------- */
.foot{border-top:1px solid var(--line-soft);padding-top:40px;padding-bottom:48px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px;font-size:14.5px}
.foot p{color:var(--muted);margin-top:12px;max-width:40ch}
.foot h3{font:600 14px var(--f-body);color:var(--text);margin-bottom:10px}
.foot ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:7px}
.foot a{color:var(--muted);text-decoration:none}
.foot a:hover{color:var(--text)}
.copy{grid-column:1/-1;color:var(--muted);font-size:13px;border-top:1px solid var(--line-soft);padding-top:18px}

/* ---------- Simple content page (privacy) and admin ---------- */
.page{max-width:780px;padding-top:56px;padding-bottom:72px}
.page h1{font-weight:800;font-size:clamp(2rem,4vw,2.8rem);letter-spacing:-.03em;margin-bottom:10px}
.page h2{font-size:1.25rem;margin:30px 0 8px}
.page p,.page li{color:var(--muted)}
.page p+p{margin-top:12px}

/* ---------- Responsive & motion ---------- */
@media (max-width:1000px){
  .hero,.pay,.enq{grid-template-columns:1fr;gap:40px}
  .pillars{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .products{grid-template-columns:1fr}
  .p-rt{grid-row:auto}
  .s-head{grid-template-columns:1fr}
}
@media (max-width:760px){
  .nav{display:none}
  .foot{grid-template-columns:1fr 1fr}
  .foot>div:first-child{grid-column:1/-1}
}
@media (max-width:560px){
  .wrap{padding-left:16px;padding-right:16px}
  .hero{padding-top:44px;padding-bottom:48px}
  .section{padding-top:52px;padding-bottom:52px}
  .pillars,.steps,.fgrid{grid-template-columns:1fr}
  .brand-text span{display:none}
  .form,.product{padding:20px}
  .console li{grid-template-columns:22px 1fr}
  .console .who{display:none}
  .bar-inner .btn.small{padding:8px 12px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .console li.pending{opacity:1;transform:none}
  .btn{transition:none}
}
