:root {
  color-scheme: light;
  --bg: #faf7f1;
  --paper: #fffdf8;
  --ink: #211f1d;
  --muted: #6a6259;
  --line: #ddd5c9;
  --accent: #356d8c;
  --accent-soft: #d8edf5;
  --support: #ba5e4d;
  --shadow: 0 22px 56px rgba(42, 36, 29, 0.13);
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans TC", sans-serif;
  --serif: "STSongti-TC-Bold", "Songti TC", "Noto Serif TC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(216, 237, 245, 0.72), transparent 28rem),
    linear-gradient(180deg, #fbf8f2 0%, #f7f2e9 54%, #efe7db 100%);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

.page {
  min-height: 100vh;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px 24px 10px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(53, 109, 140, 0.2);
  height: 40px;
  width: 40px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.container {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  padding: 56px 24px 66px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
.headline {
  font-family: var(--serif);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.08;
  margin: 0 0 24px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.72;
  margin: 0 0 30px;
  max-width: 690px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 36px rgba(53, 109, 140, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.65);
}

.store-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-art {
  background: linear-gradient(180deg, #fffdf8, #f2ece2);
  border: 1px solid rgba(221, 213, 201, 0.8);
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

.phone-screen {
  aspect-ratio: 0.48;
  background: #fbf8f2;
  border: 1px solid rgba(221, 213, 201, 0.58);
  border-radius: 32px;
  color: #f2eee8;
  overflow: hidden;
  padding: 16px 18px 18px;
  position: relative;
}

.mock-status {
  align-items: center;
  color: #0f0f0e;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 18px;
}

.mock-status span:last-child {
  color: #8e8a84;
  justify-self: end;
}

.dynamic-island {
  background: #050505;
  border-radius: 999px;
  display: block;
  height: 20px;
  width: 74px;
}

.mock-nav {
  align-items: center;
  color: #1f1d1a;
  display: grid;
  font-size: 14px;
  grid-template-columns: 42px 1fr 58px;
  margin-bottom: 38px;
  text-align: center;
}

.round-icon,
.end-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 213, 201, 0.7);
  border-radius: 999px;
  display: flex;
  height: 40px;
  justify-content: center;
}

.round-icon {
  font-size: 30px;
  font-weight: 300;
}

.end-pill {
  color: var(--accent);
  font-weight: 800;
}

.question-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(42, 36, 29, 0.1);
  padding: 22px;
}

.question-meta {
  color: var(--accent);
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  margin-bottom: 18px;
}

.question {
  color: #191817;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.42;
  margin: 0 0 20px;
}

.follow-label,
.remaining {
  color: #7a746c;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
}

.follow-up {
  color: #6a6259;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.remaining {
  margin: 0;
}

.mock-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mock-button {
  align-items: center;
  border-radius: 14px;
  display: flex;
  font-size: 17px;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
}

.mock-button.primary {
  background: var(--accent);
  color: #fff;
}

.mock-button.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: #1f1d1a;
}

.split-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.hide-action {
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  padding-top: 4px;
  text-align: center;
}

.mock-tabs {
  align-items: center;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(221, 213, 201, 0.76);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 10px 26px rgba(42, 36, 29, 0.12);
  color: #1f1d1a;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 2px;
  grid-template-columns: repeat(5, 1fr);
  left: 16px;
  padding: 10px 12px;
  position: absolute;
  right: 16px;
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #cbc4bc;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.chip.topic {
  background: rgba(121, 186, 214, 0.18);
  color: #8ed0eb;
}

.section {
  padding: 64px 0;
}

.section h2 {
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.18;
  margin: 0 0 18px;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 760px;
}

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

.card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(221, 213, 201, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(42, 36, 29, 0.08);
  padding: 26px;
}

.answer-card {
  background: #fffdf8;
  border: 1px solid rgba(53, 109, 140, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(42, 36, 29, 0.07);
  padding: 24px;
}

.card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.answer-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.card p,
.answer-card p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
}

.step {
  align-items: flex-start;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: 44px 1fr;
  padding: 20px;
}

.step::before {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: white;
  content: counter(steps);
  counter-increment: steps;
  display: flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.quote-band {
  background: #1f211d;
  color: #f4f0e8;
  margin: 80px 0 0;
  padding: 60px 0;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.8vw, 40px);
  line-height: 1.24;
  margin: 0;
  max-width: 920px;
}

.quote-band p {
  color: #bdb5aa;
  line-height: 1.7;
  max-width: 700px;
}

.legal-hero {
  padding: 56px 24px 30px;
}

.legal-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
}

.legal-content {
  max-width: 860px;
  padding-bottom: 92px;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin-top: 44px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: var(--muted);
  line-height: 1.72;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 20px;
  padding: 34px 24px 46px;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

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

.share-body {
  min-height: 100vh;
}

.share-page {
  margin: 0 auto;
  max-width: 720px;
  padding: 42px 20px 58px;
}

.share-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.share-brand {
  margin-bottom: 28px;
}

.share-meta {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 14px;
}

.share-question {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.18;
  margin: 0 0 24px;
}

.share-muted,
.share-install p {
  color: var(--muted);
  line-height: 1.7;
}

.share-notice,
.share-expiry {
  border-radius: 16px;
  line-height: 1.68;
  margin: 0 0 14px;
  padding: 14px 16px;
}

.share-notice {
  background: #f4eee4;
  border: 1px solid var(--line);
  color: var(--muted);
}

.share-expiry {
  background: var(--accent-soft);
  color: #25536b;
  font-weight: 800;
}

.share-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.share-form label {
  font-weight: 900;
}

.share-form input,
.share-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.share-form textarea {
  min-height: 150px;
  resize: vertical;
}

.share-submit {
  border: 0;
  cursor: pointer;
  margin-top: 8px;
}

.share-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.share-status {
  color: var(--accent);
  font-weight: 900;
  margin: 0;
}

.share-install {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

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

  .phone-art {
    max-width: 420px;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .question {
    font-size: 21px;
  }

  .mock-nav {
    margin-bottom: 28px;
  }

  .mock-tabs {
    font-size: 9px;
  }
}
