/* Digital Skills Co. — one stylesheet for the whole site. No frameworks. */

:root {
  --ink: #14181f;
  --muted: #4a5260;
  --accent: #0f4c81;
  --accent-dark: #0b3a63;
  --bg: #ffffff;
  --panel: #f4f6f9;
  --border: #d3dae4;
  --focus: #b8410e;
  --maxw: 46rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.125rem;
}

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}
.brand img { width: 26px; height: 26px; }
.head-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9375rem;
}
.head-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---------- type ---------- */

main { padding: 2rem 0 3rem; }

h1 {
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h2 {
  font-size: 1.3125rem;
  line-height: 1.25;
  margin: 2.5rem 0 0.5rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.35rem;
}
p { margin: 0 0 1rem; }
.lede { font-size: 1.1875rem; color: var(--muted); }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

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

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

.note {
  background: var(--panel);
  border-left: 4px solid var(--accent);
  padding: 0.875rem 1rem;
  margin: 1.5rem 0;
}
.note :last-child { margin-bottom: 0; }

.small { font-size: 0.9375rem; color: var(--muted); }

/* ---------- pricing table ---------- */

.table-scroll { overflow-x: auto; margin: 1rem 0 1.5rem; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.9375rem;
}
caption {
  text-align: left;
  font-size: 0.9375rem;
  color: var(--muted);
  padding-bottom: 0.5rem;
}
th, td {
  border: 1px solid var(--border);
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
thead th { background: var(--panel); }
th[scope="row"] { font-weight: 700; white-space: nowrap; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #fff; }

/* ---------- forms ---------- */

form { margin-top: 1.5rem; }

fieldset {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.125rem 1.25rem;
  margin: 0 0 1.5rem;
}
legend {
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 0 0.4rem;
}

.field { margin-bottom: 1.25rem; }
.field > label,
.group > .group-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.hint {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #8a93a1;
  border-radius: 4px;
}
textarea { min-height: 6.5rem; resize: vertical; }

.choices { display: grid; gap: 0.25rem; }
.choices label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.4rem 0;
  cursor: pointer;
}
.choices input { margin-top: 0.55rem; width: 20px; height: 20px; flex: 0 0 auto; }

.cols { columns: 2; column-gap: 1.25rem; }
.cols label { break-inside: avoid; }
@media (max-width: 30rem) { .cols { columns: 1; } }

.req { color: var(--focus); font-weight: 700; }

/* honeypot — hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 1.5rem 0 2.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-foot li { margin: 0; }
.site-foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-foot p { margin: 0 0 0.35rem; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
