:root {
  color-scheme: light;
  --bg: #f7efe5;
  --bg-2: #efe2d2;
  --paper: #fffaf2;
  --paper-2: #f3e7d8;
  --ink: #251a14;
  --muted: #75675d;
  --faint: #9a8d82;
  --line: #ddcab6;
  --line-soft: rgba(128, 91, 63, 0.15);
  --accent: #c96443;
  --accent-2: #8f4b34;
  --green: #2f855a;
  --blue: #3478f6;
  --shadow: 0 30px 80px rgba(72, 48, 31, 0.12);
  --soft-shadow: 0 16px 42px rgba(72, 48, 31, 0.08);
  --radius: 18px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.82), rgba(247, 239, 229, 0) 340px),
    radial-gradient(circle at 82% 8%, rgba(201, 100, 67, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg), #f4e7d8 58%, #efe2d2);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(rgba(37, 26, 20, 0.04) 1px, transparent 1px);
  background-size: 100% 42px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  font-weight: 560;
  letter-spacing: 0;
}

h2 {
  max-width: 830px;
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 560;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.24;
  font-weight: 620;
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 202, 182, 0.78);
  background: rgba(247, 239, 229, 0.78);
  backdrop-filter: blur(22px) saturate(1.15);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: var(--soft-shadow);
  font-family: var(--mono);
  font-weight: 900;
}

.brand strong {
  display: block;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.1;
}

.brand span span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.2;
}

.links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 14px;
  white-space: nowrap;
}

.links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.links a:hover,
.links a.active {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.78);
}

.hero {
  position: relative;
  padding: 94px 0 76px;
}

.hero.compact {
  padding-bottom: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 74px;
  align-items: center;
}

.eyebrow,
.kicker {
  color: var(--accent-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
}

.hero-copy,
.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
}

.hero-copy {
  margin-top: 28px;
  font-size: 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(72, 48, 31, 0.16);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.48);
  color: var(--ink);
}

.button.download {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffaf2;
}

.hero-stack {
  position: relative;
  min-height: 610px;
  perspective: 1200px;
}

.phone {
  overflow: hidden;
  border: 1px solid rgba(37, 26, 20, 0.18);
  border-radius: 34px;
  padding: 10px;
  background: #151216;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  border-radius: 26px;
}

.hero-stack .phone.main {
  position: relative;
  z-index: 2;
  transform: rotate(1.4deg) translateZ(0);
}

.hero-stack .phone.back {
  position: absolute;
  z-index: 1;
  width: 76%;
  left: -44px;
  bottom: 24px;
  opacity: 0.86;
  transform: rotate(-5deg) translateY(var(--float-y, 0));
}

.caption {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  text-align: center;
}

.section {
  position: relative;
  padding: 84px 0;
  border-top: 1px solid rgba(221, 202, 182, 0.76);
}

.section > .shell,
.hero > .shell {
  position: relative;
  z-index: 1;
}

.section.alt {
  background: rgba(255, 250, 242, 0.38);
}

.section.band {
  border-top: 0;
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
  margin-bottom: 38px;
}

.section-head .lead {
  margin-top: 14px;
}

.page-grid,
.cards,
.screen-grid,
.split,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.page-link,
.card,
.panel,
.step,
.screen,
.download-box,
.mini-card,
.timeline-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 12px 34px rgba(72, 48, 31, 0.05);
}

.page-link {
  min-height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}

.page-link:after,
.mini-card:after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 30%;
  height: 170px;
  border-radius: 999px;
  background: rgba(201, 100, 67, 0.09);
  transform: rotate(-10deg);
}

.page-link:hover,
.screen:hover,
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 75, 52, 0.35);
  box-shadow: var(--shadow);
}

.page-link p,
.card p,
.panel p,
.step p,
.screen p,
.mini-card p,
.timeline-item p,
.download-box p {
  position: relative;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.68;
}

.page-link span {
  position: relative;
  color: var(--accent-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 780;
}

.mini-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
}

.mini-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 18px;
}

.card {
  min-height: 220px;
  padding: 26px;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease;
}

.panel {
  padding: 30px;
}

.panel h2,
.download-box h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.screen {
  padding: 16px;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease;
}

.screen .phone {
  border-radius: 26px;
  padding: 8px;
}

.screen .phone img {
  border-radius: 20px;
}

.screen h3 {
  margin: 18px 6px 8px;
}

.screen p {
  margin: 0 6px 8px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.num {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #ead9c7;
  color: var(--accent-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 850;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8d6c1;
  color: #74412d;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 820;
}

pre {
  margin: 16px 0 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid #d7c2ac;
  border-radius: 12px;
  background: #efe0ce;
  color: #2c241f;
  font-size: 15px;
  line-height: 1.65;
}

code {
  font-family: var(--mono);
  letter-spacing: 0;
}

.terminal-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: #2b2520;
  color: #f8f1e8;
  box-shadow: var(--shadow);
}

.terminal-card:before {
  content: "";
  display: block;
  width: 42px;
  height: 10px;
  margin-bottom: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff6b57 0 9px, #e2b74f 9px 24px, #62b36d 24px 42px);
}

.terminal-card pre {
  margin: 0;
  border: 0;
  background: transparent;
  color: #61d779;
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.timeline-item time {
  color: var(--accent-2);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 15px;
}

.contact-row span {
  color: var(--muted);
  text-align: right;
  overflow-wrap: anywhere;
}

.download-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.band .download-box {
  border-color: rgba(255, 250, 242, 0.14);
  background: rgba(255, 250, 242, 0.07);
}

.band .download-box p,
.band .lead {
  color: rgba(255, 250, 242, 0.72);
}

.footer {
  padding: 36px 0 46px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--muted);
}

.js .motion {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
}

.js .motion.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .motion.delay-1 {
  transition-delay: 80ms;
}

.js .motion.delay-2 {
  transition-delay: 160ms;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0) rotate(1.4deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.4deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stack .phone.main {
    animation: float-soft 6s ease-in-out infinite;
  }
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .screen-grid .phone img {
    max-height: 46svh;
    object-fit: cover;
    object-position: top;
  }

  .cards .card {
    min-height: 190px;
  }
}

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

@media (max-width: 980px) {
  .links {
    display: none;
  }

  .hero-grid,
  .section-head,
  .split,
  .download-box,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-stack {
    min-height: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stack .phone.back {
    display: none;
  }

  .cards,
  .page-grid,
  .screen-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    max-width: 430px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-inner {
    min-height: 64px;
  }

  .brand span span {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-copy,
  .lead {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

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

  .contact-row {
    display: grid;
  }

  .contact-row span {
    text-align: left;
  }

  pre,
  .terminal-card pre {
    font-size: 13px;
  }
}
