:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-2: #7c3aed;
  --danger: #ef4444;
  --ok: #10b981;
  --warn: #f59e0b;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 18px 45px -18px rgba(15, 23, 42, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(37, 99, 235, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
  scroll-margin-top: 90px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.9);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 18px 34px -12px rgba(37, 99, 235, 0.85);
  transform: translateY(-1px);
}

.btn-danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.btn-danger:hover:not(:disabled) {
  background: #fee2e2;
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover:not(:disabled) {
  border-color: #bfdbfe;
  color: var(--primary);
  background: #f8fbff;
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.85);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: #eff6ff;
  color: var(--primary);
}

.header-cta {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #334155;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 132px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(760px 420px at 88% 0%, rgba(124, 58, 237, 0.13), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  text-align: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-a {
  width: 340px;
  height: 340px;
  background: rgba(59, 130, 246, 0.35);
  top: -120px;
  left: 8%;
}

.hero-glow-b {
  width: 300px;
  height: 300px;
  background: rgba(168, 85, 247, 0.3);
  top: -80px;
  right: 10%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.03em;
}

.gradient {
  background: linear-gradient(120deg, var(--primary), var(--primary-2) 60%, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.hero-stat {
  min-width: 106px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.hero-stat strong {
  display: block;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12.5px;
  color: var(--muted);
}

.tool-section {
  padding-top: 0;
  margin-top: -84px;
  position: relative;
  z-index: 5;
}

.tool-card {
  background: var(--surface);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow);
  overflow: hidden;
}

.tool-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 18px 0;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tool-tabs::-webkit-scrollbar {
  display: none;
}

.tool-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.tool-tab:hover {
  color: var(--text);
  background: rgba(37, 99, 235, 0.05);
}

.tool-tab.is-active {
  color: var(--primary);
}

.tool-tab.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.tool-panel {
  padding: 30px;
}

.tool-panel[hidden] {
  display: none;
}

.tool-head h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.tool-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
}

.url-form {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 6px 0 14px;
  gap: 10px;
  background: var(--surface-soft);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-wrap:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-wrap.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
  animation: shake 0.32s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.input-prefix {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 8px;
}

.input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  height: 100%;
  font-size: 15.5px;
  color: var(--text);
}

.input-wrap input::placeholder {
  color: #94a3b8;
}

.tool-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}

.field select {
  height: 36px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font-size: 13.5px;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  max-width: 270px;
  text-overflow: ellipsis;
}

.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.hint {
  font-size: 12.5px;
  color: #94a3b8;
  margin-left: auto;
}

.console {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid #1e293b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -28px rgba(2, 6, 23, 0.9);
  color: #cbd5e1;
}

.console-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  font-size: 13px;
}

.console-dots {
  display: inline-flex;
  gap: 6px;
}

.console-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.console-dots i:nth-child(1) { background: #f87171; }
.console-dots i:nth-child(2) { background: #fbbf24; }
.console-dots i:nth-child(3) { background: #34d399; }

.console-title {
  font-weight: 600;
  color: #e2e8f0;
}

.console-count {
  margin-left: auto;
  font-family: var(--mono);
  color: #94a3b8;
  font-size: 12.5px;
}

.progress {
  height: 3px;
  background: #1e293b;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #38bdf8, #22d3ee, #34d399);
  transition: width 0.3s ease;
}

.console-body {
  height: 320px;
  overflow-y: auto;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 12.5px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}

.console-body::-webkit-scrollbar {
  width: 8px;
}

.console-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 8px;
}

.console-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: #64748b;
  padding: 20px;
  text-align: center;
}

.log-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-left: 2px solid transparent;
  transition: background 0.15s ease;
}

.log-row:hover {
  background: rgba(148, 163, 184, 0.07);
}

.log-row.is-system {
  color: #7dd3fc;
  grid-template-columns: 34px minmax(0, 1fr);
}

.log-index {
  color: #475569;
  font-size: 11.5px;
}

.log-main {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.log-name {
  flex-shrink: 0;
  color: #e2e8f0;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
}

.log-url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #64748b;
  font-size: 11.5px;
}

.log-url:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.log-status {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.log-status.is-loading {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.log-status.is-ok {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}

.log-status.is-skip {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
}

.console-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 11px 16px;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  font-size: 12.5px;
  color: #94a3b8;
}

.console-foot b {
  color: #e2e8f0;
  font-family: var(--mono);
}

.console-loop {
  color: #7dd3fc;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.console-domain {
  margin-left: auto;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 40%;
}

.link-btn {
  border: 0;
  background: transparent;
  color: #7dd3fc;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

.iframe-stage {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}

.visit-frame {
  width: 1px;
  height: 1px;
  border: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.link-group-title {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.link-group-title:first-child {
  margin-top: 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  background: #fff;
  box-shadow: var(--shadow);
}

.link-card .link-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}

.link-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.link-card small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 210px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--surface-soft);
  border: 1px dashed var(--line);
  border-radius: 13px;
}

.check-input {
  width: 100%;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.8;
  resize: vertical;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.check-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.check-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.check-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  font-size: 13.5px;
}

.check-domain {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-msg {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 55%;
}

.check-badge {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.check-badge.is-ok { color: #047857; background: #d1fae5; }
.check-badge.is-nxdomain { color: #b91c1c; background: #fee2e2; }
.check-badge.is-empty { color: #b45309; background: #fef3c7; }
.check-badge.is-error { color: #475569; background: #e2e8f0; }
.check-badge.is-loading { color: #1d4ed8; background: #dbeafe; }

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.025em;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.09);
  padding: 3px 9px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 13px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 14px;
}

.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: guide;
}

.guide-list li {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.guide-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.guide-list h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.guide-list p {
  color: var(--muted);
  font-size: 14px;
}

.faq-section {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.035));
}

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: #bfdbfe;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--primary);
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
}

.cta-section {
  padding-top: 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(120deg, #1d4ed8, #2563eb 45%, #7c3aed);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-inner h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.cta-inner .btn-primary {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 14px 30px -12px rgba(2, 6, 23, 0.6);
}

.cta-inner .btn-primary:hover:not(:disabled) {
  background: #f8fafc;
}

.site-footer {
  margin-top: 40px;
  background: #0b1220;
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 0 34px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-text strong {
  color: #f1f5f9;
}

.footer-brand .brand-text small {
  color: #64748b;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links h4 {
  font-size: 13px;
  color: #e2e8f0;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 9px;
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0 30px;
  border-top: 1px solid #1e293b;
  font-size: 12.5px;
  color: #64748b;
}

@media (max-width: 920px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(15, 23, 42, 0.4);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 11px 14px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

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

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

@media (max-width: 720px) {
  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 58px 0 118px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stat {
    flex: 1 1 40%;
    min-width: 0;
    padding: 10px 14px;
  }

  .tool-panel {
    padding: 22px 18px;
  }

  .tool-section {
    margin-top: -72px;
  }

  .url-form {
    flex-direction: column;
  }

  .url-form .btn {
    width: 100%;
  }

  .hint {
    margin-left: 0;
    flex-basis: 100%;
  }

  .console-body {
    height: 260px;
  }

  .log-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
  }

  .console-domain {
    display: none;
  }

  .check-actions {
    flex-wrap: wrap;
  }

  .check-msg {
    max-width: 40%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 26px;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
    padding: 40px 0 26px;
  }

  .footer-links {
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

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

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
