:root {
  --ink: #24211e;
  --muted: #8b8378;
  --line: #e8e1d7;
  --sans: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100dvh;
  padding: 36px 24px;
  display: grid;
  place-items: center;
  background: #eee8df url('/background-9dd573badb5a.webp') center/cover fixed no-repeat;
  color: var(--ink);
  font: 14px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #b96044;
  outline-offset: 4px;
}

h1, h2, p { margin: 0; }

.entry {
  width: min(100%, 1024px);
  background: #fff;
  border: 1px solid #eee7dc;
  border-radius: 30px;
  padding: 28px 48px 24px;
  box-shadow: 0 24px 80px rgba(56, 39, 19, 0.08);
}

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

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.domain {
  font: 9.5px/1.5 var(--sans);
  letter-spacing: 2px;
  color: #a89b8b;
}

.recent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid #dce6dc;
  border-radius: 12px;
  background: #f4f8f4;
  color: #365941;
  font-size: 12.5px;
}

.recent-banner-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.recent-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.recent-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 8px;
  background: #426d58;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.recent-banner-link:hover { opacity: .9; }

.recent-banner-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b8473;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.recent-banner-close:hover { background: #e5efe7; color: #243b2c; }

.heading {
  text-align: center;
  padding: 44px 0 32px;
}

.eyebrow {
  color: #a39381;
  font-size: 9.5px;
  letter-spacing: 2.8px;
  margin-bottom: 13px;
}

h1 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.35;
}

.heading > p:last-child {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

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

.service-card {
  position: relative;
  display: block;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color .18s, background .18s, transform .18s;
}

.service-card.gpt {
  --accent: #2f6f53;
  --accent-soft: #eaf4ee;
  --accent-border: #b6d4c3;
  --tint: #f7fbf8;
}

.service-card.claude {
  --accent: #bf5739;
  --accent-soft: #fcf0ea;
  --accent-border: #e7c2b3;
  --tint: #fdf8f5;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--tint);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(36, 33, 30, 0.06);
}

.service-card:active {
  background: var(--tint);
  transform: scale(0.99);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.card-top img {
  object-fit: contain;
}

.service-number {
  font: 12px/1 var(--serif);
  color: #c1b5a5;
  padding-top: 5px;
}

.service-card h2 {
  font: 36px/1.2 var(--serif);
  letter-spacing: -1px;
}

.service-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 9px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding-top: 28px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.price {
  font: 32px/1 var(--serif);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price > span {
  font: 13px var(--sans);
  margin-right: 3px;
  vertical-align: baseline;
}

.price small {
  font: 11.5px var(--sans);
  color: var(--muted);
  margin-left: 6px;
}

.enter {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}

.service-card:hover .enter,
.service-card:active .enter {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(36, 33, 30, 0.14);
}

.enter > span {
  font-size: 16px;
  line-height: 1;
}

.entry-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin: 26px 0 30px;
  font-size: 12px;
  color: var(--muted);
}

.entry-track-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.entry-track-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 14px;
  color: #4b453d;
  font-weight: 500;
  background: #f8f5ef;
  border: 1px solid #e1d8cb;
  border-radius: 999px;
  transition: color .16s, background .16s, border-color .16s;
}

.entry-track-links a:hover {
  color: var(--ink);
  background: #f0e9de;
  border-color: #cbbda9;
}

.entry-sep {
  display: none;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #ae9f8d;
  font-size: 9.5px;
  letter-spacing: .8px;
}

@media (max-width: 720px) {
  body {
    padding: 14px 12px max(18px, env(safe-area-inset-bottom));
    background-attachment: scroll;
    display: block;
  }

  .entry {
    margin: 0 auto;
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .entry-header {
    padding-bottom: 16px;
  }

  .domain {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .heading {
    padding: 26px 0 22px;
  }

  h1 {
    font-size: 24px;
  }

  .heading > p:last-child {
    font-size: 12.5px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    padding: 20px;
    border-radius: 18px;
  }

  .card-top {
    margin-bottom: 14px;
  }

  .card-top img {
    width: 44px;
    height: 44px;
  }

  .service-card h2 {
    font-size: 30px;
  }

  .card-bottom {
    padding-top: 18px;
    margin-top: 18px;
  }

  .price {
    font-size: 28px;
  }

  .entry-note {
    margin: 22px 0 22px;
    font-size: 12px;
  }

  .entry-track-links a {
    min-height: 44px;
    padding: 6px 10px;
  }
}

@media (max-width: 540px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px 18px;
  }

  .card-bottom {
    flex-direction: row;
    align-items: flex-end;
  }

  .recent-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .recent-banner-actions {
    justify-content: space-between;
  }

  footer {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
