:root {
  --page: #f5f7fb;
  --ink: #273043;
  --ink-strong: #151b28;
  --muted: #6c7587;
  --soft: #8b94a5;
  --line: #dfe5ee;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --blue: #364a75;
  --blue-soft: #edf2fb;
  --warm: #faf3e7;
  --shadow: rgba(30, 42, 63, 0.1);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 54px;
  scroll-snap-type: y mandatory;
}

body {
  min-width: 1120px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.34), rgba(244, 240, 232, 0.46)),
    radial-gradient(circle at 18% 12%, rgba(255, 247, 229, 0.46), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(226, 235, 248, 0.42), transparent 26rem),
    url("./assets/lubang-agent-hero-bg-v2.png");
  background-attachment: fixed;
  background-position:
    calc(50% + var(--scene-x, 0px)) calc(0% + var(--scene-y, 0px));
  background-size: cover;
  color: var(--ink);
  font-family: "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  animation: scene-drift 18s ease-in-out infinite alternate;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(250, 247, 240, 0.28), rgba(250, 247, 240, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 26px rgba(68, 61, 51, 0.02);
  backdrop-filter: blur(16px) saturate(1.04);
  transform: translateY(-12px);
  opacity: 0;
  animation: nav-drop 800ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.nav-inner {
  display: flex;
  width: 1120px;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink-strong);
  font-weight: 850;
}

.brand img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.nav-links {
  gap: 30px;
  color: #526079;
  font-size: 14px;
  font-weight: 750;
}

.nav-links a,
.nav-action,
.download-row a {
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--ink-strong);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(54, 74, 117, 0.32);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--ink-strong);
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(31, 42, 63, 0.1),
    0 10px 24px rgba(31, 42, 63, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100vh - 54px);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-inner {
  display: grid;
  width: min(1280px, calc(100% - 96px));
  justify-items: center;
  text-align: center;
  transform: translateY(-2vh);
}

.hero-inner h1 {
  position: relative;
  z-index: 1;
  color: #101417;
  font-family: "General Sans", "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  font-size: clamp(104px, 13vw, 190px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 28px rgba(21, 27, 40, 0.18),
    0 22px 58px rgba(21, 27, 40, 0.16),
    0 0 1px rgba(21, 27, 40, 0.72);
  opacity: 0;
  transform: translateY(48px) scale(0.985);
  animation: hero-title-in 1000ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

.hero-word,
.hero-ai {
  -webkit-text-stroke: 1px rgba(16, 20, 23, 0.16);
}

.hero-ai {
  background: none;
  color: inherit;
  filter: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
}

.hero-inner p {
  margin-top: 48px;
  color: rgba(27, 33, 36, 0.72);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(22px);
  animation: soft-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) 520ms forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(20px);
  animation: soft-rise 760ms cubic-bezier(0.22, 1, 0.36, 1) 700ms forwards;
}

.hero-actions a {
  position: relative;
  display: inline-flex;
  min-width: 170px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 42px rgba(30, 30, 28, 0.08);
  color: #111416;
  font-size: 18px;
  font-weight: 900;
  transition:
    transform 220ms ease,
    background 180ms ease;
  overflow: hidden;
}

.hero-actions a:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.95);
}

.hero-actions a::after,
.download-row a::after,
.closing-actions a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.48) 42%,
    transparent 72%
  );
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
}

.hero-actions a:hover::after,
.download-row a:hover::after,
.closing-actions a:hover::after {
  animation: sheen 680ms ease;
}

.page-shell {
  width: 1320px;
  margin: 0 auto;
  padding: 0;
}

