:root {
    --forge: #E8590C;
    --forge-soft: #FF8A3D;
    --ink: #1A1614;
    --panel: #241E1A;
    --panel-2: #2E2621;
    --text: #F2EAE4;
    --muted: #B9A99D;
    --line: #3D332C;
    --ok: #6FBF73;
    --warn: #E5A83D;
    --miss: #7A6A5E;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { width: min(1080px, 92vw); margin: 0 auto; }
  a { color: var(--forge-soft); }

  header {
    padding: 76px 0 56px;
    background:
      radial-gradient(1100px 420px at 12% -12%, rgba(232,89,12,.30), transparent 62%),
      linear-gradient(180deg, #1E1917, var(--ink));
    border-bottom: 1px solid var(--line);
  }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .2px; }
  .brand .mark { font-size: 30px; }
  h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.4rem);
    line-height: 1.1;
    margin: 26px 0 14px;
    letter-spacing: -.5px;
  }
  h1 em { color: var(--forge-soft); font-style: normal; }
  .lede { font-size: clamp(1.02rem, 2.3vw, 1.22rem); color: var(--muted); max-width: 62ch; margin: 0; }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .btn {
    display: inline-block; padding: 13px 22px; border-radius: 10px;
    text-decoration: none; font-weight: 600; border: 1px solid transparent;
  }
  .btn-primary { background: var(--forge); color: #fff; }
  .btn-primary:hover { background: #d24f08; }
  .btn-ghost { border-color: var(--line); color: var(--text); }
  .btn-ghost:hover { border-color: var(--forge); }
  .note { margin-top: 16px; color: var(--muted); font-size: .9rem; }

  section { padding: 62px 0; border-bottom: 1px solid var(--line); }
  h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 10px; letter-spacing: -.3px; }
  .sub { color: var(--muted); margin: 0 0 34px; max-width: 66ch; }

  /* Exactly four cards: auto-fit left an orphan on the second row at desktop
     widths. Two columns keeps them balanced. */
  .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  @media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
  .card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 14px; padding: 22px;
  }
  .card h3 { margin: 12px 0 8px; font-size: 1.06rem; }
  .card p { margin: 0; color: var(--muted); font-size: .95rem; }
  .ico { font-size: 24px; line-height: 1; }


  /* Readiness demo — mirrors the verdict the app computes. */
  .demo { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
  .demo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .demo-name { font-weight: 600; }
  .verdict { font-size: .85rem; font-weight: 700; }
  .verdict.low { color: var(--warn); }
  .bar { display: flex; height: 8px; border-radius: 5px; overflow: hidden; margin: 14px 0 10px; }
  .bar span { display: block; }
  .bar .s-ok { background: var(--ok); }
  .bar .s-low { background: var(--warn); }
  .bar .s-miss { background: var(--miss); }
  .legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
  .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }

  .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  ul.plain { margin: 0; padding-left: 20px; color: var(--muted); }
  ul.plain li { margin-bottom: 9px; }

  .callout {
    background: var(--panel-2); border: 1px solid var(--line);
    border-left: 3px solid var(--forge); border-radius: 10px;
    padding: 18px 20px; color: var(--muted); font-size: .95rem;
  }
  .callout strong { color: var(--text); }

  footer { padding: 46px 0 66px; color: var(--muted); font-size: .9rem; }
  footer a { color: var(--muted); }
  footer a:hover { color: var(--forge-soft); }

  @media (max-width: 560px) {
    header { padding: 54px 0 42px; }
    section { padding: 46px 0; }
  }

/* Language switcher, tucked beside the wordmark rather than given a nav of
   its own — one link does not earn a navigation bar. */
.brand { position: relative; }
.brand .lang {
  margin-left: auto; font-size: .85rem; font-weight: 500;
  text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
}
.brand .lang:hover { color: var(--forge-soft); border-color: var(--forge); }
