/* The sample page (demo/site/index.html). The site's tokens and the sample rules
   from app/resources/testing/testing.css, with a one-row header and footer: this
   host is not the site, so it carries no menu, no language picker, no footer grid. */
:root{
  color-scheme:light;
  --BackgroundPrimary:#F5F5F5;--BackgroundStrong:#FFFFFF;--BackgroundRaised:#F0F0F0;
  --ForegroundStrong:#1F2328;--ForegroundPrimary:#555555;--InformationGray:#707070;
  --InnerLines:#E0E6E6;--ForegroundAction:#4F46E5;--MouseOverPrimary:#4338CA;
  --OnAction:#FFFFFF;
}
*{box-sizing:border-box}
body{margin:0;background:var(--BackgroundPrimary);color:var(--ForegroundPrimary);
  font:17px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,"Nirmala UI","Hiragino Sans","Yu Gothic UI","Malgun Gothic",Arial,sans-serif;padding-inline:16px}
a{color:var(--ForegroundAction);text-underline-offset:2px}
a:hover{color:var(--MouseOverPrimary)}
a:focus-visible{outline:2px solid var(--ForegroundAction);outline-offset:3px;border-radius:6px}
h1,h2{color:var(--ForegroundStrong);text-wrap:balance;margin:0}
p{margin:0}
.wrap{max-width:1120px;margin:0 auto}

.top{display:flex;align-items:center;gap:16px;min-height:72px;margin:0 0 20px;padding:8px 2px;border-bottom:1px solid var(--InnerLines)}
.brand{display:flex;flex:none;color:var(--ForegroundStrong)}
.brand svg{display:block}
.brand:hover{color:var(--ForegroundStrong)}
.top nav{display:flex;align-items:center;gap:18px;margin-left:auto}
.top nav a{color:var(--ForegroundStrong);font-size:14px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap}
.top nav a:hover{text-decoration:underline;text-underline-offset:3px}

.button{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;
  background:var(--ForegroundAction);color:var(--OnAction);font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap}
.button:hover{background:var(--MouseOverPrimary);color:var(--OnAction)}
.button.small{min-height:40px;padding:0 18px;font-size:14px}
button.button{border:0;cursor:pointer;font-family:inherit}
.top nav .button.small{height:36px;min-height:36px;padding:0 20px;background:#000;color:#fff;font-weight:600}
.top nav .button.small:hover{background:#262626;color:#fff;text-decoration:none}

.page-head{max-width:44rem;display:grid;gap:12px;margin:8px auto 64px;text-align:center;justify-items:center}
.page-head h1{font-size:clamp(28px,3.4vw,40px);line-height:1.15;letter-spacing:-.02em;font-weight:700}
.page-head p{font-size:16px;line-height:1.5;color:var(--InformationGray);max-width:40rem}
.sample{max-width:44rem;margin:0 auto;display:grid;gap:36px}
.sample h2{font-size:22px;line-height:1.25;letter-spacing:-.02em}
.sample .stack{display:grid;gap:14px}
.sample table{width:100%;border-collapse:collapse;font-size:15px}
.sample th,.sample td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--InnerLines);vertical-align:top}
.sample th{color:var(--ForegroundStrong);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.sample ul{margin:0;padding-left:1.2em;display:grid;gap:8px}
.callout,.ignore{padding:16px 18px;border-radius:12px;background:var(--BackgroundStrong)}
.callout{border:1px solid var(--InnerLines);display:grid;gap:10px;font-size:15px}
.ignore{border:1px dashed var(--InnerLines);display:grid;gap:8px}
.ignore .label{margin:0;font-size:13px;font-weight:600;color:var(--InformationGray)}
#extra{display:grid;gap:14px}
#extra:empty{display:none}
.sample code{font:0.92em ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ForegroundStrong)}

footer{margin-top:96px;margin-inline:-16px;padding:32px 16px;background:#000;color:#B5B5B5;font-size:14px;line-height:1.4}
.foot{max-width:1120px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.foot nav{display:flex;flex-wrap:wrap;gap:18px;margin-left:auto}
.foot a{color:#B5B5B5;text-decoration:none}
.foot a:hover{color:#fff}

@media (max-width:720px){
  body{font-size:16px}
  .brand svg{height:22px}
  .top{flex-wrap:wrap;gap:10px 14px}
  .top nav{gap:12px;margin-left:0}
  .top nav .button.small{display:none}
  .page-head{margin-top:20px}
  .foot nav{margin-left:0}
}
