/* Arca marketing / landing page — standalone (does not load application.css). */

:root {
  --navy: #1c3a5e;
  --navy-dark: #142840;
  --navy-deep: #0d1c2e;
  --navy-soft: #eef2f8;
  --gold: #c99a1f;
  --gold-dark: #7f6210;
  --ink: #14181d;
  --muted: #59616c;
  --line: #dfe3e9;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --pos: #0a7a3d;
  --amber: #9a5600;
  --neg: #ce1f24;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 26, 44, .08), 0 8px 24px rgba(16, 26, 44, .06);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* --- buttons --- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: #2a2000; box-shadow: var(--shadow); }
.btn--primary:hover { background: #d9a927; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--onnavy { background: #fff; color: var(--navy); }
.btn--onnavy:hover { background: var(--navy-soft); }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.brand .logo { font-size: 20px; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-login { font-weight: 600; text-decoration: none; color: var(--navy); padding: 8px 6px; }
.nav-login:hover { color: var(--gold-dark); }

/* --- hero --- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: 44px; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; color: var(--navy-deep); }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 30em; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .cta-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* hero mockup: a stylised Plan board */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--navy); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.mock__title { margin-left: 8px; color: #fff; font-size: 12px; font-weight: 600; opacity: .9; }
.mock__rta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.mock__rta b { font-size: 18px; font-family: var(--mono); color: var(--navy-deep); }
.mock__rta span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mock__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mock__row:last-child { border-bottom: 0; }
.mock__name { color: var(--ink); }
.mock__chip { font-family: var(--mono); font-weight: 700; font-size: 12.5px; padding: 3px 9px; border-radius: 6px; }
.chip--ok  { background: #17d65e; color: #062; }
.chip--amber { background: #ffcf1f; color: #4a3200; }
.chip--neg { background: #ff453a; color: #fff; }
.chip--zero { background: #e9ecf1; color: var(--muted); }

/* --- generic section --- */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 12px; color: var(--navy-deep); }
.section-head p { font-size: 17px; color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }

/* value props */
.props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prop h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.prop p { font-size: 14px; color: var(--muted); margin: 0; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature .ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--navy-soft); font-size: 19px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin: 0 0 8px; color: var(--navy-deep); }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { text-align: left; }
.step .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin: 0 0 6px; color: var(--navy); }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* pricing / trial */
.pricing { max-width: 460px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.pricing .price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-deep); }
.pricing .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.pricing .trial { margin: 6px 0 22px; font-weight: 650; color: var(--gold-dark); }
.pricing ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: inline-block; }
.pricing li { padding: 5px 0 5px 26px; position: relative; font-size: 14.5px; color: var(--ink); }
.pricing li::before { content: "✓"; position: absolute; left: 0; color: var(--pos); font-weight: 800; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 650; font-size: 16px; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* final cta */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 20px; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-band a.plain { color: #fff; text-decoration: underline; font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); }

/* --- responsive --- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 52px; }
  .hero h1 { font-size: 34px; }
  .props { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-login { display: none; }
  .hero h1 { font-size: 29px; }
  .props { grid-template-columns: 1fr; }
  .section-head h2, .cta-band h2 { font-size: 25px; }
}

/* ============ Documentation page ============ */
.doc-shell {
  display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 52px;
  max-width: 1120px; margin: 0 auto; padding: 40px 24px 96px;
}
.doc-toc {
  position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 110px);
  overflow-y: auto; font-size: 13px; line-height: 1.5;
}
.doc-toc strong { display: block; margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--gold-dark); }
.doc-toc ol { list-style: none; margin: 0; padding: 0; }
.doc-toc > ol > li > a { font-weight: 600; color: var(--navy); }
.doc-toc a { display: block; padding: 4px 0 4px 12px; color: var(--muted); text-decoration: none; border-left: 2px solid var(--line); }
.doc-toc a:hover { color: var(--navy); border-color: var(--navy); }
.doc-toc ol ol a { padding-left: 24px; font-size: 12.5px; }

.doc-body { min-width: 0; max-width: 760px; }
.doc-body > h1 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 6px; color: var(--navy-deep); }
.doc-body > .lede { font-size: 17px; color: var(--muted); margin: 0 0 4px; }

.doc-body h2 {
  font-size: 24px; letter-spacing: -.01em; margin: 52px 0 4px; padding-top: 22px;
  border-top: 2px solid var(--line); color: var(--navy-deep); scroll-margin-top: 80px;
}
.doc-body h3 { font-size: 16.5px; margin: 30px 0 6px; color: var(--navy-deep); scroll-margin-top: 80px; }
.doc-body h4 { font-size: 14px; margin: 20px 0 4px; color: var(--navy); text-transform: none; }
.doc-body p { font-size: 15px; line-height: 1.7; color: #24303c; margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 22px; }
.doc-body li { font-size: 15px; line-height: 1.65; margin: 7px 0; }
.doc-body li > ul { margin: 6px 0 4px; }
.doc-body b, .doc-body strong { color: var(--navy-deep); font-weight: 650; }
.doc-body em { font-style: normal; background: #fbf3d6; padding: 0 3px; border-radius: 3px; }
.doc-body a { color: var(--navy); }
.doc-body code {
  font-family: var(--mono); font-size: 12.5px; background: var(--navy-soft);
  padding: 1px 5px; border-radius: 4px; color: var(--navy-deep);
}
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* callout */
.doc-note {
  border-left: 3px solid var(--gold); background: #fdf8ea;
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0 20px;
  font-size: 14px; color: #4a4230;
}
.doc-note strong { color: var(--gold-dark); }

/* numbered steps — heading is inline-bold, no block break */
ol.steps { list-style: none; counter-reset: st; padding-left: 0; margin: 8px 0 20px; }
ol.steps > li {
  counter-increment: st; position: relative; padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--line); margin: 0; font-size: 15px; line-height: 1.7;
}
ol.steps > li:last-child { border-bottom: 0; }
ol.steps > li::before {
  content: counter(st); position: absolute; left: 0; top: 14px;
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
}
ol.steps > li b:first-child { color: var(--navy-deep); }

/* figure / screenshot */
.doc-fig { margin: 20px 0 26px; }
.doc-fig figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.doc-fig img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }

/* CSS mockup shared frame */
.shot { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; background: #fff; font-size: 12.5px; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; background: var(--navy); }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.38); }
.shot__bar span { margin-left: 8px; color: #fff; font-size: 11.5px; font-weight: 600; opacity: .9; }
.shot__row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.shot__row:last-child { border-bottom: 0; }
.shot__row.head { background: var(--bg-alt); font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: 10.5px; letter-spacing: .04em; }
.shot__num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.shot__chip { font-family: var(--mono); font-weight: 700; padding: 2px 8px; border-radius: 5px; font-size: 11.5px; }
.shot__chip.ok { background: #17d65e; color: #052; }
.shot__chip.amber { background: #ffcf1f; color: #402c00; }
.shot__chip.neg { background: #ff453a; color: #fff; }
.shot__chip.zero { background: #e9ecf1; color: var(--muted); }
.shot__rta { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; background: var(--navy-soft); border-bottom: 1px solid var(--line); }
.shot__rta b { font-family: var(--mono); font-size: 16px; color: var(--navy-deep); }
.shot__rta small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.shot__urgent { box-shadow: inset 3px 0 0 #ff8a1e; background: #fff3e6; }

/* inspector mock */
.shot--pane { padding: 14px 16px; }
.shot--pane h5 { margin: 0 0 8px; font-size: 13px; color: var(--navy-deep); }
.shot--pane .kv { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.shot--pane .bar { height: 8px; border-radius: 4px; background: var(--line); margin: 10px 0 4px; overflow: hidden; }
.shot--pane .bar > i { display: block; height: 100%; background: var(--gold); }

.doc-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.doc-faq summary { font-weight: 650; font-size: 15px; cursor: pointer; color: var(--navy); list-style: none; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::before { content: "\25B8\00a0\00a0"; color: var(--muted); font-weight: 400; }
.doc-faq details[open] summary::before { content: "\25BE\00a0\00a0"; }
.doc-faq details > p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

.rm-group { margin: 0 0 22px; }
.rm-badge { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 3px 10px; border-radius: 999px; }
.rm-badge.now { background: #d6f0df; color: var(--pos); }
.rm-badge.next { background: #fdeec3; color: var(--gold-dark); }
.rm-badge.planned { background: var(--navy-soft); color: var(--navy); }
.rm-badge.exploring { background: #ececec; color: var(--muted); }
.rm-group ul { margin-top: 8px; }

.doc-back { color: var(--muted); text-decoration: none; font-weight: 600; }
.doc-back:hover { color: var(--navy); }

@media (max-width: 900px) {
  .doc-shell { grid-template-columns: 1fr; gap: 4px; padding-top: 22px; }
  .doc-toc {
    position: static; max-height: none; border: 1px solid var(--line);
    border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; background: var(--bg-alt);
  }
  .doc-toc a { border-left: 0; padding: 4px 0; }
  .doc-toc ol ol { display: none; }
}
