@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   码易跟单 — redesign system
   Concept: "orders in flow" — warm paper, precise ink, signal lime.
   ========================================================================== */

:root {
  --paper: #f3f1e9;
  --paper-2: #e9e5da;
  --surface: #fcfbf7;
  --white: #ffffff;
  --ink: #11140f;
  --ink-2: #22261f;
  --muted: #6a6f64;
  --muted-2: #8b8f84;
  --line: #d8d3c5;
  --line-strong: #b9b3a3;
  --dark: #11150f;
  --dark-2: #1a1f17;
  --lime: #d8fa63;
  --lime-deep: #c4ef3d;
  --cobalt: #2445ff;
  --coral: #ff5a36;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1320px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-sans: 'Instrument Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    '微软雅黑', 'STHeiti', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Songti SC', 'STSong', serif;
  --font-mono: 'SFMono-Regular', ui-monospace, 'Cascadia Mono', 'Roboto Mono', Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

a:hover {
  color: var(--cobalt);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.4em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  pointer-events: none;
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
  color: var(--lime);
  pointer-events: auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: 112px;
}

.section--tight {
  padding-block: 80px;
}

.section--paper {
  background: var(--paper);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--dark);
  color: var(--paper);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--paper);
}

.section--dark a:hover {
  color: var(--lime);
}

.rule {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(196, 239, 61, 0.25);
}

.eyebrow--light {
  color: rgba(243, 241, 233, 0.62);
}

.eyebrow--light::before {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(216, 250, 99, 0.18);
}

.display {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 5.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.display .hl,
.hl {
  position: relative;
  display: inline;
  z-index: 0;
  white-space: nowrap;
}

.display .hl::after,
.hl::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.04em;
  left: -0.04em;
  height: 0.42em;
  background: var(--lime);
  transform: rotate(-1.2deg);
}

.lead {
  max-width: 600px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 56px;
}

.section-head h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding-bottom: 0.4rem;
}

.section-head__aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-muted {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--cobalt);
  color: #fff;
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
}

.btn--lime:hover {
  background: var(--lime-deep);
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--light {
  border-color: rgba(243, 241, 233, 0.26);
  background: transparent;
  color: var(--paper);
}

.btn--light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.btn--lg {
  min-height: 54px;
  padding-inline: 1.65rem;
  font-size: 1rem;
}

.btn--sm {
  min-height: 38px;
  padding-inline: 1rem;
  font-size: 0.84rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.8;
}

.text-link:hover {
  color: var(--cobalt);
}

/* --------------------------------------------------------------------------
   Announcement + header
   -------------------------------------------------------------------------- */

.announce {
  position: relative;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 38px;
  padding: 6px 20px;
  font-size: 0.78rem;
  text-align: center;
}

.announce__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
}

.announce__text {
  color: rgba(243, 241, 233, 0.8);
  letter-spacing: 0.01em;
}

.announce__text strong {
  color: var(--paper);
  font-weight: 600;
}

