/* Goxy home page. Black canvas, the orange of the logo's tail, a slanted heavy
   headline that echoes the wordmark. Tokens first; the panel should reuse them. */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #08090d;
  --bg-band: #0b0d13;
  --panel: #11141c;
  --panel-2: #191d28;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f5f2ed;
  --muted: #aaa59d;
  --dim: #78746d;
  --orange: #ff7a1a;
  --orange-hi: #ffa033;
  --orange-lo: #ee4a0c;
  --ink: #0b101f;
  --grad: linear-gradient(150deg, #ffa033 0%, #ff7a1a 45%, #ee4a0c 100%);
  --radius: 20px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain over everything; keeps the large dark areas from looking flat. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--orange-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--orange);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.icon {
  flex: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

/* ───── Type ───── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-hi);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  transform: skewX(-24deg);
}

.display {
  margin-top: 22px;
  font-size: clamp(2.5rem, 6.1vw, 5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.display span,
.display em {
  display: block;
}
.display em {
  padding-bottom: 0.08em; /* room for descenders under the gradient clip */
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

/* ───── Buttons and small parts ───── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 40px -12px rgba(255, 122, 26, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -12px rgba(255, 122, 26, 0.85);
}
.btn:hover .icon {
  transform: translateX(4px);
}
.btn--ink {
  background: var(--ink);
  color: var(--text);
  box-shadow: 0 14px 40px -16px rgba(11, 16, 31, 0.9);
}
.btn--ink:hover {
  box-shadow: 0 18px 44px -14px rgba(11, 16, 31, 0.95);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.08);
  color: var(--orange-hi);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(255, 122, 26, 0);
  }
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__item {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.2s, background-color 0.2s;
}
.lang__item:hover {
  color: var(--text);
}
.lang__item.is-active {
  background: rgba(255, 122, 26, 0.16);
  color: var(--orange-hi);
}

/* ───── Header ───── */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.top.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 13, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.top__row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.top__logo {
  width: auto;
  height: 34px;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: 20px;
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover {
  color: var(--text);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.top__side {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* ───── Hero ───── */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px);
}
.hero__sky {
  position: absolute;
  inset: -72px 0 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__blob--a {
  right: -8%;
  top: 18%;
  width: min(620px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.5), rgba(238, 74, 12, 0) 68%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__blob--b {
  left: -14%;
  top: -22%;
  width: min(520px, 60vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(238, 74, 12, 0.26), rgba(238, 74, 12, 0) 70%);
  animation: drift 21s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  to {
    transform: translate3d(-6%, 8%, 0) scale(1.12);
  }
}
.hero__trail {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 46%;
  opacity: 0.8;
}
.hero__trail path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.8s 0.3s var(--ease) forwards;
}
.hero__trail path + path {
  animation-delay: 0.7s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__lede {
  margin-top: 26px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 36px;
}
.hero__note {
  color: var(--dim);
  font-size: 0.94rem;
  font-weight: 600;
}

/* ───── Example conversation ───── */

.demo {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.demo__glow {
  position: absolute;
  inset: 12% -6% -6% 10%;
  border-radius: 40px;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.34;
}
.demo__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(25, 29, 40, 0.94), rgba(13, 15, 21, 0.96));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.demo__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #06070a;
  border: 1px solid var(--line);
}
.demo__avatar img {
  width: 22px;
  height: auto;
}
.demo__name {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.demo__caption {
  margin-left: auto;
  color: var(--dim);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 20px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.feed__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 2px;
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-wrap: wrap;
  row-gap: 2px;
}
.feed__chip::after {
  content: "";
  flex: 1;
  min-width: 16px;
  height: 1px;
  background: var(--line);
}
.feed__when {
  order: 2;
  color: var(--orange-hi);
  letter-spacing: 0.04em;
  text-transform: none;
}

.msg {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 16px;
}
.msg__who {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.msg--in {
  align-self: flex-start;
  border-top-left-radius: 6px;
  background: rgba(255, 255, 255, 0.075);
}
.msg--in .msg__who {
  color: #8fb7ff;
}
.msg--bot {
  align-self: flex-start;
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-top-left-radius: 6px;
  background: rgba(255, 122, 26, 0.09);
}
.msg--bot .msg__who {
  color: var(--orange-hi);
}
.msg--out {
  align-self: flex-end;
  border-top-right-radius: 6px;
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
}
.msg--done p {
  display: flex;
  gap: 8px;
}
.msg--done .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--orange-hi);
  stroke-width: 2.6;
}
.mention {
  color: var(--orange-hi);
  font-weight: 700;
}

.task__head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-hi);
  font-size: 0.78rem;
  font-weight: 800;
}
.task__head .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.8;
}
.task__code {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
}
.task__title {
  margin-top: 6px;
  font-weight: 700;
}
.task__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 122, 26, 0.2);
}
.task__facts dt {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.task__facts dd {
  font-weight: 700;
}

.replies {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.reply {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  text-align: center;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.reply.is-pressed {
  border-color: transparent;
  background: var(--grad);
  color: var(--ink);
  transform: scale(0.97);
}

/* The script plays the steps one by one; without it they are simply all there. */
.js .demo [data-step] {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.js .demo [data-step].is-on {
  opacity: 1;
  transform: none;
}
.js .demo.is-resetting [data-step] {
  transition-duration: 0.35s;
}

/* ───── Ticker ───── */

.ticker {
  position: relative;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-band);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__run {
  display: flex;
  flex: none;
}
.ticker__run li {
  display: flex;
  align-items: center;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ticker__run li::after {
  content: "";
  width: 10px;
  height: 22px;
  margin-inline: clamp(20px, 3vw, 38px);
  border-radius: 2px;
  background: var(--grad);
  transform: skewX(-24deg);
}
.ticker__run li:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 242, 237, 0.55);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ───── Sections ───── */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 136px);
}
.section--band {
  border-block: 1px solid var(--line);
  background: radial-gradient(900px 420px at 85% 0%, rgba(255, 122, 26, 0.08), transparent 70%), var(--bg-band);
}
.section__head {
  max-width: 1000px;
}

/* Features */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 5vw, 60px);
}
.card {
  position: relative;
  padding: 28px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 26, 0.2), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  border-color: rgba(255, 122, 26, 0.45);
  transform: translateY(-3px);
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
}
.card__index {
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--dim);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 14px;
  background: rgba(255, 122, 26, 0.1);
  color: var(--orange-hi);
}
.card h3 {
  margin-top: 22px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange-lo), var(--orange-hi) 60%, rgba(255, 160, 51, 0));
  transform-origin: left;
}
.js .steps::before {
  transform: scaleX(0);
  transition: transform 1.4s 0.15s var(--ease);
}
.js .steps.is-in::before {
  transform: scaleX(1);
}
.step {
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -41px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg-band);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--orange);
}
.step__no {
  display: block;
  color: transparent;
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 1.5px var(--orange);
}
.step h3 {
  margin-top: 14px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* Control */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split__lead {
  position: sticky;
  top: 120px;
}
.point {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.point:last-child {
  border-bottom: 1px solid var(--line);
}
.point__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--ink);
}
.point__icon .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
.point h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.point p {
  margin-top: 6px;
  color: var(--muted);
}

