/* seo02: the intro pages' one stylesheet — /project-finance-studio/ and /prism/ (served as /site.css, one file the browser caches for both).
   Option H's tokens (site-src/front/src/index.css, [data-option="g"]) and type; a page's own rules stay in the page. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/inter-latin-wght.woff2) format("woff2-variations"); }

:root {
  --bg: #0a0a0a; --surface: #141414; --ink: #f5f5f5; --muted: #a8a8a8; --rule: #2b2b2b;
  --tota: #74d93f; --mag: #ff2fb9; --yel: #ffd60a; --violet: #7a3cff;
  --wrap: 1240px; --gut: 20px;
  color-scheme: dark;
}
.tone-light {
  --bg: #f5f4f1; --surface: #ffffff; --ink: #111111; --muted: #575757; --rule: #e1ded8;
  --tota: #3a8f16; --mag: #c8137f;
  background: var(--bg); color: var(--ink); color-scheme: light;
}
@media (min-width: 768px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Inter Variable", system-ui, sans-serif; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; }
p { text-wrap: pretty; margin: 0; }
::selection { background: var(--mag); color: #0a0a0a; }
:is(a, button, summary):focus-visible { outline: 3px solid var(--mag); outline-offset: 2px; border-radius: 3px; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.06; letter-spacing: -0.045em; font-weight: 500; }
.h3 { font-size: 20px; letter-spacing: -0.03em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.sec { padding-block: 64px; }
@media (min-width: 768px) { .sec { padding-block: 88px; } }

/* the menu that stays at the top (H) */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(10,10,10,.86); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.mark { font-weight: 700; letter-spacing: -0.03em; text-decoration: none; font-size: 17px; white-space: nowrap; }
.mark span { color: var(--mag); }
.bar nav { display: none; gap: 22px; font-size: 14px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }
.bar .btn { margin-left: auto; }
@media (min-width: 900px) { .bar nav { display: flex; } .bar .btn { margin-left: 8px; } }

/* the one action: H's square green button with the arrow */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 2px;
  background: #74d93f; color: #0a0a0a; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; stroke-width: 2.4; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 30px; font-size: 17px; }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 2px;
  font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 0 0 1.5px var(--tota); }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--tota); text-underline-offset: 4px; }
.note { font-size: 13px; color: var(--muted); }

.ic { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }

