/* Shared styles for all five pages */
:root {
  --ink: #172033;
  --muted: #657087;
  --accent: #385dd5;
  --accent-dark: #385dd5;
  --surface: #f5f6fb;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid #e9ebf2; }
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 15px; border-radius: 8px; color: #4e586d; font-size: .95rem; font-weight: 600; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: #f0f0ff; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.hero { padding-block: 110px 120px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1.08; letter-spacing: -.055em; }
.hero-copy, .page-intro { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 1.12rem; }
.button { display: inline-block; padding: 13px 22px; border: 0; border-radius: 9px; background: var(--accent); color: white; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.feature-strip { padding: 55px 0; background: var(--surface); }
.feature-grid, .cards { background: #e0dfdf; padding: 20px; border-radius: 12px; border: 1px solid #ddd; color: #333; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.6; max-width: 700px;margin: 20px auto; }
.feature-grid article { padding: 12px 8px; }
.feature-grid span { color: var(--accent); font-size: .8rem; font-weight: 800; }
.feature-grid h2, .content-card h2, .project-card h2 { margin: 8px 0; font-size: 1.25rem; }
.feature-grid p, .content-card p, .project-card p { margin: 0; color: var(--muted); }
.page { min-height: calc(100vh - 150px); padding-block: 78px 100px; }
.page h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.content-card { padding: 28px; border: 1px solid #e9ebf2; border-radius: 14px; background: white; }
.project-placeholder { display: grid; place-items: center; min-height: 170px; border-radius: 12px; background: #e8e8ff; color: #494ac1; font-weight: 800; }
.project-placeholder.alt { background: #e3f3ef; color: #277a66; }
.project-placeholder.third { background: #fff0e5; color: #a65d27; }
.project-card h2 { margin-top: 15px; }
.contact-form { display: grid; gap: 10px; max-width: 620px; }
.contact-form label { margin-top: 8px; font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #dfe2eb; border-radius: 8px; font: inherit; color: var(--ink); background: white; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #c6c6ff; border-color: var(--accent); }
.contact-form .button { justify-self: start; margin-top: 10px; }
.form-message { min-height: 1.5em; margin: 0; color: var(--accent-dark); }
.site-footer { padding: 24px 0; border-top: 1px solid #e9ebf2; color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .navbar { min-height: 68px; flex-wrap: wrap; padding-block: 12px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { padding-block: 78px 90px; }
  .feature-grid, .cards { grid-template-columns: 1fr; }
  .page { padding-block: 58px 75px; }
}
