/*
 * CONCRA, on the Full Stack brand.
 *
 * The tokens below are lifted from wearefullstack.com's own stylesheet rather than
 * eyeballed from screenshots: #F15E2B, #008080, #0F0F0F and the 8/12/20/40 radius scale are
 * the values that site declares as custom properties. Matching them by number is the
 * difference between "on brand" and "roughly the same orange".
 *
 * TYPEFACE. The brand stack is `'Gilroy', 'Roboto', sans-serif`. Gilroy is a commercial
 * face served as self-hosted TTFs on that site, and redistributing it here is a licence
 * question nobody has asked, so it is REFERENCED by name and never shipped: a machine that
 * has it uses it, and everything else falls through a geometric-sans stack that reads
 * close. Naming a font costs nothing; vendoring one without checking the licence is not a
 * decision to make quietly.
 *
 * NO INLINE STYLES ANYWHERE. The site ships a CSP of `style-src 'self'`, so a `style=""`
 * attribute or a `<style>` block would be silently dropped by the browser and the page
 * would degrade in a way that looks like a CSS bug. Everything visual lives here.
 */

:root {
  /* Full Stack brand, verbatim from their --primary-* custom properties. */
  --fs-orange: #f15e2b;
  --fs-orange-soft: rgba(241, 94, 43, 0.12);
  --fs-teal: #008080;
  --fs-teal-deep: #0e2d2d;
  --fs-black: #0f0f0f;
  --fs-black-2: #111111;
  --fs-black-3: #222222;
  --fs-grey: #616161;
  --fs-white: #ffffff;
  --fs-off-white: #f8f6f5;

  --ink: var(--fs-black);
  --ink-soft: #4b4b4b;
  --ink-faint: var(--fs-grey);
  --rule: #e6e2df;
  --bg: var(--fs-white);
  --bg-soft: var(--fs-off-white);

  /* Their spacing and radius scales, unchanged. */
  --p-xs: 8px;
  --p-s: 12px;
  --p-m: 16px;
  --p-l: 20px;
  --p-xl: 40px;
  --p-xxl: 60px;
  --r-tiny: 8px;
  --r-small: 12px;
  --r-medium: 20px;
  --r-large: 40px;
  --r-full: 1000px;

  --font: "Gilroy", "Roboto", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --shell: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--p-l);
}

/* ---------------------------------------------------------------- type ---- */

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--p-m);
}

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--fs-orange-soft);
  padding: 2px 6px;
  border-radius: var(--r-tiny);
}

/*
 * The angle-bracket eyebrow is the brand's own section motif - wearefullstack.com labels
 * its sections `< Our Clients >` and `< About Us >`. Kept as CSS pseudo-elements so the
 * markup stays readable text rather than punctuation a screen reader has to wade through.
 */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fs-orange);
  margin-bottom: var(--p-m);
}
.eyebrow::before {
  content: "< ";
}
.eyebrow::after {
  content: " >";
}

/* ------------------------------------------------------------- chrome ----- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 15, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(140%) blur(10px);
}
.topbar .shell {
  display: flex;
  align-items: center;
  gap: var(--p-l);
  height: 64px;
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fs-white);
  font-size: 1.05rem;
}
.wordmark span {
  color: var(--fs-orange);
}
.topbar nav {
  display: flex;
  gap: var(--p-l);
  margin-left: auto;
  align-items: center;
}
.topbar nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}
.topbar nav a:hover {
  color: var(--fs-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--p-xs);
  background: var(--fs-orange);
  color: var(--fs-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--r-full);
  border: 1px solid var(--fs-orange);
  white-space: nowrap;
}
.btn:hover {
  background: #d94e1f;
  border-color: #d94e1f;
}
.btn.ghost {
  background: transparent;
  color: var(--fs-white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn.ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost-dark:hover {
  background: var(--bg-soft);
}
/* The brand's diagonal-arrow motif, as a glyph rather than an image request. */
.btn::after {
  content: "\2197";
  font-size: 0.95em;
  line-height: 1;
}
.btn.no-arrow::after {
  content: none;
}

/* --------------------------------------------------------------- hero ----- */

.hero {
  background: var(--fs-black);
  color: var(--fs-white);
  padding: clamp(60px, 9vw, 112px) 0 var(--p-xxl);
  position: relative;
  overflow: hidden;
}
/* A soft orange bloom, so the black is a brand black rather than a void. */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 55% 40% -20%;
  background: radial-gradient(closest-side, rgba(241, 94, 43, 0.22), transparent);
  pointer-events: none;
}
.hero .shell {
  position: relative;
}
.hero h1 {
  max-width: 24ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--fs-orange);
}
/*
 * "pixel-accurate" carries a hyphen, so a browser is entitled to break at it - and did,
 * rendering the headline as "Provably pixel- / accurate." A hyphenated break in the middle
 * of the one phrase the whole page is built around is worse than a narrower column.
 */
.hero h1 .keep {
  white-space: nowrap;
}
.lede {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.78);
  margin-top: var(--p-l);
}
.lede strong {
  color: var(--fs-white);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-s);
  margin-top: var(--p-xl);
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--p-s);
  margin-top: var(--p-xxl);
}
.proof .stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-medium);
  padding: var(--p-l);
}
.proof .big {
  display: block;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fs-white);
  line-height: 1;
}
.proof .label {
  display: block;
  margin-top: var(--p-xs);
  font-weight: 600;
  color: var(--fs-orange);
  font-size: 0.9rem;
}
.proof .sub {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.45;
}
.provenance {
  margin-top: var(--p-l);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}
