/*
 * The stylesheet for the three system documents that render with NO layout above them — the root
 * not-found (a URL outside /[region]/[locale]), app/error.tsx and app/global-error.tsx (P3-14).
 *
 * It is a static file on purpose. None of those documents may import a stylesheet: all three sit
 * in EVERY route's graph, and an import there would be linked on every page of nutrascia.com
 * (L-709). Only these documents link it, by URL. `globals.css` is not available to them, so the
 * handoff kit's token VALUES (design_handoff_storefront/README.md §Tokens) are declared once on
 * :root below and used by name.
 */

:root{
  --bg-page:#f4f5f6;
  --surface-base:#fff;
  --text-strong:#121a26;
  --text-body:#2d3239;
  --text-muted:#666d78;
  --border-default:#cbd1d8;
  --accent-primary:#f7941d;
  --accent-hover:#db7f11;
  --accent-wash:rgba(247,148,29,.1);
  --badge-bg:rgba(247,148,29,.1);
  --badge-text:#8f510d;
  --badge-border:#f1cda3;
  --radius-md:.8rem;
  --radius-lg:1.25rem
}

*{
  box-sizing:border-box
}

html,body{
  margin:0
}

body{
  background:var(--bg-page);
  color:var(--text-body);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Arabic",Tahoma,sans-serif;
  line-height:1.5
}

.sx-top{
  background:var(--surface-base);
  border-block-end:1px solid var(--border-default);
  padding:1rem
}

.sx-brand{
  display:inline-flex;
  align-items:center;
  min-block-size:2.75rem;
  font-weight:800;
  font-size:1.25rem;
  letter-spacing:-.02em;
  color:var(--text-strong);
  text-decoration:none
}

.sx-main{
  max-inline-size:60rem;
  margin-inline:auto;
  padding:3rem 1rem 4rem;
  display:flex;
  flex-direction:column;
  gap:1.5rem
}

.sx-hero{
  background:var(--surface-base);
  border:1px solid var(--border-default);
  border-radius:var(--radius-lg);
  padding:2rem 1.5rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1rem
}

.sx-eyebrow{
  display:inline-flex;
  align-items:center;
  min-block-size:1.75rem;
  padding-inline:.75rem;
  border-radius:99px;
  border:1px solid var(--badge-border);
  background:var(--badge-bg);
  color:var(--badge-text);
  font-size:.6875rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin:0
}

.sx-title{
  font-weight:800;
  font-size:clamp(1.625rem,3vw,2.5rem);
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--text-strong);
  margin:0
}

.sx-lead{
  margin:0;
  max-inline-size:38rem;
  font-size:.9375rem;
  line-height:1.65;
  color:var(--text-muted)
}

.sx-search{
  display:flex;
  gap:.5rem;
  inline-size:100%;
  max-inline-size:36rem
}

.sx-input{
  flex:1 1 auto;
  min-inline-size:0;
  min-block-size:2.75rem;
  padding-inline:1rem;
  border:1.5px solid var(--border-default);
  border-radius:99px;
  background:var(--surface-base);
  color:var(--text-strong);
  font:inherit
}

.sx-btn,.sx-btn2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-block-size:2.75rem;
  padding-inline:1.25rem;
  border-radius:99px;
  font:inherit;
  font-size:.875rem;
  font-weight:800;
  text-decoration:none;
  cursor:pointer
}

.sx-btn{
  border:1.5px solid var(--accent-primary);
  background:var(--accent-primary);
  color:var(--text-strong)
}

.sx-btn:hover{
  background:var(--accent-hover);
  border-color:var(--accent-hover)
}

.sx-btn2{
  border:1.5px solid var(--text-strong);
  background:var(--surface-base);
  color:var(--text-strong)
}

.sx-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem
}

.sx-exits{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));
  gap:.75rem
}

.sx-exit{
  display:flex;
  align-items:center;
  min-block-size:2.75rem;
  padding:1rem;
  border:1px solid var(--border-default);
  border-radius:var(--radius-md);
  background:var(--surface-base);
  color:var(--text-strong);
  font-weight:700;
  font-size:.875rem;
  text-decoration:none
}

.sx-exit:hover{
  border-color:var(--accent-primary);
  background:var(--accent-wash)
}

.sx-sr{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.sx-ref{
  margin:0;
  font-size:.75rem;
  color:var(--text-muted)
}

.sx-sep{
  border:0;
  border-block-start:1px solid var(--border-default);
  margin:0
}

a:focus-visible,button:focus-visible,input:focus-visible{
  outline:2px solid var(--text-strong);
  outline-offset:2px}
