:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e5eaf2;
  --pink: #ff7ac8;
  --blue: #4ea7ff;
  --cyan: #64d8ff;
  --deep: #0b1020;
  --shadow: 0 24px 80px rgba(35, 54, 92, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 122, 200, 0.16), transparent 28%),
    linear-gradient(300deg, rgba(78, 167, 255, 0.18), transparent 32%),
    var(--bg);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 10px 28px rgba(78, 167, 255, 0.28);
}

.nav-links {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(229, 234, 242, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(16, 24, 40, 0.05);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 86px 0 120px;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 122, 200, 0.2), transparent 40%),
    linear-gradient(250deg, rgba(78, 167, 255, 0.22), transparent 42%);
  mask-image: linear-gradient(#000, transparent 82%);
}

.hero-inner,
.page-hero-inner,
.section {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  max-width: 760px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #38618f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  background: linear-gradient(105deg, var(--pink), #7d7cff 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: var(--deep);
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 750;
  line-height: 1.16;
}

.hero-copy,
.page-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 16px 36px rgba(78, 167, 255, 0.26);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(16, 24, 40, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: rgba(78, 167, 255, 0.34);
  box-shadow: 0 16px 32px rgba(35, 54, 92, 0.08);
}

.section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.guide-card h2,
.note-panel h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.tool-card,
.contact-panel,
.guide-card,
.note-panel {
  border: 1px solid rgba(229, 234, 242, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.tool-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 30px;
}

.tool-meta,
.feature-list,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-meta span,
.feature-list li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(78, 167, 255, 0.18);
  border-radius: 999px;
  color: #28557d;
  background: rgba(78, 167, 255, 0.08);
  font-size: 13px;
  font-weight: 650;
}

.tool-card h3 {
  margin: 18px 0 0;
  color: var(--deep);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.22;
  letter-spacing: 0;
}

.tool-card p,
.contact-panel p,
.guide-card p,
.note-panel p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-color: rgba(255, 122, 200, 0.2);
  color: #74506a;
  background: rgba(255, 122, 200, 0.08);
}

.tool-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 148px;
}

.contact-section {
  padding-bottom: 108px;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  margin-top: 22px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.8);
  color: var(--deep);
  font-weight: 700;
}

.page-hero {
  padding: 82px 0 72px;
}

.page-hero-inner {
  max-width: 880px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #38618f;
  font-size: 14px;
  font-weight: 750;
}

.guide-section {
  padding-top: 32px;
}

.guide-overview {
  padding-top: 32px;
  padding-bottom: 26px;
}

.overview-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) 1.25fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(229, 234, 242, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 122, 200, 0.08), transparent 36%),
    linear-gradient(250deg, rgba(78, 167, 255, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.overview-card h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.requirement-list,
.step-list,
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.requirement-list li,
.step-list li,
.notice-list li {
  position: relative;
  color: var(--muted);
}

.requirement-list li {
  min-height: 54px;
  padding: 14px 14px 14px 40px;
  border: 1px solid rgba(229, 234, 242, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

.requirement-list a {
  display: inline-flex;
  margin-left: 10px;
  color: #285d95;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.requirement-list li::before,
.step-list li::before,
.notice-list li::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.requirement-list li::before {
  top: 21px;
  left: 18px;
  width: 8px;
  height: 8px;
}

.guide-steps {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(229, 234, 242, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.guide-step:nth-child(even) .guide-copy {
  order: 2;
}

.guide-step:nth-child(even) .guide-visual {
  order: 1;
}

.guide-copy h2 {
  margin: 10px 0 0;
  color: var(--deep);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.guide-subsection {
  margin-top: 24px;
}

.guide-subsection h3 {
  margin: 0;
  color: var(--deep);
  font-size: 19px;
  line-height: 1.3;
}

.guide-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.guide-copy a {
  color: #285d95;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.step-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  counter-reset: guide-step-list;
}

.step-list li {
  min-height: 38px;
  padding: 7px 0 7px 44px;
  counter-increment: guide-step-list;
}

.step-list li::before {
  top: 4px;
  left: 0;
  width: 30px;
  height: 30px;
  content: counter(guide-step-list);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.guide-visual {
  margin: 0;
}

.guide-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(229, 234, 242, 0.95);
  border-radius: 8px;
  background: #f8fafc;
}

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

.guide-card {
  min-height: 238px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 34px;
  color: transparent;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.guide-card h2,
.note-panel h2 {
  font-size: 22px;
}

.note-section {
  padding-top: 18px;
  padding-bottom: 108px;
}

.note-panel {
  padding: 30px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 122, 200, 0.2), transparent 38%),
    linear-gradient(250deg, rgba(78, 167, 255, 0.28), transparent 38%),
    var(--deep);
}

.note-panel h2,
.note-panel p {
  color: #fff;
}

.note-panel p {
  opacity: 0.78;
}

.notice-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.notice-list li {
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.notice-list li::before {
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

@media (max-width: 820px) {
  .site-header,
  .hero-inner,
  .page-hero-inner,
  .section {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 18px 0;
  }

  .nav-links a {
    padding: 7px 10px;
  }

  .hero {
    min-height: 560px;
    padding: 72px 0 90px;
  }

  .hero-inner {
    margin-left: auto;
  }

  .hero-copy,
  .page-hero p {
    font-size: 16px;
  }

  .tool-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .tool-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .overview-card,
  .guide-step {
    grid-template-columns: 1fr;
  }

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

  .guide-step:nth-child(even) .guide-copy,
  .guide-step:nth-child(even) .guide-visual {
    order: initial;
  }

  .guide-step {
    padding: 20px;
  }

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

  .guide-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    gap: 0;
  }

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

  .hero-actions,
  .tool-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }
}
