/* EDL Technologies — shared styles for every page */
:root {
  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --card: #FFFFFF;
  --ink: #0F1B2D;
  --ink-soft: #4A5568;
  --navy: #0E2A47;
  --navy-deep: #091D33;
  --navy-tint: #E7EDF4;
  --gold: #C9A227;
  --gold-soft: #F5ECD0;
  --line: #E1E6ED;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(14, 42, 71, 0.07);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
.main-fill { background: var(--surface); }
.main-fill .page-head { border-bottom: 0; margin-bottom: 0; padding-bottom: 96px; }

h1, h2, h3 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--navy-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 1.3rem;
}
.brand img { width: 40px; height: 40px; }
.brand:hover { color: var(--navy); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: 0.98rem;
  padding: 8px 14px; border-radius: 8px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--navy); border-radius: 0; border-bottom-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 26px; border-radius: 8px; font-size: 1rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Hero: dark navy band */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 104px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold);
}
.hero h1 { color: #fff; max-width: 760px; }
.hero-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: #fff;
}
.hero-brand img { width: 48px; height: 48px; }
.hero-title { font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 0.4em; }
.hero-title em {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--gold); letter-spacing: -0.01em; font-size: 1.12em;
}
.hero .lead { color: #C9D4E2; }
.hero .lead strong { color: #fff; }
.lead-accent {
  white-space: nowrap; color: var(--gold);
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.3em; line-height: 1.3;
}
.hero .eyebrow { color: var(--gold); background: rgba(201, 162, 39, 0.12); border: 1px solid rgba(201, 162, 39, 0.4); }
.hero .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.hero .btn-primary:hover { background: #B8921C; border-color: #B8921C; color: var(--navy-deep); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy);
  background: var(--navy-tint); padding: 6px 12px; border-radius: 6px; margin-bottom: 20px;
}
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 640px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Sections */
section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 680px; margin-bottom: 40px; }
.section-intro p { color: var(--ink-soft); }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); border-top: 3px solid var(--navy);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
.dot {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--navy-tint); color: var(--navy);
}
.dot svg { width: 22px; height: 22px; }

/* App feature */
.app-feature {
  display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 40px; box-shadow: var(--shadow);
}
.app-feature img { width: 180px; height: 180px; border-radius: 40px; box-shadow: 0 12px 28px rgba(14, 42, 71, .25); }
.badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold-soft); color: #6B5310; border: 1px solid #E3CF8E;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.app-feature ul { margin: 0 0 1.2em; padding-left: 1.2em; color: var(--ink-soft); }
.app-feature li { margin-bottom: 4px; }
.app-feature li::marker { color: var(--gold); }
.meta { font-size: 0.95rem; color: var(--ink-soft); }
.placeholder-card {
  border: 2px dashed var(--line); border-radius: 16px; padding: 36px; text-align: center;
  color: var(--ink-soft); margin-top: 28px; background: var(--surface);
}

/* Contact */
.contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 40px; box-shadow: var(--shadow); max-width: 720px; border-top: 3px solid var(--navy);
}
.email-big {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600;
  text-decoration: none; word-break: break-all; color: var(--navy);
}
.email-big:hover { text-decoration: underline; }

/* Callout band */
.band {
  background: var(--navy); color: #fff; border-radius: 16px; padding: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border-left: 6px solid var(--gold);
}
.band h2 { margin: 0 0 6px; color: #fff; }
.band p { margin: 0; color: #C9D4E2; }
.band .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.band .btn-primary:hover { background: #B8921C; border-color: #B8921C; }

/* Policy page */
.policy > * { max-width: 760px; }
.policy h2 { font-size: 1.6rem; margin-top: 1.8em; }
.policy h3 { margin-top: 1.4em; }
.policy ul { padding-left: 1.3em; }
.policy li { margin-bottom: 6px; }
.policy li::marker { color: var(--gold); }
.policy .updated { color: var(--ink-soft); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; margin: 28px 0; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; }

.page-head { padding: 64px 0 28px; background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.page-head .lead { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #A9B6C7; padding: 40px 0; margin-top: 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #DCE3EC; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 64px; }
  section { padding: 52px 0; }
  .app-feature { grid-template-columns: 1fr; padding: 28px; text-align: left; }
  .app-feature img { width: 120px; height: 120px; border-radius: 28px; }
  .band, .contact-box { padding: 30px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 10px; font-size: 0.92rem; }
}
