:root {
  --blue: #075ee8;
  --blue-2: #1d7cff;
  --ink: #071735;
  --text: #25344d;
  --muted: #697891;
  --line: #d9e4f2;
  --soft: #f5f9ff;
  --ok: #16a34a;
  --warn: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 42px rgba(12, 42, 92, .09);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(232, 244, 255, .86) 0%, rgba(247, 251, 255, .96) 38%, #f6f9fd 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.top-inner {
  width: min(1360px, calc(100vw - 64px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 285px;
}

.brand img {
  width: 168px;
  height: 46px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: #101827;
  font-size: 22px;
  line-height: 1.2;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  color: #263449;
  font-size: 15px;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a.active,
.nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 800;
}

.right-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #27364b;
  font-size: 14px;
  white-space: nowrap;
}

.tool-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tool-item img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-2), #0758df);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(7, 94, 232, .24);
  cursor: pointer;
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #9fc2f7;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.secondary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.page {
  width: min(1360px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hero-copy {
  padding: 42px 8px 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(7, 94, 232, .08);
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

h1 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
}

h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
}

h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 720px;
  color: #4c5d76;
  font-size: 18px;
}

.domain-register-tip {
  max-width: 720px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: rgba(239, 246, 255, .88);
}

.domain-register-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.domain-register-tip p {
  color: #4b6180;
  font-size: 14px;
  line-height: 1.75;
}

.panel,
.hero-card,
.info-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.panel { padding: 28px; }

.hero-card {
  padding: 26px;
  align-self: center;
}

.hero-card img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

.info-card {
  padding: 22px;
  min-height: 160px;
}

.info-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 16px;
}

.band {
  margin-top: 22px;
}

.form-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfdced;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%23697891' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
}

textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.muted { color: var(--muted); }
.error { min-height: 24px; color: var(--danger); }

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.status-pill.ok {
  background: #dcfce7;
  color: var(--ok);
}

.status-pill.off {
  background: #eef2f7;
  color: #64748b;
}

.domain-list,
.faq-list,
.timeline {
  display: grid;
  gap: 12px;
}

.domain-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 110px 95px 95px 105px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  background: #fff;
}

.domain-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.price {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
}

.timeline-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eef6ff;
  display: grid;
  place-items: center;
}

.timeline-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.faq-item {
  padding: 20px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
}

.guide-panel {
  margin-top: 22px;
}

.guide-heading {
  margin-bottom: 18px;
}

.guide-heading h2 {
  margin-top: 14px;
}

.guide-heading p {
  max-width: 860px;
}

.guide-notice {
  margin-bottom: 18px;
}

.guide-steps {
  display: grid;
  gap: 12px;
}

.guide-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
}

.guide-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--blue);
  font-weight: 900;
}

.guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.guide-checklist > div {
  padding: 18px;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #f8fbff;
}

.guide-checklist ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  line-height: 1.7;
}

.result {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  line-height: 1.8;
}

.result.visible { display: block; }

.tabs {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.tab {
  min-height: 42px;
  border: 1px solid #c7d7ec;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
}

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

.mode { display: none; }
.mode.active { display: grid; gap: 14px; }

.site-footer {
  width: min(1360px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .top-inner { width: min(100% - 28px, 960px); flex-wrap: wrap; padding: 12px 0; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 24px; }
  .right-tools { display: none; }
  .page { width: min(100% - 28px, 960px); }
  .site-footer { width: min(100% - 28px, 960px); }
  .page-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 26px 0 10px; }
  .grid-2, .grid-3, .grid-4, .guide-checklist { grid-template-columns: 1fr; }
  .domain-row { grid-template-columns: 1fr 1fr; padding: 14px; }
}

@media (max-width: 640px) {
  .brand { min-width: 0; }
  .brand img { width: 142px; height: 44px; }
  .brand strong { font-size: 18px; }
  .brand span { font-size: 12px; }
  h1 { font-size: 36px; }
  .panel { padding: 20px; }
  .form-line { grid-template-columns: 1fr; }
  .domain-row { grid-template-columns: 1fr; }
}
