:root {
  --coral: #ef6d6f;
  --rose: #ee848e;
  --blush: #f9e0e2;
  --cream: #f8f4ef;
  --sand: #f1eee9;
  --ink: #33363a;
  --title: #4f555c;
  --body: #444444;
  --muted: #77716f;
  --line: #ead8d7;
  --white: #ffffff;
  --soft-shadow: 0 18px 52px rgba(84, 89, 95, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--body);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 42%, #ffffff 100%);
  font-family: Montserrat, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.72;
}

main {
  max-width: 100%;
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(234, 216, 215, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 1.8px;
}

.brand img {
  width: 112px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  color: var(--rose);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.top-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(239, 109, 111, 0.22);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--coral);
  font-weight: 900;
  border-bottom: 1px solid rgba(239, 109, 111, 0.34);
}

.hero,
.conversation,
.abby-section,
.method-section,
.case-section,
.question-rank-section,
.ask-section {
  width: min(1080px, calc(100vw - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: auto;
  padding: clamp(42px, 6vw, 76px) 0 clamp(46px, 6vw, 78px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--title);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.14;
}

h2 {
  max-width: 820px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.22;
}

h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.35;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--body);
  font-size: clamp(17px, 1.55vw, 21px);
}

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

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(239, 109, 111, 0.18);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.hero-photo figcaption {
  margin-top: 14px;
  color: var(--title);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.conversation,
.abby-section,
.method-section,
.case-section,
.question-rank-section,
.ask-section {
  padding: clamp(42px, 6vw, 78px) 0;
}

.conversation-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.conversation-head p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.scene-list {
  border-top: 1px solid var(--line);
}

.scene-list article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.scene-list span {
  color: var(--rose);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.scene-list p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.abby-section {
  display: grid;
  gap: 24px;
}

.abby-story {
  max-width: 860px;
}

.abby-story p:not(.eyebrow),
.method-text p,
.ask-intro p {
  max-width: 820px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  padding: 9px 13px;
  color: var(--title);
  background: rgba(249, 224, 226, 0.72);
  border: 1px solid rgba(239, 109, 111, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
}

.photo-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 600ms ease, filter 600ms ease;
}

.photo-row img:hover {
  filter: saturate(1.04) contrast(1.02);
  transform: translateY(-4px);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.method-text {
  position: sticky;
  top: 108px;
}

.method-flow {
  display: grid;
  gap: 16px;
}

.method-flow article {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.method-flow ol {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.method-flow li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(234, 216, 215, 0.74);
}

.method-flow strong {
  color: var(--coral);
  font-size: 18px;
}

.method-flow span {
  color: var(--muted);
}

.method-reference {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding: clamp(14px, 2vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.method-reference img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

.method-reference figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.case-section {
  display: grid;
  gap: 24px;
}

.case-intro {
  max-width: 860px;
}

.case-intro p:not(.eyebrow) {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-grid article {
  min-height: 330px;
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 248, 0.9)),
    #fff;
}

.case-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.case-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.case-link {
  justify-self: start;
}

.question-rank-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.rank-copy {
  position: sticky;
  top: 108px;
}

.rank-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.question-board {
  display: grid;
  gap: 10px;
}

.rank-question,
.question-board-empty {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.rank-question {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.rank-number {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.rank-body span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.rank-body h3 {
  color: var(--title);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.42;
}

.vote-button {
  display: grid;
  justify-items: center;
  min-width: 98px;
  padding: 10px 12px;
  color: var(--coral);
  background: #fff;
  border: 1px solid rgba(239, 109, 111, 0.34);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.vote-count {
  font-size: 22px;
  line-height: 1;
}

.vote-button span:last-child {
  margin-top: 4px;
  font-size: 12px;
}

.vote-button.is-voted,
.vote-button:disabled {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
  cursor: default;
}

.question-board-empty {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: var(--muted);
}

.question-board-empty strong {
  color: var(--title);
}

.ask-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 60px);
  align-items: start;
}

.ask-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

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

input,
select,
textarea {
  width: 100%;
  color: var(--body);
  background: #fff;
  border: 1px solid #dec8c7;
  border-radius: 8px;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

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

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-row input {
  width: auto;
  min-height: auto;
  margin-top: 6px;
}

.ask-form .primary-btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.primary-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.line-cta {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 216, 215, 0.86);
}

.line-cta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  color: #fff;
  background: #06c755;
  border: 1px solid #06c755;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.18);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.line-button:hover {
  background: #05b84e;
  border-color: #05b84e;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: var(--muted);
  background: var(--sand);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--coral);
  font-weight: 900;
}

.hero-copy h1,
.hero-copy p,
.conversation-head h2,
.conversation-head p,
.scene-list h3,
.scene-list p,
.abby-story h2,
.abby-story p,
.method-text h2,
.method-text p,
.case-intro h2,
.case-intro p,
.case-grid h3,
.case-grid p,
.rank-copy h2,
.rank-copy p,
.rank-body h3,
.ask-intro h2,
.ask-intro p,
.form-note {
  text-align: justify;
  text-align-last: left;
}

.hero {
  padding-top: clamp(34px, 5vw, 62px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.conversation,
.abby-section,
.method-section,
.case-section,
.question-rank-section,
.ask-section {
  padding-top: clamp(30px, 4.6vw, 58px);
  padding-bottom: clamp(30px, 4.6vw, 58px);
}

.scene-list article {
  padding-top: clamp(18px, 2.5vw, 28px);
  padding-bottom: clamp(18px, 2.5vw, 28px);
}

.method-flow article,
.ask-form {
  padding: clamp(20px, 2.8vw, 30px);
}

.method-reference {
  padding: clamp(12px, 1.8vw, 18px);
}

.case-grid article {
  padding: clamp(22px, 2.8vw, 30px);
}

@media (max-width: 980px) {
  .site-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .method-section,
  .case-section,
  .question-rank-section,
  .ask-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .method-text,
  .rank-copy {
    position: static;
  }

  .hero-photo img {
    aspect-ratio: 16 / 10;
  }

  .photo-row {
    grid-template-columns: 1fr 1fr;
  }

  .photo-row img:first-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .site-top {
    min-height: auto;
  }

  .brand img {
    width: 96px;
  }

  .top-cta {
    width: 100%;
  }

  .top-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .hero-actions,
  .proof-strip {
    display: grid;
  }

  .primary-btn,
  .text-link {
    width: 100%;
  }

  .hero-photo figcaption {
    text-align: left;
  }

  .scene-list article,
  .method-flow li,
  .rank-question {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .vote-button {
    width: 100%;
  }

  .photo-row {
    grid-template-columns: 1fr;
  }

  .case-grid article {
    min-height: auto;
  }

  .photo-row img {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .method-reference {
    padding: 10px;
  }
}