/* the film: poster, a play button, the real file behind it (loads only when played) */
.film { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; }
.play span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: rgba(10,10,10,.82); color: #fff; font-weight: 650; font-size: 15px; box-shadow: 0 0 0 1.5px var(--mag); }
.play span i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ff2fb9; }
.play span i svg { width: 14px; height: 14px; fill: #0a0a0a; margin-left: 2px; }

/* questions and answers: plain <details> (modern-web-guidance: accordion; findable by Find in page) */
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--mag);
  border-bottom: 2px solid var(--mag); transform: rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.qa .a { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.qa .a p + p { margin-top: 8px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 0 0 1px var(--rule); background: var(--surface); }

footer.ft { border-top: 2px solid var(--mag); padding-block: 40px; font-size: 14px; color: var(--muted); }
footer.ft .wrap { display: grid; gap: 14px; }
footer.ft nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.ft nav a { color: var(--ink); text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .btn, .qa summary::after { transition: none; } .btn:hover { transform: none; } }


body{background:#f5f4f1}
.bar{background:#0a0a0a}
footer.ft{background:#0a0a0a;margin-top:0}
.hero{padding:44px 0 64px}
.hgrid{display:grid;gap:40px;align-items:center}
.hgrid > *{min-width:0}
@media(min-width:1024px){.hgrid{grid-template-columns:1fr 1.12fr;gap:56px}}
.crumb{font-size:13px;color:var(--muted);margin-bottom:16px}.crumb a{color:var(--muted)}
.h1{font-size:clamp(2.3rem,4.6vw,3.7rem)}
.sub{margin-top:14px;font-size:clamp(19px,1.8vw,23px);letter-spacing:-.025em;font-weight:500;line-height:1.3;max-width:30ch}
.sub em{font-style:normal;color:#2d6f10}
.range{margin-top:22px;display:grid;gap:10px}
.range div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.range b{font-size:13px;font-weight:600;color:var(--muted);width:100%;letter-spacing:.01em}
.range span{font-size:13.5px;padding:4px 10px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--rule)}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:28px}
.cta .note{flex-basis:100%}
.ghost{color:var(--ink)}
.browser{border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--rule),0 40px 80px -40px rgba(17,17,17,.45);overflow:hidden;margin:0}
.browser .top{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--rule);background:#fbfaf8}
.browser .top i{width:10px;height:10px;border-radius:50%;background:#e1ded8}
.browser .top span{margin-left:10px;font-size:12.5px;color:var(--muted);background:#f0eee9;border-radius:6px;padding:3px 12px}
.browser img{width:100%;height:auto}
.band{border-top:1px solid var(--rule)}
.kick{font-size:13px;font-weight:600;color:var(--mag);letter-spacing:.02em;margin-bottom:10px}

/* the story: a numbered path, the real screen beside each step */
.path{list-style:none;margin:40px 0 0;padding:0;display:grid;gap:0}
.step{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 18px;padding-bottom:44px}
.step::before{content:"";position:absolute;left:21px;top:48px;bottom:4px;width:2px;background:var(--rule)}
.step:last-child{padding-bottom:0}.step:last-child::before{display:none}
.n{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:650;font-size:17px;font-variant-numeric:tabular-nums}
.step:last-child .n{background:#74d93f;color:#0a0a0a}
.st h3{font-size:clamp(19px,1.7vw,22px);letter-spacing:-.03em;font-weight:600;margin-top:9px}
.st p{color:var(--muted);margin-top:6px;font-size:16px;max-width:38ch}
.shot{grid-column:1/-1;position:relative;margin:14px 0 0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--rule),0 24px 48px -32px rgba(17,17,17,.4)}
.shot img{width:100%;height:auto}
@media(min-width:900px){
 .step{grid-template-columns:44px minmax(0,.75fr) minmax(0,1.35fr);gap:0 32px;padding-bottom:56px}
 .shot{grid-column:3;margin:0}
}

/* features: small cards, one line each; the first one wide */
.feats{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:12px}
@media(min-width:600px){.feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.feats{grid-template-columns:repeat(3,minmax(0,1fr))}}
.feats li{background:#fff;border-radius:12px;box-shadow:0 0 0 1px var(--rule);padding:18px 18px 20px;display:grid;grid-template-columns:24px minmax(0,1fr);gap:3px 12px;align-content:start}
.feats .ic{color:var(--mag);margin-top:1px}
.feats b{font-size:16.5px;letter-spacing:-.02em}
.feats span{grid-column:2;color:var(--muted);font-size:15px;line-height:1.45}
.feats li.wide{grid-column:1/-1;background:#111;color:#f5f5f5;box-shadow:none;grid-template-columns:24px minmax(0,1fr);padding:22px}
@media(min-width:1024px){.feats li.wide{grid-column:span 2}}
.feats li.wide .ic{color:#74d93f}
.feats li.wide span{color:#c9c9c9}
.ticks{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ticks i{font-style:normal;font-size:13.5px;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#1f1f1f;box-shadow:0 0 0 1px #333}
.ticks i::before{content:"";width:12px;height:12px;border-radius:3px;background:#74d93f;box-shadow:inset 0 0 0 2px #74d93f}
.ticks i.off{color:#a8a8a8}.ticks i.off::before{background:transparent;box-shadow:inset 0 0 0 1.5px #777}

/* the team */
.team{display:grid;gap:36px;align-items:center}
@media(min-width:1024px){.team{grid-template-columns:1fr 1fr;gap:64px}}
.tl{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:14px}
.tl li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;font-size:16.5px}
.tl .ic{color:var(--tota)}
.flow{background:#fff;border-radius:16px;box-shadow:0 0 0 1px var(--rule);padding:24px;display:grid;gap:14px}
.who{display:flex;align-items:center;gap:12px;font-weight:600}
.who .dot{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff}
.who .dot .ic{width:20px;height:20px}
.who small{display:block;font-weight:400;color:var(--muted);font-size:14px}
.arrow{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);padding-left:19px;border-left:2px dashed var(--rule);margin-left:19px;min-height:36px}
.two{display:grid;gap:10px;grid-template-columns:1fr}
@media(min-width:520px){.two{grid-template-columns:1fr 1fr}}
.two div{border-radius:12px;background:#f5f4f1;padding:14px 16px;font-size:14.5px;color:var(--muted)}
.two b{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:15.5px;margin-bottom:4px}
.two .ic{width:18px;height:18px;color:var(--mag)}

.qa > *{max-width:880px}
.qa .a a{color:var(--ink)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* seo02 build: the phone's first picture is the Executive view (art direction), the tour in place */
.browser picture,.browser img{display:block;width:100%;height:auto}
@media(max-width:699px){.browser{max-width:380px;margin-inline:auto}}
.tour{margin:32px 0 8px;max-width:960px}
.tour video{width:100%;height:auto;aspect-ratio:16/9;border-radius:14px;background:#0a0a0a;box-shadow:0 0 0 1px var(--rule),0 24px 48px -32px rgba(17,17,17,.4)}
.tour .stage{position:relative}
.tour .play{border:0;padding:0;width:100%;font:inherit;cursor:pointer;border-radius:14px;background:linear-gradient(180deg,rgba(10,10,10,.08),rgba(10,10,10,.5))}
.tour .play[hidden]{display:none}
.tour .play:hover span{box-shadow:0 0 0 2.5px var(--mag)}
.tour figcaption{margin-top:10px;font-size:14px;color:var(--muted)}
.tour figcaption a{color:var(--ink);font-weight:600;text-decoration-color:var(--tota)}
.qs{margin-top:20px}
.skip{position:absolute;left:12px;top:-60px;z-index:30;background:#74d93f;color:#0a0a0a;padding:10px 14px;font-weight:650;text-decoration:none;border-radius:2px}
.skip:focus{top:12px}

/* WEB-002: the guides (/guides/ and its topic pages) — this look, plus an article's text, a formula and cards that link
   (modern-web-guidance "card": an <article> per card, the heading's link stretched over it, hover and focus on the card) */
.by{margin-top:14px;font-size:14px;color:var(--muted)}
.prose{max-width:68ch;margin-top:22px;font-size:17px}
.prose > * + *{margin-top:14px}
.prose ul{padding-left:1.25em;margin-bottom:0}
.prose li + li{margin-top:8px}
.prose li::marker{color:var(--mag)}
.prose h3{font-size:19px;letter-spacing:-.02em;margin-top:30px}
.prose a,.more a{color:var(--ink);font-weight:600;text-decoration-color:var(--tota)}
.fx{padding:14px 18px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--rule);border-left:4px solid var(--mag);font-weight:600;font-size:16.5px;overflow-wrap:anywhere}
.fx small{display:block;margin-top:6px;font-weight:400;font-size:14.5px;color:var(--muted)}
.cards{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:14px}
@media(min-width:600px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card{position:relative;display:grid;align-content:start;gap:6px;height:100%;overflow:hidden;background:#fff;border-radius:12px;box-shadow:0 0 0 1px var(--rule);padding:16px 18px 18px}
.card > img{width:calc(100% + 36px);max-width:none;margin:-16px -18px 8px;aspect-ratio:16/9;object-fit:cover}
.card h3{font-size:17px;letter-spacing:-.02em}
.card h3 a{text-decoration:none}
.card a.card-link::after{content:"";position:absolute;inset:0}
.card a.card-link:focus-visible{outline:none}
.card:has(a.card-link:focus-visible){outline:3px solid var(--mag);outline-offset:2px}
.card:has(a.card-link:hover){box-shadow:0 0 0 2px var(--tota)}
.card p{color:var(--muted);font-size:15px;line-height:1.45}
.card p.tag{font-size:12.5px;font-weight:600;color:var(--mag);letter-spacing:.02em}
.card.dark{background:#111;box-shadow:none;color:#f5f5f5}
.card.dark p{color:#c9c9c9}.card.dark p.tag{color:#74d93f}
.more{margin-top:24px;color:var(--muted)}
