/* StratisForge Software website. Brand: Ledger Spark (navy #16213A, ember #E8692E, slate #4A5672, Manrope). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16213A;
  --navy-2: #1f2d4d;
  --ember: #E8692E;
  --ember-ink: #b8461a;
  --slate: #4A5672;

  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --surface: #ffffff;
  --ink: #16213A;
  --ink-2: #4A5672;
  --rule: #dfe4ec;
  --link: #b8461a;
  --shadow: 0 1px 2px rgba(22, 33, 58, .06), 0 8px 28px rgba(22, 33, 58, .08);

  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1729;
    --bg-soft: #151f36;
    --surface: #18233d;
    --ink: #e9edf5;
    --ink-2: #aeb8cc;
    --rule: #2a3756;
    --link: #f08a57;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ember-ink); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 4px; background: var(--ember); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--ember); } }

.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark { display: block; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ember-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav a[aria-current="page"] { color: var(--ember); } }

.menu-btn { display: none; background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }

@media (max-width: 760px) {
  .brand img { height: 34px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 10px; border: 2px solid transparent; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--ember); color: #fff !important; }
.btn-primary:hover { background: #d65a21; }
.btn-ghost { border-color: currentColor; color: inherit; }
.nav .btn { padding: 9px 16px; font-size: .92rem; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lead { color: #c3cbdd; }
.hero .eyebrow { color: #f3a67f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: #fff; }

/* The ledger motif from the mark: three stacked bars and a spark. */
.ledger { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 460px; pointer-events: none; }
.ledger span { display: block; height: 56px; border-radius: 28px; background: rgba(255, 255, 255, .12); margin-bottom: 30px; }
.ledger span:nth-child(1) { width: 100%; }
.ledger span:nth-child(2) { width: 72%; }
.ledger span:nth-child(3) { width: 44%; }
.ledger::after { content: ""; position: absolute; left: 62%; bottom: -14px; width: 92px; height: 92px; background: var(--ember); opacity: .9;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@media (max-width: 900px) { .ledger { display: none; } }

.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .page-hero .wrap { padding-top: 40px; padding-bottom: 44px; }
}
.hero.with-shot .wrap { padding-bottom: 180px; }
.shot-overlap { padding-top: 0; }
.shot-overlap figure { margin-top: -140px; position: relative; }
@media (max-width: 720px) {
  .hero.with-shot .wrap { padding-bottom: 110px; }
  .shot-overlap figure { margin-top: -80px; }
}
.soft { background: var(--bg-soft); }
.section-head { max-width: 44em; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.card .tick { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.card .tick::after { content: ""; width: 14px; height: 4px; border-radius: 4px; background: var(--ember); box-shadow: 0 -7px 0 #fff, 0 7px 0 #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card .tick { background: #24345a; } }

/* Flow: plan -> deliver -> change -> bill -> close */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); } }
.flow li { position: relative; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 18px; counter-increment: step; }
.flow li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; color: var(--ember-ink); font-size: .85rem; letter-spacing: .08em; margin-bottom: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .flow li::before { color: var(--ember); } }
.flow b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.flow span { color: var(--ink-2); font-size: .95rem; }

/* Screenshot frame */
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow); background: #fff; }
.shot-bar { height: 30px; background: #e9edf3; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c7cfdb; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; }


/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.25fr; } .split.flip > :first-child { order: 2; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 4px; border-radius: 4px; background: var(--ember); }

/* Pricing */
.price-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(3, 1fr); max-width: none; } }
.price { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--ember); }
.price .tier { font-weight: 800; font-size: 1.25rem; margin: 0 0 4px; }
.price .who { color: var(--ink-2); margin: 0 0 18px; font-size: .97rem; }
.price .amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.price .amount small { font-size: 1rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.price .billed { color: var(--ink-2); font-size: .9rem; margin: 6px 0 20px; }
.price .checks { margin-top: auto; }
.fine { color: var(--ink-2); font-size: .92rem; margin-top: 18px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 32%; font-weight: 700; }

/* Language chips */
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.langs li { border: 1px solid var(--rule); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .92rem; }

/* CTA band */
.cta { background: var(--navy); color: #fff; border-radius: 20px; padding: 48px 32px; display: grid; gap: 20px; align-items: center; }
.cta h2 { color: #fff; margin: 0; }
.cta p { color: #c3cbdd; margin: 0; }
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; padding: 56px; } }

/* Long-form text (legal pages) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.notice { border-left: 4px solid var(--ember); background: var(--bg-soft); padding: 14px 18px; border-radius: 6px; margin: 0 0 32px; font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 48px 0 40px; margin-top: 40px; font-size: .93rem; color: var(--ink-2); }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 720px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .85rem; }
.site-footer img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer .logo-dark { display: none; }
/* Salesforce partner badge: used unaltered, at least 80px wide, with clear space around it. */
.site-footer .partner-badge { display: block; width: 140px; height: auto; margin: 22px 0 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer .logo-light { display: none; }
  :root:not([data-theme="light"]) .site-footer .logo-dark { display: block; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