.announce a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.announce a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 241, 233, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 241, 233, 0.96);
  box-shadow: 0 8px 24px rgba(17, 20, 15, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand img {
  width: 148px;
  height: auto;
}

.brand__icon {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.5rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(17, 20, 15, 0.05);
}

.nav__link[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
  transform: translateX(-50%);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.header__login {
  font-size: 0.88rem;
  font-weight: 500;
}

.header__login:hover {
  color: var(--cobalt);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--ink);
  color: var(--lime);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  background: var(--paper);
  transform: translateY(-102%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__top img {
  width: 148px;
}

.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}

.mobile-nav__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.mobile-nav__link span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-nav__link[aria-current='page'] {
  color: var(--cobalt);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
}

.mobile-nav__actions .btn {
  width: 100%;
}

.mobile-nav__meta {
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  background: var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(to right, rgba(17, 20, 15, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 20, 15, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
  padding-bottom: 64px;
}

.hero__copy {
  max-width: 690px;
  padding-top: 10px;
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero__lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__actions--spaced {
  margin-top: 28px;
}

.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.hero__micro span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__micro span::before {
  content: '✓';
  color: var(--cobalt);
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 540px;
}

.hero__stage {
  position: relative;
  z-index: 2;
}

.hero__disc {
  position: absolute;
  top: 3%;
  right: 1%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.82;
}

.hero__disc::after {
  content: '';
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(17, 20, 15, 0.35);
  border-radius: 50%;
}

.product-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.product-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: 15px 15px 0 0;
}

.product-window__dots {
  display: flex;
  gap: 5px;
}

.product-window__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.product-window__dots i:first-child {
  background: var(--coral);
}

.product-window__url {
  margin-left: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.product-window__body {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

.product-window__body img {
  width: 100%;
  aspect-ratio: 1666 / 1190;
  object-fit: cover;
  object-position: top center;
}

.float-card {
  position: absolute;
  z-index: 5;
  padding: 13px 15px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--paper-2);
}

.float-card--top {
  top: 2%;
  right: -2%;
  width: 196px;
  transform: rotate(2deg);
}

.float-card--bottom {
  right: -2%;
  bottom: -26px;
  width: 218px;
  transform: rotate(-1deg);
}

.float-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float-card__label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
}

.float-card__title {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.float-card__progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-2);
}

.float-card__progress span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime-deep);
}

.float-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.float-card__big {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.float-card__sub {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.sticker {
  position: absolute;
  z-index: 3;
  top: -8px;
  left: -18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  transform: rotate(-6deg);
  text-transform: uppercase;
}

.sticker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

/* Hero proof strip */
.hero__proof {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 20px 0;
  border-right: 1px solid var(--line);
}

.proof:last-child {
  border-right: 0;
}

.proof:not(:first-child) {
  padding-left: 26px;
}

.proof__num {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Industry marquee */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: '✳';
  margin-left: 18px;
  color: var(--cobalt);
  font-size: 0.75rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Statement / comparison
   -------------------------------------------------------------------------- */

.statement {
  padding: 112px 0 96px;
}

.statement__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.55fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 58px;
}

.statement__head h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.12;
}

.statement__head p {
  margin: 0;
  padding-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.compare__panel {
  padding: 34px 34px 30px;
  background: var(--paper);
}

.compare__panel--new {
  background: var(--surface);
}

.compare__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare__label span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compare__panel--old .compare__label span::before {
  content: '×';
  color: var(--coral);
  font-size: 1rem;
  line-height: 1;
}

.compare__panel--new .compare__label span::before {
  content: '✓';
  color: var(--cobalt);
  font-size: 0.9rem;
  font-weight: 700;
}

.compare__list {
  margin: 0;
}

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
}

.compare__panel--old .compare__list li {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 90, 54, 0.45);
  text-decoration-thickness: 1px;
}

.compare__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.compare__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--line-strong);
}

.compare__panel--new .compare__list li::before {
  background: var(--lime-deep);
}

/* --------------------------------------------------------------------------
   Flow (dark section)
   -------------------------------------------------------------------------- */

.flow {
  position: relative;
  overflow: hidden;
  padding: 108px 0 112px;
  background: var(--dark);
  color: var(--paper);
}

.flow::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(243, 241, 233, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.flow::after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(36, 69, 255, 0.22);
  filter: blur(20px);
  pointer-events: none;
}

.flow__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
}

.flow__intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.flow__intro h2 {
  margin: 0 0 22px;
  color: var(--paper);
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  line-height: 1.12;
}

.flow__intro p {
  max-width: 420px;
  color: rgba(243, 241, 233, 0.62);
  font-size: 0.98rem;
  line-height: 1.75;
}

.flow__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.flow__meta span {
  padding: 5px 10px;
  border: 1px solid rgba(243, 241, 233, 0.22);
  border-radius: 999px;
  color: rgba(243, 241, 233, 0.7);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.flow__steps {
  border-top: 1px solid rgba(243, 241, 233, 0.18);
}

.flow-step {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(243, 241, 233, 0.18);
  transition: background-color 0.25s var(--ease);
}

.flow-step:hover {
  background: rgba(216, 250, 99, 0.04);
}

.flow-step__num {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.1;
}

.flow-step__body h3 {
  margin: 0 0 7px;
  color: var(--paper);
  font-size: 1.25rem;
  font-weight: 600;
}

.flow-step__body p {
  max-width: 560px;
  margin: 0;
  color: rgba(243, 241, 233, 0.58);
  font-size: 0.93rem;
  line-height: 1.7;
}

.flow-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.flow-step__tags span {
  color: rgba(243, 241, 233, 0.45);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.flow-step__tags span + span::before {
  content: '· ';
}

/* --------------------------------------------------------------------------
   Module bento
   -------------------------------------------------------------------------- */

.modules {
  padding: 112px 0;
  background: var(--surface);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 38px rgba(17, 20, 15, 0.07);
}

.module-card--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--paper);
}

