/* The claim page (a free or reserved <name>.launch.saralapps.com): one screen in the landing page's look. It takes
   the palette, fonts and controls from assets/system.css + landing.css and adds only its own layout. No inline
   styles anywhere: the CSP forbids them. */

.claim { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in oklab, var(--p-accent) 9%, transparent), transparent 70%),
    linear-gradient(var(--p-bg), var(--p-surface)); }
.claim__top { height: var(--nav); display: grid; align-items: center; }
.claim__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }

.claim__main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; padding-block: var(--s-6); }
.claim--paused .claim__main, .claim--setting_up .claim__main { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.claim--paused .claim__words, .claim--setting_up .claim__words { max-width: 560px; justify-items: center; }

.claim__words { display: grid; gap: var(--s-5); justify-items: start; min-width: 0; }
.claim__pill { max-width: 100%; }
.claim__pill .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.claim__dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; flex: none; }
.claim__h { font-size: clamp(34px, 3vw + 18px, 64px); line-height: 1.05; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: anywhere; }
.claim__name { color: var(--p-accent); }
.claim__zone { color: var(--muted); }
.claim__lede { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.claim__points { display: grid; gap: var(--s-2); font-size: var(--t-body); }
.claim__points li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-2); align-items: start; }
.claim__points li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--p-accent); }

.claim__card { background: var(--p-bg); border-radius: var(--r-lg); padding: var(--s-6);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgb(19 26 36 / .35); min-width: 0; }
.claim__form { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.claim__form-h { font-size: var(--t-h3); line-height: 1.2; }
.claim__addr { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); overflow: hidden; }
.claim__addr:focus-within { outline: 2px solid var(--action); outline-offset: 2px; }
.field .claim__addr input { border: 0; border-radius: 0; min-width: 0; flex: 1 1 90px; font-family: var(--font-mono); font-size: 15px; }
.field .claim__addr input:focus-visible { outline: none; }
.field .claim__addr input[aria-invalid="true"] { border: 0; box-shadow: inset 0 0 0 2px var(--error); }
.claim__suffix { display: flex; align-items: center; padding: 0 var(--s-3); background: var(--p-surface); color: var(--muted); font-size: 14px; white-space: nowrap; border-left: 1px solid var(--line); }
.claim__note { font-weight: 400; color: #17794a; min-height: 1.4em; }
.claim__note:empty { display: none; }
.claim__note[data-tone="bad"] { color: var(--error); }
.claim__note[data-tone="wait"] { color: var(--muted); }
/* the honeypot: people never see or reach it, simple bots fill it */
.claim__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.claim__small { font-size: var(--t-small); color: var(--muted); }
.claim__link { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.claim__thanks { display: grid; gap: var(--s-4); }
.claim__thanks:focus { outline: none; }
.claim__thanks p { font-size: var(--t-lead); line-height: 1.5; }
.claim__foot { padding-block: var(--s-5); font-size: var(--t-small); color: var(--muted); }

@media (max-width: 1023px) {
  .claim__main { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
  .claim__points { display: none; }
}
@media (max-width: 639px) {
  .claim__main { padding-block: var(--s-4); gap: var(--s-5); }
  .claim__words { gap: var(--s-4); }
  .claim__card { padding: var(--s-5); }
  .claim__suffix { font-size: 12.5px; padding: 0 var(--s-2); }
  .claim__bar .btn { display: none; }
  .claim .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .claim__words > *, .claim__card { animation: claim-in .5s var(--ease) both; }
  .claim__words > :nth-child(2) { animation-delay: .05s; } .claim__words > :nth-child(3) { animation-delay: .1s; }
  .claim__words > :nth-child(4) { animation-delay: .15s; } .claim__card { animation-delay: .12s; }
}
@keyframes claim-in { from { opacity: 0; transform: translateY(8px); } }
