/* Denning — marketing site styles */

:root {
  --navy: #1f3a5f;
  --navy-dark: #16293f;
  --navy-light: #2e5484;
  --ink: #1a1d21;
  --slate: #55606e;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-navy: #12233a;
  --accent: #c9a227; /* restrained gold for small highlights */
  --radius: 12px;
  --maxw: 1120px;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(18, 35, 58, 0.04), 0 8px 24px rgba(18, 35, 58, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--slate); }
a { color: var(--navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--navy-light); font-family: var(--sans); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; transition: transform .05s ease, background .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-light); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef2f8; color: var(--navy); }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { height: 28px; width: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav-links a:hover { color: var(--navy-light); text-decoration: none; }
.nav-links .btn { padding: 9px 18px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; transition: .2s; }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(120% 100% at 80% -10%, #eaf0f8 0%, #ffffff 55%); }
.hero .lead { margin-top: 1rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--slate); }

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 9px; background: #eaf0f8; color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.2rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 8px; }
.step .num { counter-increment: step; font-family: var(--serif); font-size: 1.1rem; color: #fff; background: var(--navy); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step .num::before { content: counter(step); }

/* CTA band */
.cta-band { background: var(--bg-navy); color: #fff; border-radius: 16px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d0e0; max-width: 52ch; margin: 0 auto 1.75rem; }

/* Forms */
.form { max-width: 520px; margin: 0 auto; }
.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--sans); font-size: 1rem; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy-light); outline-offset: 1px; border-color: var(--navy-light); }
.form .btn { width: 100%; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 10px; text-align: center; }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prose p { font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--navy); font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.footer-links a { color: var(--slate); font-size: .92rem; }
.footer-legal { color: var(--slate); font-size: .88rem; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 24px; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg-soft); }
  .nav-links .btn { margin: 10px 0; text-align: center; }
  .cta-band { padding: 40px 22px; }
}