.module-card--lime {
  background: var(--lime);
  border-color: var(--lime);
}

.module-card--wide {
  grid-column: span 6;
}

.module-card--third {
  grid-column: span 4;
}

.module-card--quarter {
  grid-column: span 3;
}

.module-card--tall {
  grid-row: span 2;
  min-height: 494px;
}

.module-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.module-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
}

.module-card--dark .module-card__icon {
  border-color: rgba(243, 241, 233, 0.3);
  color: var(--lime);
}

.module-card__index {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.module-card--dark .module-card__index {
  color: rgba(243, 241, 233, 0.4);
}

.module-card__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.module-card--dark .module-card__title {
  color: var(--paper);
}

.module-card__desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.module-card--dark .module-card__desc {
  color: rgba(243, 241, 233, 0.55);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 16px;
  margin-top: auto;
}

.module-list--one {
  grid-template-columns: 1fr;
}

.module-list li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.6;
}

.module-list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cobalt);
}

.module-card--dark .module-list li {
  color: rgba(243, 241, 233, 0.7);
}

.module-card--dark .module-list li::before {
  background: var(--lime);
}

.module-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-card__tag::before {
  content: '→';
  color: var(--cobalt);
}

.module-shot {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}

.module-shot__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding-inline: 9px;
  border-bottom: 1px solid var(--line);
}

.module-shot__bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.module-shot img {
  width: 100%;
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  object-position: top center;
}

.module-card--dark .module-shot {
  border-color: rgba(243, 241, 233, 0.2);
}

/* Mini visual demos inside cards */
.progress-demo {
  margin-top: auto;
  padding-top: 20px;
}

.progress-demo__number {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.progress-demo__number strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
}

.progress-demo__number span {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.progress-demo__track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 15, 0.35);
  border-radius: 999px;
}

.progress-demo__track span {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--ink);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  margin-top: auto;
  padding-top: 18px;
}

.bar-chart i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px 3px 0 0;
  background: var(--ink);
  opacity: 0.16;
}

.bar-chart i:nth-child(1) {
  --h: 34%;
}

.bar-chart i:nth-child(2) {
  --h: 58%;
}

.bar-chart i:nth-child(3) {
  --h: 46%;
}

.bar-chart i:nth-child(4) {
  --h: 82%;
}

.bar-chart i:nth-child(5) {
  --h: 64%;
}

.bar-chart i:nth-child(6) {
  --h: 100%;
}

.bar-chart i:nth-child(3n) {
  background: var(--cobalt);
  opacity: 1;
}

.bar-chart i:last-child {
  background: var(--ink);
  opacity: 1;
}

.ledger {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.ledger__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.ledger__row strong {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Case wall
   -------------------------------------------------------------------------- */

.cases {
  padding: 112px 0 104px;
  background: var(--paper);
}

.cases__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 42px;
}

.cases__head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
}

.cases__stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 0.4rem;
}

.cases__stat strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.cases__stat span {
  max-width: 110px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.case-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  gap: 1px;
}

.case-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 126px;
  padding: 20px 22px;
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}

.case-cell:hover {
  background: var(--lime);
}

