/* Brown AI Systems — shared styles. No external fonts/CDNs: fully self-contained. */
:root {
  --ink: #0c1a2b;          /* navy */
  --ink-soft: #4a5a6b;     /* grey */
  --accent: #2f4d70;       /* navy blue */
  --accent-dark: #1d3450;  /* deep navy */
  --accent-soft: #eef2f6;  /* pale grey-blue */
  --paper: #ffffff;        /* white */
  --paper-alt: #f5f7f9;    /* light grey */
  --border: #d8e0e8;       /* grey */
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* Header */
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 800;
}
.nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-soft); font-size: .96rem; font-weight: 600; }
.nav a.current { color: var(--accent); }
.nav a.cta {
  background: var(--accent); color: #fff; padding: 9px 18px;
  border-radius: 8px; font-weight: 600;
}
.nav a.cta:hover { background: var(--accent-dark); text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(160deg, #0c1a2b 0%, #123247 100%); color: #eaf2f6; }
.hero-inner { padding: 88px 0 80px; max-width: 760px; }
.eyebrow { color: #b8c6d6; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.15; margin: 18px 0 20px; color: #fff; }
.hero p.lede { font-size: 1.18rem; color: #c9d8e2; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 8px;
  font-weight: 700; font-size: .98rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { border: 1px solid #5f7c92; color: #eaf2f6; }
.btn-ghost:hover { border-color: #fff; text-decoration: none; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--paper-alt); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 12px; letter-spacing: -.02em; }
.section-intro { color: var(--ink-soft); max-width: 700px; margin-bottom: 38px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 14px; padding: 30px;
}
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card ul { margin: 14px 0 0 18px; color: var(--ink-soft); font-size: .94rem; }
.card ul li { margin-bottom: 6px; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent-dark); display: grid; place-items: center;
  font-weight: 800; margin-bottom: 18px; font-size: 1.1rem;
}
.promise {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 24px 28px; border-radius: 0 12px 12px 0; margin-top: 34px;
}
.promise strong { color: var(--accent-dark); }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 700;
}
.step h3 { margin-bottom: 6px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; margin-top: 20px; }
.kv dt { font-weight: 700; color: var(--ink); }
.kv dd { color: var(--ink-soft); }

/* Footer */
.site-footer { background: #0c1a2b; color: #b9c9d6; padding: 48px 0 30px; font-size: .94rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer a { color: #c6d2de; }
.site-footer .brand { color: #fff; }
.footer-note { border-top: 1px solid #28435a; margin-top: 34px; padding-top: 20px; font-size: .85rem; color: #8fa6b8; }

/* Section photos */
.section-photo {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
  margin-bottom: 26px;
}
/* Small source image (240x180): show at natural size, never upscaled. */
.section-photo-small {
  width: 240px; height: 180px; object-fit: contain;
  border-radius: 14px; border: 1px solid var(--border);
  margin-bottom: 26px; display: block;
}

/* Contact form fields */
.field {
  width: 100%; padding: 11px 13px;
  border: 2px solid var(--ink-soft);
  border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.field:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Contact */
.contact-card { max-width: 680px; }
.contact-card p { margin-bottom: 16px; }
.email-big {
  display: inline-block; font-size: 1.6rem; font-weight: 700; color: var(--accent);
  word-break: break-all; margin: 10px 0 26px;
}
.notice { font-size: .9rem; color: var(--ink-soft); background: var(--paper-alt); border: 1px solid var(--border); padding: 16px 20px; border-radius: 10px; }

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; padding: 14px 0; min-height: 0; }
  .nav { gap: 16px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dt { margin-top: 10px; }
  section.block { padding: 52px 0; }
}
