/* SmartProjx site styles.
   Brand ground #1b263b and mark cyan #84ffff are measured from
   SMARTPROJX_2026_FINAL LOGO DESIGN.png.
   The mint / aqua / blue gradient is kept from the archived branding
   at Camilla's instruction, 26 August 2026.

   Layout: left aligned, single column, no cards. Sections are separated
   by whitespace and a gradient hairline, and announced by a small
   monospace label. Studied from jaredrhod.com at Camilla's direction,
   26 Aug 2026: the layout discipline and the restraint were taken,
   the terminal costume deliberately was not.

   No JavaScript anywhere on this site. That is deliberate: it means
   no cookies, no analytics and nothing to disclose. */

:root {
  --ground:     #1b263b;
  --cyan:       #84ffff;
  --ink:        #ffffff;
  --ink-soft:   rgba(255,255,255,0.76);
  --ink-faint:  rgba(255,255,255,0.48);
  --hair:       rgba(255,255,255,0.13);
  --grad:       linear-gradient(160deg, #84efb9 0%, #72c9d3 52%, #65b6e3 100%);
  --grad-flat:  linear-gradient(90deg, #84efb9 0%, #72c9d3 52%, #65b6e3 100%);
  --measure:    36rem;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.topline { height: 3px; background: var(--grad-flat); }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 1.4rem; }

/* ---- masthead: left aligned, small ---- */
.masthead { padding: 2.4rem 0 3.4rem; }
.masthead img { width: 104px; height: auto; display: block; }
.masthead a { display: inline-block; }

/* ---- the monospace section label, the one borrowed element ---- */
.label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin: 0 0 1rem;
}
.label b { color: var(--cyan); font-weight: 500; }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--body); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 6.6vw, 3rem); margin: 0 0 1.1rem; max-width: 18ch; }
h2 { font-size: clamp(1.4rem, 4.4vw, 1.85rem); margin: 0 0 1.1rem; max-width: 22ch; }
h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.3rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.15rem; max-width: var(--measure); color: var(--ink-soft); }
.lede { font-size: 1.18rem; color: var(--ink); max-width: var(--measure); }
h1 + .lede, h2 + .lede { margin-top: -0.2rem; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; color: var(--ink); }

section { padding: 0 0 3.6rem; }
section:last-of-type { padding-bottom: 1.5rem; }

/* ---- gradient hairline divider ---- */
.rule { height: 2px; background: var(--grad-flat); border: 0; margin: 0 0 3.4rem; opacity: 0.5; }

/* ---- the ladder ---- */
.ladder { list-style: none; margin: 0; padding: 0 0 0 1.7rem; position: relative; }
.ladder::before {
  content: ""; position: absolute; left: 0; top: 0.4rem; bottom: 0.6rem;
  width: 2px; background: var(--grad);
}
.ladder li { position: relative; margin: 0 0 2rem; }
.ladder li:last-child { margin-bottom: 0; }
.ladder .step {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.35rem;
}
.ladder .open { color: var(--cyan); margin-left: auto; }
.ladder p { margin: 0.2rem 0 0; font-size: 0.99rem; }
.ladder li.is-open h3 { color: var(--cyan); }

/* ---- lists ---- */
ul.plain { list-style: none; padding: 0; margin: 0 0 1.2rem; max-width: var(--measure); }
ul.plain li { position: relative; padding-left: 1.35rem; margin-bottom: 0.8rem; color: var(--ink-soft); }
ul.plain li::before {
  content: ""; position: absolute; left: 0; top: 0.72rem;
  width: 0.42rem; height: 2px; background: var(--cyan); opacity: 0.9;
}

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.2rem; max-width: var(--measure); }
ol.steps li { counter-increment: s; position: relative; padding-left: 2.5rem; margin-bottom: 1.25rem; color: var(--ink-soft); }
ol.steps li::before {
  content: "0" counter(s); position: absolute; left: 0; top: 0.24rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--cyan);
}

/* ---- price ---- */
.price { font-family: var(--mono); font-size: clamp(2.2rem, 8vw, 3.1rem); font-weight: 700;
  line-height: 1; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 1rem; }
.founding { border-left: 2px solid; border-image: var(--grad) 1; padding-left: 1.3rem; margin: 2.4rem 0 0; }
.founding p:last-child { margin-bottom: 0; }

/* ---- links and buttons ---- */
a { color: var(--cyan); text-underline-offset: 0.22em; }
.btn {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  color: var(--ground); background: var(--cyan);
  padding: 0.85rem 1.4rem; border-radius: 3px; margin: 0.5rem 0.4rem 0 0;
}
.btn:hover { background: #a8ffff; }
.btn--ghost { background: transparent; color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }
.btn--ghost:hover { background: rgba(132,255,255,0.1); }

/* the "open now" pointer on the root page, a link not a card */
.pointer { display: block; text-decoration: none; color: inherit;
  border-left: 2px solid; border-image: var(--grad) 1; padding-left: 1.4rem; }
.pointer h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.pointer:hover h3 { color: var(--cyan); }
.pointer .more { font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); display: inline-block; margin-top: 0.3rem; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--hair); padding: 2rem 0 3.5rem; margin-top: 2rem;
  color: var(--ink-faint); font-size: 0.88rem; font-family: var(--mono); letter-spacing: 0.02em; }
footer p { max-width: none; margin: 0 0 0.45rem; color: var(--ink-faint); font-size: 0.88rem; }
footer a { color: var(--ink-soft); }

@media (min-width: 40rem) {
  .masthead img { width: 120px; }
  .wrap { padding: 0 2.4rem; }
  section { padding-bottom: 4.4rem; }
}

/* Step one on the root page links through to the offer page.
   Added 26 Aug 2026: a reader scanning the seven steps reaches
   "Vision Portrait / Open" and tries to click it, so it clicks. */
.step-link { display: block; text-decoration: none; color: inherit; }
.step-link h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(132,255,255,0.4);
  text-underline-offset: 0.24em;
}
.step-link:hover h3 { text-decoration-color: var(--cyan); }
.step-link:hover p { color: var(--ink); }
.step-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; border-radius: 2px; }
