:root {
  --ink: #222222;
  --muted: #666666;
  --line: #d8e4f8;
  --soft: #f8faff;
  --paper: #ffffff;
  --brand-logo: #11337e;
  --brand: #183f92;
  --brand-bright: #1e4db7;
  --brand-dark: #0f2d6b;
  --green: #93c52b;
  --green-ink: #567500;
  --gold: #bd8a2c;
  --night: #0f2d6b;
  --radius: 6px;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
a {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(24, 63, 146, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  border-bottom: 1px solid rgba(17, 51, 126, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-shell,
.hero-shell {
  width: var(--shell);
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

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

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #555555;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--brand);
}

.header-download,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 4px;
  font-weight: 700;
}

.header-download {
  padding: 0 17px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
}

.header-download:hover,
.primary-action:hover {
  background: var(--brand-dark);
}

.header-download svg,
.primary-action svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 570px;
  max-height: 820px;
  overflow: hidden;
  color: #fff;
  background: url("assets/hotel-skill-hero.jpg") center 54% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 107, 0.58);
}

.hero-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 58px 0 92px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow span {
  width: 28px;
  height: 3px;
  background: var(--green);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 750;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-action {
  min-height: 48px;
  padding: 0 22px;
  background: var(--brand);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.text-action svg {
  width: 17px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.query-strip {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.agent-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--brand);
}

.agent-mark svg {
  width: 20px;
}

.query-strip > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.query-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.query-strip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.query-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.query-status span,
.success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 92px 0;
}

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

.section-heading h2,
.install-intro h2,
.security-copy h2,
.final-band h2 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.25;
}

.kicker {
  color: var(--brand);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.split-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
}

.query-workbench {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(17, 51, 126, 0.08);
}

.prompt-rail {
  min-width: 0;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 7px;
  font-size: 13px;
  font-weight: 700;
}

.read-only-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-ink);
  font-size: 9px;
}

.read-only-tag svg {
  width: 11px;
}

.prompt-options {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.prompt-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 67px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.prompt-option:hover {
  background: #fff;
}

.prompt-option.is-active {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 5px 16px rgba(17, 51, 126, 0.06);
}

.prompt-option span {
  font-weight: 700;
}

.prompt-option small {
  color: var(--muted);
}

.result-stage {
  min-width: 0;
  padding: 24px;
}

.agent-conversation {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.agent-conversation p {
  margin: 0;
  font-weight: 650;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--night);
}

.avatar svg {
  width: 16px;
}

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.result-summary > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.hotel-grid.has-refreshed .hotel-card {
  animation: hotel-results-in 240ms ease-out both;
}

.hotel-grid.has-refreshed .hotel-card:nth-child(2) {
  animation-delay: 35ms;
}

.hotel-grid.has-refreshed .hotel-card:nth-child(3) {
  animation-delay: 70ms;
}

@keyframes hotel-results-in {
  from {
    opacity: 0.72;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hotel-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.hotel-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.hotel-body {
  padding: 14px;
}

.hotel-grade,
.hotel-location {
  display: inline-block;
  margin-right: 7px;
  font-size: 11px;
}

.hotel-grade {
  color: var(--gold);
  font-weight: 800;
}

.hotel-location {
  color: var(--muted);
}

.hotel-body h3 {
  min-height: 44px;
  margin: 7px 0 5px;
  font-size: 15px;
  line-height: 1.45;
}

.hotel-body p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--brand);
}

.price-line strong {
  font-size: 20px;
}

.price-line span {
  color: var(--muted);
  font-size: 11px;
}

.snapshot-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.snapshot-note svg {
  width: 14px;
}

.steps-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.compact-heading {
  max-width: 620px;
  margin-bottom: 44px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  position: relative;
  min-height: 245px;
  padding: 32px 38px 28px 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.steps-list li + li {
  padding-left: 38px;
}

.steps-list li:last-child {
  border-right: 0;
}

.steps-list > li > svg {
  width: 28px;
  height: 28px;
  margin: 27px 0 18px;
  color: var(--brand);
}

.step-number {
  position: absolute;
  top: 10px;
  right: 14px;
  color: #888888;
  font-size: 12px;
  font-weight: 800;
}

.steps-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.steps-list p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.security-section {
  color: #fff;
  background: var(--night);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 90px;
}

.security-copy h2 {
  max-width: 470px;
  margin-bottom: 20px;
}

.security-copy > p:not(.kicker) {
  max-width: 510px;
  color: #d8e4f8;
}

.security-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #fff;
  font-weight: 700;
}

.security-copy a svg {
  width: 15px;
}

.security-rules {
  border-top: 1px solid rgba(216, 228, 248, 0.22);
}

.security-rules > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(216, 228, 248, 0.22);
}

.security-rules svg {
  width: 24px;
  color: var(--green);
}

.security-rules span {
  color: #d8e4f8;
  font-size: 14px;
}

.security-rules strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
}

.install-section {
  padding: 104px 0;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(520px, 1.32fr);
  gap: 80px;
  align-items: start;
}

.install-intro h2 {
  margin-bottom: 18px;
}

.install-intro > p:not(.kicker) {
  color: var(--muted);
}

