/* Landing page (signed-out). Scoped to #login so the signed-in viewer is unaffected. */
#login {
  --lp-blue: #1557F8; --lp-navy: #111827; --lp-bg: #F8FAFC; --lp-sec: #64708B; --lp-yellow: #FFC928; --lp-border: #E5EAF4;
  color: var(--lp-navy); background: #fff; position: relative; overflow: hidden;
}
#login .lp-wrap { width: 100%; max-width: none; margin-left: auto; margin-right: auto; padding-left: clamp(32px, 5vw, 96px); padding-right: clamp(32px, 5vw, 96px); }
#login .ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#login .ic.lg { width: 26px; height: 26px; }
#login a { text-decoration: none; }
html { scroll-behavior: smooth; }
#login section[id], #login #top { scroll-margin-top: 84px; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lp-border); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; }
.lp-logo img { height: 36px; width: auto; display: block; }
.lp-logo span, .ps-logo span { font-weight: 700; font-size: 27px; letter-spacing: -1px; display: inline-flex; gap: .14em; }
.lp-logo.sm img { height: 28px; } .lp-logo.sm span { font-size: 21px; }
.c1 { color: var(--lp-navy); } .c2 { color: var(--lp-blue); }
.lp-links { display: flex; align-items: center; gap: 36px; }
.lp-links a:not(.lp-store) { font-size: 14.5px; font-weight: 500; color: var(--lp-sec); padding: 6px 0; }
.lp-links a:not(.lp-store):hover { color: var(--lp-blue); }
.lp-open { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 12px; background: var(--lp-blue); color: #fff; font-size: 14px; font-weight: 600; }
.lp-open .ic { width: 16px; height: 16px; }
.lp-open:hover { filter: brightness(1.08); }
.lp-stores { display: inline-flex; gap: 8px; }
.lp-stores-m { display: none !important; }
.lp-store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--lp-navy); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.lp-store .ic { width: 16px; height: 16px; }
.lp-store:hover { filter: brightness(1.25); }
.lp-store.soon { opacity: .55; cursor: default; }
.lp-store.hidden { display: none; }
.lp-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--lp-border); border-radius: 12px; background: #fff; color: var(--lp-navy); cursor: pointer; align-items: center; justify-content: center; }

