/* IntendSys — shared styles */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@600,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy: #14102B;
  --blue: #6D5DFC;
  --blue-soft: #EEEAFF;
  --emerald: #10B981;
  --emerald-soft: #E4F7EF;

  --ink: #14102B;
  --ink-soft: #534F70;
  --ink-faint: #9691B8;
  --paper: #FFFFFF;
  --panel: #F9F8FC;
  --panel-raised: #FFFFFF;
  --line: rgba(20,16,43,0.09);
  --line-strong: rgba(20,16,43,0.16);

  --shadow: 0 1px 2px rgba(20,16,43,0.05), 0 12px 32px -16px rgba(20,16,43,0.14);
  --shadow-lg: 0 24px 64px -24px rgba(20,16,43,0.26);

  --display: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --radius: 14px;
  --wrap: 1180px;
}

:root[data-theme="dark"]{
  --ink: #F1F5F9;
  --ink-soft: #A9B4C4;
  --ink-faint: #64748B;
  --paper: #100C24;
  --panel: #17122F;
  --panel-raised: #1C1640;
  --line: rgba(241,245,249,0.09);
  --line-strong: rgba(241,245,249,0.16);
  --blue-soft: rgba(109,93,252,0.2);
  --emerald-soft: rgba(16,185,129,0.14);
  --shadow: 0 1px 2px rgba(0,0,0,0.2), 0 12px 32px -16px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 64px -24px rgba(0,0,0,0.7);
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink: #F1F5F9;
    --ink-soft: #A9B4C4;
    --ink-faint: #64748B;
    --paper: #100C24;
    --panel: #17122F;
    --panel-raised: #1C1640;
    --line: rgba(241,245,249,0.09);
    --line-strong: rgba(241,245,249,0.16);
    --blue-soft: rgba(109,93,252,0.2);
    --emerald-soft: rgba(16,185,129,0.14);
    --shadow: 0 1px 2px rgba(0,0,0,0.2), 0 12px 32px -16px rgba(0,0,0,0.5);
    --shadow-lg: 0 24px 64px -24px rgba(0,0,0,0.7);
  }
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}
body{
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
a{ color: inherit; text-decoration: none; }
img,svg{ display:block; max-width:100%; }
:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

h1,h2,h3,h4{ font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
h1{ font-size: clamp(38px, 5.6vw, 68px); line-height: 1.06; }
h2{ font-size: clamp(28px, 3.4vw, 42px); line-height: 1.14; }
h3{ font-size: 20px; line-height: 1.3; }
p{ color: var(--ink-soft); }
.lead{ font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); max-width: 60ch; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
}
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--emerald); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover{ background: var(--blue); }
:root[data-theme="dark"] .btn-primary,
@media (prefers-color-scheme: dark){ .btn-primary{ background: var(--blue); color:#fff; } }
.btn-ghost{ border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); }
.btn-sm{ padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }

/* Nav */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav{ display:flex; align-items:center; padding: 18px 0; gap: 12px; }
.logo{ display:flex; align-items:center; gap:10px; font-family: var(--display); font-weight:600; font-size:18px; color: var(--ink); flex-shrink:0; }
.logo svg{ width:26px; height:26px; color: var(--navy); }
:root[data-theme="dark"] .logo svg{ color: var(--ink); }
@media (prefers-color-scheme: dark){ .logo svg{ color: var(--ink); } }

.nav-links{ display:flex; gap:30px; font-size:14.5px; color: var(--ink-soft); font-weight:500; margin-left:44px; }
.nav-links a:hover{ color: var(--ink); }
.nav-links a.current{ color: var(--ink); }
.nav-actions{ display:flex; align-items:center; gap:10px; margin-left:auto; padding-left:16px; }
.theme-toggle{
  width:38px; height:38px; border-radius:8px; border:1px solid var(--line-strong);
  background: transparent; color: var(--ink-soft); display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex-shrink:0;
}
.theme-toggle:hover{ color: var(--ink); border-color: var(--blue); }
.theme-toggle svg{ width:17px; height:17px; }
.theme-toggle .sun{ display:none; }
:root[data-theme="dark"] .theme-toggle .moon{ display:none; }
:root[data-theme="dark"] .theme-toggle .sun{ display:block; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .moon{ display:none; }
  :root:not([data-theme="light"]) .theme-toggle .sun{ display:block; }
}

.nav-toggle{ display:none; background:none; border:1px solid var(--line-strong); border-radius:8px; font-size:18px; width:40px; height:40px; align-items:center; justify-content:center; cursor:pointer; color:var(--ink); }

@media (max-width: 1080px){
  .nav-toggle{ display:inline-flex; }
  .nav-actions .btn-ghost{ display:none; }
  .nav-links{
    display:none; flex-direction:column; gap:0; margin-left:0;
    position:absolute; top:100%; left:20px; right:20px;
    background: var(--panel-raised); border:1px solid var(--line); border-radius:12px;
    padding:6px 18px; box-shadow: var(--shadow-lg); z-index:60;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:13px 0; border-bottom:1px solid var(--line); }
  .nav-links a:last-child{ border-bottom:none; }
}

/* Sections */
section{ padding: 96px 0; }
section + section{ border-top: 1px solid var(--line); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow{ margin-bottom: 14px; }
.section-head h2{ margin-bottom: 14px; }

/* Hero */
.hero{ padding: 88px 0 40px; border-top:none; }
.hero-inner{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items:center; }
.hero h1{ margin-bottom: 22px; }
.hero .lead{ margin-bottom: 34px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 28px; }
.hero-note{ font-size: 13px; color: var(--ink-faint); font-family: var(--mono); }

.philosophy-strip{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
}
.philosophy-strip .word{ font-family: var(--display); font-weight:600; font-size:15px; color: var(--ink); }
.philosophy-strip .sep{ color: var(--ink-faint); }
.philosophy-strip .tag{ font-size:13.5px; color: var(--ink-soft); margin-left:auto; }

/* Product mockup */
.mockup{
  background: var(--panel-raised); border:1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 20px; position:relative; overflow:hidden;
}
.mockup::before{
  content:""; position:absolute; inset:-40% -40% auto auto; width:60%; height:60%;
  background: radial-gradient(circle, var(--blue-soft), transparent 70%); z-index:0; pointer-events:none;
}
.mockup-bar{ display:flex; align-items:center; gap:8px; margin-bottom:16px; position:relative; z-index:1; }
.mockup-dot{ width:9px; height:9px; border-radius:50%; background: var(--line-strong); }
.mockup-title{ font-size:12.5px; color: var(--ink-faint); font-family: var(--mono); margin-left:8px; }
.ticket-row{
  display:grid; grid-template-columns: auto 1fr auto auto; align-items:center; gap:14px;
  padding: 14px; border-radius:10px; background: var(--panel); border:1px solid var(--line);
  margin-bottom:10px; position:relative; z-index:1;
}
.ticket-row:last-child{ margin-bottom:0; }
.ticket-avatar{ width:26px; height:26px; border-radius:50%; background: linear-gradient(135deg, var(--blue), var(--emerald)); flex-shrink:0; }
.ticket-lines .l1{ height:9px; width:70%; background: var(--line-strong); border-radius:4px; margin-bottom:7px; }
.ticket-lines .l2{ height:7px; width:45%; background: var(--line); border-radius:4px; }
.pill{ font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; white-space:nowrap; font-family: var(--mono); }
.pill-open{ background: var(--blue-soft); color: var(--blue); }
.pill-progress{ background: var(--emerald-soft); color: var(--emerald); }
.pill-done{ background: var(--line); color: var(--ink-faint); }
.ticket-id{ font-size:12px; color: var(--ink-faint); font-family: var(--mono); }

/* Product cards */
.product-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.product-card{
  border:1px solid var(--line); border-radius: var(--radius); padding: 36px;
  background: var(--panel-raised); position:relative; overflow:hidden;
}
.product-card.flagship{
  background: linear-gradient(160deg, var(--panel-raised), var(--panel));
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.product-card .badge{
  display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:0.08em; padding:5px 11px; border-radius:20px;
  background: var(--emerald-soft); color: var(--emerald); margin-bottom:18px; font-family: var(--mono);
}
.product-card h3{ font-size: 24px; margin-bottom:8px; }
.product-card .tagline{ color: var(--ink-soft); font-size:15px; margin-bottom:22px; }
.feature-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.feature-tags span{
  font-size:12.5px; padding:6px 12px; border-radius:8px; background: var(--panel); border:1px solid var(--line);
  color: var(--ink-soft); font-family: var(--mono);
}
.coming-soon-grid{ display:grid; gap:16px; }
.soon-card{
  border:1px dashed var(--line-strong); border-radius:12px; padding:22px;
  color: var(--ink-faint); display:flex; flex-direction:column; gap:6px;
}
.soon-card .name{ font-family: var(--display); font-weight:600; color: var(--ink-soft); font-size:16px; }
.soon-card .tag{ font-size:11.5px; text-transform:uppercase; letter-spacing:0.08em; font-family: var(--mono); }

/* Feature grid (Why IntendSys) */
.feature-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.feature-item{ background: var(--panel-raised); padding: 30px 26px; display:flex; flex-direction:column; gap:14px; }
.feature-item .icon{ width:38px; height:38px; border-radius:10px; background: var(--blue-soft); color: var(--blue); display:flex; align-items:center; justify-content:center; }
.feature-item .icon svg{ width:19px; height:19px; }
.feature-item h4{ font-family: var(--display); font-weight:600; font-size:15.5px; color: var(--ink); }
.feature-item p{ font-size:13.5px; margin:0; }

/* Chip grids (Industries, Technology) */
.chip-grid{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{
  display:flex; align-items:center; gap:10px; padding: 14px 20px; border-radius:12px;
  border:1px solid var(--line); background: var(--panel-raised); font-weight:600; font-size:14.5px;
  color: var(--ink); transition: border-color .15s ease, transform .15s ease;
}
.chip:hover{ border-color: var(--blue); transform: translateY(-2px); }
.chip .dot{ width:7px; height:7px; border-radius:50%; background: var(--emerald); }

/* Vision */
.vision{ text-align:center; }
.vision-inner{ max-width: 780px; margin: 0 auto; }
.vision blockquote{ font-family: var(--display); font-size: clamp(24px, 3.4vw, 38px); font-weight:600; letter-spacing:-0.02em; color: var(--ink); line-height:1.3; text-wrap: balance; }
.vision .eyebrow{ justify-content:center; margin-bottom:24px; }

/* CTA band */
.cta-band{
  border-radius: 24px; padding: 64px 56px; text-align:center;
  background: var(--navy); color:#fff; position:relative; overflow:hidden;
}
.cta-band::before{ content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(109,93,252,0.4), transparent 55%), radial-gradient(circle at 80% 80%, rgba(16,185,129,0.28), transparent 55%); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ color:#fff; margin-bottom:14px; }
.cta-band p{ color: rgba(255,255,255,0.72); max-width:52ch; margin: 0 auto 30px; }
.cta-band .hero-ctas{ justify-content:center; }
.cta-band .btn-ghost{ border-color: rgba(255,255,255,0.3); color:#fff; }
.cta-band .btn-ghost:hover{ border-color: var(--emerald); color: var(--emerald); }
.cta-band .btn-primary{ background:#fff; color: var(--navy); }
.cta-band .btn-primary:hover{ background: var(--emerald-soft); }

/* Footer */
footer{ padding: 64px 0 32px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand .logo{ margin-bottom: 16px; }
.footer-brand p{ font-size: 13.5px; max-width: 32ch; }
.footer-col h5{ font-family: var(--mono); font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; color: var(--ink-faint); margin-bottom:16px; }
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color: var(--ink-soft); }
.footer-col a:hover{ color: var(--ink); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding-top:24px; font-size:13px; color: var(--ink-faint); flex-wrap:wrap; gap:12px; }
.footer-bottom .socials{ display:flex; gap:16px; }

/* Page header (inner pages) */
.page-header{ padding: 72px 0 48px; }
.page-header .eyebrow{ margin-bottom:16px; }
.page-header .lead{ margin-top:14px; }

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  section{ padding: 64px 0; }
  .feature-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap:32px; }
  .cta-band{ padding: 48px 24px; }
}