.compatibility {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  color: #555555;
  font-size: 13px;
}

.compatibility span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.compatibility svg {
  width: 16px;
  color: var(--green-ink);
}

.install-tool {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(17, 51, 126, 0.08);
}

.agent-install-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.agent-install-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--night);
}

.agent-install-icon svg {
  width: 19px;
}

.agent-install-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.agent-install-heading strong {
  font-size: 15px;
}

.agent-install-heading span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.agent-prompt-preview {
  padding: 25px 24px 22px;
}

.agent-prompt-preview > p {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 750;
}

.agent-prompt-preview ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: #555555;
  font-size: 13px;
}

.agent-prompt-preview li + li {
  margin-top: 4px;
}

.skill-source {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.skill-source svg {
  flex: 0 0 auto;
  width: 14px;
}

.skill-source span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-install-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.agent-copy-action,
.zip-download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
}

.agent-copy-action {
  flex: 1 1 auto;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
  cursor: pointer;
}

.agent-copy-action:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.zip-download-action {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.agent-install-actions svg {
  width: 16px;
}

.manual-install {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.manual-install summary {
  padding: 13px 24px;
  color: #555555;
  font-weight: 650;
  cursor: pointer;
}

.manual-install p {
  margin: 0;
  padding: 2px 24px 8px;
}

.manual-platforms {
  display: grid;
  gap: 10px;
  padding: 0 24px 18px;
}

.manual-platform {
  min-width: 0;
}

.manual-platform span {
  display: block;
  margin-bottom: 5px;
  color: #555555;
  font-size: 11px;
  font-weight: 750;
}

.manual-install code {
  display: block;
  overflow-x: auto;
  margin: 0;
  padding: 11px 13px;
  color: #e8edef;
  background: #1c2125;
  font-family: "SFMono-Regular", Consolas, monospace;
  white-space: nowrap;
}

.upgrade-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  color: #555555;
  font-size: 12px;
}

.upgrade-note svg {
  flex: 0 0 auto;
  width: 14px;
  color: var(--brand);
}

.final-band {
  padding: 52px 0;
  color: #fff;
  background: var(--brand-logo);
}

.final-band .section-shell {
  text-align: center;
}

.version-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 11px;
  font-weight: 800;
}

.version-label::before {
  width: 22px;
  height: 2px;
  background: var(--green);
  content: "";
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

footer .section-shell {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 28px;
}

footer img {
  width: 150px;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

footer a {
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  padding: 9px 14px;
  border-radius: 4px;
  color: #fff;
  background: var(--night);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

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

@media (max-width: 920px) {
  :root {
    --shell: min(100% - 32px, 760px);
  }

  .desktop-nav {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .hero {
    min-height: 550px;
  }

  h1 {
    font-size: 48px;
  }

  .split-heading,
  .security-layout,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .query-workbench {
    grid-template-columns: 1fr;
  }

  .prompt-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .prompt-options {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hotel-card-third {
    display: none;
  }

  .security-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 46px;
  }

  .install-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 36px;
  }

}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .site-header {
    height: 62px;
  }

  .brand img {
    width: 122px;
  }

  .brand-divider,
  .brand span:last-child {
    display: none;
  }

  .header-download {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    height: calc(100svh - 98px);
    min-height: 500px;
    max-height: 680px;
    background-position: 57% center;
  }

  .hero-shell {
    justify-content: flex-start;
    padding: 46px 0 82px;
  }

  h1 {
    max-width: 330px;
    margin-bottom: 14px;
    font-size: 37px;
  }

  .hero-lead {
    max-width: 430px;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    gap: 16px;
  }

  .primary-action {
    min-height: 44px;
    padding: 0 17px;
  }

  .text-action {
    font-size: 14px;
  }

  .hero-facts {
    gap: 8px 15px;
    margin-top: 20px;
    font-size: 11px;
  }

  .query-strip {
    grid-template-columns: 36px minmax(0, 1fr);
    bottom: 14px;
    padding: 10px 0;
  }

  .agent-mark {
    width: 34px;
    height: 34px;
  }

  .query-strip strong {
    font-size: 12px;
  }

  .query-status {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .install-intro h2,
  .security-copy h2,
  .final-band h2 {
    font-size: 29px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .prompt-rail {
    padding: 14px 12px;
  }

  .prompt-options {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    padding-bottom: 2px;
  }

  .prompt-option {
    flex: 0 0 145px;
    min-height: 61px;
  }

  .result-stage {
    padding: 17px;
  }

  .result-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

  .hotel-card:nth-child(n + 2) {
    display: none;
  }

  .hotel-card {
    display: grid;
    grid-template-columns: 43% 57%;
  }

  .hotel-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .hotel-body h3 {
    min-height: 0;
  }

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

  .steps-list li,
  .steps-list li + li {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .steps-list > li > svg {
    margin: 8px 0 12px;
  }

  .security-layout,
  .install-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .install-section {
    padding: 72px 0;
  }

  .agent-install-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .agent-copy-action,
  .zip-download-action {
    width: 100%;
  }

  footer .section-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

  .toast {
    transition: none;
  }

  .hotel-grid.has-refreshed .hotel-card {
    animation: none;
  }
}