.case-cell__num {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.case-cell:hover .case-cell__num {
  color: rgba(17, 20, 15, 0.6);
}

.case-cell__name {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.case-cell__industry {
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.case-cell:hover .case-cell__industry {
  border-color: rgba(17, 20, 15, 0.32);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.faq__intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.faq__intro p {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  color: var(--cobalt);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 48px 22px 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.faq__answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA block
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--dark);
  color: var(--paper);
}

.cta::before {
  content: '';
  position: absolute;
  right: -6%;
  bottom: -55%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.1;
  pointer-events: none;
}

.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 64px;
}

.cta h2 {
  max-width: 700px;
  margin: 0 0 18px;
  color: var(--paper);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.08;
}

.cta__lead {
  max-width: 520px;
  margin: 0 0 30px;
  color: rgba(243, 241, 233, 0.62);
  font-size: 1rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  color: rgba(243, 241, 233, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(243, 241, 233, 0.75);
}

.cta__contact a:hover {
  color: var(--lime);
}

.cta__card {
  padding: 28px;
  border: 1px solid rgba(243, 241, 233, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(243, 241, 233, 0.04);
  backdrop-filter: blur(6px);
}

.cta__card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: rgba(243, 241, 233, 0.5);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta__trial-num {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: 0.9;
}

.cta__trial-num small {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.cta__trial-note {
  margin: 12px 0 22px;
  color: rgba(243, 241, 233, 0.6);
  font-size: 0.82rem;
  line-height: 1.7;
}

.cta__form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.cta__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(243, 241, 233, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: 0.85rem;
}

.cta__form input::placeholder {
  color: rgba(243, 241, 233, 0.42);
}

.cta__form input:focus {
  outline: none;
  border-color: var(--lime);
}

.cta__form .btn {
  flex: 0 0 auto;
  min-height: 44px;
}

.cta__trial-list {
  display: grid;
  gap: 8px;
  color: rgba(243, 241, 233, 0.72);
  font-size: 0.82rem;
}

.cta__trial-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta__trial-list li::before {
  content: '✓';
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 80px 0 26px;
  background: var(--dark);
  color: rgba(243, 241, 233, 0.58);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(243, 241, 233, 0.14);
}

.footer__brand img {
  width: 162px;
  margin-bottom: 22px;
}

.footer__statement {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--paper);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.footer__statement .serif {
  color: var(--lime);
}

.footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer__cols h3 {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__cols li + li {
  margin-top: 8px;
}

.footer__cols a {
  color: rgba(243, 241, 233, 0.58);
  font-size: 0.88rem;
}

.footer__cols a:hover {
  color: var(--lime);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  color: rgba(243, 241, 233, 0.34);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.footer__legal a {
  color: rgba(243, 241, 233, 0.45);
  font-size: inherit;
}

.footer__legal a:hover {
  color: var(--lime);
}

.footer__bottom-links {
  display: flex;
  gap: 18px;
}

.footer__bottom-links a {
  color: rgba(243, 241, 233, 0.45);
  font-size: inherit;
}

.footer__bottom-links a:hover {
  color: var(--lime);
}

.footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer__beian img {
  width: 13px;
}

.footer__wordmark {
  margin: 26px 0 -12px;
  color: rgba(243, 241, 233, 0.07);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.05em;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Inner page masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.masthead::before {
  content: '';
  position: absolute;
  top: 0;
  right: 8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.5;
  filter: blur(2px);
  pointer-events: none;
}

.masthead__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.55fr);
  align-items: end;
  gap: 4rem;
}

.masthead h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.masthead__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}

.masthead__aside {
  display: grid;
  gap: 12px;
  padding-bottom: 0.5rem;
}

.masthead__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.masthead__meta strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* --------------------------------------------------------------------------
   Download page
   -------------------------------------------------------------------------- */

.download-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 110px;
  background: var(--dark);
  color: var(--paper);
}

.download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(243, 241, 233, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 241, 233, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.download-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
}

.download-hero h1 {
  margin: 0 0 20px;
  color: var(--paper);
  font-size: clamp(2.9rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.download-hero__lead {
  max-width: 520px;
  margin: 0 0 26px;
  color: rgba(243, 241, 233, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.download-hero__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-hero__flags span {
  padding: 5px 10px;
  border: 1px solid rgba(243, 241, 233, 0.22);
  border-radius: 999px;
  color: rgba(243, 241, 233, 0.7);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.download-hero__visual {
  position: relative;
  min-height: 520px;
}

.download-hero__disc {
  position: absolute;
  top: 4%;
  left: 8%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
}

.download-phone {
  position: relative;
  z-index: 2;
  width: min(310px, 82%);
  margin-inline: auto;
  padding: 7px;
  border: 1px solid rgba(243, 241, 233, 0.35);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--cobalt);
  transform: rotate(2deg);
}

.download-phone__notch {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 50%;
  width: 104px;
  height: 20px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.download-phone__screen {
  position: relative;
  overflow: hidden;
  height: 610px;
  border-radius: 36px;
  background: #fff;
}

.download-phone__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.download-phone__slide.is-active {
  opacity: 1;
}

.download-phone__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.download-phone__dots {
  position: absolute;
  top: 46%;
  right: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 7px;
  border-radius: 999px;
  background: rgba(17, 20, 15, 0.55);
  backdrop-filter: blur(8px);
}

.download-phone__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 241, 233, 0.35);
  cursor: pointer;
  transition: height 0.2s var(--ease), background-color 0.2s var(--ease);
}

.download-phone__dots button.is-active {
  height: 16px;
  background: var(--lime);
}

.download-float {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--lime);
  transform: rotate(-3deg);
}

.download-float img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
}

.download-float strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
}

.download-float span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.03em;
}

.platforms {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  padding-bottom: 100px;
}

.platforms__panel {
  padding: 34px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--lime);
}

.platforms__group + .platforms__group {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.platforms__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platforms__label span {
  color: var(--ink);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.platform-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
}

.platform-card:hover .platform-card__icon {
  border-color: var(--ink);
  background: var(--paper);
}

.platform-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.platform-card__title {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-card__action {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.platform-card:hover .platform-card__action {
  color: var(--ink);
}

.platform-card__arrow {
  margin-left: auto;
  color: var(--muted);
}

.platform-card:hover .platform-card__arrow {
  color: var(--ink);
}

.why {
  padding: 0 0 104px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.why__item {
  padding: 30px 26px 34px;
  background: var(--surface);
}

.why__num {
  margin-bottom: 38px;
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1;
}

.why__item h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
  font-weight: 600;
}

.why__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Features page: product tour
   -------------------------------------------------------------------------- */

.tour {
  padding: 92px 0 100px;
}

.tour__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 30px;
}

.tour__head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.tour__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tab {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.tour__viewport {
  position: relative;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--lime);
}

.tour__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 14px;
}

.tour__dots {
  display: flex;
  gap: 5px;
}

.tour__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.tour__dots i:first-child {
  background: var(--coral);
}

.tour__url {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}

.tour__panel {
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.tour__panel.is-active {
  display: block;
}

.tour__panel img {
  width: 100%;
  aspect-ratio: 1666 / 1190;
  object-fit: cover;
  object-position: top center;
}

.tour__panel--phone {
  display: none;
  gap: 24px;
  padding: 24px;
}

.tour__panel--phone.is-active {
  display: flex;
}

.tour__panel--phone img {
  width: 280px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.tour__panel-copy {
  align-self: center;
  max-width: 420px;
}

.tour__panel-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.tour__panel-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Module index */
.module-index {
  padding: 96px 0 106px;
  background: var(--paper);
}

.module-index__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.module-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: 28px 26px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color 0.2s var(--ease);
}

.module-cta:hover {
  background: var(--cobalt);
  color: #fff;
}

.module-cta span {
  color: rgba(243, 241, 233, 0.48);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-cta strong {
  max-width: 260px;
  color: var(--paper);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.module-cta em {
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(243, 241, 233, 0.35);
  border-radius: 50%;
  font-style: normal;
}

.module-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 26px;
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}

.module-row:hover {
  background: var(--paper);
}

.module-row__num {
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.module-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.module-row__head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.module-row__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.module-row ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 10px;
  margin: 0;
}

.module-row li {
  position: relative;
  padding-left: 11px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.module-row li::before {
  content: '';
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cobalt);
}

/* Changelog */
.changelog {
  padding: 96px 0 110px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.changelog__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: 64px;
}

.changelog__intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
}

.changelog__intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.changelog__intro p {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.changelog__more {
  margin-top: 24px;
}

.release-group + .release-group {
  margin-top: 44px;
}

.release-group__year {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.release-group__year::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.release {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.release time {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.release p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.7;
}

.release:first-of-type p {
  color: var(--ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Service page
   -------------------------------------------------------------------------- */

.service-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.service-metric {
  padding: 24px;
  background: var(--surface);
}

.service-metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.service-metric span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
}

.service {
  padding: 72px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 84px 0 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    background-color 0.2s var(--ease),
    transform 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--lime);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.service-card__num {
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
}

.service-card h2 {
  margin: 0 0 9px;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.service-card:hover p {
  color: rgba(17, 20, 15, 0.7);
}

.process {
  padding: 96px 0 104px;
}

.process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 36px;
}

.process__head h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.process__step {
  position: relative;
  padding: 26px 22px 30px;
  background: var(--surface);
}

.process__step span {
  display: block;
  margin-bottom: 38px;
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1;
}

.process__step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
}

.process__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact {
  padding: 84px 0 104px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: 72px;
  align-items: start;
}

.contact__list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.contact__row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact__row-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact__note {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.contact__row-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.contact__row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact__row-value {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact__row-value span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.contact__row-action {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.contact__row a:hover .contact__row-action {
  color: var(--cobalt);
}

.qr-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 9px 9px 0 var(--lime);
}

.qr-panel::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -25%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--paper-2);
}

.qr-panel__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-panel__head span:last-child {
  color: var(--muted);
}

.qr-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.qr-panel__hint {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: center;
}

.hours {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.hours__row + .hours__row {
  margin-top: 6px;
}

.hours__row span:first-child {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background: var(--dark);
  color: var(--paper);
}

.about-hero::before {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -40%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(216, 250, 99, 0.09);
}

.about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: end;
}

.about-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--paper);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.about-hero__lead {
  max-width: 600px;
  margin: 0;
  color: rgba(243, 241, 233, 0.62);
  font-size: 1rem;
  line-height: 1.8;
}

.about-hero__stats {
  display: grid;
  gap: 18px;
  padding-bottom: 4px;
}

.about-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 241, 233, 0.18);
}

.about-stat strong {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.about-stat span {
  color: rgba(243, 241, 233, 0.55);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-align: right;
}

.values {
  padding: 96px 0 104px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.value-card {
  min-height: 260px;
  padding: 26px 22px;
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}

.value-card:hover {
  background: var(--lime);
}

.value-card__num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
  color: var(--muted-2);
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1;
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
}

.value-card h3 {
  margin: 0 0 7px;
  font-size: 1.15rem;
  font-weight: 600;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.value-card:hover p {
  color: rgba(17, 20, 15, 0.7);
}

.about-story {
  padding: 0 0 104px;
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.about-story__quote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.about-story__quote .serif {
  color: var(--cobalt);
}

.about-story__body {
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.9;
}

.about-story__body p + p {
  margin-top: 1.25rem;
}

.about-story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.about-fact {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.about-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-fact strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-page {
  padding: 76px 0 100px;
}

.legal-page__head {
  max-width: 820px;
  margin: 0 auto 46px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-page__head h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  line-height: 1.05;
}

.legal-page__updated {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.legal-content {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.95;
  overflow-wrap: break-word;
}

.legal-content b,
.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-content a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-color: rgba(36, 69, 255, 0.3);
  text-underline-offset: 3px;
}

.legal-content .legal-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.7;
}

.legal-content .legal-table th,
.legal-content .legal-table td {
  padding: 0.7rem;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.legal-content .legal-table th {
  background: var(--paper);
  color: var(--ink);
}

.legal-content .sdk-card {
  margin-top: 1rem;
  padding: 1.25rem 1.25rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.84rem;
  line-height: 1.75;
}

.legal-content .sdk-card p {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   Dialogs / back-to-top / reveal
   -------------------------------------------------------------------------- */

.qr-dialog {
  width: min(92vw, 350px);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--lime);
}

.qr-dialog::backdrop {
  background: rgba(17, 20, 15, 0.55);
  backdrop-filter: blur(3px);
}

.qr-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.qr-dialog__head h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.qr-dialog__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.qr-dialog__close:hover {
  background: var(--ink);
  color: var(--lime);
}

.qr-dialog__body {
  padding: 20px;
}

.qr-dialog__body img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.qr-dialog__hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s,
    background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ink);
  color: var(--lime);
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Page masthead variants
   -------------------------------------------------------------------------- */

.masthead--compact {
  padding-bottom: 56px;
}

.page-body {
  padding: 84px 0 104px;
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.not-found__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
}

.not-found__num {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.not-found h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.not-found p {
  max-width: 460px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .container {
    padding-inline: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__grid {
    gap: 32px;
  }

  .nav__link {
    padding-inline: 0.55rem;
    font-size: 0.85rem;
  }

  .header__inner {
    gap: 1.5rem;
  }

  .flow__grid {
    gap: 48px;
  }

  .bento {
    gap: 12px;
  }

  .module-card {
    padding: 22px;
  }

  .case-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .announce__inner {
    justify-content: flex-start;
    padding-inline: 20px;
  }

  .announce a {
    display: none;
  }

  .announce__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .brand img {
    width: 138px;
  }
}

@media (max-width: 1023px) {
  .section {
    padding-block: 84px;
  }

  .announce__inner {
    font-size: 0.72rem;
  }

  .nav,
  .header__actions {
    display: none;
  }

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

  .brand img {
    width: 138px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__visual {
    min-height: 0;
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }

  .product-window {
    width: 100%;
    margin-inline: auto;
  }


  .float-card--top {
    right: 0;
  }

  .float-card--bottom {
    right: 0;
    bottom: -18px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof {
    padding: 16px 0;
  }

  .proof:nth-child(2) {
    border-right: 0;
  }

  .proof:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .proof:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .proof:not(:first-child) {
    padding-left: 20px;
  }

  .statement {
    padding: 84px 0 76px;
  }

  .statement__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .section-head__aside {
    max-width: 520px;
  }

  .flow {
    padding: 84px 0;
  }

  .flow__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .flow__intro {
    position: static;
  }

  .modules {
    padding: 84px 0;
  }

  .module-card--wide {
    grid-column: span 6;
  }

  .module-card--quarter {
    grid-column: span 6;
  }

  .module-card--third {
    grid-column: span 4;
  }

  .module-card--tall {
    grid-row: auto;
    min-height: 380px;
  }

  .cases {
    padding: 84px 0 80px;
  }

  .case-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq {
    padding: 80px 0;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq__intro {
    position: static;
  }

  .cta {
    padding: 76px 0;
  }

  .cta__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta__card {
    max-width: 480px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .masthead {
    padding: 64px 0 56px;
  }

  .masthead__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .masthead__aside {
    max-width: 420px;
  }

  .download-hero {
    padding: 64px 0 96px;
  }

  .download-hero__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .download-hero__visual {
    min-height: 0;
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }

  .download-phone__dots {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .download-phone__dots button.is-active {
    width: 18px;
    height: 6px;
  }

  .download-float {
    left: 0;
    bottom: 18%;
  }

  .platforms {
    margin-top: -40px;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour {
    padding: 72px 0 84px;
  }

  .tour__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour__panel--phone {
    flex-direction: column;
  }

  .tour__panel--phone img {
    width: min(300px, 80%);
    margin-inline: auto;
  }

  .module-index {
    padding: 72px 0 84px;
  }

  .module-index__grid {
    grid-template-columns: 1fr;
  }

  .changelog {
    padding: 72px 0 84px;
  }

  .changelog__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .changelog__intro {
    position: static;
  }

  .service-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .process {
    padding: 72px 0 84px;
  }

  .process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    padding: 64px 0 84px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero {
    padding: 72px 0;
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero__stats {
    max-width: 440px;
  }

  .values {
    padding: 72px 0 84px;
  }

  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    min-height: 220px;
  }

  .about-story {
    padding-bottom: 84px;
  }

  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .not-found__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .not-found__num {
    font-size: 10rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: 20px;
  }

  .announce__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announce__inner {
    justify-content: flex-start;
    gap: 8px;
  }

  .announce a {
    display: none;
  }

  .header__inner {
    height: 66px;
  }

  .brand img {
    width: 128px;
  }

  .section {
    padding-block: 64px;
  }

  .display {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }

  .hero {
    padding-top: 44px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    line-height: 1.1;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__visual {
    min-height: 0;
  }



  .float-card {
    padding: 10px;
  }

  .float-card--top {
    top: -3%;
    width: 152px;
  }

  .float-card--bottom {
    width: 172px;
  }

  .float-card__big {
    font-size: 1.5rem;
  }

  .sticker {
    display: none;
  }

  .product-window {
    box-shadow: 8px 8px 0 var(--ink);
  }

  .product-window__bar {
    height: 28px;
  }

  .proof__num {
    font-size: 1.8rem;
  }

  .proof__label {
    font-size: 0.56rem;
  }

  .statement {
    padding: 64px 0;
  }

  .statement__head h2 {
    font-size: 2rem;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare__panel {
    padding: 24px 20px;
  }

  .flow {
    padding: 64px 0;
  }

  .flow-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .flow-step__num {
    font-size: 1.5rem;
  }

  .flow-step__body h3 {
    font-size: 1.05rem;
  }

  .flow-step__body p {
    font-size: 0.86rem;
  }

  .modules {
    padding: 64px 0;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .module-card--wide,
  .module-card--quarter,
  .module-card--third {
    grid-column: auto;
  }

  .module-card {
    min-height: 0;
    padding: 22px;
  }

  .module-card--tall {
    min-height: 0;
  }

  .module-card__head {
    margin-bottom: 12px;
  }

  .module-list {
    grid-template-columns: 1fr;
  }

  .cases {
    padding: 64px 0;
  }

  .cases__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-wall {
    grid-template-columns: 1fr;
  }

  .case-cell {
    min-height: 0;
    gap: 10px;
    padding: 16px 18px;
  }

  .faq {
    padding: 64px 0;
  }

  .faq__item summary {
    padding: 18px 0;
    font-size: 0.95rem;
  }

  .faq__answer {
    padding-right: 0;
  }

  .cta {
    padding: 64px 0;
  }

  .cta h2 {
    font-size: 2.2rem;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .cta__card {
    padding: 22px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer__top {
    gap: 34px;
    padding-bottom: 38px;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .footer__wordmark {
    margin-top: 30px;
    font-size: 5.4rem;
  }

  .masthead {
    padding: 48px 0 44px;
  }

  .masthead h1 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .masthead::before {
    width: 160px;
    height: 160px;
  }

  .platforms {
    padding-bottom: 64px;
  }

  .platforms__panel {
    padding: 20px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .why {
    padding-bottom: 64px;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__num {
    margin-bottom: 20px;
  }

  .download-hero {
    padding: 48px 0 80px;
  }

  .download-hero__visual {
    max-width: 350px;
  }

  .download-phone {
    width: min(270px, 82%);
  }

  .download-phone__screen {
    height: 540px;
  }

  .download-float {
    left: -4%;
    bottom: 10%;
  }

  .tour {
    padding: 56px 0 64px;
  }

  .tour__viewport {
    padding: 14px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .tour__panel--phone {
    padding: 14px;
  }

  .module-index {
    padding: 56px 0 64px;
  }

  .module-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .module-row ul {
    grid-template-columns: 1fr;
  }

  .changelog {
    padding: 56px 0 64px;
  }

  .release {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 13px 0;
  }

  .release time {
    font-size: 0.64rem;
  }

  .service-grid {
    padding-top: 40px;
  }

  .service-card {
    min-height: 0;
    padding: 24px;
  }

  .service-card__top {
    margin-bottom: 28px;
  }

  .process {
    padding: 56px 0 64px;
  }

  .process__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .process__step {
    padding: 20px;
  }

  .process__step span {
    margin-bottom: 20px;
  }

  .contact {
    padding: 48px 0 64px;
  }

  .contact__row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .contact__row-action {
    grid-column: 2;
  }

  .qr-panel {
    box-shadow: 6px 6px 0 var(--lime);
  }

  .about-hero {
    padding: 56px 0;
  }

  .about-hero h1 {
    font-size: 2rem;
    letter-spacing: -0.06em;
  }

  .values {
    padding: 56px 0 64px;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 0;
  }

  .value-card__num {
    margin-bottom: 34px;
  }

  .about-story {
    padding-bottom: 64px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .legal-page {
    padding: 48px 0 64px;
  }

  .legal-page__head {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .legal-content {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 479px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .float-card--top {
    display: none;
  }


  .footer__cols {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee__track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
