/* 首页（单页站）专用样式 */

/* ---------- 首屏：左文右图 ---------- */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 76px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 38em; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: clamp(30px, 3.4vw, 44px);
}
.hero h1 .thin {
  font-weight: 400;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(44px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.hero-facts dd {
  font-size: 0.92rem;
  line-height: 1.6;
}
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 68% center;
  border-radius: 4px;
  background: var(--surface);
}
.hero-figure figcaption {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 域名清单 ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 126, 99, 0.35) transparent;
}
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 99, 0.3);
  border-radius: 999px;
}
.table-scroll::-webkit-scrollbar-track { background: transparent; }

.domain-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  text-align: left;
}
.domain-table thead th {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.domain-table tbody td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  vertical-align: middle;
}
.domain-table tbody tr {
  transition: background 0.2s ease;
}
.domain-table tbody tr:hover { background: var(--surface); }
.domain-table .dom {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.domain-table .type-cell { color: var(--muted); }
.domain-table .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.domain-table .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.domain-table .status--talk::before { background: var(--accent); }
.domain-table .status--hold::before { background: var(--line); }
.domain-table .status--hold { color: var(--muted); }

.table-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}
.table-note p { max-width: 46em; }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(36px, 5vw, 80px);
}
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0 12px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.7; }
.field input:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-strong);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}
.field input::placeholder,
.field textarea::placeholder { color: #a9b8a6; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.form-status {
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 1.4em;
}
.form-status.is-ok { color: var(--ink); font-weight: 600; }
.form-status.is-error { color: #b3261e; }
.form-hint {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--muted);
}

.contact-side .side-block + .side-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.side-block h3 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}
.side-block a,
.side-block p {
  font-size: 1.02rem;
  word-break: break-word;
}
.side-block a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.side-block a:hover {
  color: var(--brand-strong);
  border-color: var(--brand-strong);
}
.side-block .small {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 700px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-facts > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .hero-facts dt { margin-bottom: 0; }
  .lead-form { grid-template-columns: minmax(0, 1fr); }
}
