/* aifdepro.com — self-contained styles. No external fonts, CDN, or analytics. */
:root {
  --ink: #1b2420;
  --ink-soft: #3d4a44;
  --muted: #5c6a64;
  --paper: #f6f1e8;
  --paper-2: #efe8db;
  --card: #fffcf7;
  --line: #d8cfc0;
  --pine: #1c3d3a;
  --pine-2: #2a5a55;
  --pine-hover: #16423e;
  --accent: #8a4b2a;
  --focus: #c47a3a;
  --ok-bg: #e8efe8;
  --max: 68rem;
  --text: 1.0625rem;
  --lead: 1.7;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text);
  line-height: var(--lead);
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; }

a {
  color: var(--pine-2);
  text-underline-offset: 0.15em;
}

a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 10;
  background: var(--pine);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 0.25rem;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--pine);
  color: #f3efe6;
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.wordmark:hover { color: #fff; }

.wordmark-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.wordmark-tag {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d5e0dc;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: #f3efe6;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: #e2b48a;
  color: #fff;
}

.hero {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin: 0 0 0.6rem;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pine);
}

h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.lead {
  font-size: 1.15rem;
  max-width: 44rem;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--pine);
}

.btn-primary {
  background: var(--pine);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pine-hover);
  color: #fff;
  border-color: var(--pine-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--pine);
}

.btn-secondary:hover {
  background: var(--paper-2);
  color: var(--accent);
}

.section {
  padding: 2.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

h2 {
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.note {
  background: var(--ok-bg);
  border-left: 4px solid var(--pine-2);
  padding: 1rem 1.15rem;
  max-width: 46rem;
}

.note p { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1.15rem 1.2rem;
}

.card p:last-child { margin-bottom: 0; }

.steps {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1.1rem 1.2rem 1.1rem 4.1rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.prose {
  max-width: 44rem;
}

.prose p, .prose li { color: var(--ink-soft); }

.prose ul {
  padding-left: 1.2rem;
}

.example {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1.25rem;
}

.example-mark {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
}

.example p { margin: 0.35rem 0 0; }
.example h3 { margin-top: 0; }

.contact-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.contact-block a.big {
  display: block;
  font-size: 1.2rem;
  font-weight: 650;
  text-decoration: none;
  margin: 0.35rem 0 0.7rem;
  color: var(--pine);
}

.contact-block a.big:hover { color: var(--accent); text-decoration: underline; }

.fine {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  background: var(--pine);
  color: #dce6e3;
  padding: 2.25rem 0 1.75rem;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.site-footer a { color: #f3efe6; }

.footer-inner {
  display: grid;
  gap: 1.25rem 2rem;
}

.footer-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 0.35rem;
}

.footer-brand p, .footer-links p { margin: 0.25rem 0; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.75rem !important;
}

.copyright {
  margin: 0.75rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: #b7c5c1;
  font-size: 0.85rem;
}

.page-title {
  padding: 2.4rem 0 0.25rem;
}

.page-title h1 { max-width: 24ch; }

.limits {
  background: var(--paper-2);
  border-radius: 0.4rem;
  padding: 1.15rem 1.25rem;
}

.privacy h2 {
  margin-top: 2rem;
}

.privacy h3 {
  margin-top: 1.35rem;
}

.privacy p { margin: 0.8rem 0; }

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .hero { padding: 2rem 0 1.75rem; }
  .section { padding: 2rem 0; }
  .steps li { padding-left: 3.9rem; }
}
