/* =====================================================================
   Paytools — AI-assisted payroll page
   Shared tokens + fonts come from home.css; this file is page-specific.
   Section-based page (no storyboard carousel) — mirrors the tone of
   payroll-processing.css / governance.css without the beat spine.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --accent: #5A45DE;
  --lav: #CEC2EF;
  --paper: #F1E8E2;
  --paper-alt: #FCFAF8;
  --ink: #1A1613;
  --ink-2: #2A2420;
  --ink-soft: #5A514A;
  --ink-mute: #8A8078;
  --border: #E6DBD2;
  --border-card: #ECE2DA;
  --green: #3E9A6D;
  --red: #B4452F;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Aeonik', 'General Sans', 'Hanken Grotesk', -apple-system, sans-serif;
  font-size: 18.4px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: 'Aeonik', 'General Sans', 'Hanken Grotesk', sans-serif; cursor: pointer; }

/* ============ NAVBAR ============ shared, see nav.css */

/* ============ HERO ============ */
.ai-hero { padding:clamp(48px,6vw,88px) 0 clamp(40px,5vw,72px); }
.ai-hero-inner { max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px); display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(28px,4vw,56px); align-items:center; }
.ai-hero-eyebrow { display:inline-flex; align-items:center; gap:9px; font-size:16px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:22px; }
.ai-hero-h1 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(32.4px,4.4vw,54.4px); line-height:1.08; letter-spacing:-.025em; margin:0; }
.ai-hero-sub { font-size:clamp(15.39px,1.81vw,18.43px); line-height:1.55; color:var(--ink-soft); margin:24px 0 0; max-width:52ch; }
.ai-hero-btns { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.ai-btn-primary { font-size:16.2px; font-weight:500; color:var(--paper); background:var(--accent); border:none; padding:15px 28px; border-radius:999px; transition:transform .18s,background-color .18s; display:inline-flex; align-items:center; text-decoration:none; }
.ai-btn-primary:hover { background:#4A37C8; transform:translateY(-2px); }
.ai-btn-ghost { font-size:16.2px; font-weight:500; color:var(--ink); background:transparent; border:1.5px solid #C9BBB0; padding:15px 28px; border-radius:999px; transition:transform .18s; display:inline-flex; align-items:center; text-decoration:none; }
.ai-btn-ghost:hover { transform:translateY(-2px); }
.ai-hero-mock { animation:none; }
/* Static hero: freeze the AI copilot mock's chat-cycling animation on this
   page (it still animates on the homepage where the component is shared). */
.ai-hero-mock .ptmock-home-ai .ai-r1,
.ai-hero-mock .ptmock-home-ai .ai-r2q,
.ai-hero-mock .ptmock-home-ai .ai-r2 { animation:none; max-height:none; opacity:1; }
@media (max-width: 900px) { .ai-hero-mock { display:none; } }

/* ============ CONTENT SECTIONS ============ */
.ai-section { padding:clamp(56px,7vw,96px) 0; background:var(--paper-alt); }
.ai-section--alt { background:var(--paper); }
.ai-eyebrow { font-size:16px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:16px; }
.ai-h2 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(28.1px,3.6vw,42.6px); line-height:1.08; letter-spacing:-.02em; margin:0 0 20px; }
.ai-body { font-size:18px; line-height:1.65; color:var(--ink-soft); margin:0 0 16px; max-width:66ch; }
.ai-body:last-child { margin-bottom:0; }

/* ============ ON YOUR TERMS ============ */
.ai-terms-inner {
  max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px);
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(32px,4.5vw,64px); align-items:center;
}
.ai-terms-graphic-wrap { display:flex; justify-content:center; }
.ai-terms-graphic {
  width:100%; max-width:390px; aspect-ratio:6/5.5;
  background:var(--paper-alt); border:1px solid var(--border); border-radius:20px;
  box-shadow:0 30px 60px -42px rgba(26,22,19,.32);
  display:flex; align-items:center; justify-content:center; padding:16px;
}
@media (max-width:820px) {
  .ai-terms-inner { grid-template-columns:1fr; }
  .ai-terms-graphic-wrap { order:-1; margin-bottom:4px; }
  .ai-terms-graphic { max-width:340px; }
}

/* ============ THE ARC — what's coming / catch / why paytools ============ */
.ai-arc { padding:clamp(64px,7vw,104px) 0; background:var(--paper-alt); }
.ai-arc-inner { max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px); }
.ai-arc-row { display:grid; grid-template-columns:44px 1fr; gap:clamp(20px,3vw,36px); }
.ai-arc-spine { display:flex; flex-direction:column; align-items:center; }
.ai-arc-num {
  width:44px; height:44px; border-radius:50%; flex:none;
  background:var(--ink); color:var(--paper-alt);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:15.4px;
}
.ai-arc-line { width:2px; flex:1; min-height:56px; margin:10px 0;
  background:repeating-linear-gradient(180deg, var(--border-card) 0 6px, transparent 6px 13px); }
