/* Systemco Planning — static landing page. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1a1916;
  --muted: #5c564c;
  --paper: #f3efe6;
  --paper-raised: #faf7f1;
  --band: #e6dfd1;
  --rule: #d4ccbe;
  --forest: #1f2a24;
  --forest-deep: #16201c;
  --cream: #f3efe6;
  --cream-soft: #e4dccb;
  --brass: #8a6436;
  --brass-bright: #c6a36a;
  --focus: #8a6436;
  --shadow: 0 1px 0 rgba(26, 25, 22, 0.04);
  --header-h: 4.25rem;
  --wrap: 68rem;
  --measure: 40rem;
  --sans: "Source Sans 3", "Segoe UI", "Liberation Sans", "Noto Sans", sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", "Liberation Serif", "Noto Serif", serif;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 430;
  text-rendering: optimizeLegibility;
  color-scheme: light;
}

::selection {
  background: #e4d3ae;
  color: var(--ink);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--cream);
  color: var(--forest);
  padding: 0.55rem 0.8rem;
  z-index: 20;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.measure {
  max-width: var(--measure);
}

h1,
h2,
h3,
.payoff,
.step-no,
.pillar-no {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.015em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.5rem, 6.4vw, 4.35rem);
  line-height: 1.04;
  font-weight: 560;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

.kicker,
.section-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 239, 230, 0.94);
  border-bottom: 1px solid var(--rule);
  border-top: 3px solid var(--forest);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.05rem;
  margin-left: auto;
}

.section-nav a,
.lang a {
  text-decoration: none;
  font-size: 0.95rem;
}

.section-nav a {
  color: var(--ink);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.section-nav a:hover {
  border-bottom-color: var(--brass-bright);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang a {
  color: var(--muted);
  padding: 0.35rem 0.15rem;
}

.lang a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.lang-sep {
  color: var(--rule);
}

.hero {
  background:
    radial-gradient(1200px 420px at 90% -10%, rgba(198, 163, 106, 0.16), transparent 55%),
    linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--cream);
}

.hero-inner {
  padding: 4.25rem 0 3.5rem;
}

.hero .kicker {
  color: var(--brass-bright);
}

.lede {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
  max-width: 22em;
  color: var(--cream);
}

.hero .measure > p {
  color: var(--cream-soft);
}

.payoff {
  margin: 1.5rem 0 1.6rem;
  padding: 0.95rem 0 0.95rem 1rem;
  border-left: 3px solid var(--brass-bright);
  color: var(--cream);
  font-size: 1.2rem;
  line-height: 1.45;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.4rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  background: var(--cream);
  color: var(--forest);
  text-decoration: none;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  box-shadow: var(--shadow);
}

.button:hover {
  background: #fff;
}

.button-dark {
  background: var(--forest);
  color: var(--cream);
}

.button-dark:hover {
  background: #2a3831;
}

.price-line {
  margin: 0;
  color: var(--cream-soft);
  font-size: 0.98rem;
}

.price-line a,
.text-link {
  color: inherit;
  text-underline-offset: 0.18em;
}

.anchor-strip {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--rule);
}

.anchor-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.anchor-grid a {
  display: block;
  padding: 1.05rem 1rem 1.05rem 0;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--rule);
}

.anchor-grid a:first-child {
  border-top: none;
}

.anchor-grid strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.05rem;
}

.anchor-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 4.25rem 0;
}

.section-kicker {
  margin-bottom: 0.55rem;
}

.section + .section {
  padding-top: 0;
}

.band {
  background: var(--band);
}

.steps {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.15rem 0 1.15rem 3.4rem;
  border-top: 1px solid var(--rule);
}

.steps li:last-child {
  border-bottom: 1px solid var(--rule);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brass);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  margin: 0;
  padding: 1.25rem 1.2rem 1.1rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
}

.pillar-no {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--brass);
  font-size: 0.95rem;
}

.pillar p:last-child {
  margin-bottom: 0;
}

.principle {
  margin: 1rem 0 0;
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--brass);
  background: transparent;
}

.principle p:last-child {
  margin-bottom: 0;
}

.partners .payoff {
  color: var(--ink);
  border-left-color: var(--brass);
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.estimate {
  margin-top: 1.25rem;
  padding: 1.15rem 1.2rem 0.35rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
}

.estimate .section-kicker {
  margin-bottom: 0.7rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.92rem;
  font-weight: 650;
}

.split {
  display: grid;
  gap: 0.25rem 2rem;
}

.faq {
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 620;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brass);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 2rem 1.1rem 0;
  max-width: var(--measure);
  color: var(--ink);
}

.contact {
  background: var(--forest);
  color: var(--cream);
}

.contact .section-kicker {
  color: var(--brass-bright);
}

.contact h2,
.contact .byline {
  color: var(--cream);
}

.contact p {
  color: var(--cream-soft);
}

.byline {
  margin-top: 1.4rem;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.about {
  padding-bottom: 3rem;
}

.about p {
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-raised);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.site-footer a {
  color: var(--ink);
}

.registered-address {
  margin: 0;
  max-width: 36rem;
}

.address-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 650;
}

.address-value {
  display: inline-block;
  padding: 0.35rem 0.5rem;
  border: 1px dashed var(--brass);
  background: #fff6e4;
  color: #6b4e28;
  font-weight: 650;
}

.footer-meta {
  margin: 0.8rem 0 0;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

.redirect-page h1 {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

@media (min-width: 720px) {
  .anchor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .anchor-grid a {
    padding: 1.2rem 1.25rem 1.2rem 1.15rem;
    border-top: none;
    border-left: 1px solid var(--rule);
  }

  .anchor-grid a:first-child {
    border-left: none;
    padding-left: 0;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .steps li,
  .steps li:last-child {
    border: none;
    padding: 0.2rem 1.15rem 0.2rem 0;
  }

  .steps li + li {
    padding-left: 1.15rem;
    border-left: 1px solid var(--rule);
  }

  .steps li::before {
    position: static;
    display: block;
    margin-bottom: 0.65rem;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero .button,
  .contact .button {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .section-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    padding-bottom: 0.35rem;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 0.9rem;
    row-gap: 0.2rem;
  }

  .lang {
    margin-left: auto;
  }

  .hero-inner {
    padding: 2.75rem 0 2.4rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media print {
  .site-header,
  .skip,
  .cta-row {
    position: static;
  }

  .hero,
  .contact {
    background: white;
    color: black;
  }

  .hero .measure > p,
  .lede,
  .payoff,
  .price-line,
  .contact p,
  .contact h2,
  .byline {
    color: black;
  }

  .faq details > p {
    display: block;
  }

  a {
    text-decoration: underline;
  }
}
