:root {
  --paper: #f1efe9;
  --paper-2: #e8e5dd;
  --ink: #0d1015;
  --ink-soft: #4a4f58;
  --ink-faint: #8a8f99;
  --blue: #1b57f0;
  --rule: rgba(13, 16, 21, .16);
  --rule-strong: rgba(13, 16, 21, .38);

  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --pad: clamp(20px, 5vw, 76px);
  --rail: 46px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-left: var(--rail);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
p { margin: 0 0 1.1rem; }
dd { margin: 0; }

::selection { background: var(--blue); color: #fff; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.4rem;
  font-family: var(--mono);
  font-size: .82rem;
}
.skip-link:focus { left: var(--rail); }

.rail {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--rail);
  border-right: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  z-index: 60;
}
.rail-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  height: 72px;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.topbar.is-stuck { border-bottom-color: var(--rule); }

.wordmark {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.wordmark-sub {
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav { display: flex; gap: 30px; }
.nav a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a em { font-style: normal; color: var(--ink-faint); font-size: .7rem; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a:hover em { color: var(--blue); }

.menu-btn {
  display: none;
  align-items: center;
  gap: .6rem;
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-btn-bars { display: grid; gap: 4px; width: 22px; }
.menu-btn-bars i { display: block; height: 2px; background: var(--ink); transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.hero {
  padding: clamp(48px, 9vw, 120px) var(--pad) clamp(40px, 6vw, 72px);
}

.display {
  font-size: clamp(2.9rem, 10.5vw, 9.5rem);
  line-height: .88;
  letter-spacing: -.05em;
  font-weight: 700;
  margin-bottom: clamp(40px, 6vw, 76px);
}
.ink-blue { color: var(--blue); }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--ink-soft);
  margin: 0;
}
.hero-links { display: flex; gap: 28px; flex-wrap: wrap; }

.cta {
  position: relative;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.cta::after { content: " →"; }
.cta:hover { color: var(--blue); border-bottom-color: var(--blue); }
.cta-quiet { border-bottom-color: var(--rule-strong); color: var(--ink-soft); }
.cta-quiet:hover { color: var(--blue); border-bottom-color: var(--blue); }

.ticker {
  border-block: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 12px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: max-content;
  animation: run 46s linear infinite;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker-track i { color: var(--blue); font-style: normal; font-size: .78rem; }
@keyframes run { to { transform: translateX(-50%); } }

.block {
  padding: clamp(64px, 9vw, 130px) var(--pad);
  border-top: 1px solid var(--rule);
}
.block:first-of-type { border-top: none; }

.block-head { margin-bottom: clamp(40px, 5vw, 72px); }

.marker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.4rem;
}

.title {
  font-size: clamp(1.75rem, 4.4vw, 3.4rem);
  letter-spacing: -.04em;
  max-width: 20ch;
}

.block-lead {
  margin-top: 1.5rem;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.offers { border-top: 1px solid var(--ink); }

.offer {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}

.offer-num {
  font-family: var(--mono);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  opacity: .18;
  letter-spacing: -.04em;
}

.offer-body { max-width: 62ch; }
.offer-body h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: .8rem; }
.offer-body p { color: var(--ink-soft); margin-bottom: 0; }

.note {
  margin: 40px 0 0;
  padding: 24px 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: .95rem;
  max-width: 72ch;
}
.note strong { color: #fff; }

.block-wide { padding-inline: 0; }
.block-wide .block-head, .block-wide .index-foot { padding-inline: var(--pad); }

.index { border-top: 1px solid var(--ink); }
.index > li { border-bottom: 1px solid var(--rule); }

.entry {
  display: grid;
  grid-template-columns: 64px 220px minmax(0, 1fr) 200px 40px;
  align-items: center;
  gap: 24px;
  padding: 26px var(--pad);
  transition: background .18s ease, color .18s ease;
}
.entry:hover { background: var(--ink); color: var(--paper); }

.entry-num {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-faint);
}
.entry:hover .entry-num { color: var(--blue); }

.entry-name {
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.entry-desc { color: var(--ink-soft); font-size: .93rem; }
.entry:hover .entry-desc { color: rgba(241, 239, 233, .75); }

.entry-stack {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
  text-align: right;
}
.entry:hover .entry-stack { color: rgba(241, 239, 233, .6); }

.entry-go {
  font-size: 1.1rem;
  text-align: right;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity .18s ease, transform .18s ease;
}
.entry:hover .entry-go { opacity: 1; transform: none; }

.index-foot { margin: 40px 0 0; }

.profil {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.profil-text p { color: var(--ink-soft); max-width: 62ch; }
.drop { font-size: clamp(1.15rem, 1.9vw, 1.45rem); color: var(--ink) !important; letter-spacing: -.015em; line-height: 1.35; margin-bottom: 1.6rem; }

.profil-links { display: flex; gap: 24px; margin-top: 2rem; }
.profil-links a {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease;
}
.profil-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.profil-side { border-top: 1px solid var(--ink); padding-top: 28px; }

.specs { display: grid; grid-template-columns: 1fr; }
.specs dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.specs dt:first-child { border-top: none; padding-top: 0; }
.specs dd { font-size: .93rem; color: var(--ink-soft); padding: 4px 0 16px; }

.qa { border-top: 1px solid var(--ink); max-width: 900px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  transition: color .18s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .22s ease;
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p {
  margin: 0 0 26px;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: .97rem;
}

.block-contact {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}
.marker-invert { color: #7fa0ff; }

.contact-display {
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.05em;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-top: 32px;
  border-top: 1px solid rgba(241, 239, 233, .22);
}

.contact-lead {
  color: rgba(241, 239, 233, .72);
  max-width: 48ch;
  font-size: 1.02rem;
  margin: 0;
}

.contact-list { display: grid; }
.contact-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(241, 239, 233, .14);
}
.contact-list li:first-child { padding-top: 0; }
.contact-key {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, .45);
}
.contact-list a {
  font-size: 1.02rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
  word-break: break-word;
}
.contact-list a:hover { color: #7fa0ff; border-bottom-color: #7fa0ff; }

.contact-note {
  margin: clamp(36px, 5vw, 64px) 0 0;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(241, 239, 233, .45);
}

.footer { padding: 36px var(--pad) 44px; background: var(--ink); color: var(--paper); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(241, 239, 233, .14);
}
.footer-name { margin: 0; font-weight: 700; letter-spacing: -.02em; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: rgba(241, 239, 233, .62);
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--paper); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .12em;
}
.lang-switch > * { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.lang-switch span { color: var(--paper); border-bottom-color: var(--paper); }
.lang-switch a { color: rgba(241, 239, 233, .5); transition: color .18s ease, border-color .18s ease; }
.lang-switch a:hover { color: var(--paper); border-bottom-color: rgba(241, 239, 233, .4); }
.footer-legal {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(241, 239, 233, .38);
}

.legal { padding: clamp(48px, 7vw, 96px) var(--pad) 110px; max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; margin-bottom: .8rem; }
.legal-updated {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3.5rem;
}
.legal h2 {
  font-size: 1.2rem;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.legal h2:first-of-type { border-top: 1px solid var(--ink); }
.legal p, .legal li { color: var(--ink-soft); font-size: .97rem; }
.legal ul { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.legal ul li { padding-left: 1.2rem; position: relative; }
.legal ul li::before { content: "/"; position: absolute; left: 0; color: var(--blue); }
.legal a { color: var(--blue); border-bottom: 1px solid rgba(27, 87, 240, .35); }
.legal a:hover { border-bottom-color: var(--blue); }
.legal strong { color: var(--ink); }

@media (max-width: 1080px) {
  .entry { grid-template-columns: 48px 190px minmax(0, 1fr) 30px; }
  .entry-stack { display: none; }
}

@media (max-width: 900px) {
  .profil { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 900px) {
  :root { --rail: 0px; }
  body { padding-left: 0; }
  .rail { display: none; }
  .skip-link:focus { left: 0; }

  .menu-btn { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 0 var(--pad) 24px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .32s;
    z-index: 49;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    font-size: .92rem;
  }

  .offer { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .offer-num { font-size: 1.6rem; opacity: .3; }

  .entry {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 10px 12px;
    padding-block: 22px;
  }
  .entry-num { grid-area: 1 / 1; }
  .entry-name { grid-area: 1 / 2; }
  .entry-go { grid-area: 1 / 3; opacity: 1; transform: none; }
  .entry-desc { grid-area: 2 / 2 / 3 / 4; }
  .entry:hover { background: none; color: inherit; }
  .entry:hover .entry-desc { color: var(--ink-soft); }
  .entry:active { background: var(--ink); color: var(--paper); }

  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 460px) {
  .wordmark-role { display: none; }
  .display { -webkit-hyphens: none; hyphens: none; }
  .outline { -webkit-text-stroke-width: 1px; }
  .hero-links { flex-direction: column; gap: 18px; align-items: flex-start; }
  .note { padding: 20px; }

  .cta { white-space: normal; }
  .entry-name { word-break: break-word; }
}