.provenance a {
  color: rgba(255, 255, 255, 0.72);
}
.provenance code {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------ sections ---- */

section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--rule);
}
section.tinted {
  background: var(--bg-soft);
}
section > .shell > p,
section > .shell > ul {
  max-width: 68ch;
}
.section-head {
  max-width: 62ch;
  margin-bottom: var(--p-xl);
}
.section-head p {
  color: var(--ink-soft);
  margin-top: var(--p-m);
  margin-bottom: 0;
}

.pull {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-left: 3px solid var(--fs-orange);
  padding-left: var(--p-l);
  margin: var(--p-xl) 0 0;
  max-width: 30ch;
}

/* ----------------------------------------------------------- compare ------ */

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.compare th,
.compare td {
  text-align: left;
  padding: var(--p-m) var(--p-s);
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.compare thead th {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.compare tbody th {
  font-weight: 600;
  width: 22%;
}
.compare .them {
  color: var(--ink-faint);
  width: 39%;
}
.compare .us {
  width: 39%;
  font-weight: 500;
}
.compare thead th.us,
.compare tbody td.us {
  background: var(--fs-orange-soft);
}
.compare thead th.us {
  color: var(--fs-orange);
}

/* -------------------------------------------------------------- steps ----- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--p-s);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.steps li {
  counter-increment: step;
  border: 1px solid var(--rule);
  border-radius: var(--r-medium);
  padding: var(--p-l);
  background: var(--bg);
}
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink-faint);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: var(--p-s);
}
.steps h3 {
  margin-bottom: var(--p-xs);
}
.steps p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}
.steps li.highlight {
  background: var(--fs-teal-deep);
  border-color: var(--fs-teal-deep);
  color: var(--fs-white);
}
.steps li.highlight::before {
  color: rgba(255, 255, 255, 0.5);
}
.steps li.highlight p {
  color: rgba(255, 255, 255, 0.82);
}
.steps li.highlight strong {
  color: var(--fs-white);
}

/* --------------------------------------------------------------- grid ----- */

.grid {
  display: grid;
  gap: var(--p-s);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  border: 1px solid var(--rule);
  border-radius: var(--r-medium);
  padding: var(--p-l);
  background: var(--bg);
}
.card h3 {
  margin-bottom: var(--p-m);
}
.note {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: var(--p-s) 0 0;
}

.kv {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.kv th,
.kv td {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93rem;
}
.kv th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-faint);
}
.kv td {
  text-align: right;
  font-weight: 600;
}
.kv tr:last-child th,
.kv tr:last-child td {
  border-bottom: 0;
}

.limits {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: var(--p-s);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.limits li {
  border-left: 3px solid var(--rule);
  padding: 2px 0 2px var(--p-m);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.limits strong {
  color: var(--ink);
}

pre {
  background: var(--fs-black);
  color: #eaeaea;
  padding: var(--p-m) var(--p-l);
  border-radius: var(--r-small);
  overflow-x: auto;
  font-size: 0.9rem;
}
pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ------------------------------------------------------------ pricing ----- */

.tiers {
  display: grid;
  gap: var(--p-m);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}
.tier {
  border: 1px solid var(--rule);
  border-radius: var(--r-medium);
  padding: var(--p-xl);
  background: var(--bg);
}
.tier.feature {
  border-color: var(--fs-orange);
  box-shadow: 0 0 0 3px var(--fs-orange-soft);
}
.price {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: var(--p-s) 0 var(--p-l);
  line-height: 1;
}
.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--p-l);
}
.tier li {
  padding-left: 26px;
  position: relative;
  margin-bottom: var(--p-xs);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fs-orange);
}

/* ---------------------------------------------------------------- cta ----- */

.cta {
  background: var(--fs-teal-deep);
  color: var(--fs-white);
  border-top: 0;
  text-align: center;
}
.cta h2 {
  max-width: 20ch;
  margin-inline: auto;
}
.cta p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-inline: auto;
  margin-top: var(--p-m);
}
.cta .hero-actions {
  justify-content: center;
}

footer {
  background: var(--fs-black);
  color: rgba(255, 255, 255, 0.55);
  padding: var(--p-xl) 0;
  font-size: 0.88rem;
}
footer a {
  color: rgba(255, 255, 255, 0.8);
}
footer code {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* -------------------------------------------------------------- small ----- */

@media (max-width: 760px) {
  .topbar nav a:not(.btn) {
    display: none;
  }
  .compare thead {
    display: none;
  }
  .compare tbody th,
  .compare tbody td {
    display: block;
    width: auto;
    border-bottom: 0;
    padding-bottom: 0;
  }
  .compare tbody tr {
    display: block;
    border-bottom: 1px solid var(--rule);
    padding: var(--p-m) 0;
  }
  /* Without a header row the two cells need their own labels, or the comparison reads as
     one continuous claim rather than as two sides of one. */
  .compare tbody td.them::before {
    content: "Typical tool: ";
    color: var(--ink-faint);
    font-weight: 600;
  }
  .compare tbody td.us::before {
    content: "CONCRA: ";
    color: var(--fs-orange);
    font-weight: 600;
  }
  .compare tbody td.us {
    background: none;
    padding-top: var(--p-xs);
  }
}

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