/* eFile's brand (https://efile.systems): Saira and the navy/blue palette. The mark is Paridoc's own
   (the reader toolbar's amber tile, services/frontend); eFile's bar mark sits in the footer. */
@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/saira-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --background: #e9f0f8;
  --foreground: #00131d;
  --muted-foreground: #3a5c7d;
  --link: #245a91;
  --accent: #2f6fb1;
  --border: rgb(0 19 29 / 12%);
  --primary: oklch(0.7 0.135 68); /* Paridoc amber, as in services/frontend/app/globals.css */
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #07141d;
    --foreground: #e9f0f8;
    --muted-foreground: #b0c4d9;
    --link: #8eb5e0;
    --accent: #77a6d9;
    --border: rgb(233 240 248 / 12%);
    --primary: oklch(0.78 0.135 68);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: "Saira", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

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

/* Header: the "paridoc by eFile" lockup */
header {
  padding: 1.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--foreground);
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, transparent);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}

.brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand-name {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-by {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* Content */
main {
  flex: 1;
  padding: 4rem 0 5rem;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
  text-wrap: balance;
}

.lede {
  margin: 0 0 3.5rem;
  max-width: 36rem;
  font-size: 1.1875rem;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

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

.points li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.points h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.points p {
  margin: 0;
  color: var(--muted-foreground);
}

.contact {
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Footer */
footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

footer p {
  margin: 0;
}

.maker img {
  width: 1.1em;
  height: auto;
  margin-right: 0.3em;
  vertical-align: -0.15em;
}
