/* Help Online — shared styles. Copied into each vhost as /css/styles.css */
:root {
  --bg: #eef3f6;
  --bg-elev: #ffffff;
  --ink: #14202b;
  --ink-soft: #3a4b59;
  --muted: #5a6b78;
  --line: #c3d0da;
  --brand: #16456c;
  --brand-deep: #0f314d;
  --brand-soft: #e4eef5;
  --accent: #0d6a86;
  --ok: #145c43;
  --focus: #0b6e99;
  --shadow: 0 1px 2px rgba(20, 32, 43, 0.05), 0 10px 28px rgba(20, 32, 43, 0.07);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, #d7e6f0 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e3ece8 0%, transparent 50%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  background: var(--brand-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2rem, var(--measure));
}

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.wordmark span {
  line-height: 1.1;
}

.wordmark small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mark {
  width: 40px;
  height: 40px;
  color: var(--brand);
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: 8px;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

main {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.7rem, 4.8vw, 2.55rem);
  max-width: 18ch;
}

h2 {
  font-size: 1.25rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.hero {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 840px) {
  .hero {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: start;
  }
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
}

.panel h2:first-child,
.panel h3:first-child {
  margin-top: 0;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.steps li::before {
  content: counter(step);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--brand-deep);
  border-color: var(--brand);
}

.btn--ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.note {
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.tag {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.site-footer p {
  margin: 0;
}

form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label,
.legend {
  font-weight: 700;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid #8fa0ae;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.radios {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.radio:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.radio input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--brand);
}

.soft-list {
  margin: 0;
  padding-left: 1.15rem;
}

.soft-list li {
  margin: 0.35rem 0;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.5rem;
}

.aside-price dt {
  font-weight: 700;
  margin-top: 0.7rem;
}

.aside-price dd {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}

.legal {
  font-size: 0.92rem;
  color: var(--muted);
}
