:root {
  --bg: #f3f1ec;
  --text: #101010;
  --muted: #66615b;
  --line: rgba(16, 16, 16, 0.14);
  --soft-line: rgba(16, 16, 16, 0.08);
  --accent: #244bff;
  --focus: #244bff;
  --max-width: 1480px;
  --page-pad: clamp(16px, 2vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
}

.skip-link:focus { top: 16px; }

.page-gridline {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--soft-line);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  border-left: 1px solid var(--soft-line);
  border-right: 1px solid var(--soft-line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 20px;
  min-height: 78px;
  padding: 0 var(--page-pad);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-lockup__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-lockup__text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.text-link,
.button-link {
  font-size: 0.97rem;
  font-weight: 500;
}

.text-link:hover,
.button-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: max-content;
}

.lang-form { margin: 0; }

.lang-form__shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  min-height: 42px;
  padding: 0 10px;
  flex-wrap: nowrap;
}

.lang-form__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex: 0 0 auto;
}

.lang-form__select {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  padding-right: 6px;
  min-width: 0;
}

main { position: relative; z-index: 1; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero__column {
  padding: clamp(22px, 3vw, 34px);
  min-width: 0;
}

.hero__column--left {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: min(82vh, 900px);
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero__column--right {
  position: relative;
  isolation: isolate;
  border-left: 1px solid var(--soft-line);
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero__title {
  margin: 0;
  display: grid;
  gap: 0.06em;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 700;
  max-width: 7.6ch;
  text-wrap: balance;
}

.flow-item__no,
.flow-item__word,
.site-footer__note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}


.hero__cluster-cloud {
  position: absolute;
  inset: 4% 6% 8% 12%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__cluster-mark {
  position: absolute;
  left: var(--x, 82%);
  top: var(--y, 16%);
  width: var(--size, 28px);
  height: var(--size, 28px);
  color: #d7d2cb;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  will-change: transform, opacity, color;
}

.hero__cluster-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__cluster-mark circle {
  fill: currentColor;
}

.hero__cluster-mark path {
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.45;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero__cluster-mark.is-active {
  animation: checkCluster 5.0s cubic-bezier(.23,.62,.32,1) both;
}

.hero__cluster-mark.is-static {
  opacity: 0.62;
  transform: translate(-50%, -50%) scale(1);
}

.hero__cluster-mark.is-grey {
  color: #d7d2cb;
}

.hero__cluster-mark.is-blue {
  color: var(--accent);
}

@keyframes checkCluster {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.56);
  }
  18% {
    opacity: 0.34;
    transform: translate(-50%, -50%) scale(0.86);
  }
  42% {
    opacity: 0.56;
    transform: translate(-50%, -50%) scale(1);
  }
  72% {
    opacity: 0.88;
    transform: translate(-50%, -50%) scale(1.03);
  }
  88% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
}

.hero__stack {

  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: min(100%, 500px);
  padding-top: 0;
  margin-top: 10px;
}

.hero__alt-title {
  margin: 0;
  max-width: 9.5ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.hero__alt-title--accent {
  color: var(--accent);
}

.hero__intro,
.flow__lead {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1rem, 1.32vw, 1.18rem);
  line-height: 1.55;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.button,
.button-link,
.flow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--text);
}

.button {
  background: var(--text);
  color: var(--bg);
  font-size: 0.97rem;
  font-weight: 500;
}

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

.button-link {
  background: transparent;
  color: var(--text);
}

.about--flow-only {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.about__column {
  padding: 26px clamp(22px, 3vw, 34px) 24px;
  min-width: 0;
}

.about__column--flowintro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.about__column--right {
  border-left: 1px solid var(--soft-line);
  display: flex;
}

.flow__title {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
  font-weight: 700;
  max-width: 10ch;
}

.flow__intro {
  display: grid;
  gap: 16px;
  max-width: 31rem;
}

.flow__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.flow-pill {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.92rem;
  font-weight: 500;
  background: transparent;
}

.flow__list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100%;
}

 .flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.flow-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.flow-item:last-child {
  padding-bottom: 0;
}

.flow-item__word { margin-bottom: 8px; }

.flow-item__title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.flow-item__text {
  margin: 10px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px var(--page-pad) 20px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media (max-width: 1080px) {
  .hero,
  .about--flow-only {
    grid-template-columns: 1fr;
  }

  .hero__column--left {
    min-height: auto;
  }

  .hero__column--right,
  .about__column--right {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .hero__stack {
    width: 100%;
    margin-top: 0;
  }

  .page-gridline { display: none; }
}

@media (max-width: 760px) {
  .topbar__inner {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .topbar__actions {
    gap: 8px;
  }

  .brand-lockup__mark {
    width: 34px;
    height: 34px;
  }

  .brand-lockup__text {
    font-size: 1.55rem;
  }

  .text-link,
  .button-link {
    font-size: 0.84rem;
  }

  .lang-form__shell {
    min-height: 36px;
    padding: 0 7px;
    gap: 5px;
  }

  .lang-form__icon {
    width: 13px;
    height: 13px;
  }

  .lang-form__select {
    font-size: 0.8rem;
    padding-right: 0;
  }

  .hero__column {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero__column--left {
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .hero__column--right {
    min-height: 430px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .hero__title {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
    max-width: none;
  }

  .flow__title,
  .hero__alt-title {
    max-width: none;
  }

  .hero__stack {
    gap: 14px;
    width: min(82%, 340px);
  }

  .hero__cluster-cloud {
    inset: 3% 4% 4% 4%;
  }

  .hero__cluster-mark {
    width: var(--size, 24px);
    height: var(--size, 24px);
  }

  .about__column {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .flow-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer__nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

