/* --------------------------------------------------
   Delphic Solutions Styles
   -------------------------------------------------- */

/* ---------- CSS Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--background);
}

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --ink: #081520;
  --steel: #49778d;
  --slate: #658999;
  --mist: #dbdce0;
  --white: #ffffff;

  /* UI */
  --border: rgba(8, 21, 32, 0.12);
  --shadow: 0 8px 24px rgba(8, 21, 32, 0.08);

  /* Layout */
  --max-width: 1120px;
  --radius: 6px;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  z-index: 1000;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--steel);
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--steel);
  max-width: 38rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--slate);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
}

.btn.primary:hover {
  background: #0b1e2d;
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--steel);
  color: var(--steel);
}

/* ---------- Hero Card ---------- */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card-list {
  padding-left: 1.1rem;
  margin: 0;
}

.card-list li {
  margin-bottom: 0.5rem;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.card-footnote {
  font-size: 0.9rem;
  color: var(--steel);
}

/* ---------- Secondary Section ---------- */
.minimal-sections {
  background: var(--mist);
  padding: 3.5rem 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--steel);
}

/* ---------- Callout ---------- */
.callout {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.callout-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

.callout-copy h2 {
  margin: 0 0 0.5rem;
}

.callout-copy p {
  margin: 0;
  color: var(--steel);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
  margin: 0;
}

.footer-muted {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate);
}

.site-footer a {
  text-decoration: none;
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--steel);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .callout-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
