/* MGA Accelerator public site. Brand: Ink #171D1D, Forest #185E45, Paper #FAF9F5, Stone #F0F1EC, Line #D9DDD7; Inter. */
:root {
  --ink: #171D1D; --forest: #185E45; --forest-2: #134C38; --paper: #FAF9F5; --stone: #F0F1EC; --line: #D9DDD7;
  --muted: #5C6461; --white: #FFFFFF; --mint: #E3EEE8;
  --sans: Inter, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--white); padding: 8px 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; } .row.center { justify-content: center; }
.center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: 14px; }
section { padding: 112px 0; }
.band { background: var(--stone); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin-bottom: 18px; }
.lede { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 62ch; }
.head { margin-bottom: 56px; max-width: 760px; }
.num { font-size: 13px; font-weight: 700; color: var(--forest); letter-spacing: 0.04em; }

/* Buttons: Forest for the main action, outline for the second */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 600 16px var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 160ms ease, transform 120ms ease, border-color 160ms ease; }
.btn.primary { background: var(--forest); color: var(--white); }
.btn.primary:hover { background: var(--forest-2); }
.btn.ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:active { transform: scale(0.98); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 249, 245, 0.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { min-height: 76px; justify-content: space-between; }
.sig { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.sig img { width: 72px; height: auto; display: block; }
.sig > span { display: flex; flex-direction: column; font-size: 12px; letter-spacing: 0.09em; line-height: 1.15; }
.sig b { color: var(--forest); }
.top nav { display: flex; gap: 28px; }
.top nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); border-bottom-color: var(--forest); }
.signin { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); margin-right: 8px; }
.signin:hover { color: var(--ink); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 112px; }
.hero.small { padding: 72px 0 40px; }
.hero .lede { max-width: 56ch; }
.hero .row { margin-top: 32px; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }

/* Product mock */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(23, 29, 29, 0.25); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--stone); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); }
.mock-body { padding: 22px; display: grid; gap: 16px; font-size: 14px; }
.mock small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.m-next { border: 1px solid var(--forest); border-radius: 10px; padding: 16px; box-shadow: inset 3px 0 0 var(--forest); }
.m-next b { font-size: 16px; }
.m-prog { height: 6px; border-radius: 3px; background: var(--line); margin-top: 12px; overflow: hidden; }
.m-prog i { display: block; height: 100%; width: 0; background: var(--forest); transition: width 1400ms var(--ease) 600ms; }
.mock.live .m-prog i { width: 17%; }
.m-draft { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.type { min-height: 66px; line-height: 1.55; }
.type::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--forest); margin-left: 2px; vertical-align: -2px; animation: caret 900ms steps(1) infinite; }
.mock.done .type::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.m-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.m-btn { padding: 7px 12px; border-radius: 6px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
.mock.approved .m-btn.approve { background: var(--forest); border-color: var(--forest); color: var(--white); transform: scale(1.04); }
.m-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--forest); font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 400ms ease 200ms, transform 400ms var(--ease) 200ms; }
.mock.approved .m-status { opacity: 1; transform: none; }
.m-list { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding-top: 4px; color: var(--muted); }
.m-list b { color: var(--ink); text-align: right; }

/* Dark band */
.dark { background: var(--ink); color: var(--white); }
.dark .lede, .dark p { color: #BCC4C0; }
.dark .eyebrow, .dark .num { color: #7CC4A3; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.cols3 h3 { margin-bottom: 12px; }
.cols3 .num { display: block; margin-bottom: 14px; }

/* Four steps: nodes joined by a line that fills as they appear */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps li { position: relative; }
.steps li:not(:last-child)::before, .steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 56px; right: -24px; height: 2px; }
.steps li:not(:last-child)::before { background: var(--line); }
.steps li:not(:last-child)::after { background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease) calc(var(--d, 0) * 140ms + 300ms); }
.steps li.in::after { transform: scaleX(1); }
.node { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid var(--line);
  background: var(--white); margin-bottom: 22px; transition: background 400ms ease calc(var(--d, 0) * 140ms), color 400ms ease calc(var(--d, 0) * 140ms), border-color 400ms ease calc(var(--d, 0) * 140ms); }
