@import url("platform.css");

/* Public landing, sign-in, and legal pages.
   Tokens come from platform.css. The recommender does not load this file. */

body.site {
  --t-hero: 72px;
  --t-title: 32px;
  --t-body: 16px;
  --t-ui: 14px;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 300 var(--t-body)/1.45 Inter, system-ui, sans-serif;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

body.site, body.site * { box-sizing: border-box; }
body.site [hidden] { display: none !important; }
body.site h1,
body.site h2,
body.site h3,
body.site p { margin: 0; }
body.site a { color: inherit; }
body.site button,
body.site input { font: inherit; color: inherit; }
body.site button { cursor: pointer; }
body.site button:disabled { cursor: default; opacity: 0.45; }
body.site :focus-visible {
  outline: 2px solid var(--zeiss);
  outline-offset: 2px;
  box-shadow: none;
}
body.site .skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}
body.site .skip:focus { left: 8px; }

html:has(body.site) { scroll-behavior: smooth; scroll-padding-top: 72px; }

body.site .frame {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

body.site .site-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--rule);
}
body.site .bar-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 24px;
}
body.site .brand {
  font-size: var(--t-ui);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
body.site .brand span { font-weight: 300; color: var(--mute); }
body.site .bar-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
body.site .bar-links a,
body.site .text-link {
  color: var(--ink2);
  font-size: var(--t-ui);
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}
body.site .bar-links a:hover,
body.site .text-link:hover { color: var(--ink); }
body.site .bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
body.site .site-menu { display: none; position: relative; }
body.site .site-menu summary {
  list-style: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
body.site .site-menu summary::-webkit-details-marker { display: none; }
body.site .site-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
body.site .site-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  font-size: var(--t-ui);
  font-weight: 400;
  text-decoration: none;
}
body.site .site-menu-panel a:hover { background: var(--soft); }

body.site .primary,
body.site .tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
body.site .primary {
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  transition: background-color var(--t-fast) var(--ease);
}
body.site .primary:hover { background: #2c313a; }
body.site .tertiary {
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--ink2);
}
body.site .tertiary:hover { color: var(--ink); }

body.site h1 {
  max-width: 18em;
  font-size: var(--t-hero);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
body.site h2 {
  font-size: var(--t-title);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
body.site h3 {
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.3;
}
body.site .lede {
  max-width: 38rem;
  margin-top: 20px;
  color: var(--ink2);
  font-size: var(--t-body);
  font-weight: 300;
}
body.site .meta {
  margin-top: 28px;
  max-width: 38rem;
  font-size: var(--t-ui);
  font-weight: 300;
  line-height: 1.45;
  color: var(--mute);
}
body.site .hero {
  padding: 72px 0 8px;
  text-align: left;
}
body.site .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 28px;
}

body.site .hero-shot {
  margin: 48px 0 0;
  width: min(100%, 960px);
}
body.site .hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
body.site .hero-shot figcaption {
  margin-top: 12px;
  font-size: var(--t-ui);
  font-weight: 400;
  color: var(--ink2);
}

body.site .block { padding-top: 104px; }
body.site .trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}
body.site .trio figure {
  margin: 0;
  padding: 20px 28px 0 0;
  border-top: 1px solid var(--rule);
}
body.site .trio figure + figure {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
body.site .trio img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
body.site .trio figcaption {
  margin-top: 8px;
  font-size: var(--t-ui);
  font-weight: 400;
  color: var(--ink);
}

body.site .features { margin-top: 36px; }
body.site .feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}
body.site .feature:last-child { border-bottom: 1px solid var(--rule); }
body.site .feature:nth-child(even) img { order: -1; }
body.site .feature-copy { max-width: 36rem; }
body.site .feature p {
  margin-top: 12px;
  color: var(--ink2);
  font-weight: 300;
}
body.site .feature a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--zeiss);
  font-size: var(--t-ui);
  font-weight: 400;
  text-decoration: none;
}
body.site .feature a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.site .feature img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

