/* Stowe Holdings: shared styles for the holding pages (Demo Centres, Success Hub, Shop Online) and the privacy notice */
:root {
  --stowe-navy: #102936;
  --stowe-gold: #d8b979;
  --stowe-teal: #75b9b0;
  --stowe-paper: #fffdf8;
  --stowe-slate: #54617a;
  --stowe-teal-deep: #2f6d63;
  --stowe-gold-deep: #8a6d2f;
  --navy-950: #0a1d26;
  --navy-900: var(--stowe-navy);
  --navy-800: #1c3d4d;
  --line: #e3e7f0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  color: var(--stowe-navy);
  background: var(--stowe-paper);
  -webkit-font-smoothing: antialiased;
}
h1,
.display {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.utility-bar {
  background: var(--navy-950);
  color: #c7d0e6;
  font-size: 12.5px;
}
.utility-bar .wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  padding: 9px 32px;
}
.utility-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.utility-bar a:hover {
  opacity: 1;
  color: #fff;
}
.utility-bar svg {
  width: 13px;
  height: 13px;
  flex: none;
}

/* Mainly white, but a frosted "Acrylic/Mica" translucent white (matching
     the homepage header) rather than a flat opaque bar. */
header.main {
  --nav-fg: var(--navy-900);
  --nav-fg-soft: var(--stowe-slate);
  --nav-active: var(--stowe-teal-deep);
  --nav-hover-bg: var(--stowe-paper);
  --icon-border: var(--line);
  --icon-color: var(--navy-900);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(16, 41, 54, 0.06),
    0 12px 24px -18px rgba(16, 41, 54, 0.18);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
  padding: 4px 0;
}
.logo img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 200px;
  object-fit: contain;
}
nav.tabs {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
nav.tabs a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nav-fg-soft);
  padding: 10px 14px;
  border-radius: 8px;
  transition: 0.15s;
  white-space: nowrap;
}
nav.tabs a:hover {
  background: var(--nav-hover-bg);
  color: var(--nav-fg);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 230px;
  height: 10px;
}
.nav-dropdown-caret {
  width: 9px;
  height: 9px;
  flex: none;
  transition: transform 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown:focus-within .nav-dropdown-caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -16px rgba(16, 41, 54, 0.35);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: var(--stowe-paper);
  color: var(--stowe-teal-deep);
}
.ndm-soon {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: #8b96ab;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 2px;
  vertical-align: 1px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--icon-border);
  color: var(--icon-color);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}
button.icon-btn {
  background: none;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.icon-btn svg {
  width: 15px;
  height: 15px;
}
/* The menu button is only for the phone layout; it keeps its space so the tabs stay centred. */
@media (min-width: 981px) {
  .nav-actions {
    visibility: hidden;
  }
}
@media (max-width: 980px) {
  nav.tabs {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 16px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 24px 40px -20px rgba(16, 41, 54, 0.3);
  }
  nav.tabs.is-open {
    display: flex;
  }
  nav.tabs a {
    width: 100%;
    padding: 13px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown::after {
    display: none;
  }
  .nav-dropdown > a {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown-caret {
    display: none;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    min-width: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .nav-dropdown-menu a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 4px;
  }
}
@media (max-width: 600px) {
  .nav-row {
    padding: 8px 18px;
  }
  .logo img {
    height: 38px;
    max-width: 160px;
  }
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(16, 41, 54, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(0, 0, 0, 0.8), transparent 75%);
}
.holding-card {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 40px 44px;
  box-shadow: 0 30px 60px -30px rgba(16, 41, 54, 0.25);
}
.holding-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(216, 185, 121, 0.18), rgba(117, 185, 176, 0.14));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stowe-gold-deep);
}
.holding-icon svg {
  width: 28px;
  height: 28px;
}
.holding-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stowe-teal-deep);
  margin-bottom: 14px;
}
.holding-card h1 {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.25;
  color: var(--navy-900);
}
.holding-card p {
  margin: 16px auto 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--stowe-slate);
  max-width: 420px;
}
.holding-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--stowe-gold);
  color: var(--stowe-navy);
}
.btn-outline {
  border-color: var(--line);
  color: var(--navy-900);
}

footer.site {
  background: var(--navy-950);
  color: #c7d0e6;
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
}
footer.site a {
  color: var(--stowe-teal);
}

/* Privacy notice: a long-form reading page */
main.legal-main {
  align-items: flex-start;
  padding: 48px 20px 64px;
}
.legal {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 48px 40px;
  box-shadow: 0 30px 60px -30px rgba(16, 41, 54, 0.25);
}
.legal h1 {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.25;
  color: var(--navy-900);
}
.legal h2 {
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 30px 0 0;
}
.legal p,
.legal li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--stowe-slate);
}
.legal p {
  margin: 12px 0 0;
}
.legal ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.legal strong {
  color: var(--navy-900);
}
.legal a:not(.btn) {
  color: var(--stowe-teal-deep);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.legal .legal-updated {
  margin-top: 8px;
  font-size: 12.5px;
}
.legal .holding-cta-row {
  justify-content: flex-start;
}
@media (max-width: 600px) {
  .legal {
    padding: 30px 22px;
  }
}

.holding-icon--teal {
  color: var(--stowe-teal-deep);
}
.holding-icon--navy {
  color: var(--stowe-navy);
}
