:root {
  --court: #0b4538;
  --court-deep: #062a23;
  --paper: #fbfaf5;
  --mineral: #f5f2e9;
  --sage: #eef1e8;
  --muted: #687169;
  --tennis: #c9ef19;
  --line: rgba(11, 69, 56, 0.15);
  color: var(--court-deep);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { max-width: 680px; min-height: 100vh; margin: 0 auto; background: var(--paper); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid rgba(11, 69, 56, 0.08);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 8px; color: var(--court); text-decoration: none; font-size: 13px; font-weight: 750; }
.brand img { width: 27px; height: 27px; border-radius: 8px; }
.text-action, .close-button { min-height: 44px; padding: 0 4px; color: var(--court); background: transparent; border: 0; cursor: pointer; }

.hero { position: relative; height: min(116vw, 620px); min-height: 430px; overflow: hidden; background: var(--mineral); }
.hero-art { display: block; width: 100%; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.hero-copy { position: absolute; inset: 28px auto auto 22px; width: min(64%, 380px); }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--court); font-size: 11px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1, h2 { font-family: "Songti SC", "STSong", serif; font-weight: 600; letter-spacing: -0.04em; }
.hero h1 { margin: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.2; }
.hero-copy > p:last-child { margin: 18px 0 0; color: rgba(6, 42, 35, 0.76); font-size: 13px; line-height: 1.65; }

.reward-note { display: flex; gap: 12px; padding: 26px 24px 30px; }
.reward-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 8px; background: var(--tennis); border-radius: 50%; }
.reward-note p { margin: 0; color: #536059; font-size: 13px; line-height: 1.75; }
.reward-note strong { color: var(--court); font-size: 16px; }

.editorial-section, .journey, .growth-card { margin: 0 20px; padding: 30px 4px 10px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 22px; font-size: 26px; line-height: 1.25; }
.prompts ol, .rules-list { padding: 0; margin: 0; list-style: none; }
.prompts li { display: grid; align-items: center; grid-template-columns: 44px 1fr; min-height: 56px; border-bottom: 1px solid var(--line); }
.prompts li span, .journey-grid article > span { color: #95a66d; font-size: 12px; font-weight: 750; letter-spacing: 0.08em; }
.prompts li p { margin: 0; font-size: 15px; }

.journey { padding-top: 34px; border-top: 0; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.journey-grid article { min-height: 132px; padding: 15px 12px; background: var(--sage); border-radius: 14px; }
.journey-grid strong { display: block; margin-top: 24px; color: var(--court); font-size: 14px; }
.journey-grid p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.growth-card { margin-top: 26px; padding: 26px 22px; background: var(--mineral); border: 0; border-radius: 20px; }
.growth-card h2 { margin-bottom: 12px; }
.growth-card > p:not(.section-kicker, .inline-feedback) { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.inline-feedback { min-height: 18px; margin: 8px 0 0; color: var(--court); font-size: 12px; text-align: center; }

.cta-block { padding: 28px 20px calc(30px + env(safe-area-inset-bottom)); text-align: center; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 18px; border-radius: 28px; font-size: 15px; font-weight: 750; cursor: pointer; }
.primary-button { color: #fff; background: var(--court); border: 0; box-shadow: 0 8px 20px rgba(11, 69, 56, 0.16); }
.secondary-button { color: var(--court); background: transparent; border: 1px solid rgba(11, 69, 56, 0.3); box-shadow: none; }
.button-link { margin-top: 10px; text-decoration: none; }
.download-link { display: inline-block; min-height: 44px; padding-top: 14px; color: var(--court); font-size: 13px; }
.primary-button:active, .secondary-button:active { transform: scale(0.985); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--tennis); outline-offset: 3px; }

.sheet { width: min(100% - 16px, 620px); max-height: min(86vh, 760px); margin: auto auto 0; padding: 8px 20px calc(22px + env(safe-area-inset-bottom)); color: var(--court-deep); background: var(--paper); border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(6, 42, 35, 0.18); }
.sheet::backdrop { background: rgba(6, 42, 35, 0.36); backdrop-filter: blur(4px); }
.sheet-handle { width: 38px; height: 5px; margin: 0 auto 9px; background: rgba(11, 69, 56, 0.18); border-radius: 3px; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sheet-header h2 { margin: 0; font-size: 24px; }
.step-counter { margin: 0 0 4px; color: #95a66d; font-size: 11px; font-weight: 750; letter-spacing: 0.1em; }
.flow-step { padding-bottom: 4px; }
.flow-step label { display: block; margin-bottom: 8px; color: var(--court); font-size: 12px; font-weight: 700; }
textarea, input { width: 100%; color: var(--court-deep); background: #f7f7f2; border: 1px solid var(--line); border-radius: 14px; outline: none; font-size: 14px; }
textarea { min-height: 136px; padding: 14px; resize: vertical; line-height: 1.65; }
input { height: 52px; padding: 0 14px; }
.hashtags, .privacy-note { margin: 8px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.next-action { display: block; margin: 8px auto 0; }
.instruction { margin-bottom: 18px; padding: 16px; background: var(--sage); border-radius: 14px; }
.instruction strong { color: var(--court); }
.instruction p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.form-error { min-height: 18px; margin: -8px 0 8px; color: #a23d2b; font-size: 12px; }
.rules-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.rules-list strong { color: var(--court); font-size: 14px; }
.rules-list p, .rules-footnote { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.rules-footnote { margin-top: 18px; }

@media (min-width: 681px) {
  body { box-shadow: 0 0 80px rgba(6, 42, 35, 0.08); }
  .hero { height: 620px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
