/* Pineapple site pages — shared styles for signin / thanks / legal / contact.
   Loads AFTER landing-v3.css and reuses its tokens. */

body.page { background: var(--cream); }

/* mini header */
header.site .back {
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  color: var(--ink-2); transition: color 160ms ease;
  display: inline-flex; align-items: center; gap: 8px;
}
header.site .back:hover { color: var(--ink); }

/* centered auth / thanks layouts */
.center-wrap {
  min-height: calc(100vh - 180px);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 22px;
  position: relative;
}
.center-wrap .motif {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.auth-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 440px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px 38px 36px;
  box-shadow: 0 1px 2px rgba(31,37,46,0.04), 0 30px 70px rgba(31,37,46,0.10);
  text-align: center;
}
@media (max-width: 480px) { .auth-card { padding: 32px 24px 28px; } }
.auth-card .mark { width: 46px; height: 84px; margin: 0 auto 18px; display: block; }
.auth-card .mark svg { width: 100%; height: 100%; display: block; }
.auth-card h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 8px; color: var(--ink);
}
.auth-card .lede { font-size: 14.5px; color: var(--ink-2); margin: 0 0 26px; line-height: 1.5; }

.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--paper); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 4px; margin-bottom: 22px;
}
.auth-tabs button {
  border: none; background: transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--ink-3); border-radius: 9px; height: 38px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.auth-tabs button.active {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 3px rgba(31,37,46,0.10);
}

.field { text-align: left; margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.4px; color: var(--ink-2); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--stroke-strong);
  border-radius: 12px;
  background: var(--cream);
  padding: 0 14px; height: 48px;
  font-family: var(--font-text); font-size: 15px; color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink-2);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }

.auth-card .btn, .contact-card .btn { width: 100%; margin-top: 6px; }
.auth-foot {
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3);
  line-height: 1.6;
}

/* success panel (magic link / contact sent) */
.sent-panel { display: none; }
.sent-panel.show { display: block; animation: riseup 500ms var(--ease-out) both; }
.form-panel.hide { display: none; }
.sent-panel .big-dia {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green);
  display: grid; place-items: center;
  margin: 6px auto 18px;
}
.sent-panel .big-dia svg { width: 24px; height: 24px; }
.sent-panel .email-echo {
  display: inline-block;
  font-family: var(--font-mono); font-size: 13px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--stroke);
  border-radius: 999px; padding: 7px 16px; margin: 4px 0 16px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* thanks page */
.thanks-inner { position: relative; z-index: 2; text-align: center; max-width: 560px; }
.thanks-inner .assemble { width: 110px; height: 204px; margin: 0 auto 26px; }
.thanks-inner h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 7vw, 76px); letter-spacing: -0.034em; line-height: 0.96;
  margin: 0 0 14px; color: var(--ink);
}
.thanks-inner h1 .dot { color: var(--yellow-deep); }
.thanks-inner .lede { font-size: 16.5px; color: var(--ink-2); margin: 0 0 26px; }
.next-list {
  text-align: left;
  max-width: 380px; margin: 0 auto 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.next-list .item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--stroke);
  border-radius: 12px; padding: 12px 16px;
  font-size: 13.5px; color: var(--ink-2);
}
.next-list .item .dia {
  width: 9px; height: 9px; flex-shrink: 0;
  background: var(--yellow-deep); transform: rotate(45deg); border-radius: 1.5px;
}
.next-list .item .dia.g { background: var(--green); }
.next-list .item strong { color: var(--ink); font-weight: 600; }

/* doc pages (privacy / terms) */
.doc {
  max-width: 720px; margin: 0 auto;
  padding: 72px 32px 100px;
  position: relative; z-index: 2;
}
@media (max-width: 640px) { .doc { padding: 48px 22px 72px; } }
.doc h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.032em; line-height: 1.0;
  margin: 14px 0 10px; color: var(--ink);
}
.doc .updated {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
  margin-bottom: 42px;
}
.doc h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 21px; letter-spacing: -0.3px;
  margin: 38px 0 10px; color: var(--ink);
}
.doc p, .doc li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.doc p strong { color: var(--ink); font-weight: 600; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--yellow); }
.doc a:hover { border-bottom-color: var(--green); }

/* contact */
.contact-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 520px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px 38px 36px;
  box-shadow: 0 1px 2px rgba(31,37,46,0.04), 0 30px 70px rgba(31,37,46,0.10);
}
@media (max-width: 480px) { .contact-card { padding: 32px 24px 28px; } }
.contact-card h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; letter-spacing: -0.03em; margin: 0 0 8px; color: var(--ink);
}
.contact-card .lede { font-size: 14.5px; color: var(--ink-2); margin: 0 0 24px; line-height: 1.5; }
.contact-card .lede a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--yellow); }

/* simple footer for subpages */
footer.mini {
  padding: 28px 0 34px;
  border-top: 1px solid var(--stroke);
  text-align: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3);
}
footer.mini a { color: var(--ink-2); }
footer.mini a:hover { color: var(--ink); }
