/* Page chrome — header + footer wrapped around the form itself.
   Footer markup/CSS below is the real matereal.co source, provided directly
   (not reconstructed from a screenshot) — keep it byte-faithful to that
   source rather than adapting it, so future copy/paste updates stay a clean
   diff. */

body {
  background: white;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
}
.nav__list a {
  position: relative;
  padding-block: 4px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--purple-700); }
.nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--purple-700);
  border-radius: 2px;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--line);
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav-open .nav__toggle .icon-menu { display: none; }
.nav-open .nav__toggle .icon-close { display: block; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__list {
    position: fixed;
    inset: 73px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    padding: var(--sp-6) var(--sp-5);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .nav-open .nav__list { transform: translateX(0); }
  .nav__list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: var(--sp-4) 0; font-size: var(--step-2); }
  .nav-open .nav__cta-mobile { display: inline-flex; margin-top: var(--sp-6); }
}
.nav__cta-mobile { display: none; }

.site-main {
  padding: var(--sp-5) var(--sp-4);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #121115;
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--sp-6);
}
.footer-cta {
  padding-block: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  align-items: center;
  justify-content: space-between;
}
.footer-cta h2 { color: #fff; font-size: var(--step-3); max-width: 20ch; }
.footer-main {
  padding-block: var(--sp-8);
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1.3fr repeat(3, 1fr);
}
@media (max-width: 760px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
.footer-brand .brand { color: #fff; margin-bottom: var(--sp-3); display: inline-block; }
.footer-brand .brand__logo { height: 34px; width: auto; display: block;}
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: var(--step--1); max-width: 32ch; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: var(--step--1); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--green-400); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
.footer-social a:hover { border-color: var(--green-400); color: var(--green-400); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.5);
}
