/* AgentAI public site — shared styles (25 Sep 2026 redesign) */
:root {
  --ground: #F6F4EF;
  --surface: #FFFFFF;
  --ink: #1E2A3A;
  --text: #3B393B;
  --muted: #5F6670;
  --line: #E4DED2;
  --blue: #4A6FA5;
  --blue-dark: #2F4E7E;
  --navy-soft: #2D3D52;
  --on-dark-muted: #D8E0EA;
  --on-dark-label: #A9BEDC;
  --maybe: #A5541F;
  --display: 'Newsreader', Georgia, serif;
  --body: 'Public Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 640px; }
.muted { color: var(--muted); }
.note { font-size: 14px; font-style: italic; color: rgba(59,57,59,0.6); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 10px; font-weight: 600; text-decoration: none; background: var(--blue); color: #FFFFFF; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #111A26; }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { background: #EEF1F5; color: var(--ink); }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: #EEF2F8; color: var(--blue-dark); }
.link-strong { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo span { color: var(--blue); }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a.current { color: var(--blue); }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-right .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { stroke: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--ground); padding: 8px 24px 16px; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: block; }

/* Sections */
section { padding: 96px 0; }
.bg-white { background: var(--surface); }
.bg-dark { background: var(--ink); color: #FFFFFF; }
.bg-dark h1, .bg-dark h2 { color: #FFFFFF; }
.bg-dark .eyebrow { color: var(--on-dark-label); }
.bg-dark .muted { color: var(--on-dark-muted); }
.hero { padding: 88px 0 96px; }
.split { display: flex; gap: 64px; align-items: center; }
.split > .stack { flex: 1 1 0; min-width: 0; }
.split-head { display: flex; gap: 64px; align-items: flex-end; margin-bottom: 36px; }
.split-head > .stack { flex: 1 1 0; }
.split-head > p { flex: 0 0 440px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.bg-white .card { background: var(--ground); }
.card h3 { font-family: var(--body); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.card .time { font-family: var(--display); font-size: 30px; color: var(--blue); line-height: 1.1; }
.card .big { font-family: var(--display); font-size: 26px; color: var(--blue); }
.num { font-family: var(--display); font-size: 22px; color: var(--blue); }
ul.ticks { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.strip { background: var(--ink); color: #FFFFFF; padding: 22px 0; }
.strip .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 500; }

/* Devices */
.phone { width: 340px; flex-shrink: 0; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(30,42,58,0.22); }
.phone img { border-radius: 33px; width: 100%; }
.phone.small { width: 240px; border-radius: 34px; padding: 9px; box-shadow: none; }
.phone.small img { border-radius: 26px; }
.laptop { flex: 1 1 0; min-width: 0; background: var(--ink); border-radius: 16px; padding: 10px 10px 12px; }
.laptop .dots { display: flex; gap: 6px; padding: 2px 6px 9px; }
.laptop .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.laptop img { border-radius: 6px; width: 100%; }
.devices { display: flex; gap: 32px; align-items: flex-end; }
.browser { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 48px rgba(30,42,58,0.14); }
.browser .bar { padding: 12px 18px; background: #EEEAE2; font-size: 13px; color: var(--muted); }
.shot { border-radius: 12px; box-shadow: 0 16px 32px rgba(30,42,58,0.14); }
.panel { background: var(--ground); border-radius: 20px; padding: 24px; }
.bg-white .panel { background: var(--ground); }
.panel-white { background: var(--surface); border-radius: 20px; padding: 24px; }

/* Mini UI illustrations */
.mini-row { background: var(--surface); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; }
.mini-row .who { font-weight: 600; color: var(--ink); }
.mini-row .why { font-size: 14px; color: var(--muted); }
.tag-fits { font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.tag-maybe { font-size: 13px; font-weight: 700; color: var(--maybe); }
.bubble-in { align-self: flex-start; max-width: 420px; background: var(--surface); border-radius: 18px 18px 18px 4px; padding: 16px 18px; }
.bubble-out { align-self: flex-end; max-width: 360px; background: var(--blue); color: #FFFFFF; border-radius: 18px 18px 4px 18px; padding: 16px 18px; }
.ask { background: var(--surface); border: 1px solid #D9DFE8; border-radius: 22px; padding: 14px 20px; }
.juggle span { text-decoration: line-through; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { background: var(--ink); color: #FFFFFF; }
.plan.featured h3, .plan.featured .price { color: #FFFFFF; }
.plan h3 { font-family: var(--body); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.plan .price { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--ink); }
.plan .price small { font-size: 18px; }
.plan .sub { font-size: 14px; color: var(--muted); }
.plan.featured .sub { color: #C9D3E0; }
.plan ul { margin: 6px 0 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.plan .btn { margin-top: auto; }
.badge { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #FFFFFF; color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.toggle { display: inline-flex; border: 1px solid #C9D3E0; border-radius: 999px; padding: 4px; background: var(--surface); font-size: 15px; font-weight: 600; }
.toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--text); min-height: 44px; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.faq { max-width: 760px; margin: 0 auto; }
.faq div { border-top: 1px solid var(--line); padding: 22px 0; }
.faq div:last-child { border-bottom: 1px solid var(--line); }
.faq strong { display: block; color: var(--ink); font-size: 17px; }

/* Join + footer */
.join { background: var(--blue); color: #FFFFFF; padding: 96px 0 0; text-align: center; }
.join h2 { color: #FFFFFF; }
.join .form-box { max-width: 520px; margin: 28px auto 0; background: #FFFFFF; border-radius: 14px; padding: 8px; color: var(--text); text-align: left; min-height: 60px; }
.site-footer { margin-top: 80px; border-top: 1px solid rgba(255,255,255,0.25); padding: 28px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.site-footer a { color: #FFFFFF; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatch { aspect-ratio: 1; border-radius: 12px; position: relative; }
.swatch i { position: absolute; right: 0; bottom: 0; width: 40%; height: 40%; border-radius: 8px 0 12px 0; }
.swatch-label { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Tablet + phone */
@media (max-width: 960px) {
  .nav, .header-right .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3, .plans { grid-template-columns: minmax(0, 1fr); }
  .split, .split-head, .devices { flex-direction: column; align-items: stretch; gap: 32px; }
  .split-head > p { flex: none; }
  .split.reverse { flex-direction: column-reverse; }
  .phone { align-self: center; width: 300px; }
  .phone.small { align-self: center; width: 260px; }
  .devices .laptop { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid4, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .card, .plan { padding: 22px; }
  .phone { width: 100%; max-width: 320px; }
  .swatches { gap: 8px; }
  .site-footer { flex-direction: column; }
  .site-footer a { margin-left: 0; margin-right: 20px; }
}

.hero .stack > h1, .hero .stack > .lead { max-width: 900px; }
.bg-dark .stack > h2, .bg-dark .stack > p { max-width: 820px; }
