/* Account pages, the offer, coming soon, and the legal pages. Tokens and shared parts are in base.css. */

/* Auth pages */
.narrow { width: min(480px, 100%); margin-inline: auto; padding: 28px 16px 48px; }
.auth-lead { margin-top: 10px; }
.auth-form { margin-top: 20px; }
.auth-after { margin-top: 14px; }
.auth-cta { margin-top: 18px; }
.auth-again { margin-top: 6px; margin-left: -8px; }
.addr { min-width: 0; overflow-wrap: anywhere; }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.pw .text-btn { position: absolute; right: 6px; top: 4px; }
.pw-hint { font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
.pw-forgot { justify-self: start; margin-block: -10px -6px; }
.fine { font-size: 1.125rem; line-height: 1.45; color: var(--ink2); margin-top: 14px; }

/* Account */
.acct-rows { margin-top: 14px; }
.acct-rows > li { align-items: center; min-height: 52px; }
.acct-rows > li > span { flex: none; }
.acct-rows > li > strong { text-align: right; }
.acct-rows a { display: inline-flex; align-items: center; min-height: 44px; }
.acct-out { margin-top: 12px; }
.acct-folds { margin-top: 20px; border-top: 1px solid var(--hair); }
.acct-danger { margin-top: 40px; border-top: 1px solid var(--hair); }
.fold { border-bottom: 1px solid var(--hair); }
.fold > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; font-weight: 700; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 150ms var(--out); }
.fold[open] > summary::after { transform: rotate(225deg); }
.fold > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.fold-body { padding-block: 8px 20px; }
.fold-body h3 { margin-bottom: 8px; }
.fold-line { margin-block: 12px 16px; color: var(--ink2); }
.gone li { position: relative; padding-left: 20px; }
.gone li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 2px; background: currentColor; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--btn); }
.btn.danger { background: var(--bad); color: var(--bg); border-color: var(--bad); }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--ink2); border-color: var(--line); cursor: not-allowed; }
.btn[aria-disabled="true"]:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .btn[aria-disabled="true"]:hover { opacity: 1; } }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 1rem; color: var(--ink2); margin-top: 6px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 3px; color: var(--ink); }

/* Offer */
.offer { width: min(720px, 100%); margin-inline: auto; padding: 16px 16px 48px; }
.offer-h { margin-top: 6px; }
.offer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.offer-row .photo { border-radius: 12px; }
.price { font-size: clamp(3rem, 9vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 20px; }
.offer-once { margin-top: 6px; }
.offer-cta { margin-top: 18px; }
.offer-cta .note { margin-top: 0; }
.cta-btn { margin-top: 12px; }
.offer-cta > .cta-btn:first-child { margin-top: 0; }
.cta-line { font-size: 1.125rem; line-height: 1.45; color: var(--ink2); margin-top: 10px; }
.cta-wait { min-height: 54px; display: flex; align-items: center; }
.offer-block { margin-top: 36px; }
.offer-block > h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.sample { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 14px; align-items: start; }
.sample-line { margin-top: 6px; }
@media (min-width: 640px) { .sample { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } }
.ticks li { position: relative; padding: 9px 0 9px 34px; font-size: 1.125rem; line-height: 1.35; border-top: 1px solid var(--hair); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 10px; height: 18px; border: solid var(--good); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Coming soon */
.soon-page { max-width: 860px; padding-top: 24px; padding-bottom: 40px; }
.soon-page .soon { margin-top: 20px; }
.soon-page .chip[aria-disabled="true"] { cursor: default; }
.soon-page .chip[aria-disabled="true"]:active { transform: none; }
@media (max-width: 559px) { .soon-page .soon-item { flex-direction: column; align-items: flex-start; } }

/* Legal pages: full documents, no tab bar. */
body.legal { padding-bottom: 0; }
.legal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; width: min(760px, 100%); margin-inline: auto; padding: 10px 16px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0 14px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1rem; text-underline-offset: 3px; }
.legal-nav a[aria-current="page"] { font-weight: 800; text-decoration-thickness: 2px; }
.legal .article { padding-top: 8px; }
.legal .note a, .legal .step a, .legal-app a { font-weight: 600; text-underline-offset: 3px; padding-block: .8rem; }
.legal .note ul { margin-top: 6px; }
.legal-jump { margin-top: 10px; }
.legal .step p + p, .legal-app p + p { margin-top: 10px; }
.legal .step ul, .legal-app ul:not(.why-list) { list-style: disc; padding-left: 22px; margin-block: 8px; }
.legal .step li, .legal-app li { margin-block: 5px; }
.legal-app { margin-top: 48px; padding-top: 28px; border-top: 3px solid var(--ink); }
.legal-app > h2 { font-size: clamp(1.75rem, 4.4vw, 2.25rem); }
.legal-app > .lead { margin-top: 8px; color: var(--ink2); }
.legal-app h3 { margin-top: 28px; margin-bottom: 6px; }
.legal-app h4 { font-size: 1.125rem; margin: 18px 0 4px; line-height: 1.3; }
.legal-app dl { margin: 10px 0 0; }
.legal-app dt { font-weight: 700; margin-top: 16px; }
.legal-app dd { margin: 2px 0 0; }
.legal-foot { width: min(760px, 100%); margin-inline: auto; padding: 8px 16px 32px; }

@media (prefers-reduced-motion: reduce) {
  .fold > summary::after { transition: none; }
}
@media print {
  .legal-top, .legal-foot { display: none !important; }
}
