/* ASIR LLC — sample site stylesheet
   Tokens follow docs/website/DESIGN-WEBSITE.md section 6. */

:root {
  --ink: #12171f;
  --paper: #f6f4ef;
  --signal: #e8500f;
  --signal-ink: #b03c06;
  --steel: #6e7c8a;
  --card: #2b333d;
  --line: #dcd8cf;
  --line-strong: #c3beb2;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --w: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

main { display: block; }
a { color: var(--signal-ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-ink);
  margin: 0 0 12px;
}

/* ---------- header / nav ---------- */
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: .01em;
}
.brand b { color: var(--signal-ink); font-weight: 600; }
.nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--signal-ink); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero .sub { font-size: 1.2rem; color: #3c4652; max-width: 46ch; margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .9rem; color: var(--steel); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: .9rem;
  letter-spacing: .04em;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: #c8450a; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--signal-ink); color: var(--signal-ink); }

/* ---------- sections ---------- */
section { padding: 80px 0; border-bottom: 1px solid var(--line); }
section.alt { background: #efece5; }
section.dark { background: var(--ink); color: #e9e6df; border-bottom: none; }
section.dark h2 { color: var(--paper); }
section.dark .eyebrow { color: var(--signal); }
section.dark p { color: #c9cdd3; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card .price {
  font-family: var(--mono);
  font-size: 1.02rem;
  background: var(--ink);
  color: var(--paper);
  padding: 5px 10px;
  align-self: flex-start;
}
.card ul { margin: 0; padding-left: 20px; color: #3c4652; font-size: .95rem; }
.card .go { margin-top: auto; font-weight: 600; font-size: .95rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { border-left: 2px solid var(--signal); padding-left: 18px; }
.step .n { font-family: var(--mono); color: var(--signal-ink); font-size: .85rem; letter-spacing: .12em; }

/* ---------- spec table (service detail pages) ---------- */
table.spec { border-collapse: collapse; width: 100%; margin: 26px 0; }
table.spec th, table.spec td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: top;
}
table.spec th { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); width: 34%; }
table.spec td.price { font-family: var(--mono); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); padding: 24px 26px; }
.box.do { border-top: 3px solid var(--signal); }
.box.dont { border-top: 3px solid var(--steel); }
.box ul { margin: 0; padding-left: 20px; }
.box li { margin-bottom: 8px; }

/* ---------- placeholders ---------- */
.shot {
  border: 1px dashed var(--steel);
  background:
    linear-gradient(0deg, transparent 24px, rgba(110,124,138,.16) 24px, rgba(110,124,138,.16) 25px, transparent 25px),
    linear-gradient(90deg, transparent 24px, rgba(110,124,138,.16) 24px, rgba(110,124,138,.16) 25px, transparent 25px),
    #e7e4dc;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: .75rem;
  color: #4a5561;
}
.shot .tl::before { content: "ASIR — authorized documentation · PLACEHOLDER"; }
.shot .br { display: flex; justify-content: space-between; }

/* ---------- CTA band ---------- */
.cta { text-align: center; padding: 84px 0; }
.cta p { font-size: 1.1rem; color: #c9cdd3; max-width: 52ch; margin: 0 auto 30px; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #93a0ac; padding: 34px 0 44px; font-size: .88rem; }
footer a { color: #c9cdd3; text-decoration: none; }
footer a:hover { color: var(--signal); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }

/* ---------- page header (inner pages) ---------- */
.pagehead { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.pagehead .sub { font-size: 1.1rem; color: #3c4652; max-width: 58ch; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav ul { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
}
