:root {
  color-scheme: light;
  --ink: #15231c;
  --ink-soft: #3f4d45;
  --muted: #6d776f;
  --paper: #f4f0e6;
  --paper-deep: #e9e1d2;
  --panel: #fffdf8;
  --line: #d8d1c4;
  --green: #1f6048;
  --green-dark: #184936;
  --green-soft: #dbe8df;
  --amber: #ad692b;
  --amber-soft: #f5e4cd;
  --blue: #3f6675;
  --blue-soft: #dde8ec;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgb(233 198 143 / 40%), transparent 28rem),
    var(--paper);
}

a {
  color: inherit;
}

.topbar,
main,
footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgb(21 35 28 / 16%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

nav {
  display: flex;
  gap: 26px;
}

nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

nav a:hover {
  color: var(--green);
}

.host-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.host-status.checking {
  color: var(--muted);
  background: rgb(255 253 248 / 66%);
}

.host-status.online {
  color: var(--green);
  background: var(--green-soft);
}

.host-status.offline {
  color: #9b493e;
  background: #f2ded9;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  min-height: 710px;
  padding: 82px 0 94px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.preview-label,
.item-type,
.branch-kicker,
.capability-number {
  color: var(--green);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 17px 0 24px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(48px, 5.6vw, 76px);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  border: 1px solid #bdb5a8;
  background: rgb(255 253 248 / 54%);
}

.promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 12px;
}

.promise-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.promise-row span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.preview-shell {
  position: relative;
  padding: 26px;
  border: 1px solid #cec6b8;
  border-radius: 22px;
  background: rgb(255 253 248 / 88%);
  box-shadow: 0 24px 60px rgb(62 50 32 / 10%);
}

.preview-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 24px -20px -20px 28px;
  border-radius: 22px;
  background: #e3d5bf;
}

.preview-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.preview-topline h2 {
  margin: 7px 0 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 35px;
  font-weight: 570;
  letter-spacing: -0.04em;
}

.draft-badge {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: 11px;
  font-weight: 760;
}

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.trip-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.day-heading {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-heading span {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.day-heading strong {
  font-size: 13px;
}

.timeline {
  margin: 0;
  padding: 14px 0 4px;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 82px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 52px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -2px;
  left: 56px;
  width: 1px;
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

.timeline li.buffer::before {
  background: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.timeline li.flexible::before {
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.timeline time {
  padding-top: 1px;
  color: var(--muted);
  font-size: 11px;
}

.timeline li > div {
  padding-left: 17px;
}

.timeline strong,
.timeline small {
  display: block;
}

.timeline strong {
  margin: 4px 0;
  font-size: 14px;
}

.timeline small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.branch-card {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px dashed #a5b8ad;
  border-radius: 12px;
  background: #f2f7f3;
}

.branch-card strong {
  font-size: 13px;
}

.branch-card > span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.capability-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
  gap: 48px;
}

.section-heading h2,
.progress-section h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 540;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

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

.capability-grid article {
  min-height: 250px;
  padding: 24px;
  background: rgb(255 253 248 / 84%);
}

.capability-grid h3 {
  margin: 54px 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.progress-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 100px;
  padding: 100px 0;
}

.progress-section h2 {
  margin-top: 14px;
}

.progress-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.milestone {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 14px;
  background: var(--green-soft);
}

.milestone-dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgb(31 96 72 / 10%);
}

.milestone strong,
.milestone small {
  display: block;
}

.milestone strong {
  color: var(--green-dark);
  font-size: 13px;
}

.milestone small {
  margin-top: 5px;
  color: #53675b;
  font-size: 11px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

footer div {
  display: flex;
  gap: 16px;
}

footer strong {
  color: var(--ink);
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .progress-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .preview-shell {
    max-width: 680px;
  }

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

@media (max-width: 640px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .host-status span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 68px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .preview-shell {
    padding: 20px;
  }

  .preview-shell::before {
    display: none;
  }

  .section-heading,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .capability-section,
  .progress-section {
    padding: 72px 0;
  }

  .progress-section {
    gap: 40px;
  }

  footer,
  footer div {
    flex-direction: column;
  }
}