/* Coming up */
.soons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}
.soon {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.soon__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.soon h3 {
  margin-top: 16px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.soon p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Closing */
.section--closing {
  padding-top: clamp(56px, 8vw, 104px);
}
.closing {
  position: relative;
  padding: clamp(40px, 7vw, 88px);
  border-radius: clamp(24px, 4vw, 40px);
  background: radial-gradient(90% 130% at 100% 0%, rgba(255, 224, 170, 0.55), transparent 55%), var(--grad);
  color: var(--ink);
  overflow: hidden;
}
.closing__title {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.closing p {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 600;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.closing__mail {
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.closing__mail:hover {
  text-decoration-thickness: 3px;
}

/* ───── Footer ───── */

.foot {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.foot__logo {
  width: auto;
  height: 30px;
}
.foot__contact a {
  color: var(--text);
  font-weight: 700;
  transition: color 0.2s;
}
.foot__contact a:hover {
  color: var(--orange-hi);
}
.foot__legal {
  margin-top: 28px;
  color: var(--dim);
  font-size: 0.82rem;
}
.foot__legal p + p {
  margin-top: 4px;
}

/* ───── Not found ───── */

.lost {
  padding: clamp(64px, 12vw, 160px) 0;
}
.lost__code {
  color: transparent;
  font-size: clamp(5rem, 18vw, 11rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  -webkit-text-stroke: 2px var(--orange);
}
.lost .btn {
  margin-top: 32px;
}

/* ───── Reveal on scroll (only once the script has marked the page) ───── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-reveal][data-d="1"] {
  transition-delay: 90ms;
}
.js [data-reveal][data-d="2"] {
  transition-delay: 180ms;
}
.js [data-reveal][data-d="3"] {
  transition-delay: 270ms;
}
/* The card's own hover transition must not inherit the reveal delay afterwards. */
.js .card.is-in {
  transition: border-color 0.3s, transform 0.3s var(--ease), opacity 0.8s var(--ease);
}

/* ───── Smaller screens ───── */

@media (max-width: 1020px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__demo {
    margin-top: 12px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .soons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split__lead {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }
  .top__row {
    gap: 12px;
    min-height: 64px;
  }
  .top__logo {
    height: 28px;
  }
  .cards,
  .soons {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 0;
    padding-left: 30px;
  }
  .steps::before {
    top: 0;
    bottom: 0;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--orange-lo), var(--orange-hi) 60%, rgba(255, 160, 51, 0));
    transform-origin: top;
  }
  .js .steps::before {
    transform: scaleY(0);
  }
  .js .steps.is-in::before {
    transform: scaleY(1);
  }
  .step::before {
    top: 18px;
    left: -36px;
  }
}

@media (max-width: 430px) {
  .top .pill {
    display: none;
  }
}

/* ───── Calm mode ───── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__trail path {
    stroke-dashoffset: 0;
  }
  .js [data-reveal],
  .js .demo [data-step] {
    opacity: 1;
    transform: none;
  }
  .js .steps::before {
    transform: none;
  }
  .ticker__track {
    flex-wrap: wrap;
    width: auto;
  }
  .ticker__run[aria-hidden="true"] {
    display: none;
  }
  .ticker__run {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
}
