:root {
  --navy: #0b3154;
  --blue: #1769aa;
  --blue-2: #2786ce;
  --pale: #eaf3fa;
  --mist: #f4f7fa;
  --ink: #203040;
  --muted: #617184;
  --line: #d6e0e8;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f7f9fb;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
main { min-height: 100vh; }
.hidden { display: none !important; }

.topbar {
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(214, 224, 232, 0.9);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; color: var(--navy); }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 10px; background: var(--blue); color: white; font-size: 13px; letter-spacing: -0.03em;
}
.topbar nav { display: flex; gap: 28px; font-size: 14px; color: #4f6174; }
.topbar nav a:hover { color: var(--blue); }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 24px 64px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 66px;
  align-items: center;
}
.hero-kicker, .eyebrow, .mini-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.hero h1 {
  margin: 18px 0 20px;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.metrics { display: flex; gap: 42px; margin-top: 38px; }
.metrics div { display: flex; flex-direction: column; gap: 4px; }
.metrics strong { color: var(--navy); font-size: 27px; }
.metrics span { color: var(--muted); font-size: 13px; }
.hero-guide {
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(145deg, #0c426e, #0b3154);
  color: white;
  box-shadow: 0 24px 50px rgba(11, 49, 84, 0.18);
}
.hero-guide .mini-label { color: #98d1fb; }
.guide-step { display: flex; gap: 15px; align-items: flex-start; margin-top: 24px; }
.guide-step b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2d83bf; flex: 0 0 auto; }
.guide-step p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.guide-step strong { font-size: 16px; }
.guide-step span { color: #c7dbea; font-size: 13px; line-height: 1.5; }
.primary-link { display: block; margin-top: 28px; padding: 13px 16px; text-align: center; border-radius: 12px; background: white; color: var(--navy); font-weight: 750; }

.ask-section, .actions-section, .about-section, .answer-section {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.ask-section { padding-top: 66px; padding-bottom: 62px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 54px; }
.section-intro h2, .answer-heading h2, .about-section h2 { color: var(--navy); font-size: 34px; margin: 10px 0 12px; letter-spacing: -0.035em; }
.section-intro p { margin: 0; color: var(--muted); line-height: 1.75; }
.ask-box { padding: 26px; border-radius: 20px; background: white; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(36, 65, 91, 0.07); }
.ask-box > label { display: block; margin-bottom: 12px; font-weight: 750; color: var(--navy); }
.ask-row { display: flex; gap: 10px; }
.ask-row input { flex: 1; min-width: 0; padding: 14px 15px; border: 1px solid #c8d5df; border-radius: 11px; color: var(--ink); outline: none; }
.ask-row input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(39, 134, 206, 0.12); }
.ask-row button { border: 0; padding: 0 21px; border-radius: 11px; background: var(--blue); color: white; font-weight: 750; cursor: pointer; }
.example-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.example-list button { border: 0; padding: 7px 10px; border-radius: 999px; background: var(--pale); color: #37607e; font-size: 12px; cursor: pointer; }
.example-list button:hover { background: #dcecf7; }

.answer-section { scroll-margin-top: 88px; padding-top: 16px; padding-bottom: 72px; }
.answer-heading { padding: 25px 28px 10px; border-radius: 20px 20px 0 0; background: var(--navy); color: white; }
.answer-heading span { color: #9bcbee; font-size: 13px; font-weight: 700; }
.answer-heading h2 { color: white; margin-top: 7px; font-size: 25px; }
.answer-list { overflow: hidden; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: white; }
.answer-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 23px 28px; border-top: 1px solid var(--line); }
.answer-item:first-child { border-top: 0; }
.answer-rank { justify-self: start; padding: 5px 9px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: 12px; font-weight: 750; }
.answer-item h3 { margin: 0 0 8px; color: var(--navy); }
.answer-item p { margin: 3px 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.answer-item a { padding: 10px 13px; border-radius: 10px; background: var(--blue); color: white; font-size: 13px; font-weight: 700; }
.no-answer { padding: 28px; background: white; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; }
.no-answer h3 { margin: 0 0 8px; }
.no-answer p { margin: 0; color: var(--muted); }

.actions-section { padding-top: 36px; padding-bottom: 84px; }
.actions-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filters button { border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; background: white; color: #536579; cursor: pointer; }
.filters button.active { background: var(--navy); border-color: var(--navy); color: white; }
.appearance-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 22px; }
.appearance-strip div { padding: 17px; border-radius: 14px; background: #edf4f8; }
.appearance-strip strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 7px; }
.appearance-strip span { display: block; color: #5c6f80; font-size: 12px; line-height: 1.65; }
.cards { display: flex; flex-direction: column; gap: 22px; }
.action-card { scroll-margin-top: 88px; padding: 26px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(29, 59, 86, 0.055); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.card-heading h2 { margin: 6px 0 0; color: var(--navy); font-size: 27px; letter-spacing: -0.03em; }
.role-pill { padding: 7px 10px; border-radius: 999px; background: #edf4f8; color: #47667c; font-size: 12px; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr); gap: 26px; }
.gif-wrap { min-width: 0; }
.gif-stage { position: relative; aspect-ratio: 16 / 9.25; overflow: hidden; border-radius: 16px; background: #dce8f1; border: 1px solid #cbd8e2; }
.gif-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-placeholder { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg, #e8f1f7, #d5e4ee); color: var(--navy); }
.gif-placeholder span { font-size: 17px; font-weight: 750; }
.gif-placeholder small { margin-top: 6px; color: var(--muted); }
.speed-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(9, 41, 68, 0.82); color: white; font-size: 11px; font-weight: 700; backdrop-filter: blur(5px); }
.gif-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; }
.gif-controls > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gif-controls strong { color: var(--navy); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gif-controls span { color: var(--muted); font-size: 11px; }
.gif-controls button { flex: 0 0 auto; border: 1px solid #bfcfda; padding: 9px 12px; border-radius: 10px; background: white; color: var(--blue); font-weight: 750; font-size: 13px; cursor: pointer; }
.gif-controls button:hover { background: var(--pale); }
.guide-copy { display: flex; flex-direction: column; gap: 14px; }
.guide-copy > div > span { display: block; color: var(--blue); font-size: 12px; font-weight: 750; margin-bottom: 5px; }
.guide-copy p { margin: 0; line-height: 1.65; color: #4d6072; }
.trigger-block, .steps-block { padding-bottom: 12px; border-bottom: 1px solid #e7edf2; }
.speech-block { padding: 14px 16px; border-radius: 13px; background: #eef6fb; border-left: 4px solid var(--blue-2); }
.speech-block p { color: var(--navy); font-weight: 650; margin-top: 3px; }
.steps-block ol { margin: 0; padding-left: 22px; color: #4d6072; }
.steps-block li { padding-left: 4px; margin-top: 5px; line-height: 1.6; }
.watch-block { padding: 13px 15px; border-radius: 12px; background: #fff9e9; }
.watch-block > span { color: #805d00 !important; }
.watch-block p { color: #66552b; font-size: 13px; }

.about-section { padding-top: 65px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.about-grid div { padding: 21px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.about-grid strong { color: var(--navy); }
.about-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
footer { max-width: 1180px; margin: 0 auto; padding: 28px 24px 44px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer p { margin: 0; }
footer a { color: var(--blue); font-weight: 700; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 55px; }
  .ask-section { grid-template-columns: 1fr; gap: 24px; }
  .actions-title { align-items: flex-start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .appearance-strip, .about-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .answer-item { grid-template-columns: 82px 1fr; }
  .answer-item a { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .topbar { height: 60px; padding: 0 16px; }
  .brand > span:last-child { display: none; }
  .topbar nav { gap: 16px; font-size: 13px; }
  .hero, .ask-section, .actions-section, .about-section, .answer-section { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .metrics { gap: 20px; justify-content: space-between; }
  .metrics strong { font-size: 22px; }
  .hero-guide { padding: 24px; }
  .ask-row { flex-direction: column; }
  .ask-row button { padding: 13px; }
  .section-intro h2, .about-section h2 { font-size: 29px; }
  .action-card { padding: 18px; border-radius: 18px; }
  .card-heading { align-items: flex-start; }
  .card-heading h2 { font-size: 24px; }
  .role-pill { display: none; }
  .gif-controls { align-items: flex-start; }
  .gif-controls strong { white-space: normal; }
  .answer-item { grid-template-columns: 1fr; padding: 20px; }
  .answer-item a { grid-column: 1; }
  footer { padding-left: 16px; padding-right: 16px; flex-direction: column; gap: 12px; }
}

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