/* Artikel & Swint — internal project documentation */
:root {
  --as-navy: #12123b;
  --as-navy-deep: #0a0a28;
  --as-ink: #1a1a2e;
  --as-muted: #5a5a6e;
  --as-line: #e2e2ea;
  --as-paper: #ffffff;
  --as-soft: #f4f6f8;
  --as-green: #67bd45;
  --as-green-mid: #006c3b;
  --as-green-bright: #7fd055;
  --as-hub: #eef4ea;
  --as-canvas: #6d6d7a;
  --as-page-max: 1560px;
  --as-font-base: 20px;
  --as-font-sm: 16px;
  --as-font-xs: 13px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--as-font-base);
  line-height: 1.6;
  color: var(--as-ink);
  background: var(--as-canvas);
  padding: 28px 24px 40px;
}

.page {
  max-width: var(--as-page-max);
  width: 100%;
  margin: 0 auto;
  background: var(--as-paper);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 16px 48px rgba(0,0,0,.18);
  border-radius: 4px;
  overflow: hidden;
}

.cover {
  background: var(--as-navy);
  color: #fff;
  padding: 48px 48px 40px;
  position: relative;
  overflow: hidden;
}
.cover::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--as-green) 0%, var(--as-green-bright) 100%);
  opacity: .22;
  transform: rotate(25deg);
}
.cover-back {
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.cover .cover-back.no-print {
  background: transparent;
  text-align: left;
  padding: 0;
}
.cover-back a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--as-green);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: var(--as-font-sm);
  font-weight: 600;
  letter-spacing: .02em;
  background: rgba(103, 189, 69, .15);
  transition: border-color .15s, background .15s;
}
.cover-back a:hover,
.cover-back a:focus-visible {
  border-color: var(--as-green-bright);
  background: rgba(103, 189, 69, .3);
}
.cover-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.cover-brand img {
  height: 52px;
  width: auto;
  display: block;
}
.cover-meta {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a8a8c0;
}
.cover h1 {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.cover .subtitle {
  margin: 0 0 28px;
  font-size: 22px;
  color: #c8c8d8;
  max-width: 62ch;
  position: relative;
  z-index: 1;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 48px 64px;
  background: var(--as-paper);
}
.layout.layout--full {
  grid-template-columns: 1fr;
  max-width: none;
}
.content {
  padding: 36px 40px 48px;
  background: var(--as-paper);
  border: 1px solid var(--as-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  min-width: 0;
}
.layout.layout--full .content { max-width: none; }

h2.section {
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--as-green);
  font-size: 26px;
  color: var(--as-navy);
}
h2.section:first-child { margin-top: 0; }
h3 { color: var(--as-navy); margin: 28px 0 12px; font-size: 22px; }
p, li { font-size: 19px; }
.content a { color: var(--as-green-mid); }
.content a:hover { color: var(--as-navy); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  background: var(--as-navy-deep);
  color: #c8c8d8;
  font-size: var(--as-font-sm);
}
.footer img { height: 32px; width: auto; }
.footer a { color: var(--as-green-bright); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  margin: 16px 0 24px;
}
.meta-table th,
.meta-table td {
  border: 1px solid var(--as-line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.meta-table th {
  background: var(--as-soft);
  color: var(--as-navy);
  width: 28%;
}

.callout {
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--as-hub);
  border: 1px solid #c5ddb8;
  border-left: 4px solid var(--as-green);
  border-radius: 6px;
  font-size: 18px;
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-pill--draft { background: #fff3cd; color: #856404; }
.status-pill--live { background: #d4edda; color: #155724; }
.status-pill--signed { background: #d4edda; color: #155724; }

/* Nick review box (draft pages) */
.nick-review-box {
  margin: 40px 0 8px;
  padding: 20px 22px 22px;
  border: 2px solid var(--as-navy);
  border-radius: 12px;
  background: #f4f6fa;
  box-shadow: 0 2px 12px rgba(18, 18, 59, .06);
}
.nick-review-box__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--as-navy);
  border: 0;
  padding: 0;
}
.nick-review-box__meta {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--as-muted);
  line-height: 1.45;
}
.nick-review-box__subtitle {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--as-navy);
}
.nick-review-box__team-notes {
  margin: 0 0 18px;
  padding-left: 1.2rem;
  font-size: 16px;
  line-height: 1.5;
  color: var(--as-ink);
}
.nick-review-box__team-notes li { margin-bottom: 6px; }
.nick-review-box__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--as-navy);
}
.nick-review-box__textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 96px;
  margin: 0 0 18px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  border: 1px solid var(--as-line);
  border-radius: 8px;
  background: #fff;
  resize: vertical;
}
.nick-review-box__signoff { margin: 0; font-size: 16px; }
.nick-review-box__signoff th { width: 22%; }
.nick-review-box__input {
  font-family: inherit;
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid var(--as-line);
  border-radius: 6px;
  background: #fff;
  max-width: 100%;
}
.nick-review-box__input--short { width: 6rem; }
.nick-review-box__check {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.nick-review-box__check input { margin-right: 8px; vertical-align: middle; }
.nick-review-box__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--as-muted);
  line-height: 1.4;
}

/* AEO FAQ scaffold (website-copy-draft) */
.aeo-page-block {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--as-line);
}
.aeo-page-block:last-of-type { border-bottom: 0; }
.aeo-page-block h3.section { margin-bottom: 0.35rem; }
.url-chip {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: var(--as-font-sm);
  font-weight: 500;
}
.url-chip a {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--as-green-mid);
  text-decoration: none;
}
.url-chip a:hover { text-decoration: underline; }
.aeo-page-note {
  font-size: var(--as-font-sm);
  color: var(--as-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.aeo-faq {
  margin: 0 0 0.85rem;
  padding: 14px 16px;
  background: var(--as-soft);
  border-radius: 8px;
  border-left: 4px solid var(--as-green);
}
.aeo-faq__q { margin: 0 0 8px; }
.aeo-faq__a {
  margin: 0;
  font-size: var(--as-font-sm);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; padding: 24px; }
  .cover { padding: 32px 24px; }
  .cover h1 { font-size: 32px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media print {
  body { background: #fff; padding: 0; }
  .page { box-shadow: none; }
  .cover-back.no-print { display: none; }
  .nick-review-box { break-inside: avoid; border-color: #333; }
  .nick-review-box__textarea { border: 1px solid #999; min-height: 72px; }
}
