/* AUD AER — audaer.com */
:root {
  --navy: #0b1f35;
  --navy-2: #0e2a47;
  --cyan: #19b6e9;
  --cyan-dark: #0e7fb0;
  --ink: #16232f;
  --paper: #ffffff;
  --mist: #eef6fb;
  --line: #d5e6f0;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1.125rem;          /* 18px base for readability */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--cyan-dark); }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
header.site {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--cyan);
}
.site-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.9rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: 44px; }
.brand .name { font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; }
.brand .tag { display: block; font-size: .8rem; color: #bfe6f7; letter-spacing: .02em; }

nav.main { margin-left: auto; }
nav.main ul { list-style: none; display: flex; gap: .25rem; flex-wrap: wrap; }
nav.main a {
  display: block; padding: .55rem .8rem; color: #eaf6fd; text-decoration: none;
  border-radius: 6px; font-size: 1rem;
}
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--navy-2); color: #fff; box-shadow: inset 0 -3px 0 var(--cyan); }

/* Notice ribbon */
.ribbon {
  background: #fff5db; color: #5b4a12; border-bottom: 1px solid #ecd9a0;
  font-size: 1rem; text-align: center; padding: .55rem 1rem;
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 4rem 1.25rem 4.5rem; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: .02em; }
.hero .sub { font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: #cfeefb; max-width: 46rem; margin: 1rem auto 0; }
.hero .cta { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: 1.05rem;
}
.btn-primary { background: var(--cyan); color: #062033; }
.btn-primary:hover { background: #3fc6f0; }
.btn-ghost { border: 2px solid var(--cyan); color: #fff; }
.btn-ghost:hover { background: rgba(25,182,233,.15); }

/* Stat band */
.stats { background: var(--mist); border-bottom: 1px solid var(--line); }
.stats-inner {
  max-width: var(--max); margin: 0 auto; padding: 1.6rem 1.25rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
}
.stat { text-align: center; }
.stat .big { font-size: 1.9rem; font-weight: 700; color: var(--navy-2); }
.stat .small { font-size: .98rem; color: #40566a; }

/* Sections */
main { display: block; }
section.band { padding: 3.2rem 0; }
section.band.alt { background: var(--mist); }
.band-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
h2 { font-size: 1.9rem; color: var(--navy-2); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; color: var(--navy-2); margin: 1.6rem 0 .5rem; }
p + p { margin-top: .9rem; }
.lede { font-size: 1.22rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cyan);
  border-radius: 10px; padding: 1.4rem;
}
.card h3 { margin-top: 0; }

/* Steps */
ol.steps { margin: 1.2rem 0 0 0; padding-left: 0; list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step; position: relative; padding: .9rem 0 .9rem 3.4rem;
  border-bottom: 1px solid var(--line);
}
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: .9rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--navy-2); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 1.05rem; }
th, td { text-align: left; padding: .75rem .9rem; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy-2); color: #fff; }
tr:nth-child(even) td { background: var(--mist); }

/* Definition rows */
.kv { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 1.2rem; }
.kv > div { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.kv > div:nth-child(4n+1), .kv > div:nth-child(4n+2) { background: var(--mist); }
.kv .k { font-weight: 700; color: var(--navy-2); }

/* Contact form */
form.contact { margin-top: 1.4rem; max-width: 46rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 700; color: var(--navy-2); margin-bottom: .3rem; }
.required { color: #b00020; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem .85rem; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: 8px; background: #fff;
}
.form-group textarea { min-height: 9rem; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--cyan-dark);
}
.form-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy-2); color: #fff; font: inherit; font-weight: 700;
  border: 0; border-radius: 8px; padding: .9rem 1.8rem; cursor: pointer;
}
.form-submit:hover { background: var(--navy); }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-note { font-size: .98rem; color: #40566a; margin-top: .9rem; }
.success {
  display: none; background: #e8f7ee; border: 2px solid #2e9e5b; color: #14522e;
  border-radius: 10px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-weight: 600;
}
.success.show { display: block; }

/* Footer */
footer.site {
  background: var(--navy); color: #c8dcea; margin-top: 3rem;
  border-top: 4px solid var(--cyan); font-size: 1rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 2.2rem 1.25rem; }
footer.site a { color: #9adcf7; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.footer-legal { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid #24425f; font-size: .95rem; }

@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .kv { grid-template-columns: 1fr; }
  .kv .k { border-bottom: none; padding-bottom: .1rem; }
}
