/* home.css  -  the front page. Phone rules at the bottom. */
.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 34px 28px 30px; text-align: center; }
.hero .kicker { font-size: 14.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--faint); }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: 62px; line-height: 1.02; letter-spacing: -0.02em; margin: 12px 0 12px; }
.hero h1 span { color: var(--soft); }
.hero .sub { font-size: 18.5px; line-height: 1.5; color: var(--soft); max-width: 780px; margin: 0 auto; }
.askbox {
  max-width: 760px; margin: 22px auto 0; display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 24px;
  border-radius: 999px; background: var(--field-bg); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.askbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17.5px; color: var(--field-ink); }
.askbox input::placeholder { color: var(--field-hint); }
.askbox .btn { height: 50px; }
.story-link { display: table; margin: 18px auto 0; font-weight: 600; font-size: 15.5px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.story-link span { color: var(--accent); }
.tries { max-width: 900px; margin: 14px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.try { font-size: 14.5px; padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.try:hover { border-color: var(--line-2); }
.try b { color: var(--faint); font-weight: 600; margin-right: 7px; }
.stage { position: relative; height: 330px; max-width: 1240px; margin: 18px auto 0; }
.tower { position: absolute; left: 50%; bottom: 0; height: 100%; transform: translateX(-50%); }
.door { position: absolute; width: 250px; padding: 22px; text-align: left; text-decoration: none; display: block; transition: transform 0.25s ease, background-color 0.9s ease, color 0.9s ease; }
.door:hover { transform: translateY(-4px); }
.door .door-label { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--faint); }
.door h3 { font-family: var(--display); font-weight: 700; font-size: 25px; margin: 4px 0 6px; }
.door p { font-size: 15px; line-height: 1.45; color: var(--soft); }
.door .door-go { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--soft); }
.door.light { background: var(--feature-bg); color: var(--feature-ink); border-color: transparent; }
.door.light .door-label, .door.light .door-go { color: var(--feature-faint); }
.door.light p { color: var(--feature-soft); }
.door.find { left: 0; top: 0; transform: rotate(-2deg); }
.door.build { left: 21%; top: 96px; transform: rotate(1.5deg); }
.door.learn { right: 22.5%; top: 90px; transform: rotate(-1.5deg); }
.door.map { right: 0; top: 4px; transform: rotate(2deg); }
.door.find:hover, .door.build:hover, .door.learn:hover, .door.map:hover { transform: translateY(-4px); }

@media (max-width: 760px) {
  .hero { padding: 24px 16px 32px; }
  .hero h1 { font-size: 40px; }
  .hero h1 br { display: none; }
  .hero .sub { font-size: 16px; }
  .askbox { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 14px; }
  .askbox input { font-size: 16px; padding: 4px 4px 8px; }
  .tries { justify-content: flex-start; }
  .try { font-size: 14px; }
  .stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .tower { display: none; }
  .door { position: relative; left: auto !important; right: auto !important; top: auto !important; width: auto; padding: 16px; transform: none !important; }
  .door h3 { font-size: 20px; }
  .door p { font-size: 13.5px; }
}
