/* ============================================================
   ZZPass TimeCapsule page — extends landing.css
   Load order: landing.css → timecapsule.css → theme.css
   ============================================================ */

.tc-hand { font-family: 'Caveat', cursive; }

.tc-white { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- Hero ---------- */
.tc-hero { padding: 72px 0 80px; }
.tc-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.tc-hero-copy { flex: 999 1 480px; min-width: 0; }
.tc-hero h1 {
  margin: 14px 0 0; font-family: 'Instrument Sans', sans-serif; font-weight: 600;
  font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.04em; color: var(--ink);
}
.tc-underline { position: relative; display: inline-block; }
.tc-underline svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 18px; }
.tc-lede { margin: 28px 0 0; max-width: 540px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.tc-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, opacity .15s ease;
}
.tc-btn:hover { transform: translateY(-1px); }
.tc-btn-dark { background: var(--ink); color: #fff; }
.tc-btn-light { background: #fff; color: var(--ink); border-color: var(--rule-2); font-weight: 500; }
.tc-btn-blue { background: var(--accent); color: #fff; }
.tc-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.tc-psst { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 26px; color: #9A5B0B; text-decoration: none; }
.tc-psst:hover span { text-decoration: underline; }
.tc-hero .hero-ctas { margin: 32px 0 0; }

.tc-hero-visual { flex: 1 1 340px; position: relative; display: flex; justify-content: center; min-height: 560px; }
.tc-hero-shot { position: relative; z-index: 1; width: 270px; max-width: 100%; height: auto; filter: drop-shadow(0 30px 55px rgba(20,21,24,0.20)); }
.tc-note {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.tc-note b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.tc-note span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.4; color: var(--ink-mute); }
.tc-note-1 { --r: -8deg; left: 0; top: 60px; }
.tc-note-2 { --r: 6deg; right: 0; top: 230px; background: #FFF4E5; border-color: #F6D9AE; animation-delay: -2s; }
.tc-note-2 span { color: #7A4508; }
.tc-note-3 { --r: -4deg; left: 24px; bottom: 40px; background: #EAF7F0; border-color: #BFE5CF; animation-delay: -3.5s; }
.tc-note-3 span { color: #1F6B47; }

@keyframes tc-float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes tc-stamp { 0% { transform: scale(2.2) rotate(-18deg); opacity: 0; } 60% { transform: scale(.92) rotate(-12deg); opacity: 1; } 100% { transform: scale(1) rotate(-12deg); opacity: 1; } }
.tc-note { animation: tc-float 5s ease-in-out infinite; transform: rotate(var(--r, 0deg)); }

/* ---------- Try it ---------- */
.tc-try-inner { max-width: 1040px; margin: 0 auto; padding: 88px 32px; }
.tc-card {
  margin: 44px auto 0; max-width: 640px; border-radius: 22px; padding: 30px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 18px 40px rgba(60,40,0,0.08);
}
.tc-paper { background: #FFFDF7; border: 1px solid #EFE6D2; }
.tc-paper label.tc-to { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: #7A6A4F; }
.tc-paper textarea {
  margin-top: 10px; width: 100%; box-sizing: border-box; resize: none; border: none; background: transparent;
  font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.3; color: var(--ink);
}
.tc-paper textarea:focus { outline: none; }
.tc-paper:has(textarea:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tc-paper:focus-within { box-shadow: 0 0 0 3px var(--accent-soft), 0 18px 40px rgba(60,40,0,0.08); }
.tc-when { margin: 18px 0 0; padding: 0; border: 0; }
.tc-when legend { padding: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.tc-when-options { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.tc-when input { position: absolute; opacity: 0; pointer-events: none; }
.tc-when label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer;
}
.tc-when input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.tc-when input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.tc-card-foot { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tc-hint { font-size: 14px; color: var(--ink-mute); }

.tc-sealed { position: relative; background: #fff; border: 1px solid var(--rule); overflow: hidden; }
.tc-sealed[hidden], .tc-paper[hidden] { display: none; }
.tc-sealed:focus { outline: none; } /* focused only so screen readers announce it */
.tc-wax {
  position: absolute; right: 24px; top: 20px; width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #C2412D; color: #FFF4EE;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.18), 0 10px 24px rgba(194,65,45,0.35);
  transform: rotate(-12deg); animation: tc-stamp .55s cubic-bezier(.2,.9,.3,1.2) both;
}
.tc-sealed-to { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-mute); }
.tc-sealed h3 { margin: 10px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.tc-blurred { margin-top: 14px; max-width: 420px; font-family: 'Caveat', cursive; font-size: 30px; line-height: 1.3; color: var(--ink); filter: blur(7px); user-select: none; overflow-wrap: anywhere; }
.tc-clock { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tc-clock div { background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 0; text-align: center; }
.tc-clock b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--ink); }
.tc-clock div:last-child b { color: var(--accent); }
.tc-clock span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--ink-mute); }
.tc-sealed p { margin: 22px 0 0; font-size: 16px; color: var(--ink-2); }

/* ---------- Pinboard ---------- */
.tc-pins { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; }
.tc-pin {
  background: #FFFDF7; border: 1px solid #EFE6D2; border-radius: 6px; padding: 24px 24px 20px;
  box-shadow: 0 14px 30px rgba(60,40,0,0.10); transform: rotate(var(--r, 0deg));
}
.tc-pin blockquote { margin: 0; font-family: 'Caveat', cursive; font-size: 28px; line-height: 1.25; color: var(--ink); }
.tc-pin-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tc-pin-foot h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.tc-stamp-chip {
  flex-shrink: 0; padding: 4px 10px; border-radius: 6px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.08em; transform: rotate(var(--sr, 2deg));
}
.tc-blue   { background: #E6ECFB; color: #123AA6; }
.tc-coral  { background: #FBE3DC; color: #9A2E1A; }
.tc-sun    { background: #FDF0D5; color: #7A4508; }
.tc-mint   { background: #DDF1E6; color: #1F6B47; }
.tc-lilac  { background: #ECE6FA; color: #4B3FA6; }

/* ---------- How it works + two ways ---------- */
.tc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tc-step { border-top: 2px solid var(--ink); padding-top: 20px; }
.tc-step-n { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-mute); }
.tc-step h3 { margin: 10px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.tc-step p { margin: 10px 0 0; font-size: 16px; color: var(--ink-2); }

/* ---------- The unlock (dark) ---------- */
.tc-unlock { background: var(--night); color: #fff; }
.tc-unlock-grid { padding: 96px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.tc-unlock-copy { flex: 999 1 440px; min-width: 0; }
.tc-unlock .eyebrow { color: var(--ink-mute-dark); }
.tc-unlock h2 { color: #fff; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; margin: 12px 0 0; }
.tc-unlock p { margin: 20px 0 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ink-mute-dark); }
.tc-unlock-cards { flex: 1 1 360px; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.tc-push { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.tc-push-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.tc-push b { display: block; font-size: 15px; font-weight: 600; }
.tc-push span { display: block; font-size: 14px; color: var(--ink-mute-dark); }
.tc-letter { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }
.tc-letter-k { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--accent-deep); }
.tc-letter-t { margin-top: 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.tc-letter-msg { margin-top: 14px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; font-size: 15px; color: var(--ink-2); font-style: italic; }
.tc-letter-btn { margin-top: 18px; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; }

/* ---------- Private by design ---------- */
.tc-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.tc-trust h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.tc-trust p { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.tc-more { margin: 32px 0 0; font-size: 15px; }
.tc-more a { color: var(--accent); font-weight: 500; text-decoration: none; }
.tc-more a:hover { color: var(--accent-deep); text-decoration: underline; }

@media (max-width: 700px) {
  .tc-hero { padding: 48px 0 56px; }
  .tc-hero-visual { min-height: 0; }
  .tc-note { display: none; }
  .tc-try-inner { padding: 64px 22px; }
  .tc-card { padding: 22px; }
  .tc-wax { width: 80px; height: 80px; font-size: 11px; right: 16px; top: 14px; }
  .tc-clock b { font-size: 26px; }
  .tc-unlock-grid { padding: 72px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-note, .tc-wax { animation: none; }
}

@media (max-width: 640px) { .tc-hero .dl-badge.mac { display: none; } }
