/* ARC CRM product website (crm.archaicinfotech.com). Brand tokens match the app (assets/css/base.css). */
:root {
  --navy: #162040; --navy-2: #1E2B55; --primary: #1D6FDB; --primary-dark: #1558B8; --primary-light: #2B83F0;
  --accent: #0EA5E9; --green: #10B981; --amber: #F59E0B;
  --text: #0F172A; --text-2: #334155; --muted: #64748B; --line: #E2E8F0;
  --bg: #FFFFFF; --bg-soft: #F6F9FE; --bg-tint: #EFF6FF;
  --grad: linear-gradient(135deg, #1D6FDB 0%, #2B83F0 55%, #0EA5E9 100%);
  --shadow: 0 10px 40px rgba(22, 32, 64, 0.10);
  --shadow-lg: 0 24px 70px rgba(22, 32, 64, 0.18);
  --radius: 16px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--navy); }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; color: var(--text-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 700 12px 'Space Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; display: inline-block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--text-2); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15px 'Inter', sans-serif;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(29, 111, 219, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(29, 111, 219, .45); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary-light); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.7); }
.nav { display: flex; align-items: center; gap: 28px; height: 96px; }
/* Brand: Archaic logo + ARC wordmark, same as the other ARC products (ARC DINE, ARC HOTELIER) */
@font-face { font-family: 'Didact Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/didact-gothic.woff2) format('woff2'); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.brand img { width: auto; height: 60px; object-fit: contain; }
.wm { display: inline-flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: 'Didact Gothic', 'Century Gothic', 'Futura', sans-serif; font-weight: 400; font-size: 32px; letter-spacing: .07em; color: var(--navy); white-space: nowrap; }
.wm-n { color: var(--navy); } .wm-b { color: var(--primary); }
.wm-sub { font-family: 'Didact Gothic', 'Century Gothic', sans-serif; font-size: 9.5px; letter-spacing: .48em; color: var(--navy); margin-top: 7px; white-space: nowrap; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--primary); }
.nav-cta { margin-left: 28px; display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 40px;
  background: radial-gradient(900px 500px at 85% -10%, rgba(14,165,233,.16), transparent 60%),
              radial-gradient(800px 500px at -10% 10%, rgba(29,111,219,.12), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 20px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.hero-points li { padding-left: 30px; position: relative; color: var(--text-2); }
.hero-points li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-tint); color: var(--primary); font: 700 12px/20px 'Inter'; text-align: center; }
.hero-shot { position: relative; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(22,32,64,.08); background: #fff; }
.shot-bar { height: 30px; background: #F1F5F9; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.hero-shot .shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: 13px; border: 1px solid var(--line); }
.float-card b { display: block; font: 700 18px 'Space Grotesk', sans-serif; color: var(--navy); }
.float-card.one { left: -26px; bottom: 34px; }
.float-card.two { right: -14px; top: -18px; }
.float-card .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; }

/* Sections */
section { padding: 84px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--muted); font-weight: 500; font-size: 15px; }
.strip li::before { content: '◆'; color: var(--primary-light); font-size: 9px; margin-right: 10px; vertical-align: 2px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(29,111,219,.25); }
.card p { margin: 0; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; font-size: 21px;
  background: var(--bg-tint); color: var(--primary); }
.icon.g { background: #E7F8F1; color: #059669; } .icon.a { background: #FEF3C7; color: #B45309; } .icon.v { background: #EEF0FF; color: #4F46E5; }
.icon.r { background: #FDECEC; color: #DC2626; } .icon.c { background: #E0F5FE; color: #0284C7; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split + .split { margin-top: 90px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--grad); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 16px 'Space Grotesk'; margin-bottom: 16px; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 17px 'Space Grotesk', sans-serif; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; }

.cta { background: radial-gradient(700px 300px at 90% 0%, rgba(14,165,233,.35), transparent 60%), var(--navy); color: #fff; border-radius: 26px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #C7D2FE; margin: 0; max-width: 560px; }

.page-hero { padding: 72px 0 36px; background: radial-gradient(800px 400px at 90% -20%, rgba(14,165,233,.14), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); }

.feature-group { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.feature-group:last-child { border-bottom: 0; }
.feature-group h2 { font-size: 26px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px; }
.feature-list h4 { font-size: 16px; margin: 0 0 4px; }
.feature-list p { font-size: 15px; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font: 700 11px 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; font-size: 17px; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #AAB6D3; padding: 56px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 12px; }
.site-footer a { color: #AAB6D3; display: block; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #AAB6D3; font-size: 14px; }
.site-footer .brand { display: flex; color: #fff; margin-bottom: 16px; padding: 0; }
.site-footer .brand img { height: 48px; background: #fff; border-radius: 10px; padding: 4px; }
.site-footer .wm-name { font-size: 24px; } .site-footer .wm-n { color: #fff; } .site-footer .wm-b { color: #7DD3FC; }
.site-footer .wm-sub { color: #93C5FD; font-size: 7.5px; letter-spacing: .4em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) { .nav-links { gap: 20px; } .nav-cta { margin-left: 16px; } }
@media (max-width: 980px) {
  .hero-grid, .split, .feature-group { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .cards3, .steps { grid-template-columns: 1fr 1fr; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-shot .shot { transform: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav { height: 74px; }
  .brand img { height: 42px; } .brand { gap: 10px; }
  .wm-name { font-size: 22px; } .wm-sub { font-size: 7px; letter-spacing: .3em; margin-top: 5px; }
  .nav.open { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 16px; }
  .nav.open .menu-toggle { order: 1; }
  .nav.open .nav-links, .nav.open .nav-cta { order: 2; display: flex; flex-direction: column; width: 100%; margin: 8px 0 0; gap: 12px; }
  .nav.open .nav-links a { padding: 6px 0; font-size: 16px; }
  .nav.open .nav-cta { flex-direction: row; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0 30px; }
  .cards3, .cards4, .steps, .feature-list, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 34px 26px; }
  .float-card { display: none; }
  .wrap { padding: 0 16px; }
}
