/* Servent website. No inline styles anywhere: the server's CSP only allows this file. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-on-bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #d2d2d7;
  --accent: #0066cc;
  --button-bg: #0071e3;
  --button-bg-hover: #0077ed;
  --button-text: #ffffff;
  --header-bg: rgba(251, 251, 253, 0.8);
  --header-border: rgba(0, 0, 0, 0.12);
  --banner-bg: #fff8e1;
  --banner-text: #5c4300;
  --live-text: #1a7f37;
  --soon-text: #6e6e73;
  --radius-tile: 22px;
  --radius-small: 12px;
  --wrap: 980px;
  --wrap-text: 692px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0d0d0f;
    --surface: #1c1c1e;
    --surface-on-bg: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: #3a3a3c;
    --accent: #2997ff;
    --header-bg: rgba(22, 22, 23, 0.8);
    --header-border: rgba(255, 255, 255, 0.12);
    --banner-bg: #2b2205;
    --banner-text: #ffe08a;
    --live-text: #4ade80;
    --soon-text: #a1a1a6;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 4rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

p,
ul,
ol,
address {
  margin: 0 0 1em;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  background: var(--surface-on-bg);
  border-radius: 6px;
  overflow-wrap: anywhere;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--button-bg);
  color: var(--button-text);
  border-radius: 980px;
  z-index: 20;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Header: thin, translucent, stays at the top */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark img {
  width: 20px;
  height: 20px;
}

.nav-list {
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--text);
  opacity: 0.8;
}

.nav-list a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Hero */

.hero,
.page-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 0.3em;
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow a {
  color: var(--muted);
}

.lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  background: var(--button-bg);
  color: var(--button-text);
  border-radius: 980px;
  font-size: 1.0625rem;
  font-weight: 400;
}

.button:hover {
  background: var(--button-bg-hover);
  text-decoration: none;
}

.more::after {
  content: "\00a0\203A";
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.45;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.points {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-tile);
  text-align: center;
}

.points strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.points span {
  color: var(--muted);
}

/* Tiles */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-tile);
}

.section:not(.section-alt) .card {
  background: var(--surface-on-bg);
}

.card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}

.card h3 a {
  color: var(--text);
}

.card p {
  color: var(--muted);
}

.card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

.card-wide {
  padding: 3rem 1.75rem;
  text-align: center;
}

.card-wide h3 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.card-wide p {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.status-live {
  color: var(--live-text);
}

.status-soon {
  color: var(--soon-text);
}

.card .status {
  margin-bottom: 0.75rem;
}

/* Contact */

.contact {
  text-align: center;
}

.contact-mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Concept banner on privacy and terms */

.concept-banner {
  padding: 0.7rem 0;
  background: var(--banner-bg);
  color: var(--banner-text);
  font-size: 0.9rem;
  text-align: center;
}

/* Long-form text */

.prose {
  padding-top: 1rem;
}

.prose .wrap {
  max-width: calc(var(--wrap-text) + 2rem);
}

.prose h1 {
  font-size: clamp(2.25rem, 7vw, 3.5rem);
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose h2.first {
  margin-top: 0;
}

.prose .card h3 {
  margin-top: 0;
}

.page-hero + .prose {
  padding-top: 1rem;
}

.prose .wrap-wide {
  max-width: var(--wrap);
  margin-top: 1.5rem;
}

.card .status-live {
  color: var(--live-text);
}

.card .status-soon {
  color: var(--soon-text);
}

.prose li {
  margin-bottom: 0.5em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 0.75rem 0.75rem 0.75rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.prose th {
  font-weight: 600;
}

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

.meta {
  color: var(--muted);
}

.legal {
  padding-top: 3.5rem;
}

/* Feature tiles, steps and benefits on service pages */

.features {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.prose .features li {
  margin: 0;
  padding: 1.4rem 1.5rem;
  background: var(--surface-on-bg);
  border-radius: var(--radius-small);
  color: var(--muted);
}

.features strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.steps {
  margin: 1.5rem 0 1em;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.prose .steps li {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 3rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 600;
}

.benefits {
  padding: 0;
  list-style: none;
}

.prose .benefits li {
  position: relative;
  padding-left: 1.75rem;
}

.benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--live-text);
  font-weight: 700;
}

.state p {
  margin-bottom: 0.75rem;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2rem;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-inner > * {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

address {
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Wider screens */

@media (min-width: 40rem) {
  .nav-list {
    gap: 2rem;
  }

  .cards,
  .features,
  .points {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 60rem) {
  .hero {
    padding: 7rem 0 5.5rem;
  }

  .page-hero {
    padding: 6rem 0 4rem;
  }

  .section {
    padding: 6.5rem 0;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-wide {
    padding: 4.5rem 2rem;
  }
}
