:root {
  color-scheme: dark;
  --bg: #0f1114;
  --surface: #1a1d23;
  --surface-raised: #22262e;
  --ink: #f6f7f9;
  --muted: #c2c8d0;
  --accent: #52b788;
  --accent-soft: #1a2e24;
  --border: #2f343c;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --page-max: 1100px;
  --page-pad: 1.5rem;
  --panel-pad: 1.25rem;
  --text-align-with-products: calc(var(--page-pad) + var(--panel-pad));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 75% at 50% 100%, rgba(59, 130, 246, 0.48), transparent 68%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1rem var(--page-pad) 1rem var(--text-align-with-products);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__inner--center {
  padding-left: var(--page-pad);
}

.site-header a.site-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #2d6a4f);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-title span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

.layout {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

.layout--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: var(--panel-pad);
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.panel > p.lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.92;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products > p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.9;
}

.service-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-links a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.service-links__body {
  min-width: 0;
  flex: 1;
}

.service-links__title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.service-links__desc {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.inline-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--accent);
}

.panel h2.page-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-heading__text {
  min-width: 0;
}

.service-links a:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.service-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.back-row {
  margin-bottom: 1rem;
}

.back-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--surface-raised);
  color: var(--ink);
}

.form-group select {
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
  background: var(--surface);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  filter: brightness(1.05);
}
