/* ------------------------------------------------------------------
   Chartinger landing page.

   Flat colour, no gradients, no shadows, no animation. Structure comes
   from alignment and spacing rather than from effects.
   ------------------------------------------------------------------ */

:root {
  --bg:        #0a0e12;
  --bg-alt:    #0d1319;
  --bg-bar:    #0c1218;

  --panel:     #143b34;
  --panel-2:   #11332d;

  --teal:      #5fb3a1;
  --teal-dim:  #4a8c7d;

  --yellow:    #f5e07a;
  --yellow-2:  #ffe873;
  --ink:       #16210f;

  --text:      #eef3f5;
  --text-2:    #b6c2c8;
  --text-dim:  #7b8a92;

  --rule:      #1a232b;

  --wrap: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

strong { font-weight: 700; color: var(--text); }

/* ----------------------------------------------------------- topbar */

.topbar {
  background: var(--bg-bar);
  border-bottom: 1px solid var(--rule);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-mark { width: 20px; height: 20px; fill: var(--teal); flex: none; }

.topbar-note {
  font-size: 13px;
  color: var(--text-dim);
}

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

.hero { padding: 72px 0 0; }

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 700;
}

.hero-copy p {
  margin: 0 0 16px;
  max-width: 54ch;
  color: var(--text-2);
}

.hero-links {
  display: flex;
  gap: 22px;
  margin: 22px 0 0 !important;
}

.hero-links a {
  color: var(--teal);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.hero-links a:hover { color: var(--text); }

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-logo svg { width: 118px; height: 118px; fill: var(--text); }

.hero-logo span {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ----------------------------------------------- the one button */

.hero-action { position: relative; z-index: 2; }

.cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 3px;
}

.cta:hover,
.cta:focus-visible { background: var(--yellow-2); }

/* ---------------------------------------------------- teal pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  background: var(--panel);
  padding: 34px 36px 38px;
  margin: -6px 0 0 56px;
}

.pillar h2 {
  margin: 0 0 14px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0 0 14px;
  font-size: 14.6px;
  color: #dfe8e8;
}

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

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

.section { padding: 84px 0; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 52px;
  max-width: 58ch;
  color: var(--text-dim);
}

/* --------------------------------------------------------- features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 56px;
}

.feature-group h3 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-group dl { margin: 0; }

.feature-group dt {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
  margin-bottom: 3px;
}

.feature-group dd {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--text-2);
}

.feature-group dd:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- status */

.status { display: grid; grid-template-columns: minmax(0, 1fr); }

.status-body { max-width: 66ch; }

.status-body p {
  margin: 0 0 16px;
  color: var(--text-2);
}

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

/* ---------------------------------------------------------- footer */

.site-footer { padding: 44px 0 56px; }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 9px;
}

.footer-brand span { font-weight: 700; }

.footer-brand small {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-link {
  color: var(--teal);
  text-decoration: none;
  font-size: 14px;
}

.footer-link:hover { color: var(--text); }

/* Byline. The icon is desaturated and held back so it reads as a mark
   next to the name rather than as a second brand on the page. */

.byline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--text-dim);
}

.byline a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.byline a:hover { color: var(--text-2); }

.byline img {
  display: block;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.45;
}

.byline a:hover img { opacity: 0.7; }

/* ------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero-top     { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-logo    { align-items: flex-start; }
  .pillars      { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-left: 0; }
  .features     { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 560px) {
  .wrap          { padding: 0 20px; }
  .hero          { padding-top: 52px; }
  .section       { padding: 60px 0; }
  .cta           { display: block; text-align: center; }
  .footer-inner  { flex-direction: column; }
}
