/* OTB Concrete — Technical Reference
   Brand tokens taken from the live otbconcrete.com design system.
   Typography (Barlow / DM Sans / DM Mono) is loaded from otb-fonts.css. */

@import url("otb-fonts.css");

:root{
  /* OTB brand palette */
  --otb-teal:#1d5a41; --otb-teal-dark:#143d2d; --otb-teal-mid:#236b4d;
  --otb-teal-light:#e8f2ec; --otb-teal-pale:#f3f8f5; --otb-accent-mint:#7ab99a;
  --otb-stone:#f5f3f0; --otb-concrete:#c8c0b4; --otb-concrete-dark:#6e6860;
  --otb-offblack:#272727; --otb-white:#fff;
  --otb-text:#272727; --otb-text-soft:#4a4844; --otb-text-muted:#8a8680;
  --otb-grey:#808080; --otb-grey-light:#d1d1d1;
  --otb-protest-blue:#034a55;
  --line-1:#e6e3de; --line-2:#d5d1cb; --line-3:#c3bfb8;
  /* type */
  --font-display:'Barlow',sans-serif; --font-body:'DM Sans',sans-serif; --font-mono:'DM Mono',monospace;
  /* shape */
  --radius-sm:4px; --radius-md:8px; --radius-lg:12px; --radius-xl:16px;
  --shadow-sm:0 1px 3px rgba(39,39,39,.06); --shadow-md:0 3px 14px rgba(39,39,39,.10);
  --ease-out:cubic-bezier(0.16,1,0.3,1);
  --max:1180px;
  /* semantic aliases */
  --red:#b42318; --amber:#a15c00;
}

*{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);color:var(--otb-text);line-height:1.65;background:var(--otb-white);-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* header */
header{border-bottom:1px solid var(--line-1);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);z-index:10}
.nav{max-width:var(--max);margin:auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.nav-logo{display:flex;align-items:center;text-decoration:none}
.nav-logo img{height:44px;width:auto;display:block}
nav a{color:var(--otb-text-soft);text-decoration:none;margin-left:20px;font-size:14px;font-weight:500;transition:color .2s var(--ease-out)}
nav a:hover{color:var(--otb-teal)}

/* layout + type */
main{max-width:var(--max);margin:auto;padding:52px 22px 80px}
.eyebrow{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.14em;font-size:11px;color:var(--otb-teal);font-weight:500}
h1{font-family:var(--font-display);font-weight:800;font-size:clamp(34px,4.6vw,58px);line-height:1.05;margin:12px 0 20px;letter-spacing:-.02em}
h2{font-family:var(--font-display);font-weight:700;font-size:29px;line-height:1.18;margin:52px 0 16px;letter-spacing:-.01em}
h3{font-family:var(--font-display);font-weight:700;font-size:19px;margin:30px 0 10px}
p{max-width:66ch;color:var(--otb-text-soft)}
.lede{font-size:20px;color:var(--otb-text-muted);max-width:56ch}
strong{color:var(--otb-text);font-weight:600}
a{color:var(--otb-teal-mid)}
ul,ol{color:var(--otb-text-soft);max-width:66ch}

/* components */
.answer{border-left:4px solid var(--otb-teal);background:var(--otb-teal-pale);padding:20px 24px;margin:28px 0;font-size:17px;border-radius:0 var(--radius-md) var(--radius-md) 0;max-width:72ch}
.answer strong{color:var(--otb-teal-dark)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:26px 0}
.card{border:1px solid var(--line-1);border-radius:var(--radius-lg);padding:22px;background:var(--otb-white);box-shadow:var(--shadow-sm)}
.card h3{margin-top:0}
.card p{font-size:15px;max-width:none}
.pill{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--otb-teal-light);color:var(--otb-teal-dark);font-size:12px;font-weight:600}

table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}
th,td{border:1px solid var(--line-1);padding:12px;vertical-align:top;text-align:left;color:var(--otb-text-soft)}
th{background:var(--otb-stone);font-weight:700;font-family:var(--font-display);color:var(--otb-text)}

.flow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:26px 0}
.step{border:1px solid var(--line-1);padding:14px 18px;border-radius:var(--radius-md);background:var(--otb-white);font-weight:600;font-size:14px;box-shadow:var(--shadow-sm)}
.arrow{color:var(--otb-concrete-dark);font-size:20px}

.note{padding:16px 18px;background:var(--otb-stone);border:1px solid var(--line-2);border-left:4px solid var(--otb-concrete-dark);border-radius:0 var(--radius-md) var(--radius-md) 0;margin:26px 0;color:var(--otb-text-soft);max-width:72ch}
.source{font-size:13px;color:var(--otb-text-muted);max-width:80ch}
.toc{background:var(--otb-teal-pale);padding:20px 25px;border-radius:var(--radius-lg)}
.toc a{display:block;margin:8px 0;font-size:15px}

/* claim being addressed — visually distinct from OTB's own position */
.claim{margin:26px 0;padding:18px 22px;background:var(--otb-stone);border:1px solid var(--line-2);border-radius:var(--radius-md);max-width:72ch}
.claim .claim-label{display:block;font-family:var(--font-mono);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.1em;color:var(--otb-concrete-dark);margin-bottom:9px}
.claim .claim-text{font-family:var(--font-display);font-weight:500;font-size:18px;line-height:1.4;color:var(--otb-text-soft);margin:0}
.claim .claim-status{display:block;margin-top:11px;font-size:14px;color:var(--otb-text-muted)}
.claim .claim-status strong{color:var(--otb-teal-dark)}

/* references */
ul.refs{list-style:none;padding:0;margin:20px 0;max-width:80ch}
ul.refs li{border-top:1px solid var(--line-1);padding:15px 0;color:var(--otb-text-soft)}
ul.refs li:last-child{border-bottom:1px solid var(--line-1)}
ul.refs strong{font-family:var(--font-mono);font-weight:500;color:var(--otb-text)}
.tag{display:inline-block;min-width:74px;padding:3px 8px;margin-right:10px;border-radius:var(--radius-sm);background:var(--otb-teal-light);color:var(--otb-teal-dark);font-family:var(--font-mono);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;text-align:center}
ul.refs .meta{display:block;color:var(--otb-text-muted);font-size:13px;margin-top:5px}

.reviewed{font-family:var(--font-mono);font-size:11px;color:var(--otb-text-muted);letter-spacing:.04em;margin:34px 0 0}
footer{border-top:1px solid var(--line-1);padding:32px 22px;color:var(--otb-text-muted);font-size:13px;background:var(--otb-stone)}
footer>div{max-width:var(--max);margin:auto}
footer strong{color:var(--otb-text-soft)}
footer a{color:var(--otb-teal-mid)}

@media(max-width:700px){
  .nav{flex-wrap:wrap;gap:10px;padding:12px 22px}
  header nav{display:flex;width:100%;overflow-x:auto;gap:18px;padding-bottom:2px;scrollbar-width:none}
  header nav::-webkit-scrollbar{display:none}
  header nav a{margin-left:0;white-space:nowrap;font-size:13px}
  main{padding-top:34px}
  table{display:block;overflow-x:auto;white-space:normal}
  .tag{display:block;width:74px;margin:0 0 7px}
  .nav-logo img{height:38px}
}
