@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-italic-variable.woff2") format("woff2");
}

:root {
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --surface-light: #f8f4f4;
  --text: #201e1d;
  --muted: #686361;
  --accent: #ec3013;
  --accent-dark: #ae1800;
  --accent-soft: #ffe0d9;
  --divider: rgba(32, 30, 29, 0.42);
  --shell: 1200px;
  --header-height: 68px;
  --font-display: "Space Grotesk", Arial, Helvetica, system-ui, sans-serif;
  --font-body: "Source Sans 3", Arial, Helvetica, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0;
}

strong {
  font-family: inherit;
  font-weight: 650;
}

.button {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.band {
  border-top: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(243, 242, 242, 0.96);
  border-bottom: 2px solid var(--divider);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-size: 18px;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links > a {
  font-size: 14px;
  text-decoration: none;
}

.nav-links > a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--divider);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
}

.button-large {
  min-height: 46px;
  padding: 12px 18px;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--divider);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(32, 30, 29, 0.07);
}

.button-on-accent {
  border-color: var(--bg);
  background: transparent;
  color: var(--bg);
}

.button-on-accent:hover {
  background: var(--bg);
  color: var(--accent-dark);
}

.button-block {
  width: 100%;
}

.hero {
  min-height: min(720px, calc(100svh - var(--header-height)));
  display: flex;
  align-items: center;
  padding-block: 72px 84px;
}

.hero-copy {
  max-width: 1020px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 17ch;
  margin-bottom: 30px;
  font-size: clamp(44px, 6.2vw, 82px);
}

.hero-text {
  max-width: 63ch;
  margin-bottom: 0;
  color: #393533;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-trust li::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--accent);
  content: "";
}

.proof-strip {
  padding-block: 44px;
  background: var(--text);
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.proof-item {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.proof-item strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}

.proof-item span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.4;
}

.sbbz-section,
.capabilities {
  padding-block: 92px;
}

.section-title {
  max-width: 17ch;
  margin-bottom: 26px;
  font-size: clamp(36px, 5vw, 62px);
}

.section-lead {
  max-width: 60ch;
  margin-bottom: 48px;
  color: #474240;
  font-size: 17px;
}

.sbbz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--divider);
  border-left: 2px solid var(--divider);
}

.sbbz-grid article {
  min-height: 290px;
  padding: clamp(26px, 4vw, 42px);
  border-right: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
}

.card-label {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sbbz-grid h3 {
  max-width: 20ch;
  margin-block: 58px 16px;
  font-size: 26px;
  overflow-wrap: anywhere;
}

.sbbz-grid p {
  max-width: 52ch;
  margin-bottom: 0;
  color: #474240;
}

.workspace {
  padding-block: 72px;
  background: var(--surface);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: 64px;
  align-items: center;
}

.workspace-copy h2 {
  margin-bottom: 22px;
  font-size: 36px;
}

.workspace-copy > p:not(.eyebrow) {
  margin-bottom: 20px;
  color: #474240;
}

.workspace-points {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.workspace-points li {
  position: relative;
  padding-left: 22px;
  color: #393533;
  font-size: 15px;
}

.workspace-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.product-preview {
  margin: 0;
  border: 2px solid var(--divider);
  background: #fff;
  overflow: hidden;
}

.product-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: left top;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--divider);
  border-left: 2px solid var(--divider);
}

.capability-grid article {
  min-height: 270px;
  padding: 28px;
  border-right: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
}

.capability-grid span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 650;
}

.capability-grid h3 {
  margin-block: 52px 16px;
  font-size: 22px;
}

.capability-grid p {
  margin-bottom: 0;
  color: #514b49;
  font-size: 15px;
}

.process {
  padding-block: 88px;
  background: var(--surface-light);
}

.process .section-title {
  max-width: 20ch;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: var(--divider);
  border: 2px solid var(--divider);
}

.process-grid article {
  min-height: 300px;
  padding: 32px;
  background: var(--surface-light);
}

.process-grid span {
  display: block;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 650;
}

.process-grid h3 {
  margin-block: 72px 16px;
  font-size: 24px;
}

.process-grid p {
  margin-bottom: 0;
  color: #514b49;
}

.process-cta {
  margin-top: 32px;
}

.statement {
  padding-block: 82px;
  background: var(--surface-light);
}

