/* FullBL overrides on SimpleCSS — brand teal, dark-first, light footprint */

:root {
  color-scheme: dark;
  --bg: #0c1222;
  --accent-bg: #131c31;
  --text: #e8eef7;
  --text-light: #9aa8bc;
  --border: #2a3548;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --code: #5eead4;
  --preformatted: #c5d0de;
  --marked: #2dd4bf;
  --disabled: #1a2438;
}

body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(20, 70, 90, 0.25), transparent 50%),
    var(--bg);
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    "Helvetica Neue",
    sans-serif;
}

a {
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Nav */
header > nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

header > nav a {
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  background: rgba(19, 28, 49, 0.7);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

header > nav a:hover,
header > nav a:focus {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
}

/* Logo */
.site-logo {
  display: block;
  margin: 0 auto 1rem;
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25), 0 8px 28px rgba(0, 0, 0, 0.35);
}

header h1 {
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

header > h2,
header > p {
  color: var(--text-light);
}

header > p em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

/* Service catalog (home) */
.service-catalog {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--border);
}

.service-catalog li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.service-catalog a {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0.35rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.35rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.service-catalog a:hover,
.service-catalog a:focus {
  background: rgba(45, 212, 191, 0.07);
  transform: translateX(3px);
}

.service-catalog__title {
  color: var(--accent);
  font-weight: 600;
}

.service-catalog a:hover .service-catalog__title,
.service-catalog a:focus .service-catalog__title {
  color: var(--accent-hover);
}

.service-catalog__tagline {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.35;
}

/* Landing: price */
.price-block {
  padding: 1.1rem 1.15rem;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  background: rgba(19, 28, 49, 0.85);
}

.price-block h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.price-block__amount {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.5rem;
}

.price-block__note {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Landing: CTA */
.cta-block {
  padding: 1.25rem 1.15rem 1.35rem;
  margin: 1.75rem 0 1rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.1), transparent 42%),
    rgba(19, 28, 49, 0.9);
}

.cta-block h2 {
  margin-top: 0;
}

button[type="submit"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #042f2e;
  font-weight: 600;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #042f2e;
}

.cta-block {
  scroll-margin-top: 1rem;
}

/* Related services */
.related-services {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  border-top: 1px solid var(--border);
}

.related-services li {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.95rem;
}

.related-services a {
  font-weight: 600;
}

/* Details / misc */
details {
  border-color: var(--border);
  background: rgba(19, 28, 49, 0.45);
}

details summary {
  cursor: pointer;
}

footer address h3 {
  color: var(--accent);
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--bg);
  color: var(--accent);
  text-decoration: underline;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

main:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  a,
  .service-catalog a {
    transition: none;
  }

  .service-catalog a:hover,
  .service-catalog a:focus {
    transform: none;
  }
}
