/* ============ DME LICENSE SITE — GLOBAL STYLES ============ */
:root {
  --teal: #2a9d8f;
  --teal-dark: #1f7a70;
  --mint: #f0f9f8;
  --mint-2: #e3f2f0;
  --white: #ffffff;
  --slate: #37474f;
  --slate-light: #607d8b;
  --border: #d8e8e6;
  --accent: #4fc3f7;
  --warn-bg: #fff8e6;
  --warn-border: #f2c94c;
  --shadow: 0 4px 18px rgba(42, 157, 143, 0.10);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--mint);
  color: var(--slate);
  line-height: 1.75;
  font-size: 17px;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER / NAV ---------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(42,157,143,.06);
}
.nav-wrap {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; flex-wrap: wrap;
}
.logo { font-size: 1.35rem; font-weight: 800; color: var(--teal-dark); text-decoration: none; letter-spacing: -.3px; }
.logo span { color: var(--slate); font-weight: 500; }
nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--slate); font-size: .88rem; font-weight: 600;
  padding: 8px 11px; border-radius: 8px; transition: all .2s;
}
nav a:hover, nav a.active { background: var(--mint-2); color: var(--teal-dark); }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, #e8f6f4 0%, #f4fbfa 55%, #eaf6fd 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 2.5rem; line-height: 1.2; color: var(--teal-dark); margin-bottom: 18px; max-width: 800px; }
.hero p.lead { font-size: 1.15rem; color: var(--slate-light); max-width: 760px; }
.hero .tag {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 30px; margin-bottom: 20px;
}
.meta { font-size: .85rem; color: var(--slate-light); margin-top: 20px; }
.meta strong { color: var(--teal-dark); }

/* ---------- MAIN CONTENT ---------- */
main { padding: 56px 0 40px; }
article {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 48px 52px;
  border: 1px solid var(--border);
}
@media (max-width: 720px){ article { padding: 28px 22px; } .hero h1 { font-size: 1.8rem; } }

article h2 {
  font-size: 1.55rem; color: var(--teal-dark); margin: 44px 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--mint-2);
}
article h2:first-of-type { margin-top: 8px; }
article h3 { font-size: 1.15rem; color: var(--slate); margin: 28px 0 12px; }
article p { margin-bottom: 16px; }
article ul, article ol { margin: 0 0 18px 24px; }
article li { margin-bottom: 8px; }
article a { color: var(--teal); font-weight: 600; }
strong { color: var(--slate); }

/* ---------- TABLES ---------- */
table {
  width: 100%; border-collapse: collapse; margin: 20px 0 28px;
  font-size: .92rem; border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--border);
}
th { background: var(--teal-dark); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
td { padding: 11px 14px; border-bottom: 1px solid var(--mint-2); vertical-align: top; }
tr:nth-child(even) td { background: var(--mint); }

/* ---------- CALLOUT BOXES ---------- */
.callout {
  background: var(--mint-2); border-left: 5px solid var(--teal);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
}
.callout.warn { background: var(--warn-bg); border-left-color: var(--warn-border); }
.callout strong.title { display: block; color: var(--teal-dark); margin-bottom: 6px; font-size: 1rem; }

/* ---------- STEPS ---------- */
.steps { counter-reset: step; list-style: none; margin: 24px 0 28px 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 22px 64px; margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 2px; background: var(--border);
}
.steps li:last-child::after { display: none; }
.steps li h3 { margin: 4px 0 8px; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--mint); border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 12px; padding: 0 20px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--teal-dark);
  padding: 16px 0; font-size: 1.02rem;
}
.faq details p { padding-bottom: 16px; }

/* ---------- RELATED LINKS ---------- */
.related { margin-top: 48px; padding-top: 28px; border-top: 2px dashed var(--border); }
.related h2 { border: none; margin-top: 0; font-size: 1.2rem; }
.related ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; }
.related li a {
  display: inline-block; background: var(--white); border: 1px solid var(--border);
  color: var(--teal-dark); font-size: .88rem; font-weight: 600;
  padding: 10px 16px; border-radius: 30px; transition: all .2s;
}
.related li a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  margin: 36px 0 8px; background: linear-gradient(120deg, var(--teal) 0%, #4fc3f7 100%);
  border-radius: var(--radius); color: #fff; padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.cta-banner p { margin: 0; font-size: .95rem; opacity: .92; }
.btn {
  background: #fff; color: var(--teal-dark); font-weight: 700; text-decoration: none;
  padding: 13px 26px; border-radius: 30px; white-space: nowrap; transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
footer { background: var(--slate); color: #cfd8dc; margin-top: 60px; padding: 48px 0 28px; font-size: .88rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px){ footer .cols { grid-template-columns: 1fr; } }
footer h4 { color: #fff; margin-bottom: 12px; font-size: .95rem; }
footer a { color: #a7d8d2; text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: #fff; }
.disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid #455a64; font-size: .8rem; color: #90a4ae; }
