@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #831613;
  --crimson: #e13a26;
  --yellow: #feed65;
  --white: #ffffff;
  --gutter: clamp(16px, 3vw, 40px);
  --rule: rgba(255, 255, 255, .4);
}

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

html { background: var(--deep); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--white); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
svg { display: block; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--white); color: var(--deep); border-radius: 8px;
}
.skip:focus { top: 8px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 18px var(--gutter) 36px;
  background:
    radial-gradient(60% 70% at 66% 38%, var(--yellow), rgba(225, 58, 38, .9) 42%, rgba(225, 58, 38, 0) 75%),
    var(--deep);
}
.hero.live { background: var(--deep); }
.hero-full { min-height: 100vh; min-height: 100svh; padding-bottom: 20px; }
.hero-part .heat {
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.hero-part { min-height: 580px; justify-content: space-between; }
.heat { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero > :not(.heat) { position: relative; }
.shadowed { text-shadow: 0 1px 20px rgba(131, 22, 19, .6); }

/* Header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 17px; text-decoration: none; }
.brand canvas { width: 32px; height: 32px; display: block; }
.glass {
  background: rgba(131, 22, 19, .76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .28);
}
.nav { display: flex; gap: 2px; padding: 3px; border-radius: 999px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.nav a[aria-current] { background: rgba(255, 255, 255, .18); }
.nav a:hover { background: var(--white); color: var(--deep); }

/* Buttons */
.cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--white); color: var(--deep);
  font-weight: 600; text-decoration: none; text-shadow: none;
  transition: transform .2s cubic-bezier(.2, 1, .3, 1);
}
.cta:hover { transform: translateX(4px); }
.pill {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px;
  color: var(--white); font: 500 14px "Inter Tight", system-ui, sans-serif; text-decoration: none; cursor: pointer;
}
.pill:hover { background: var(--white); color: var(--deep); }
.arrow { width: 16px; height: 16px; flex: none; }

/* Home */
.home-main { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.home-intro { flex: 999 1 520px; min-width: 0; max-width: 780px; }
.home-title { font-weight: 500; font-size: clamp(46px, 6.5vw, 92px); line-height: .98; letter-spacing: -.035em; }
.home-lede { margin-top: 20px; max-width: 500px; }
.home-side { flex: 1 1 300px; max-width: 340px; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.now-card { display: block; border-radius: 16px; padding: 16px 18px; text-decoration: none; }
.now-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; font-size: 13px; }
.now-top canvas { width: 64px; height: 64px; flex: none; display: block; }
.now-name { margin-top: 8px; font-size: 30px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.now-desc { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 28px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 14px; }
.point { display: flex; gap: 10px; align-items: flex-start; }
.point svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* Inner pages */
.page-main { width: 100%; padding: 40px var(--gutter) 56px; display: flex; flex-direction: column; gap: 56px; }
.vel-title { font-weight: 500; font-size: clamp(88px, 17vw, 232px); line-height: .9; letter-spacing: -.045em; }
.vel-def { margin-top: 18px; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.01em; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 64px; }
.two-col.end { align-items: end; }
.statement { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.stack > * + * { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.card { border-radius: 16px; padding: 18px; }
.card canvas { width: 56px; height: 56px; display: block; margin-bottom: 28px; }
.card h2, .card h3 { margin-bottom: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.card p { font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* VisionCore */
.vc-intro { max-width: 820px; }
.chip { display: inline-block; border-radius: 999px; padding: 5px 12px; font-size: 13px; text-shadow: none; }
.vc-title { margin-top: 16px; font-weight: 500; font-size: clamp(56px, 9vw, 124px); line-height: .95; letter-spacing: -.04em; }
.vc-lede { margin-top: 18px; max-width: 560px; font-size: clamp(19px, 2vw, 26px); line-height: 1.22; letter-spacing: -.01em; }
.section-title { margin-bottom: 16px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.boundary { border: 1px dashed var(--white); border-radius: 20px; padding: 18px; }
.boundary-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 14px; margin-bottom: 14px; }
.flow { height: 3px; margin-bottom: 14px; position: relative; overflow: hidden; background: rgba(255, 255, 255, .22); border-radius: 3px; }
.flow i { position: absolute; top: 0; bottom: 0; width: 18%; background: var(--yellow); border-radius: 3px; animation: run 2.6s linear infinite; }
.flow i + i { animation-delay: -1.3s; }
.steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.step { flex: 1 1 150px; min-width: 0; border-radius: 14px; padding: 14px; background: rgba(225, 58, 38, .42); border: 1px solid var(--crimson); }
.step strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.step span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.3; }

.uses { border-top: 1px solid var(--rule); padding: 4px 0 0; margin-top: -16px; }
.uses summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 8px 0;
  cursor: pointer; list-style: none; font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1;
}
.uses summary::-webkit-details-marker { display: none; }
.chev { width: 24px; height: 24px; flex: none; transition: transform .25s cubic-bezier(.2, 1, .3, 1); }
.uses[open] .chev { transform: rotate(180deg); }
.uses[open] .usegrid { animation: up .5s cubic-bezier(.16, 1, .3, 1) backwards; }
.usegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; padding: 8px 0 4px; }
.use { border-radius: 16px; padding: 18px; min-height: 190px; display: flex; flex-direction: column; gap: 8px; }
.use h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.use p { font-size: 15px; line-height: 1.35; }
.tag { align-self: flex-start; margin-bottom: auto; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.use.now { background: rgba(225, 58, 38, .42); border: 1px solid var(--yellow); }
.use.now .tag { background: var(--yellow); color: var(--deep); }
.use.later { background: #4a4545; border: 1px solid #6a6464; color: #dedada; }
.use.later .tag { border: 1px solid #a8a3a3; font-weight: 500; }

/* Contact */
.contact-main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; min-width: 0; }
.contact-title { font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.025em; }
.contact-mail { margin-top: 10px; font-weight: 500; font-size: clamp(26px, 7.2vw, 96px); line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-mail a { text-decoration-thickness: 2px; text-underline-offset: .12em; }
.contact-mail a:hover { text-decoration-thickness: 5px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 14px; }
.reasons strong { display: block; font-weight: 600; }

/* Footer */
.site-foot {
  margin: auto var(--gutter) 0; padding: 14px 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--rule); font-size: 14px;
}

/* Motion */
@keyframes run { from { left: -18%; } to { left: 100%; } }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise { animation: up .9s cubic-bezier(.16, 1, .3, 1) .35s backwards; }
.rise2 { animation: up .9s cubic-bezier(.16, 1, .3, 1) .55s backwards; }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise2, .uses[open] .usegrid, .flow i { animation: none; }
  .flow i { left: 20%; }
  .flow i + i { left: 62%; }
  .cta, .chev { transition: none; }
}
