/* Design Tokens */
:root {
  --color-primary: #d5077e;
  --color-primary-dark: #9e0697;
  --color-dark: #0b1020;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-background-light: #f6f8fc;
  --color-text-dark: #363636;
  --color-border: #d9d9d9;
  --color-border-light: #efefef;
}

/* Base */
@font-face {
  font-family: "Roboto Accent";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/roboto-accent-bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Accent";
  font-style: italic;
  font-weight: 700;
  src: url("./fonts/roboto-accent-bold-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Primary";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/roboto-primary-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Primary";
  font-style: italic;
  font-weight: 400;
  src: url("./fonts/roboto-primary-regular-italic.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Primary";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/roboto-primary-bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto Primary";
  font-style: italic;
  font-weight: 700;
  src: url("./fonts/roboto-primary-bold-italic.woff2") format("woff2");
  font-display: swap;
}

/* Dedicated Font Faces for Inline SVGs to ensure pristine rendering */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/roboto-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/roboto-primary-bold.woff2") format("woff2");
  font-display: swap;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--color-dark);
  background: var(--color-background-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#page {
  flex: 1 0 auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Header */
.site-header {
  background: var(--color-white);
  box-shadow: 0 10px 22px rgba(10, 18, 41, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

/* If your SVG has intrinsic size, this won't fight it; it's just a safety cap */
.brand svg,
.brand img {
  display: block;
  max-height: 34px;
  width: auto;
}

.brand svg ~ .brand__fallback,
.brand img ~ .brand__fallback {
  display: none;
}

.brand__fallback {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Quote band */
.quote-band {
  background: linear-gradient(
    0deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  color: var(--color-white);
}

.quote-band__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 61px 16px;
  text-align: center;
}

.quote-band__quote {
  margin: 0;
  font-family: "Roboto Primary", sans-serif;
  font-size: 38px;
  font-style: italic;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-weight: 400;
}

.quote-band__quote strong {
  font-style: italic;
  font-family: "Roboto Accent", sans-serif;
  font-weight: bold;
}

.quote-band--notched {
  position: relative;
}

.quote-band--notched::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid var(--color-white);
  pointer-events: none;
}

.quote-band--notched-bottom {
  position: relative;
}

.quote-band--notched-bottom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid var(--color-white);
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.92);
  padding: 40px 0;
}

.site-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__center {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  font-family: "Roboto Primary", sans-serif;
  color: var(--color-white);
  line-height: 1.4;
}

.site-footer__nav {
  justify-self: end;
  display: inline-flex;
  gap: 34px;
  align-items: center;
  position: relative;
  padding-right: 18px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 17px;

  font-family: "Roboto Primary", sans-serif;
  font-weight: 400;
}

.site-footer__nav a:hover {
  color: var(--color-white);
}

/* Page shell (optional) */
.page__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .site-footer__nav {
    justify-self: center;
    padding-right: 0;
    gap: 18px;
    flex-wrap: wrap;
  }

  .site-footer__nav::after {
    display: none;
  }

  .btn {
    font-size: 18px;
    padding: 10px 20px;
    width: 80%;
  }

  .mobile-hidden {
    display: none;
  }
}

@media (max-width: 430px) {
  .btn.btn-contact {
    width: 100%;
  }
}

/* ============================================
   USER JOURNEY SVG ANIMATION
   ============================================ */

/* ============================================
   GLOBAL PAGE WRAPPER & QUOTE ANIMATION
   ============================================ */

/* Standard Page Wrappers */
#page:has(.page-content) {
  background: var(--color-white);
  min-height: calc(100vh - 200px);
}

.page-content {
  background: var(--color-white);
}

.page-content .page__inner {
  max-width: 980px;
  padding: 0 20px 150px;
  background-color: var(--color-white);
}

/* Quote Band Animations & Overrides */
.quote-band--slim .quote-band__inner {
  padding: 25px 0;
}

@media (max-width: 900px) {
  .quote-band--slim .quote-band__inner {
    padding: 25px 20px;
  }
}

.quote-band--inverted {
  background: linear-gradient(
    0deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
}

.quote-band__title {
  font-size: 56px;
  font-family: "Roboto Accent", sans-serif;
  font-weight: bold;
  color: var(--color-white);
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  animation: quoteTitleIn 0.7s cubic-bezier(0.48, 0, 0.52, 1) forwards;
}

@keyframes quoteTitleIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .quote-band__title {
    font-size: 36px;
  }
  .page-content .page__inner {
    padding: 0 20px 150px;
  }
}

/* ============================================
   LEGAL TYPOGRAPHY
   ============================================ */
.legal-content {
  padding: 50px 0;
}

.legal-intro {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text-dark);
  margin-bottom: 30px;
  letter-spacing: normal;
}

.legal-heading {
  font-family: "Roboto Accent", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: var(--color-black);
  margin: 30px 0 0;
  letter-spacing: normal;
}

.legal-content p {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text-dark);
  margin-bottom: 15px;
  letter-spacing: normal;
}

.legal-content p:has(+ .legal-list) {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-black);
}

.legal-list {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text-dark);
  margin: 0 0 15px 0;
  padding-left: 40px;
  letter-spacing: normal;
  list-style-type: disc;
  list-style-position: outside;
}

.legal-list li {
  line-height: normal;
}

.legal-address {
  font-family: "Roboto Primary", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-dark);
  font-style: normal;
  letter-spacing: normal;
}
