:root {
  --marketing-hero-title-size: clamp(44px, 6.4vw, 74px);
  --marketing-hero-title-line: 1.04;
  --marketing-hero-title-tracking: -0.008em;
  --marketing-decision-title-size: clamp(38px, 5vw, 58px);
  --marketing-decision-title-line: 1.06;
  --marketing-decision-title-tracking: -0.024em;
  --marketing-section-title-size: clamp(30px, 4.4vw, 46px);
  --marketing-section-title-line: 1.14;
  --marketing-section-title-tracking: -0.006em;
  --marketing-lead-size: 18px;
  --marketing-body-size: 16.5px;
  --marketing-body-line: 1.6;
}

.marketing-chrome-shell {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 28px;
}

.marketing-header {
  position: relative;
  z-index: 5;
}

.marketing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 34px;
}

.marketing-nav .wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-chrome, "Schibsted Grotesk", "Albert Sans", sans-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.marketing-nav .wordmark span { color: var(--green); }
.marketing-nav .wordmark .mark { width: 40px; height: 40px; margin-right: 11px; }

.marketing-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.marketing-nav a.cta-small {
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.marketing-nav a.cta-small:hover,
.marketing-nav a.cta-small:focus-visible { border-bottom-color: var(--green); }

.marketing-nav a.nav-signin {
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.marketing-nav a.nav-signin:hover,
.marketing-nav a.nav-signin:focus-visible {
  border-bottom-color: var(--green);
  color: var(--green);
}

.marketing-nav .theme-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-raise, var(--paper-raised));
  cursor: pointer;
}

.marketing-nav .theme-toggle:hover { border-color: var(--ink-faint); }
.marketing-nav .theme-toggle:focus-visible { outline: 3px solid rgba(47, 82, 51, 0.35); outline-offset: 2px; }

.marketing-nav .theme-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  transition: transform 180ms ease;
}

:root[data-theme="dark"] .marketing-nav .theme-thumb { transform: translateX(20px); }

.open-close {
  position: relative;
  max-width: none;
  overflow: visible;
  padding-block: 100px 112px;
  text-align: center;
}

.open-close > *:not(.closebed) { position: relative; z-index: 1; }

.open-close .closebed {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: calc(-50vw + 50%);
  display: flex;
  width: 100vw;
  align-items: center;
  justify-content: center;
  overflow: clip;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%, #000 74%, transparent 100%),
    radial-gradient(112% 96% at 50% 50%, #000 34%, transparent 78%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.open-close .closebed img {
  width: auto;
  max-width: none;
  height: min(2080px, 264vw);
  transform: translate(4%, -1%) rotate(90deg) scale(1.2);
}

:root[data-theme="dark"] .open-close .closebed { opacity: 0.42; }

.open-close h2 {
  margin: 0 0 30px;
  font-family: var(--font-chrome, "Schibsted Grotesk", "Albert Sans", sans-serif);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.open-close .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--green);
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms, border-color 120ms, color 120ms, transform 120ms;
}

.open-close .button:hover,
.open-close .button:focus-visible { background: var(--green-bright); transform: none; }

.marketing-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 30px 44px;
  color: var(--ink-faint);
  font-size: 13.5px;
}

.marketing-footer a {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
}

.marketing-footer a:hover { border-bottom-color: var(--ink-soft); }
.marketing-footer .tm { margin-left: 0.5px; font-size: 0.66em; vertical-align: 0.32em; }

@media (max-width: 860px) {
  .open-close .closebed { opacity: 0.34; }
  .open-close .closebed img { height: min(1520px, 300vw); }
}

@media (max-width: 560px) {
  .marketing-chrome-shell { padding-inline: 22px; }
  .marketing-nav a.nav-signin { display: none; }
  .marketing-nav .nav-get-started { display: none; }
  .marketing-nav .nav-right { gap: 12px; }
}