.features-section {
  display: grid;
  min-height: calc(100vh - 54px);
  align-content: center;
  padding: 76px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feature-heading {
  width: 1320px;
  margin: 0 auto 48px;
  text-align: center;
}

.feature-heading p,
.closing-card p {
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-heading h2 {
  margin-top: 12px;
  color: var(--ink-strong);
  font-family: "General Sans", "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  font-size: 88px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.feature-heading span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.feature-grid {
  display: grid;
  width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 218px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 22px 48px rgba(69, 62, 52, 0.08);
  backdrop-filter: blur(18px);
  padding: 28px;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    background 260ms ease;
  overflow: hidden;
}

.feature-card::before,
.capability-card::before,
.download-panel::before {
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 38%,
    transparent 68%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-45%);
  transition:
    opacity 260ms ease,
    transform 520ms ease;
}

.feature-card:hover,
.capability-card:hover,
.download-row:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 28px 66px rgba(31, 42, 63, 0.12);
}

.feature-card:hover::before,
.capability-card:hover::before,
.download-panel:hover::before {
  opacity: 1;
  transform: translateX(45%);
}

.feature-card span {
  color: rgba(21, 27, 40, 0.58);
  font-size: 22px;
  font-weight: 950;
}

.feature-card h3 {
  margin-top: 24px;
  color: var(--ink-strong);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.2;
}

.feature-card p {
  margin-top: 16px;
  color: rgba(39, 48, 67, 0.68);
  font-size: 17px;
  line-height: 1.64;
}

.section-card {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.start-card {
  display: flex;
  min-height: calc(100vh - 54px);
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 54px 0 52px;
}

.start-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7dee9;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #64718a;
  font-size: 15px;
  font-weight: 850;
  padding: 9px 15px;
}

.version-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45c987;
  box-shadow: 0 0 0 4px rgba(69, 201, 135, 0.12);
}

.start-card h1 {
  margin-top: 12px;
  color: var(--ink-strong);
  font-family: "General Sans", "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  font-size: 76px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.lead,
.section-copy p,
.download-row p,
.capability-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.lead {
  margin-top: 16px;
}

.logo-tile {
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 44px rgba(31, 42, 63, 0.08);
  animation: float-soft 5.6s ease-in-out infinite;
  will-change: transform;
}

.logo-tile img {
  width: 94px;
  height: 94px;
  border-radius: 20px;
}

.mode-tabs {
  display: grid;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 5px;
}

.mode-tabs span {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #66738d;
  font-weight: 850;
}

.mode-tabs .active {
  background: var(--blue);
  color: #fff;
}

.download-panel {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  padding: 12px;
  overflow: hidden;
}

.download-row {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 22px;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    background 240ms ease;
}

.download-row h2 {
  color: #31394a;
  font-size: 21px;
  font-weight: 900;
}

.download-row p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 15px;
}

.download-row a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #51617e;
  font-size: 15px;
  font-weight: 850;
  overflow: hidden;
}

.download-row a:hover,
.nav-action:hover {
  transform: translateY(-1px);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 18px 34px rgba(54, 74, 117, 0.18);
}

.workflow-card {
  display: flex;
  min-height: calc(100vh - 54px);
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 54px 0 52px;
}

.section-copy h2 {
  color: var(--ink);
  font-family: "General Sans", "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  font-size: 68px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: keep-all;
}

.section-copy p {
  max-width: 960px;
  margin-top: 18px;
}

.app-frame {
  width: 1080px;
  margin: 50px auto 0;
  overflow: hidden;
  border: 1px solid #cfd7e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(31, 42, 63, 0.12);
  transform-style: preserve-3d;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease;
  will-change: transform;
}

.app-frame:hover {
  box-shadow: 0 34px 96px rgba(31, 42, 63, 0.16);
}

.app-frame img {
  display: block;
  width: 100%;
  height: clamp(520px, 62vh, 640px);
  object-fit: cover;
  object-position: top left;
}

