/* Shared styles for the pages built from Kenzo's November 2026 design:
 * / (index.html), /blueprint, /privacy-policy and /terms-of-use.
 * Most styling is inline in the HTML, as in the design. This file holds the
 * fonts, the base rules, and the phone/tablet adjustments (inline styles can't
 * have media queries, so those rules use !important). */

/* Display font: Urbanist (SIL Open Font License, see /fonts/Urbanist-OFL.txt).
 * The design names "Modernist" first; it isn't installed anywhere, so Urbanist is what shows. */
@font-face {
  font-family: "Urbanist";
  src: url(/fonts/urbanist-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Text font: Avenir, the files the site already had (from Webflow). */
@font-face {
  font-family: "Avenir";
  src: url(/wf-cdn/689d8458873a609139f0572d/68ad83417ccf5c9a61e1abd4_Avenir%20Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url(/wf-cdn/689d8458873a609139f0572d/68ad83419b8a512688c5dfcf_Avenir%20Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir";
  src: url(/wf-cdn/689d8458873a609139f0572d/68ad8341571a5d311d4f7255_Avenir%20Heavy.ttf) format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #1a1a1a;
}
a { color: #173ded; }
a:hover { color: #060fad; }
img { max-width: 100%; }
[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 2px solid #788fff; outline-offset: 2px; }

/* ---------- Header and menu ---------- */
.site-header { position: relative; z-index: 20; }
.site-nav a:hover { color: #fff !important; }
.nav-cta, .menu-btn { display: none; }

.menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #515151;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Tablet and phone: the links move into a menu behind the button. */
@media (max-width: 1023px) {
  .site-header > div { flex-wrap: nowrap !important; }
  .site-header > div > a:first-child { margin-right: auto; }
  .menu-btn { display: inline-flex; flex: 0 0 auto; }
  .site-nav {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px clamp(20px, 4vw, 48px) 24px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2929;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }
  .site-header.is-open .site-nav { display: flex !important; }
  .site-nav a {
    padding: 14px 0 !important;
    font-size: 17px !important;
    border-bottom: 1px solid #2a2929;
  }
  .site-nav a.nav-cta {
    display: none;
    margin-top: 20px;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px !important;
    border: 0;
    border-radius: 9999px;
    background: #173ded;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    align-items: center;
  }
}
/* Phone: the logo and the button need the room; the booking button moves into the menu. */
@media (max-width: 599px) {
  .site-header .site-cta { display: none !important; }
  .site-nav a.nav-cta { display: flex; }
  .site-header > div > a:first-child > div { width: 210px !important; height: 32px !important; }
  .site-header > div > a:first-child img {
    width: 240px !important;
    height: 96px !important;
    left: -15px !important;
    top: -32px !important;
  }
}

/* ---------- Case study diagram (home) ---------- */
.case-flow { display: none; }
@media (max-width: 1099px) {
  .case-diagram { display: none !important; }
  .case-flow {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    color: #fff;
  }
}
.flow-step { display: flex; flex-direction: column; gap: 8px; }
.flow-label {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: #bcbcbc;
}
.flow-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: #2a2929;
  border: 1px solid #bcbcbc;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
}
.flow-box b { font-size: 15px; }
.flow-box span { color: #bcbcbc; }
.flow-box.flow-blue { background: #173ded; border-color: #173ded; }
.flow-box.flow-blue span { color: #fff; }
.flow-arrow {
  align-self: center;
  font-size: 20px;
  line-height: 1;
  color: #bcbcbc;
}
@media (min-width: 600px) and (max-width: 1099px) {
  .flow-step:first-child, .flow-step:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .flow-step:first-child .flow-label, .flow-step:last-child .flow-label { grid-column: 1 / -1; }
}

/* ---------- Tables that scroll sideways on phones ---------- */
.table-scroll { -webkit-overflow-scrolling: touch; }
@media (max-width: 699px) {
  .table-scroll { margin-right: calc(-1 * clamp(20px, 4vw, 48px)); padding-right: clamp(20px, 4vw, 48px); }
  .table-scroll::after {
    content: "Swipe to compare →";
    display: block;
    padding-top: 8px;
    font-size: 13px;
    color: #bcbcbc;
    position: sticky;
    left: 0;
  }
}