/* hero */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.lp-eyebrow { margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: 2.2px; color: var(--lp-blue); }
.lp-h1 { margin: 0; font-size: 68px; line-height: 1.06; font-weight: 700; letter-spacing: -2.4px; }
.lp-h1 span { display: block; color: var(--lp-navy); }
.lp-h1 .b { color: var(--lp-blue); }
.lp-h1 .dot { font-style: normal; color: var(--lp-yellow); }
.lp-lead { margin: 26px 0 0; max-width: 520px; font-size: 19px; line-height: 1.65; color: var(--lp-sec); }
.lp-feats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-feats li { display: grid; gap: 6px; align-content: start; }
.lp-feats b { font-size: 14.5px; font-weight: 600; margin-top: 8px; }
.lp-feats li > span:last-child { font-size: 13px; line-height: 1.5; color: var(--lp-sec); }
.ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.t-blue { background: #EAF0FF; color: var(--lp-blue); } .t-yellow { background: #FFF5D6; color: #B7860B; }
.t-green { background: #E3F6EA; color: #16A34A; } .t-purple { background: #F0E9FF; color: #7C3AED; }

/* phone */
.lp-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.lp-glow { position: absolute; inset: 6% 8%; background: radial-gradient(closest-side, rgba(21,87,248,.16), transparent 72%); filter: blur(10px); pointer-events: none; }
.phone { position: relative; width: 340px; padding: 11px; border-radius: 52px; background: linear-gradient(155deg, #2A2F3A, #0B0F19 60%); box-shadow: 0 50px 80px -34px rgba(17,24,39,.5), 0 0 0 1.5px #3A4152 inset; }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: #1B2130; }
.phone::before { right: -4px; top: 170px; height: 70px; }
.phone::after { left: -4px; top: 120px; height: 36px; box-shadow: 0 54px 0 #1B2130; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 16px; background: #05070D; z-index: 3; }
.phone-screen { position: relative; background: #fff; border-radius: 42px; min-height: 690px; padding: 18px 22px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.statusbar { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 0; font-size: 13px; font-weight: 600; color: var(--lp-navy); }
.sb-r { display: inline-flex; align-items: flex-end; gap: 3px; }
.sb-r i { width: 3px; border-radius: 1px; background: var(--lp-navy); } .sb-r i:nth-child(1) { height: 5px; } .sb-r i:nth-child(2) { height: 8px; } .sb-r i:nth-child(3) { height: 11px; }
.sb-r u { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--lp-navy); margin-left: 6px; position: relative; text-decoration: none; }
.sb-r u::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: var(--lp-navy); border-radius: 1px; }
.ps-logo { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; }
.ps-logo img { height: 28px; width: auto; } .ps-logo span { font-size: 21px; }
.ps-title { margin: 22px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.5px; color: var(--lp-navy); }
.ps-sub { margin: 10px 0 20px; max-width: 250px; font-size: 13.5px; line-height: 1.55; color: var(--lp-sec); }
.phone .qr-wrap { position: relative; width: 232px; padding: 14px; background: #fff; border: 1px solid var(--lp-border); border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(21,87,248,.35); }
.phone #qr { line-height: 0; }
.phone #qr canvas, .phone #qr img { width: 100% !important; height: auto !important; display: block; }
.phone #qr img[style*="display: none"] { display: none !important; }
.phone .qr-overlay { position: absolute; inset: 0; border-radius: 18px; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 13.5px; font-weight: 600; color: var(--lp-navy); }
.phone .msg { margin: 12px 0 0; font-size: 13px; color: #DC2626; min-height: 0; }
.ps-tip { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 11px 14px; border-radius: 12px; background: #EAF0FF; color: #1244C8; font-size: 12.5px; font-weight: 500; text-align: left; line-height: 1.4; }
.ps-tip .ic { width: 18px; height: 18px; }
.phone .fine { margin: 14px 0 0; font-size: 11.5px; color: var(--lp-sec); }
.testlabel { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--lp-sec); margin-bottom: 6px; }

/* benefits */
.tester { width: 100%; max-width: 340px; margin: 22px auto 0; text-align: center; }
.tester-btn { height: 44px; padding: 0 22px; border-radius: 12px; background: #fff; color: var(--lp-navy); border: 1px dashed #9AA6BF; font: 600 14px var(--font); cursor: pointer; }
.tester-btn:hover { border-color: var(--lp-blue); color: var(--lp-blue); }
.tester-form { display: flex; gap: 8px; margin-top: 12px; }
.tester-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--lp-border); border-radius: 12px; font: 14px var(--font); }
.tester-go { height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--lp-blue); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.tester-msg { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; color: #B42318; }
.lp-benefits { list-style: none; margin: 8px auto 0; padding: 8px 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--lp-border); border-radius: 20px; box-shadow: 0 12px 30px -24px rgba(17,24,39,.25); }
.lp-benefits li { display: flex; align-items: center; gap: 16px; padding: 22px 32px; }
.lp-benefits li + li { border-left: 1px solid #DDE6FA; }
.lp-benefits .ic { color: var(--lp-blue); }
.lp-benefits b { display: block; font-size: 15.5px; font-weight: 600; }
.lp-benefits span { font-size: 13.5px; color: var(--lp-sec); }

/* sections */
.lp-sec { padding-top: 104px; }
.lp-h2 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -1px; }
.lp-p { margin: 14px 0 0; max-width: 440px; font-size: 16.5px; line-height: 1.7; color: var(--lp-sec); }
.lp-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.lp-steps li { display: grid; gap: 6px; align-content: start; position: relative; }
.lp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 56px; right: -20px; height: 1px; background: var(--lp-border); }
.lp-steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--lp-blue); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; z-index: 1; }
.lp-steps b { font-size: 16.5px; font-weight: 600; } .lp-steps li > span:last-child { font-size: 14px; line-height: 1.55; color: var(--lp-sec); }
.lp-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.lp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lp-border); }
.lp-list li { display: flex; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--lp-border); }
.lp-list .ic { color: var(--lp-blue); width: 22px; height: 22px; }
.lp-list b { display: block; font-size: 15.5px; font-weight: 600; } .lp-list span { font-size: 14px; color: var(--lp-sec); }
.lp-faqwrap { max-width: 860px; }
.lp-faq { margin-top: 28px; border-top: 1px solid var(--lp-border); }
.lp-faq details { border-bottom: 1px solid var(--lp-border); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-size: 16px; font-weight: 600; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq .chev { color: var(--lp-sec); transition: transform .2s; }
.lp-faq details[open] .chev { transform: rotate(180deg); }
.lp-faq details p { margin: 0; padding: 0 4px 22px; max-width: 700px; font-size: 15px; line-height: 1.7; color: var(--lp-sec); }
#login summary:focus-visible, #login a:focus-visible, #login button:focus-visible { outline: 2px solid var(--lp-blue); outline-offset: 3px; }

/* footer */
.lp-foot { margin-top: 112px; border-top: 1px solid var(--lp-border); background: var(--lp-bg); }
.lp-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.lp-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-foot nav a { font-size: 13.5px; color: var(--lp-sec); } .lp-foot nav a:hover { color: var(--lp-blue); }
.lp-foot p { margin: 0; font-size: 12.5px; color: var(--lp-sec); }

/* tablet */
@media (max-width: 1100px) {
  #login .lp-wrap { padding-left: 32px; padding-right: 32px; }
  .lp-hero { gap: 32px; padding-top: 48px; }
  .lp-h1 { font-size: 52px; letter-spacing: -1.8px; }
  .lp-feats { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .lp-links { gap: 22px; }
  .lp-split { gap: 40px; }
}
@media (max-width: 899px) {
  .lp-hero { grid-template-columns: 1fr; gap: 48px; }
  .lp-lead { max-width: 560px; }
  .lp-benefits { grid-template-columns: 1fr; }
  .lp-benefits li + li { border-left: 0; border-top: 1px solid #DDE6FA; }
  .lp-split { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; gap: 28px; }
  .lp-steps li { grid-template-columns: 40px 1fr; column-gap: 16px; }
  .lp-steps .num { grid-row: span 2; margin: 0; }
  .lp-steps li:not(:last-child)::after { top: 44px; left: 19px; right: auto; width: 1px; height: calc(100% + 4px); }
  .lp-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--lp-border); padding: 8px 32px 16px; display: none; }
  .lp-links.open { display: flex; }
  .lp-links a:not(.lp-store) { padding: 14px 0; border-bottom: 1px solid var(--lp-border); font-size: 16px; }
  .lp-stores-d { display: none !important; }
  .lp-stores-m { display: flex !important; flex-direction: column; margin-top: 14px; gap: 10px; }
  .lp-stores-m .lp-store { justify-content: center; height: 46px; }
  .lp-burger { display: inline-flex; }
}
@media (max-width: 600px) {
  #login .lp-wrap { padding-left: 20px; padding-right: 20px; }
  .lp-nav-in { height: 64px; }
  .lp-links { top: 64px; padding: 8px 20px 16px; }
  .lp-hero { padding-top: 32px; padding-bottom: 40px; gap: 40px; }
  .lp-h1 { font-size: 40px; letter-spacing: -1.4px; }
  .lp-lead { font-size: 16.5px; margin-top: 18px; }
  .lp-feats { margin-top: 32px; gap: 22px 16px; }
  .phone { width: 300px; border-radius: 46px; }
  .phone-screen { min-height: 640px; border-radius: 36px; padding: 16px 18px 26px; }
  .phone .qr-wrap { width: 216px; }
  .lp-sec { padding-top: 72px; }
  .lp-h2 { font-size: 28px; }
  .lp-benefits li { padding: 18px 20px; }
  .lp-foot { margin-top: 72px; }
  .lp-foot-in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* tester access: quiet strip at the very bottom, only rendered for the ?tester link */
#login > .tester { max-width: 340px; margin: 0 auto; padding: 18px 20px 28px; }
#login > .tester .tester-btn { height: 34px; padding: 0 14px; font-size: 12.5px; color: var(--lp-sec); }