body.site .close { padding: 104px 0 120px; }

body.site .site-foot {
  border-top: 1px solid var(--rule);
  color: var(--ink2);
  font-size: var(--t-ui);
  font-weight: 300;
}
body.site .foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 24px 0;
}
body.site .foot-row a { color: var(--zeiss); text-decoration: none; }
body.site .foot-row a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.site .gate { padding: 72px 0 120px; }
body.site .gate h1 { max-width: 10ch; }
body.site .gate form { max-width: 400px; margin-top: 36px; }
body.site .gate fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
body.site .field {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  font-size: var(--t-ui);
  font-weight: 400;
  line-height: 1.3;
  color: var(--mute);
}
body.site .field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 300 var(--t-body)/1.3 Inter, system-ui, sans-serif;
}
body.site .field input:focus-visible { border-bottom-color: var(--zeiss); }
body.site .field input[aria-invalid="true"] { border-bottom-color: var(--error); }
body.site .secret { position: relative; display: block; }
body.site .secret input { padding-right: 96px; }
body.site .secret button {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  color: var(--zeiss);
  font-size: var(--t-ui);
  font-weight: 400;
}
body.site .gate .primary { width: 100%; margin-top: 20px; }
body.site .gate-note {
  margin: 12px 0 0;
  font-size: var(--t-ui);
  font-weight: 400;
  line-height: 1.45;
  color: var(--mute);
}
body.site .gate-note[hidden] { display: none; }
body.site .gate .primary:disabled {
  background: var(--ink2);
  color: var(--white);
  opacity: 0.45;
  cursor: not-allowed;
}

body.site .msg {
  margin: 0 0 16px;
  font-size: var(--t-ui);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink2);
}
body.site .msg:empty { display: none; }
body.site .msg.err { color: var(--error); }
body.site .msg.okm { color: var(--ink2); }
body.site .gate-foot {
  display: flex;
  gap: 20px;
  max-width: 400px;
  margin-top: 24px;
  font-size: var(--t-ui);
  font-weight: 400;
}
body.site .gate-foot a { color: var(--zeiss); text-decoration: none; }
body.site .gate-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.site main.legal {
  width: min(720px, calc(100% - 48px));
  max-width: none;
  margin: 48px auto 96px;
  padding: 0;
}
body.site .legal h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: var(--t-title);
}
body.site .legal h2 { margin: 36px 0 8px; }
body.site .legal p,
body.site .legal li { color: var(--ink2); font-weight: 300; }
body.site .legal p { margin-top: 8px; }
body.site .legal ul { margin: 8px 0 0; padding-left: 1.2rem; }
body.site .legal a { color: var(--zeiss); }
body.site .kicker {
  margin: 0 0 8px;
  font-size: var(--t-ui);
  font-weight: 400;
  color: var(--mute);
}
body.site .legal-note {
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--soft);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink2);
  font-size: var(--t-ui);
  font-weight: 300;
}
body.site .legal-note strong { font-weight: 400; color: var(--ink); }

@media (max-width: 800px) {
  body.site .trio { grid-template-columns: 1fr; }
  body.site .trio figure + figure {
    margin-top: 28px;
    padding-left: 0;
    border-left: 0;
  }
  body.site .feature {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 48px 0;
  }
  body.site .feature:nth-child(even) img { order: 0; }
}
@media (max-width: 720px) {
  body.site { --t-hero: 40px; }
  body.site .frame { width: min(1120px, calc(100% - 32px)); }
  body.site .bar-links { display: none; }
  body.site .site-menu { display: block; }
  body.site .brand span { display: none; }
  body.site .hero { padding-top: 40px; }
  body.site .block { padding-top: 72px; }
  body.site .close { padding: 72px 0 88px; }
  body.site .gate { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.site) { scroll-behavior: auto; }
  body.site .primary { transition: none; }
}
