@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --canvas: #f7f3eb;
  --surface: #fffdf8;
  --ink: #171713;
  --muted: #66635c;
  --border: #ddd6ca;
  --accent: #f26419;
  --accent-hover: #db4f0c;
  --graphite: #171713;
  --white: #fffdf8;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Archivo", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(242, 100, 25, 0.34);
  outline-offset: 5px;
}

.container {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--graphite);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(247, 243, 235, 0.96);
}

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

.brand {
  display: inline-flex;
  min-width: 0;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  width: 3.75rem;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: grid;
  gap: 0.05rem;
  line-height: 1.1;
}

.brand-wordmark strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-wordmark small {
  color: var(--muted);
  font-size: 0.68rem;
}

.home-link {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.65rem 0;
  gap: 0.7rem;
  align-items: center;
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.home-link:hover {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.legal-main {
  flex: 1;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.legal-heading {
  position: sticky;
  top: 2.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 5.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-heading > p:last-child {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.legal-content {
  border-top: 2px solid var(--ink);
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--border);
}

.legal-section h2 {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.legal-section p,
.legal-section address {
  margin-bottom: 0;
}

.legal-section p + p {
  margin-top: 0.55rem;
}

.legal-section strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
}

address {
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-list p {
  display: grid;
  gap: 0.15rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-list a {
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.contact-list a:hover {
  color: var(--accent-hover);
}

.tax-number {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.site-footer {
  padding: 2.2rem 0;
  background: var(--graphite);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand .brand-wordmark strong {
  color: var(--white);
}

.footer-brand .brand-wordmark small,
.site-footer p,
.footer-home-link {
  color: rgba(255, 253, 248, 0.64);
}

.footer-home-link {
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-home-link:hover {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 0.76rem;
}

@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .legal-heading {
    position: static;
  }

  .legal-heading > p:last-child {
    max-width: 34rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 1180px);
  }

  .header-inner {
    min-height: 0;
    padding-block: 1rem;
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    width: 3.35rem;
  }

  .home-link {
    min-height: 2.5rem;
  }

  .legal-main {
    padding-top: 3.5rem;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .site-footer p {
    grid-column: auto;
  }
}

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