.statement blockquote {
  max-width: 34ch;
  margin-bottom: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
}

.closing {
  padding-block: 82px;
  background: var(--accent);
  color: var(--bg);
}

.closing-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.closing h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 62px);
}

.closing .eyebrow {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--text);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-end {
  margin-left: auto;
}

.legal-main {
  min-height: calc(100svh - var(--header-height) - 122px);
}

.legal-hero {
  padding-block: 84px 58px;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.legal-content {
  max-width: 860px;
  padding-block: 68px 92px;
}

.legal-section + .legal-section {
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid var(--divider);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.15;
}

.legal-section p,
.legal-section address {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 20px;
}

.legal-section address {
  font-style: normal;
}

.legal-section a {
  color: var(--accent-dark);
  font-weight: 600;
  text-underline-offset: 4px;
}

.legal-document > h4 {
  margin: 58px 0 18px;
  padding-top: 44px;
  border-top: 1px solid var(--divider);
  font-family: var(--font-display);
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.18;
}

.legal-document > p,
.legal-document li > p {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-document ul {
  max-width: 760px;
  margin: 28px 0 36px;
  padding: 0;
}

.legal-document li + li {
  margin-top: 30px;
}

.legal-document li h4 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}

.legal-document a {
  color: var(--accent-dark);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.protected-email {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.email-at::before {
  content: "[at]";
}

.email-dot::before {
  content: "[punkt]";
}

.login-dialog {
  width: min(1020px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--text);
  overflow: auto;
}

.login-dialog::backdrop {
  background: rgba(32, 30, 29, 0.72);
  backdrop-filter: blur(5px);
}

.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 510px;
}

.login-copy,
.login-panel {
  padding: clamp(32px, 6vw, 68px);
}

.login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 58px);
}

.login-copy > p:last-child {
  max-width: 44ch;
  margin-bottom: 0;
  color: #474240;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-left: 2px solid var(--divider);
}

.login-panel form {
  width: 100%;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.dialog-close:hover {
  background: rgba(32, 30, 29, 0.08);
}

.login-panel label {
  display: block;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-panel input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 22px;
  padding: 11px 12px;
  border: 1px solid var(--divider);
  border-radius: 0;
  background: var(--surface-light);
  color: var(--text);
}

.login-panel input:focus {
  border-color: var(--accent);
}

.form-message {
  min-height: 26px;
  margin: 14px 0 0;
  color: var(--accent-dark);
  font-size: 13px;
}

@media (max-width: 900px) {
  .proof-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .workspace-copy {
    max-width: 620px;
  }

  .capability-grid article:nth-child(3n) {
    border-right: 2px solid var(--divider);
  }

}

@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  .shell {
    width: min(var(--shell), calc(100% - 28px));
  }

  .site-header {
    backdrop-filter: none;
  }

  .legal-page .nav {
    gap: 12px;
  }

  .legal-page .brand {
    font-size: 16px;
  }

  .legal-page .nav > .button {
    min-height: 38px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px;
    background: var(--bg);
    border-bottom: 2px solid var(--divider);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a,
  .nav-links > .button {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .hero {
    min-height: auto;
    padding-block: 72px;
  }

  .legal-hero {
    padding-block: 64px 42px;
  }

  .legal-content {
    padding-block: 52px 72px;
  }

  .legal-section + .legal-section {
    margin-top: 40px;
    padding-top: 34px;
  }

  .legal-section p,
  .legal-section address,
  .legal-document > p,
  .legal-document li > p {
    font-size: 17px;
  }

  .legal-document > h4 {
    margin-top: 44px;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-text {
    font-size: 17px;
  }

  .proof-grid,
  .sbbz-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .sbbz-section,
  .capabilities {
    padding-block: 72px;
  }

  .proof-item {
    min-height: 74px;
  }

  .sbbz-grid article,
  .process-grid article {
    min-height: 0;
  }

  .process {
    padding-block: 72px;
  }

  .process-grid h3 {
    margin-top: 42px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 230px;
  }

  .closing-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-end {
    margin-left: 0;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-copy,
  .login-panel {
    padding: 34px 24px;
  }

  .login-panel {
    padding-top: 76px;
    border-top: 2px solid var(--divider);
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .button-row .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 9px;
  }

  .site-footer {
    padding-block: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
