:root {
  color-scheme: light;
  --ink: #132238;
  --ink-2: #344762;
  --muted: #6f8198;
  --line: #d9e7f5;
  --paper: #f6fbff;
  --white: #ffffff;
  --blue-900: #174c9f;
  --blue-700: #296fd6;
  --blue-500: #4fa3ff;
  --blue-100: #eaf6ff;
  --cyan: #48c7d8;
  --mint: #40b99b;
  --amber: #d99a2b;
  --rose: #d85d7b;
  --shadow: 0 24px 70px rgba(41, 111, 214, 0.14);
  --soft-shadow: 0 14px 36px rgba(50, 96, 150, 0.10);
  --display: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(217, 231, 245, 0.86);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dff2ff, #ffffff);
  border: 1px solid #c8e7ff;
  color: var(--blue-700);
  box-shadow: 0 10px 24px rgba(41, 111, 214, 0.14);
  font-size: 15px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 16px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue-700);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(79, 163, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5fbff 42%, #eaf6ff 100%);
}

#heroCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72) 54%, rgba(234, 246, 255, 0.34)),
    linear-gradient(0deg, rgba(246, 251, 255, 0.9), rgba(246, 251, 255, 0.2) 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(26px, 5vw, 66px);
  align-items: center;
  width: min(1140px, calc(100% - 40px));
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0 44px;
}

.hero-copy {
  max-width: 760px;
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(42px, 6.7vw, 78px);
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.3vw, 52px);
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
}

.hero-lede {
  max-width: 750px;
  margin-bottom: 30px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.78;
}

.hero-lede strong {
  color: var(--blue-900);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(41, 111, 214, 0.24);
}

.button.primary:hover {
  background: var(--blue-900);
}

.button.secondary {
  border: 1px solid #bddcf5;
  background: rgba(255, 255, 255, 0.74);
  color: var(--blue-900);
}

.button.secondary:hover {
  border-color: var(--blue-700);
}

.hero-card {
  align-self: center;
  padding: 26px;
  border: 1px solid rgba(188, 220, 245, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-card-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border-top: 1px solid var(--line);
}

.hero-card-row span,
.goal-grid span,
.step-number {
  display: inline-block;
  color: var(--blue-700);
  font-weight: 900;
  line-height: 1;
}

.hero-card-row span {
  font-size: 28px;
}

.hero-card-row strong {
  color: var(--ink);
  font-size: 18px;
}

.hero-card em {
  display: block;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #edf8ff;
  color: var(--blue-900);
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.deadline-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.deadline-strip div {
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(188, 220, 245, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
}

.deadline-strip span,
.resource-link span,
.tag {
  display: inline-block;
}

.deadline-strip span {
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.deadline-strip strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.notice-band {
  background: linear-gradient(90deg, #eaf6ff, #ffffff 48%, #edf8ff);
}

.notice-inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
}

.notice-inner p {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 900;
  line-height: 1.58;
}

.goal-section {
  background: var(--white);
}

.goal-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) 0;
}

.goal-title,
.section-heading {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

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

.goal-grid article,
.step-card,
.wide-card,
.side-panel,
.idea-board article,
.resource-link,
.checklist,
.final-note {
  border-radius: 22px;
}

.goal-grid article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(234, 246, 255, 0.9), rgba(255, 255, 255, 1) 60%);
  box-shadow: var(--soft-shadow);
}

.goal-grid span {
  margin-bottom: 24px;
  font-size: 42px;
}

.goal-grid p,
.goal-bottom,
.step-card p,
.wide-card p,
.side-panel p,
.idea-board p,
.resource-link strong {
  color: var(--ink-2);
  line-height: 1.75;
}

.goal-bottom {
  margin: 18px 0 0;
  padding: 20px 24px;
  border: 1px solid #cfe9f8;
  border-left: 5px solid var(--cyan);
  border-radius: 18px;
  background: #f2fbff;
  font-weight: 800;
}

.section {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-paper,
.section-dark {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1140px) / 2));
}

