:root {
  --bg: #EEECE7;
  --bg-2: #E4E1DA;
  --fg: #0F0F0E;
  --muted: #6C6962;
  --line: rgba(15, 15, 14, 0.14);
  --line-strong: rgba(15, 15, 14, 0.32);
  --accent: #E2480F;
  --on-accent: #0F0F0E;

  --font-sans: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 1.1s;

  --maxw: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 68px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0C0C0B;
  --bg-2: #151513;
  --fg: #EDEBE6;
  --muted: #8C897F;
  --line: rgba(237, 235, 230, 0.11);
  --line-strong: rgba(237, 235, 230, 0.28);
  --accent: #FF5A1F;
  --on-accent: #0C0C0B;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
html.theme-anim body, html.theme-anim body * { transition: background-color 0.45s var(--ease-io), color 0.45s var(--ease-io), border-color 0.45s var(--ease-io) !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.menu-open body { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.index { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent); }

.link-u { position: relative; color: var(--muted); transition: color 0.3s; }
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.link-u:hover { color: var(--fg); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

.pulse {
  position: relative; width: 7px; height: 7px; border-radius: 50%;
  background: #3DDC84; display: inline-block; flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3.2); opacity: 0; } }

.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  background: #070707; color: #E8E6E0;
  font-family: var(--font-mono);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}
.intro.is-out { clip-path: inset(0 0 100% 0); }
html.intro-skip .intro, html.no-js .intro { display: none; }
html.intro-on { overflow: hidden; }
.intro__top {
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem; color: rgba(232, 230, 224, 0.5);
}
.intro__dots { display: flex; gap: 6px; }
.intro__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.intro__dots i:first-child { background: var(--accent); }
.intro__path { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intro__log {
  padding: 20px var(--gutter) 0; font-size: clamp(0.72rem, 1.1vw, 0.86rem); line-height: 1.8;
  color: rgba(232, 230, 224, 0.62); min-height: 9em;
}
.intro__log p { margin: 0; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.intro__log .p { color: var(--accent); }
.intro__log .ok { color: #3DDC84; }
.intro__log .hi { color: #fff; }
.intro__stage {
  flex: 1; position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter) 10vh;
}
.intro__name {
  margin: 0; font-family: var(--font-sans); font-weight: 500; color: #F2F0EA;
  font-size: clamp(2rem, 9.2vw, 10rem); line-height: 0.95; letter-spacing: -0.055em;
  white-space: nowrap;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), filter 0.9s var(--ease);
}
.intro__name.is-gone { transform: translate3d(0, -40px, 0) scale(0.96); opacity: 0; filter: blur(8px); }
.intro__caret {
  display: inline-block; width: 0.08em; min-width: 3px; height: 0.82em; margin-left: 0.06em; vertical-align: -0.04em;
  background: var(--accent); animation: caret 1s steps(1) infinite;
}
.intro__name.is-typing .intro__caret { animation: none; }
.intro__welcome {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; margin: 0;
  transform: translateY(-62%);
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #F2F0EA;
  font-size: clamp(3.4rem, 14vw, 13rem); line-height: 1; letter-spacing: -0.03em;
  white-space: nowrap; pointer-events: none;
}
.intro__welcome .c {
  display: inline-block; opacity: 0; transform: translate3d(0, 0.5em, 0) rotate(8deg); filter: blur(10px);
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
.intro__welcome.is-in .c { opacity: 1; transform: none; filter: none; }
.intro__welcome .c--dot { color: var(--accent); }
.intro__sub {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(50% + clamp(2.2rem, 7.5vw, 7rem)); margin: 0;
  font-size: 0.8rem; color: rgba(232, 230, 224, 0.55); letter-spacing: 0.04em;
  opacity: 0; transform: translateY(10px); transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}
.intro__sub.is-in { opacity: 1; transform: none; }
.intro__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-io);
}
.intro__line.is-in { transform: scaleX(1); }
@keyframes caret { 50% { opacity: 0; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  transition: transform 0.7s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
html.menu-open .nav { transform: none; }
.nav__inner {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; font-weight: 500; letter-spacing: -0.01em; }
.nav__mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--fg); border-radius: 50%;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__brand:hover .nav__mark { background: var(--fg); color: var(--bg); }

.nav__links { position: relative; display: flex; gap: 30px; font-size: 0.88rem; }
.nav__links a { position: relative; color: var(--muted); padding: 6px 0; transition: color 0.3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--fg); }
.nav__indicator {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); opacity: 0;
  transition: transform 0.7s var(--ease), width 0.7s var(--ease), opacity 0.3s;
}
.nav__actions { display: flex; gap: 8px; align-items: center; }

.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.icon-btn:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
#themeToggle svg { transition: transform 0.8s var(--ease); }
:root[data-theme="light"] #themeToggle svg { transform: rotate(180deg); }
#navToggle { display: none; }
.burger { position: relative; width: 14px; height: 8px; }
.burger span { position: absolute; left: 0; right: 0; height: 1.2px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 0; }
.burger span:last-child { top: 7px; }
html.menu-open .burger span:first-child { top: 3.5px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 3.5px; transform: rotate(-45deg); }

.lang-wrap { position: relative; }
.gtranslate {
  position: absolute; top: 48px; right: 0; z-index: 210;
  min-width: 180px; padding: 8px; display: none;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px;
}
.lang-wrap.is-open .gtranslate { display: block; }
.gtranslate__cookies { display: block; width: 100%; margin-top: 6px; padding: 8px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; color: var(--muted); font-size: 0.72rem; }
.gtranslate__cookies:hover { color: var(--fg); }
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { vertical-align: inherit !important; }
.goog-te-gadget { font-family: var(--font-mono) !important; font-size: 0 !important; }
.goog-te-gadget-icon, .goog-te-gadget > span > a { display: none !important; }
.goog-te-combo {
  width: 100%; padding: 8px !important; border-radius: 4px !important;
  font-family: var(--font-mono) !important; font-size: 0.8rem !important;
  background: var(--bg-2) !important; color: var(--fg) !important; border: 1px solid var(--line) !important;
}
.goog-te-banner-frame.skiptranslate, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: -0.005em;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.6s var(--ease), color 0.5s var(--ease), border-color 0.4s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__label { display: inline-block; transition: transform 0.6s var(--ease); }
.btn__icon { display: inline-block; transition: transform 0.6s var(--ease); }
.btn:hover .btn__icon { transform: translateY(3px); }
.btn--solid { background: var(--fg); color: var(--bg); border: 1px solid var(--fg); }
.btn--solid::before { background: var(--accent); }
.btn--solid:hover { color: var(--on-accent); border-color: var(--accent); }
.btn--line { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.btn--line::before { background: var(--fg); }
.btn--line:hover { color: var(--bg); border-color: var(--fg); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.82rem; }

.hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 28px) 0 40px;
  display: flex;
}
.hero__inner { width: 100%; display: flex; flex-direction: column; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.kicker {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted);
}
.kicker .mono { color: var(--fg); font-size: inherit; }

.hero__title {
  margin: auto 0 0;
  padding-top: 8vh;
  font-weight: 500;
  font-size: clamp(3.6rem, 15.2vw, 15.5rem);
  line-height: 0.86;
  letter-spacing: -0.058em;
  will-change: transform, opacity;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line--indent { padding-left: 14vw; }
.hero__title em { letter-spacing: -0.03em; padding-right: 0.04em; }
.hero__title .line__in { display: block; white-space: nowrap; }
.char { display: inline-block; }
html.js .hero__title .char { opacity: 0; }
html.js .hero__title .char.on { opacity: 1; }
.hero-caret {
  display: inline-block; width: 0.06em; height: 0.78em; margin-left: 0.04em; vertical-align: -0.02em;
  background: var(--accent); animation: caret 1s steps(1) infinite;
}
.hero-caret.is-typing { animation: none; }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: 40px;
}
.hero__lead { max-width: 30em; margin: 0; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.45; color: var(--muted); }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__meta {
  list-style: none; margin: 40px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero__meta li { display: flex; flex-direction: column; gap: 4px; }
.meta__k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.meta__v { font-size: 0.92rem; }

.section { padding: clamp(96px, 14vw, 180px) 0; border-top: 1px solid var(--line); }
.section--flush { padding-bottom: clamp(64px, 8vw, 110px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.section__head {
  grid-column: 1 / span 3; align-self: start;
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: flex; gap: 14px; align-items: baseline;
}
.section__body { grid-column: 4 / -1; min-width: 0; }

.title {
  margin: 0 0 clamp(40px, 6vw, 72px);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.statement {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  max-width: 22em;
}

.about__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: clamp(40px, 6vw, 80px); max-width: 860px;
  color: var(--muted);
}
.about__cols p { margin: 0; }

.feature {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: var(--bg-2);
  transition: border-color 0.4s;
}
.feature:hover { border-color: var(--line-strong); }
.feature__visual {
  position: relative; min-height: 360px; display: grid; place-items: center;
  border-right: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  overflow: hidden;
}
.feature__body { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.feature__badge { margin: 0; color: var(--accent); }
.feature__title { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.feature__desc { margin: 0; color: var(--muted); max-width: 26em; }
.feature__link { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--fg); }
.feature__link span { display: inline-block; transition: transform 0.6s var(--ease); }
.feature:hover .feature__link span { transform: translate(3px, -3px); }

.apk { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); transition: transform 1.2s var(--ease); }
.feature:hover .apk { transform: scale(1.04); }
.apk__file, .apk__phone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--line-strong);
}
.apk__file { width: 108px; height: 136px; border-radius: 4px; clip-path: polygon(0 0, 76% 0, 100% 18%, 100% 100%, 0 100%); }
.apk__phone { width: 96px; height: 172px; border-radius: 16px; }
.apk__tag { font-family: var(--font-mono); font-size: 1.05rem; color: var(--accent); }
.apk__lines { display: flex; flex-direction: column; gap: 5px; width: 60%; }
.apk__lines i { display: block; height: 3px; border-radius: 2px; background: var(--line-strong); }
.apk__lines i:nth-child(2) { width: 70%; } .apk__lines i:nth-child(4) { width: 45%; }
.apk__label { position: absolute; bottom: -26px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.apk__notch { position: absolute; top: 8px; width: 28px; height: 4px; border-radius: 4px; background: var(--line-strong); }
.apk__screen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 64%; }
.apk__screen i { aspect-ratio: 1; border-radius: 6px; background: var(--line-strong); animation: tile 3.2s var(--ease) infinite; }
.apk__screen i:nth-child(1) { grid-column: span 2; aspect-ratio: 2.2; background: var(--accent); animation-delay: 0.9s; }
.apk__screen i:nth-child(2) { animation-delay: 1.05s; }
.apk__screen i:nth-child(3) { animation-delay: 1.2s; }
@keyframes tile { 0%, 20% { opacity: 0; transform: translateY(6px); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.apk__arrow { position: relative; width: clamp(40px, 6vw, 72px); height: 1px; background: var(--line-strong); overflow: hidden; }
.apk__arrow span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: flow 3.2s var(--ease-io) infinite; }
@keyframes flow { 0% { transform: scaleX(0); transform-origin: left; } 25% { transform: scaleX(1); transform-origin: left; } 26% { transform-origin: right; } 45%, 100% { transform: scaleX(0); transform-origin: right; } }

.feature + .feature { margin-top: 24px; }
.feature--sky { grid-template-columns: 1.25fr 1fr; }
.feature__visual--term { padding: clamp(20px, 3vw, 40px); }
.feature__title--xl { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.055em; }
.feature__lead { margin: -4px 0 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; }
.feature__links { margin-top: auto; padding-top: 12px; display: flex; gap: 24px; flex-wrap: wrap; }
.feature__links .feature__link { margin-top: 0; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 0.7rem; }

.term { width: 100%; max-width: 520px; background: #0A0A09; color: #E8E6E0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; overflow: hidden; transition: transform 1.2s var(--ease); }
.feature--sky:hover .term { transform: translateY(-4px); }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.term__bar span { margin-left: auto; font-size: 0.68rem; color: rgba(232, 230, 224, 0.45); }
.term__body { padding: 16px 18px 20px; font-size: clamp(0.68rem, 1vw, 0.8rem); line-height: 1.75; }
.term__line { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__dim { color: rgba(232, 230, 224, 0.55); }
.term__p { color: var(--accent); margin-right: 8px; }
.term__ok { color: #3DDC84; }
.term__url { color: #fff; border-bottom: 1px solid var(--accent); }
.term__caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 6px; vertical-align: -0.18em; background: var(--accent); animation: caret 1s steps(1) infinite; }
html.js .term__line { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); transition-delay: calc(0.5s + var(--d) * 0.42s); }
html.js .in-view .term__line { opacity: 1; transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.stat { padding: 20px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat__v { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

.repos__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; color: var(--muted); }
.repo-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.repo-list__empty { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); }
.repo {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 32px; gap: 20px; align-items: center;
  padding: 26px 8px; border-top: 1px solid var(--line); isolation: isolate;
}
.repo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease);
}
.repo:hover::before { transform: scaleY(1); }
.repo, .repo * { transition: color 0.4s var(--ease), transform 0.6s var(--ease); }
.repo:hover, .repo:hover .repo__desc, .repo:hover .repo__i, .repo:hover .repo__meta { color: var(--bg); }
.repo__i { color: var(--muted); }
.repo__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.repo__name { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.repo:hover .repo__name { transform: translateX(10px); }
.repo__desc { color: var(--muted); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.repo__meta { display: flex; gap: 18px; color: var(--muted); white-space: nowrap; }
.repo__lang { display: inline-flex; gap: 6px; align-items: center; }
.repo__arrow { font-size: 1.2rem; justify-self: end; }
.repo:hover .repo__arrow { transform: rotate(45deg); color: var(--accent); }

.marquee { overflow: hidden; padding: 6px 0; border-top: 1px solid var(--line); user-select: none; }
.marquee:last-of-type { border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.mq-item {
  display: inline-flex; align-items: center; gap: 0.32em;
  padding: 0 0.36em;
  font-size: clamp(2.6rem, 8vw, 7.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.12;
  transition: color 0.4s;
}
.mq-item i { font-size: 0.62em; }
.mq-item:hover { color: var(--accent); }
.mq-sep { font-family: var(--font-serif); font-style: italic; font-size: clamp(2.2rem, 6vw, 5.4rem); color: var(--accent); padding: 0 0.2em; }
.marquee--outline .mq-item { color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.marquee--outline .mq-item i { color: var(--line-strong); -webkit-text-stroke: 0; }
.marquee--outline .mq-sep { color: var(--line-strong); }

.timeline { position: relative; padding-left: 40px; }
.timeline__rail { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__rail span { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.tl-item {
  position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item__dot {
  position: absolute; left: -40px; top: 36px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.tl-item.is-active .tl-item__dot { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.tl-item__date { margin: 6px 0 0; color: var(--muted); }
.tl-item__title { margin: 0 0 6px; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.tl-item__text { margin: 0; color: var(--muted); max-width: 36em; }

.section--invert { background: var(--fg); color: var(--bg); border-top: 0; }
.section--invert .label { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.syrix__title {
  margin: 0 0 40px; font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 10.5rem); line-height: 0.86; letter-spacing: -0.06em;
}
.syrix__title em { color: var(--accent); }
.syrix__text { margin: 0 0 56px; max-width: 34em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: color-mix(in srgb, var(--bg) 70%, transparent); }
.section--invert .row { border-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.section--invert .rows { border-color: color-mix(in srgb, var(--bg) 16%, transparent); }
.section--invert .row__meta { color: color-mix(in srgb, var(--bg) 55%, transparent); }

.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.03em;
}
.row > span:first-child, .row > span:nth-child(2):not(.row__meta) { transition: transform 0.6s var(--ease); }
.row:hover > span:first-child, .row:hover > .row__ico + span { transform: translateX(10px); }
.row__ico { display: none; }
.row__meta { color: var(--muted); font-weight: 400; letter-spacing: 0.02em; }
.row__arrow { justify-self: end; font-size: 1.1rem; transition: transform 0.6s var(--ease), color 0.3s; }
.row:hover .row__arrow { transform: rotate(45deg); color: var(--accent); }
.row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.8s var(--ease);
}
.row:hover::after { transform: scaleX(1); transform-origin: left; }

.rows--contact .row { grid-template-columns: 28px minmax(0, 1fr) auto 28px; }
.rows--contact .row__ico { display: grid; place-items: center; color: var(--muted); transition: color 0.3s; }
.rows--contact .row:hover .row__ico { color: var(--accent); }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.offer {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 340px; padding: clamp(22px, 2.6vw, 34px);
  background: var(--bg); overflow: hidden; isolation: isolate;
}
.offer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%);
  transition: opacity 0.5s;
}
.offer:hover::before { opacity: 1; }
.offer__status { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.offer__title { margin: auto 0 0; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.offer__text { margin: 0; color: var(--muted); font-size: 0.95rem; }
.offer__cta { color: var(--fg); display: inline-flex; gap: 6px; }
.offer__cta { transition: transform 0.6s var(--ease), color 0.3s; }
.offer:hover .offer__cta { color: var(--accent); transform: translateX(6px); }

.contact { padding: clamp(96px, 14vw, 180px) 0 clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.contact__kicker { margin: 0 0 32px; display: flex; gap: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; }
.contact__title {
  margin: 0 0 clamp(40px, 6vw, 72px);
  font-weight: 500; font-size: clamp(3rem, 10vw, 9.5rem); line-height: 0.9; letter-spacing: -0.058em;
}
.contact__title em { color: var(--accent); letter-spacing: -0.035em; }
.contact__mail {
  position: relative; display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  margin-bottom: clamp(56px, 8vw, 104px); padding-bottom: 10px;
  font-size: clamp(1.4rem, 4.2vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em;
  max-width: 100%; overflow-wrap: anywhere;
  transition: transform 0.7s var(--ease);
}
.contact__mail-text { display: inline-block; transition: transform 0.7s var(--ease); }
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line-strong);
}
.contact__mail::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.9s var(--ease);
}
.contact__mail:hover::before { transform: scaleX(1); transform-origin: left; }
.contact__mail-arrow {
  display: grid; place-items: center; flex: none;
  width: clamp(44px, 5vw, 72px); height: clamp(44px, 5vw, 72px); border-radius: 50%;
  background: var(--fg); color: var(--bg); font-size: 0.5em;
  transition: transform 0.7s var(--ease), background-color 0.4s;
}
.contact__mail:hover .contact__mail-arrow { transform: rotate(-45deg); background: var(--accent); color: var(--on-accent); }

.map-card { margin-top: clamp(56px, 7vw, 96px); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map-card__frame-wrap { position: relative; height: 300px; background: var(--bg-2); }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
:root[data-theme="dark"] .map-card iframe { filter: grayscale(1) invert(0.92) contrast(0.9); }
.map-card__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 24px; text-align: center; color: var(--muted); background: var(--bg-2);
}
.map-card__consent[hidden] { display: none; }
.map-card__consent p { margin: 0; max-width: 28em; font-size: 0.9rem; }
.map-card__consent-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }
.map-card__label { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); }

.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; color: var(--muted); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity 0.3s;
}
.cursor.is-on { opacity: 1; }
.cursor::before {
  content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.cursor.is-hover::before { transform: scale(3.6); }
.cursor.is-down::before { transform: scale(0.7); }
.cursor.is-hover.is-down::before { transform: scale(3); }
.cursor.is-label::before { transform: scale(8.4); background: var(--accent); mix-blend-mode: normal; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6); opacity: 0;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--on-accent); white-space: nowrap;
  transition: opacity 0.3s, transform 0.5s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

html.js [data-anim="fade"] { opacity: 0; transition: opacity 1.2s var(--ease); }
html.js [data-anim="up"] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
html.js [data-anim="clip"] { clip-path: inset(10% 4% 10% 4% round 6px); transition: clip-path 1.4s var(--ease); }
html.js [data-anim="clip"] .feature__visual { transform: scale(1.12); transition: transform 1.6s var(--ease); }
html.js [data-anim="stagger"] > * {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--s, 0) * 80ms);
}
html.js [data-anim].in-view,
html.js [data-anim="stagger"].in-view > * { opacity: 1; transform: none; }
html.js [data-anim="clip"].in-view { clip-path: inset(0 0 0 0 round 6px); }
html.js [data-anim="clip"].in-view .feature__visual { transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__in { display: inline-block; }
html.js [data-anim="words"] .w__in,
html.js [data-anim="lines"] .w__in {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--line, 0) * 95ms + var(--word, 0) * 6ms);
}
html.js [data-anim="words"].in-view .w__in,
html.js [data-anim="lines"].in-view .w__in { transform: none; }
html.js [data-anim="words"]:not(.is-split),
html.js [data-anim="lines"]:not(.is-split) { opacity: 0; }
html.js [data-anim="words"].is-split,
html.js [data-anim="lines"].is-split { opacity: 1; transform: none; }

.hero [data-anim="fade"] { transition-delay: 0s; }
.hero [data-anim="up"] { transition-delay: 0.1s; }
.hero__actions[data-anim="up"] { transition-delay: 0.22s; }
.hero [data-anim="stagger"] > * { transition-delay: calc(0.35s + var(--s, 0) * 80ms); }

html.js [data-anim="decode"]:not(.in-view) { opacity: 0; }
html.js [data-anim="cmd"]:not(.in-view) .label { opacity: 0; }
.section__head .label::before { content: "$ "; color: var(--muted); opacity: 0.6; }
.type-caret {
  display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: -0.2em;
  background: var(--accent); animation: caret 1s steps(1) infinite;
}


.cookie-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 400;
  max-width: 980px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px;
  animation: rise 0.9s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.cookie-banner__inner { display: flex; gap: 24px; align-items: center; padding: 18px 20px; }
.cookie-banner__title { margin: 0 0 4px; font-weight: 500; }
.cookie-banner__desc { margin: 0; color: var(--muted); font-size: 0.85rem; }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }

.cookie-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); animation: fadein 0.4s both; }
@keyframes fadein { from { opacity: 0; } }
.cookie-modal__panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 28px;
  animation: rise 0.7s var(--ease) both;
}
.cookie-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--muted); }
.cookie-modal__close:hover { color: var(--fg); }
.cookie-modal__title { margin: 8px 0 8px; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.cookie-modal__intro { margin: 0 0 20px; color: var(--muted); font-size: 0.9rem; }
.cookie-category { padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-category__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-category__title { font-weight: 500; }
.cookie-category__desc { margin: 6px 0 0; color: var(--muted); font-size: 0.85rem; }
.cookie-toggle { position: relative; width: 40px; height: 22px; flex: none; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle__slider { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background-color 0.3s; pointer-events: none; }
.cookie-toggle__slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); transition: transform 0.5s var(--ease); }
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--fg); }
.cookie-toggle input:checked + .cookie-toggle__slider::after { transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle__slider { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.cookie-toggle--locked { opacity: 0.55; cursor: not-allowed; }
.cookie-modal__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.cookie-policy-full { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie-policy-full summary { cursor: pointer; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.cookie-policy-full__body { font-size: 0.85rem; color: var(--muted); }
.cookie-policy-full__body h3 { color: var(--fg); font-size: 0.95rem; font-weight: 500; margin: 18px 0 6px; }
.cookie-policy-full__body a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.cookie-policy-full__body code { font-family: var(--font-mono); font-size: 0.8em; }

@media (max-width: 1080px) {
  .feature { grid-template-columns: 1fr; }
  .feature__visual { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; }
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .offer__title { margin-top: 24px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  #navToggle { display: grid; }
  .nav__brand-text { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    padding: var(--nav-h) var(--gutter) 40px;
    background: var(--bg);
    font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 500; letter-spacing: -0.045em;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.8s var(--ease-io);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); }
  .nav__links a { color: var(--fg); padding: 2px 0; transform: translateY(40px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s; }
  .nav__links.is-open a { transform: none; opacity: 1; }
  .nav__links.is-open a:nth-child(1) { transition-delay: 0.20s; }
  .nav__links.is-open a:nth-child(2) { transition-delay: 0.25s; }
  .nav__links.is-open a:nth-child(3) { transition-delay: 0.30s; }
  .nav__links.is-open a:nth-child(4) { transition-delay: 0.35s; }
  .nav__links.is-open a:nth-child(5) { transition-delay: 0.40s; }
  .nav__links.is-open a:nth-child(6) { transition-delay: 0.45s; }
  .nav__indicator { display: none; }
  html.menu-open .nav { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .grid { display: block; }
  .section__head { position: static; margin-bottom: 28px; }
  .about__cols { grid-template-columns: 1fr; gap: 18px; }
  .hero__title { font-size: 20.5vw; padding-top: 4vh; }
  .hero__title .line--indent { padding-left: 5vw; }
  .hero__meta { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-item__date { margin: 0; }
  .repo { grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 14px; }
  .repo__meta { grid-column: 2; grid-row: 2; }
  .repo__arrow { grid-column: 3; grid-row: 1; }
  .row { grid-template-columns: minmax(0, 1fr) 24px; }
  .row .row__meta { grid-column: 1; grid-row: 2; font-size: 0.72rem; }
  .rows--contact .row { grid-template-columns: 24px minmax(0, 1fr) 24px; column-gap: 14px; }
  .rows--contact .row .row__meta { grid-column: 2; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
}

@media (max-width: 520px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .contact__mail { font-size: clamp(1.15rem, 6.4vw, 1.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html.js .hero__title .char { opacity: 1; }
}