.console-section {
  display: grid;
  min-height: calc(100vh - 54px);
  align-content: center;
  padding: 48px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-copy.center {
  text-align: center;
}

.section-copy.center p {
  margin-inline: auto;
}

.capability-grid {
  display: grid;
  margin-top: 38px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-card {
  position: relative;
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    var(--panel-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px rgba(31, 42, 63, 0.055);
  padding: 22px;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease;
  overflow: hidden;
}

.closing-card {
  display: grid;
  min-height: calc(100vh - 54px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 54px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.closing-card h2 {
  margin-top: 12px;
  color: var(--ink-strong);
  font-family: "General Sans", "Geist Sans", "MiSans", "HarmonyOS Sans SC",
    "Microsoft YaHei UI", "PingFang SC", Arial, sans-serif;
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.closing-card span {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.closing-tags b {
  display: inline-flex;
  height: 44px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(31, 42, 63, 0.08),
    0 12px 28px rgba(31, 42, 63, 0.05);
  color: #536077;
  font-size: 15px;
  font-weight: 850;
  padding: 0 16px;
}

.closing-actions {
  display: grid;
  gap: 12px;
}

.closing-actions a {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(54, 74, 117, 0.18);
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.closing-actions a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(54, 74, 117, 0.24);
}

.closing-actions a + a {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(31, 42, 63, 0.1),
    0 14px 30px rgba(31, 42, 63, 0.06);
}

.icon-chip {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dae2ee;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  color: #51617e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.capability-card h3 {
  margin-top: 16px;
  color: var(--ink-strong);
  font-size: 20px;
  font-weight: 900;
}

.capability-card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  margin-top: 0;
  color: #788293;
  font-size: 13px;
  font-weight: 750;
  padding: 0 4px;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.site-footer img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.site-footer p {
  justify-self: center;
}

.site-footer a {
  justify-self: end;
  color: #536077;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.app-frame.reveal,
.download-panel.reveal {
  transform: translate3d(0, 44px, 0) scale(0.985);
}

.app-frame.reveal.is-visible,
.download-panel.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-card.reveal,
.capability-card.reveal {
  transform: translate3d(0, 32px, 0) scale(0.985);
}

.feature-card.reveal.is-visible,
.capability-card.reveal.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.feature-card.reveal.is-visible:hover,
.capability-card.reveal.is-visible:hover {
  transform: translate3d(0, -6px, 0) scale(1);
}

.app-frame.reveal.is-visible:hover {
  transform: translate3d(0, -6px, 0) scale(1.01);
}

.magnet-target {
  will-change: transform;
}

@keyframes nav-drop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes sheen {
  to {
    transform: translateX(120%);
  }
}

@keyframes scene-drift {
  0% {
    background-position:
      calc(50% + var(--scene-x, 0px)) calc(0% + var(--scene-y, 0px));
  }
  100% {
    background-position:
      calc(50% + var(--scene-x, 0px) + 18px)
      calc(0% + var(--scene-y, 0px) - 14px);
  }
}

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

  .reveal,
  .reveal.is-visible,
  .hero-inner h1,
  .hero-inner p,
  .hero-actions,
  .site-nav {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1380px) {
  body {
    min-width: 0;
  }

  .nav-inner,
  .page-shell {
    width: min(100% - 48px, 1320px);
  }

  .app-frame {
    width: min(100%, 1080px);
  }

  .features-section {
    padding-inline: 20px;
  }

  .feature-heading,
  .feature-grid {
    width: min(100%, 1080px);
  }
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
  }

  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: auto 100%;
    animation: none;
  }

  .site-nav {
    background: rgba(248, 244, 236, 0.74);
  }

  .nav-inner {
    width: calc(100% - 28px);
    height: 58px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
    gap: 8px;
    font-size: 15px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .nav-action {
    min-width: 68px;
    height: 38px;
    border-radius: 999px;
    font-size: 14px;
  }

  .hero-section {
    min-height: calc(100vh - 58px);
    min-height: calc(100svh - 58px);
    padding: 38px 0 54px;
  }

  .hero-inner {
    width: calc(100% - 34px);
    transform: translateY(-7vh);
  }

  .hero-inner h1 {
    max-width: 100%;
    font-size: clamp(58px, 17vw, 76px);
    letter-spacing: -0.055em;
    line-height: 0.98;
    white-space: nowrap;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.72),
      0 12px 36px rgba(21, 27, 40, 0.12);
  }

  .hero-inner p {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

  .hero-actions {
    width: min(100%, 342px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-actions a {
    min-width: 0;
    height: 50px;
    font-size: 16px;
  }

  .features-section,
  .start-card,
  .workflow-card,
  .console-section,
  .closing-card {
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    scroll-margin-top: 72px;
  }

  .features-section {
    padding: 76px 18px;
  }

  .feature-heading {
    margin-bottom: 30px;
  }

  .feature-heading h2 {
    font-size: clamp(42px, 11vw, 62px);
    letter-spacing: -0.055em;
    line-height: 1.04;
  }

  .feature-heading span {
    width: min(100%, 520px);
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.7;
  }

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

  .page-shell {
    width: calc(100% - 34px);
  }

  .start-card,
  .workflow-card,
  .console-section,
  .closing-card {
    padding: 78px 0;
  }

  .start-head {
    gap: 24px;
  }

  .start-card h1,
  .closing-card h2 {
    font-size: clamp(44px, 10vw, 64px);
    letter-spacing: -0.045em;
  }

  .section-copy h2 {
    font-size: clamp(40px, 9vw, 56px);
    letter-spacing: -0.04em;
  }

  .lead,
  .section-copy p,
  .closing-card span {
    font-size: 16px;
    line-height: 1.7;
  }

  .logo-tile {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .logo-tile img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .app-frame {
    width: 100%;
    margin-top: 34px;
    border-radius: 18px;
  }

  .app-frame img {
    height: auto;
    min-height: 260px;
    object-fit: cover;
  }

  .closing-card {
    grid-template-columns: 1fr;
  }

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

  .closing-actions a {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .hero-section {
    align-items: center;
    padding-top: 24px;
  }

  .hero-inner {
    transform: translateY(-6vh);
  }

  .hero-inner h1 {
    font-size: clamp(52px, 16.5vw, 66px);
  }

  .hero-word,
  .hero-ai {
    -webkit-text-stroke: 0.6px rgba(16, 20, 23, 0.14);
  }

  .features-section {
    padding: 68px 16px 56px;
  }

  .feature-heading h2 {
    font-size: clamp(38px, 11.5vw, 48px);
  }

  .feature-grid,
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    min-height: 0;
    border-radius: 20px;
    padding: 22px;
  }

  .feature-card h3 {
    margin-top: 18px;
    font-size: 21px;
  }

  .feature-card p {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.68;
  }

  .page-shell {
    width: calc(100% - 28px);
  }

  .start-card,
  .workflow-card,
  .console-section,
  .closing-card {
    padding: 64px 0;
  }

  .start-head {
    align-items: center;
  }

  .version-badge {
    font-size: 12px;
    padding: 7px 11px;
  }

  .start-card h1,
  .closing-card h2 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 1.08;
  }

  .section-copy h2 {
    font-size: clamp(34px, 9.8vw, 42px);
    line-height: 1.12;
  }

  .mode-tabs {
    margin-top: 28px;
  }

  .download-panel {
    margin-top: 16px;
    border-radius: 22px;
    padding: 10px;
  }

  .download-row {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-radius: 18px;
    padding: 20px;
  }

  .download-row a {
    width: 100%;
    height: 46px;
  }

  .app-frame img {
    min-height: 220px;
  }

  .capability-card {
    min-height: 0;
    padding: 20px;
  }

  .closing-tags b {
    height: 40px;
    font-size: 13px;
  }

  .closing-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 24px 0 34px;
    text-align: center;
  }

  .site-footer p,
  .site-footer a {
    justify-self: center;
  }
}

@media (max-width: 390px) {
  .brand span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-inner h1 {
    font-size: clamp(48px, 15.5vw, 58px);
  }

  .hero-actions {
    width: 100%;
  }
}