.ai-arc-content {
  padding-bottom:clamp(52px,6.5vw,80px);
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,3.6vw,52px); align-items:center;
}
.ai-arc-row:last-child .ai-arc-content { padding-bottom:0; }
.ai-arc-eyebrow { font-size:14.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.ai-arc-h2 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(24.9px,2.9vw,35.4px); line-height:1.14; letter-spacing:-.02em; margin:0 0 15px; }
.ai-arc-body { font-size:16.2px; line-height:1.62; color:var(--ink-soft); margin:0 0 12px; max-width:54ch; }
.ai-arc-body:last-child { margin-bottom:0; }
.ai-arc-graphic-wrap { display:flex; justify-content:center; }
.ai-arc-graphic {
  width:100%; max-width:340px; aspect-ratio:4/3;
  background:var(--paper-alt); border:1px solid var(--border); border-radius:20px;
  box-shadow:0 30px 60px -42px rgba(26,22,19,.32);
  display:flex; align-items:center; justify-content:center; padding:18px;
}
@media (max-width:820px) {
  .ai-arc-content { grid-template-columns:1fr; }
  .ai-arc-graphic-wrap { order:-1; margin-bottom:4px; }
  .ai-arc-graphic { max-width:280px; }
}

/* ============ AVAILABLE NOW — items grid ============ */
.ai-items-inner { max-width:1080px; margin:0 auto; padding:0 clamp(20px,5vw,48px); }
.ai-items-intro { max-width:760px; margin-bottom:clamp(36px,4.5vw,52px); }
.ai-items-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,2.6vw,32px); }
.ai-item {
  background:var(--paper-alt); border:1px solid var(--border); border-radius:20px; padding:clamp(22px,2.6vw,30px);
  display:flex; flex-direction:column; gap:14px;
  font-family:ui-monospace,Menlo,monospace;
}
.ai-item-q-row { display:flex; justify-content:flex-end; }
.ai-item-q {
  max-width:88%; background:var(--lav); color:var(--ink);
  font-size:14.4px; line-height:1.55; padding:11px 15px; border-radius:14px 14px 4px 14px;
}
.ai-item-a-row { display:flex; justify-content:flex-start; }
.ai-item-a {
  max-width:88%; min-width:0; background:#FAF6F1; border:1px solid #E7DCD2;
  font-size:14.4px; line-height:1.6; color:var(--ink-soft);
  padding:11px 15px; border-radius:14px 14px 14px 4px;
}

