/* Prycis — Confident Calm
   Charcoal #242424, white #FFFFFF, soft gray #F4F4F4 / #E6E6E6,
   off-white #F3F3F3, deep blue #1E3A5F, orange #E8882A (buttons only),
   caption gray #5C5C5C. Poppins 600 headings, Inter 400 body.
*/

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #242424;
  --white: #ffffff;
  --soft-gray: #f4f4f4;
  --divider: #e6e6e6;
  --off-white: #f3f3f3;
  --blue: #1e3a5f;
  --orange: #e8882a;
  --orange-hover: #cf761d;
  --caption: #5c5c5c;
  --muted-on-dark: #c8c8c8;
  --faint-on-dark: #a8a8a8;
  --font-body: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Poppins, Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text-max: 37.5rem;
  --wrap: 70rem;
  --pad-x: 1.5rem;
  --section-y: 5rem;
  --header-h: 4.75rem;
}

@media (min-width: 48rem) {
  :root {
    --pad-x: 2.5rem;
    --section-y: 7.5rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --pad-x: 3.5rem;
    --section-y: 8.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.skip {
  position: absolute;
  left: var(--pad-x);
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  font-size: 1rem;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.prose {
  max-width: var(--text-max);
}

/* ----- Header ----- */

.site-header {
  color: var(--off-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--off-white);
}

.header-link {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
}

.header-link:hover,
.header-link:focus-visible {
  border-bottom-color: currentColor;
}

.wordmark:focus-visible,
.header-link:focus-visible,
.footer-meta a:focus-visible,
.email-plain a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: transparent;
}

body.page-privacy .site-header,
body.page-legal .site-header {
  background: var(--charcoal);
  position: relative;
}

/* ----- Hero ----- */

.hero {
  background: var(--charcoal);
  color: var(--off-white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 3rem) 5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.375rem, 1.2rem + 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0 0 1.35rem;
  max-width: 8.6em;
}

.hero .lede {
  margin: 0 0 2.25rem;
  color: var(--off-white);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ----- Buttons (orange, and only orange, lives here) ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--orange-hover);
  color: var(--charcoal);
}

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

.hero .btn:focus-visible {
  outline-color: var(--white);
}

/* ----- Shared sections ----- */

.section {
  padding-block: var(--section-y);
}

.section h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--blue);
}

.section p {
  margin: 0 0 1.15em;
}

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

.section-light {
  background: var(--white);
  color: var(--charcoal);
}

.section-dark {
  background: var(--charcoal);
  color: var(--off-white);
}

.section-dark h2 {
  color: var(--white);
}

/* ----- What we do ----- */

.offer-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  max-width: var(--text-max);
  border-top: 1px solid var(--divider);
}

.offer-list li {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--divider);
  color: var(--charcoal);
}

/* ----- Let's talk ----- */

.lets-talk .btn {
  margin-top: 0.5rem;
}

.email-plain {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  color: var(--caption);
}

.email-plain a {
  color: var(--caption);
  text-decoration: none;
}

.email-plain a:hover,
.email-plain a:focus-visible {
  color: var(--charcoal);
  text-decoration: underline;
}

/* ----- Footer ----- */

.site-footer {
  background: var(--charcoal);
  color: var(--faint-on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
  padding: 2.25rem 0 2.75rem;
}

.footer-meta {
  margin: 0;
  color: var(--muted-on-dark);
}

.footer-meta a {
  color: var(--off-white);
  text-decoration: none;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  text-decoration: underline;
}

.copyright {
  margin: 1.15rem 0 0;
  color: var(--faint-on-dark);
}

/* ----- Privacy / legal pages ----- */

.legal {
  padding-block: 3.5rem 5.5rem;
  min-height: calc(100svh - var(--header-h) - 8rem);
}

.legal h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.legal .updated {
  margin: 0 0 2.25rem;
  font-size: 1rem;
  color: var(--caption);
}

.legal h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin: 2.15rem 0 0.7rem;
}

.legal p {
  margin: 0 0 1.05em;
}

.legal ul {
  margin: 0 0 1.15em;
  padding-left: 1.2em;
}

.legal li {
  margin: 0.4em 0;
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--charcoal);
}

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

.footer-legal {
  margin: 0.85rem 0 0;
  color: var(--muted-on-dark);
}