.section-paper {
  background:
    linear-gradient(90deg, rgba(79, 163, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(79, 163, 255, 0.07) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

.section-dark {
  background: linear-gradient(180deg, #f6fbff, #eef8ff);
  color: var(--ink);
}

.section-heading.light h2,
.section-heading.light .eyebrow {
  color: var(--ink);
}

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

.step-card {
  position: relative;
  min-height: 370px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.step-card.priority {
  border-color: #acd7ff;
  background:
    linear-gradient(135deg, rgba(234, 246, 255, 1), rgba(255, 255, 255, 1) 52%);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.step-number {
  font-size: 44px;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf6ff;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
}

.tag.urgent {
  background: #dff2ff;
  color: var(--blue-900);
}

.callout {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cfe9f8;
  border-left: 5px solid var(--cyan);
  border-radius: 16px;
  background: #f2fbff;
}

.callout span {
  color: var(--ink-2);
  line-height: 1.68;
}

.prompt-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #cfe9f8;
  border-radius: 18px;
  background: #f7fcff;
}

.prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #d9edf9;
}

.copy-btn {
  min-width: 58px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-700);
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--blue-900);
}

.prompt-card p {
  margin: 0;
  padding: 14px;
  color: var(--ink-2);
  font-size: 15px;
}

.inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-700);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}

.wide-card,
.side-panel,
.idea-board article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.wide-card {
  padding: 32px;
}

.side-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(234, 246, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink-2);
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.68;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-500);
  content: "";
}

.idea-board {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.idea-board article {
  min-height: 260px;
  padding: 28px;
}

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

.resource-link {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.resource-link:hover {
  transform: translateY(-3px);
  border-color: #acd7ff;
  box-shadow: var(--shadow);
}

.resource-link.main {
  background: linear-gradient(135deg, var(--blue-700), #63b5ff);
  color: var(--white);
}

.resource-link span {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.resource-link.main span,
.resource-link.main strong,
.resource-link.main em {
  color: var(--white);
}

.resource-link strong {
  display: block;
  max-width: 460px;
  font-size: 22px;
}

.resource-link em {
  align-self: end;
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.resource-link.main em {
  opacity: 0.76;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 82px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 800;
  line-height: 1.5;
}

.checklist label:nth-child(2n) {
  border-right: 0;
}

.checklist input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: var(--blue-700);
}

.final-note {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #cfe9f8;
  background: #edf8ff;
  color: var(--ink-2);
}

.final-note strong {
  flex: 0 0 auto;
  color: var(--blue-900);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--blue-700);
  font-weight: 900;
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  transform: translateY(18px);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    max-width: 560px;
  }
}

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero-inner {
    padding-top: 58px;
  }

  .deadline-strip,
  .goal-title,
  .goal-grid,
  .section-heading,
  .step-grid,
  .material-layout,
  .idea-board,
  .link-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .goal-title,
  .section-heading {
    gap: 10px;
  }

  .deadline-strip div,
  .step-card,
  .wide-card,
  .side-panel,
  .idea-board article,
  .resource-link {
    min-height: unset;
  }

  .checklist label,
  .checklist label:nth-child(2n) {
    border-right: 0;
  }

  .final-note {
    display: grid;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .topbar {
    padding-inline: 16px;
  }

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

  .hero-inner,
  .section,
  .goal-inner,
  .notice-inner {
    width: min(100% - 28px, 1140px);
  }

  .hero-inner {
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .section,
  .section-dark,
  .section-paper,
  .goal-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .step-card,
  .wide-card,
  .side-panel,
  .idea-board article,
  .resource-link,
  .hero-card {
    padding: 22px;
  }

  .step-number {
    font-size: 36px;
  }

  .deadline-strip {
    gap: 10px;
  }

  .footer {
    align-items: flex-start;
  }
}