/* ============ FINAL CTA ============ */
.ai-final { background:#15120F; color:#F1E8E2; padding:clamp(48px,5.5vw,80px) 0; position:relative; overflow:hidden; }
.ai-final-glow { position:absolute; left:-100px; bottom:-140px; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle,rgba(90,69,222,.22),transparent 70%); pointer-events:none; }
.ai-final-inner { max-width:900px; margin:0 auto; padding:0 clamp(20px,5vw,48px); text-align:center; position:relative; }
.ai-final-h2 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(30.78px,4.09vw,53.39px); line-height:1.04; letter-spacing:-.025em; margin:0 0 18px; }
.ai-final-sub { font-size:clamp(17.3px,2.1vw,21.6px); line-height:1.55; color:#C7BEB6; margin:0 auto 34px; max-width:48ch; }
.ai-final-actions { display:flex; flex-direction:column; gap:18px; justify-content:center; align-items:center; }
.ai-btn-final { font-size:16.7px; font-weight:500; color:#F1E8E2; background:var(--accent); border:none; padding:16px 32px; border-radius:999px; transition:transform .18s,background .18s; display:inline-flex; align-items:center; text-decoration:none; }
.ai-btn-final:hover { background:#4A37C8; transform:translateY(-2px); }
.ai-talk-team { font-size:16.2px; font-weight:600; color:#C7BEB6; text-decoration:none; transition:color .18s; }
.ai-talk-team:hover { color:#B6A9F5; }

/* ============ REST OF THE PLATFORM ============ */
.ai-other { background:var(--paper); padding:clamp(64px,8vw,104px) 0; }
.ai-other-inner { max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px); }
.ai-other-hdr { margin-bottom:clamp(32px,4vw,48px); }
.ai-other-eyebrow { font-size:16px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.ai-other-h2 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(28.1px,3.7vw,45.4px); line-height:1.05; letter-spacing:-.02em; margin:0; }
.ai-other-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.4vw,28px); }
.ai-other-card { display:flex; flex-direction:column; text-decoration:none; background:var(--paper-alt); border:1px solid var(--border); border-radius:22px; padding:clamp(28px,3vw,40px); transition:transform .2s,box-shadow .2s,border-color .2s; }
a.ai-other-card:hover { transform:translateY(-3px); box-shadow:0 30px 60px -42px rgba(26,22,19,.45); border-color:#D8CCC2; }
.ai-other-icon { width:56px; height:56px; border-radius:16px; background:var(--lav); color:#3A2E78; display:flex; align-items:center; justify-content:center; margin-bottom:22px; flex:none; }
.ai-other-tag { font-size:13px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.ai-other-card-h3 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:clamp(23.8px,2.6vw,30.2px); line-height:1.1; letter-spacing:-.02em; margin:0 0 14px; color:var(--ink); }
.ai-other-card-p { font-size:17.3px; line-height:1.6; color:var(--ink-soft); margin:0; }
.ai-other-link { display:inline-flex; align-items:center; gap:8px; margin-top:24px; font-size:16.2px; font-weight:600; color:var(--accent); }

/* ============ FOOTER (same as home) ============ */
.pt-footer { background:#15120F; color:#C7BEB6; padding:clamp(48px,6vw,80px) 0 0; }
.pt-footer-inner { max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px); display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:clamp(24px,3vw,48px); }
.pt-footer-tagline { font-size:15.1px; line-height:1.6; color:#8A8078; margin:16px 0 8px; max-width:28ch; }
.pt-footer-col-h { font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#A89E95; margin-bottom:16px; }
.pt-footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.pt-footer-col ul li a { font-size:15.1px; color:#8A8078; transition:color .15s; }
.pt-footer-col ul li a:hover { color:#C7BEB6; }
.pt-footer-bottom { max-width:1180px; margin:0 auto; padding:24px clamp(20px,5vw,48px); display:flex; align-items:center; justify-content:space-between; border-top:1px solid #2A2420; margin-top:clamp(40px,5vw,64px); font-size:14px; color:#8A8078; }
.pt-footer-bottom a { color:#8A8078; }
.pt-footer-bottom a:hover { color:#C7BEB6; }
.pt-footer-socials { display:flex; gap:10px; margin-top:20px; }
.pt-social-badge { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:8px; background:#2A2420; color:#8A8078; transition:background .15s,color .15s; }
.pt-social-badge:hover { background:#3A3430; color:#C7BEB6; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .ai-hero-inner { grid-template-columns: 1fr; }
  .ai-items-grid { grid-template-columns: 1fr; }
  .ai-other-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ai-other-grid { grid-template-columns: 1fr; }
  .pt-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pt-footer-inner { grid-template-columns: 1fr; }
}