.steps li.in .node { background: var(--forest); color: var(--white); border-color: var(--forest); }
.steps h3 { margin-bottom: 10px; } .steps p { color: var(--muted); font-size: 16px; }

/* 90-day plan: the rail fills with scroll, each milestone lights up when reached */
.plan-wrap { align-items: start; }
.sticky { position: sticky; top: 120px; }
.plan-progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; max-width: 320px; }
.plan-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--forest); }
.plan { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.plan::before, .plan::after { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; }
.plan::before { background: var(--line); }
.plan::after { background: var(--forest); transform-origin: top; transform: scaleY(var(--p, 0)); }
.plan li { position: relative; padding: 0 0 52px; }
.plan li:last-child { padding-bottom: 0; }
.plan .dot { position: absolute; left: -40px; top: 2px; width: 24px; height: 24px; border-radius: 7px; background: var(--white); border: 2px solid var(--line); z-index: 1; transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease); }
.plan li.reached .dot { background: var(--forest); border-color: var(--forest); transform: scale(1.08); }
.plan b { display: block; font-size: 18px; margin-bottom: 6px; }
.plan p { color: var(--muted); }
.plan li { opacity: 0.45; transition: opacity 400ms ease; }
.plan li.reached { opacity: 1; }

/* Agents: text stays while the cards change with scroll */
.agents { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
.agents-text { position: sticky; top: 120px; align-self: start; }
.counter { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter b { font-size: 44px; color: var(--forest); font-weight: 700; display: inline-block; min-width: 2ch; transition: transform 300ms var(--ease); }
.agents-stack { display: grid; gap: 22px; }
.agent { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px; min-height: 220px; transition: border-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease), opacity 400ms ease;
  opacity: 0.5; transform: scale(0.97); }
.agent.on { border-color: var(--forest); box-shadow: inset 4px 0 0 var(--forest), 0 20px 40px -28px rgba(23, 29, 29, 0.3); opacity: 1; transform: none; }
.agent h3 { font-size: 26px; margin: 12px 0 12px; } .agent p { color: var(--muted); }

/* Dashboard mock with bars */
.dash { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.dash-head small { color: var(--muted); font-size: 12px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; height: 180px; border-bottom: 1px solid var(--line); }
.bars span { display: block; height: var(--h, 50%); background: var(--line); border-radius: 6px 6px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 700ms var(--ease) calc(var(--i, 0) * 60ms); }
.bars span.now { background: var(--forest); }
.bars.in span { transform: scaleY(1); }
.dash-row { display: grid; grid-template-columns: repeat(3, auto 1fr); gap: 8px 12px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.dash-row b { color: var(--ink); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 36px 24px 0 0; }
.facts b { font-size: clamp(48px, 6vw, 76px); font-weight: 700; letter-spacing: -0.04em; color: var(--forest); display: inline-block; font-variant-numeric: tabular-nums; }
.facts span { font-weight: 700; margin-left: 8px; }
.facts p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Industry cards */
.cards6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.icard { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; min-height: 230px;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease); }
.icard b { font-size: 22px; letter-spacing: -0.01em; }
.icard > span:nth-of-type(2) { color: var(--muted); font-size: 15px; }
.icard .go { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 15px; color: var(--forest); }
.icard .go svg { transition: transform 220ms var(--ease); }
.icard:hover { background: var(--forest); border-color: var(--forest); color: var(--white); transform: translateY(-3px); }
.icard:hover > span, .icard:hover .num, .icard:hover .go { color: #DCEBE3; }
.icard:hover .go svg { transform: translateX(4px); }
.more { margin-top: 36px; } .more a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--forest); text-decoration: none; }

/* Pricing */
.price { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 44px; }
.amount { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; }
.amount2 { font-size: 26px; font-weight: 700; color: var(--forest); }
.amount small, .amount2 small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul, .ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.price li, .ticks li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg, .ticks li svg { color: var(--forest); flex: none; margin-top: 5px; }
.price h2 { font-size: 20px; margin: 0 0 14px; }
.price .gap { margin-top: 28px; }
.price.big .amount { font-size: 44px; }
.nots { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.nots li { padding-left: 26px; position: relative; color: var(--muted); }
.nots li::before { content: "—"; position: absolute; left: 0; color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--forest); transition: transform 240ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 68ch; }

/* Features */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.feat article { padding: 40px 0; border-top: 1px solid var(--line); }
.feat h2 { font-size: 26px; margin: 12px 0 14px; }
.feat p { color: var(--muted); }
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.agent-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agent-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.agent-grid h3 { margin: 8px 0 10px; } .agent-grid p { color: var(--muted); font-size: 16px; }

/* Guides */
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 120px; display: grid; gap: 10px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--forest); }
.article article { max-width: 68ch; }
.article h2 { font-size: 26px; margin: 44px 0 14px; } .article h2:first-child { margin-top: 0; }
.article p { color: #2E3534; }
.callout { margin-top: 48px; padding: 28px; border-radius: 14px; background: var(--mint); }
.callout b { display: block; margin-bottom: 8px; } .callout a { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 600; color: var(--forest); text-decoration: none; }

/* Contact form */
.form { display: grid; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: 16px var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); min-height: 48px; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.notice { padding: 18px 22px; border-radius: 12px; margin-bottom: 20px; } .notice.ok { background: var(--mint); } .notice.error { background: #FDEBEC; color: #9F2F2D; }

/* Closing and footer */
.closing { text-align: center; }
.closing p { color: var(--muted); font-size: 19px; margin: 18px auto 32px; max-width: 56ch; }
.foot { background: var(--ink); color: #BCC4C0; padding: 72px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .cols > div { display: grid; gap: 10px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.foot h2 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.foot a { color: #BCC4C0; text-decoration: none; } .foot a:hover { color: var(--white); }
.foot .sig { background: var(--white); padding: 10px 14px; border-radius: 10px; justify-self: start; } /* the logo on a light support */
.foot .sig, .foot .sig span { color: var(--ink); }
.fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2B3332; font-size: 13px; color: #8C938F; }

/* Reveal on scroll (set up by site.js; visible by default without JavaScript) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease) calc(var(--d, 0) * 80ms), transform 640ms var(--ease) calc(var(--d, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  section { padding: 80px 0; }
  .grid2, .agents, .article, .price { grid-template-columns: 1fr; gap: 40px; }
  .sticky, .agents-text, .toc { position: static; }
  .cols3, .cards6, .agent-grid, .agent-grid.four { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; } .steps li::before, .steps li::after { display: none; }
  .facts { grid-template-columns: 1fr 1fr; } .feat { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .top .wrap { flex-wrap: wrap; padding-top: 10px; }
  .top nav { order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 6px; }
  .top nav a { white-space: nowrap; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .cols3, .cards6, .agent-grid, .agent-grid.four, .steps, .form .two { grid-template-columns: 1fr; }
  .signin { display: none; } .top .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .sig > span { display: none; }
  .price { padding: 28px; } .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bars span { transform: none; } .plan::after { transform: scaleY(1); } .plan li { opacity: 1; }
  .steps li::after { transform: scaleX(1); } .agent { opacity: 1; transform: none; }
}

/* Photos: a wide crop that opens from the center and settles from a slight zoom. */
.photo-band { padding: 0 0 24px; }
.photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--stone); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.js .photo[data-reveal] { opacity: 1; transform: none; clip-path: inset(8% 6% round 18px); transition: clip-path 1100ms var(--ease); }
.js .photo[data-reveal] img { transform: scale(1.08); transition: transform 1600ms var(--ease); }
.js .photo[data-reveal].in { clip-path: inset(0 0 round 18px); }
.js .photo[data-reveal].in img { transform: scale(1); }
.icard .thumb { width: calc(100% + 60px); max-width: none; margin: -30px -30px 6px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 14px 14px 0 0; transition: transform 600ms var(--ease); }
.icard { overflow: hidden; }
.icard:hover .thumb { transform: scale(1.04); }
@media (max-width: 960px) { .photo { aspect-ratio: 3 / 2; } }
@media (prefers-reduced-motion: reduce) {
  .js .photo[data-reveal], .js .photo[data-reveal] img { clip-path: none; transform: none; transition: none; }
  .icard .thumb { transition: none; }
}

/* Hero field: slow ASCII texture across the whole hero, soft at the top and bottom edges. Drawn by site.js. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .ascii { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1200ms var(--ease);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
.hero .ascii.on { opacity: 1; }
@media (max-width: 960px) { .hero .ascii.on { opacity: 0.7; } }
}
