/*
 * Landing page only (templates/landing/index.html). Shared header, footer,
 * console, paper section and tokens live in public.css — see DESIGN.md.
 */

/* ---- hero ------------------------------------------------------------ */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(40px, 6vw, 88px); }
.lp-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.lp-hero__title { margin-top: 26px; font-weight: 300; font-size: clamp(56px, 8vw, 128px); line-height: .9; letter-spacing: -.05em; }
.lp-hero__title span { display: block; }
.lp-hero__accent { color: var(--pub-sky); }
.lp-firsttime { display: inline-block; margin-top: 26px; padding-bottom: 4px; font-size: 16px; color: var(--pub-soft); border-bottom: 1px solid #2a3a52; transition: color .2s, border-color .2s; }
.lp-firsttime strong { font-weight: 500; color: #fff; }
.lp-firsttime:hover { color: #fff; border-color: var(--sa-blue-600); }

/* ---- example status board -------------------------------------------- */
.lp-board {
  position: relative; padding: 22px 22px 18px; border-radius: 22px;
  background: linear-gradient(180deg, #0e1828, #0a121e); border: 1px solid #1e2c42;
  box-shadow: 0 40px 120px -40px rgba(var(--sa-blue-600-rgb), .45);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transform-origin: left center;
}
.lp-board__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed #22324a; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--pub-muted); }
.lp-board__tag { padding: 4px 10px; border: 1px solid #2a3a52; border-radius: 999px; color: var(--pub-soft); }
.lp-board__number { margin: 18px 0 6px; font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: .01em; font-feature-settings: "tnum" 1; }
.lp-board__mask { color: #4b5a70; }
.lp-board__sub { margin-bottom: 14px; font-size: 13px; color: var(--pub-muted); }
.lp-board__rows { list-style: none; }
/* Pending rows: #7d8ba0 measures 5.15:1 on the board (DESIGN.md §4.2). */
.lp-board__rows li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid #172235; font-size: 16px; color: #7d8ba0; transition: color .4s; }
.lp-board__lamp { width: 10px; height: 10px; border-radius: 50%; background: #1c2a40; transition: background .4s, box-shadow .4s; }
.lp-board__summary { display: block; max-height: 0; overflow: hidden; font-size: 13px; color: var(--pub-muted); opacity: 0; transition: max-height .5s var(--pub-ease), opacity .4s; }
.lp-board__state { min-width: 92px; padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-align: center; text-transform: uppercase; color: #3c4a60; }
.lp-board__rows li.is-done { color: var(--pub-soft); }
.lp-board__rows li.is-done .lp-board__lamp { background: var(--sa-blue-600); }
.lp-board__rows li.is-done .lp-board__state { color: var(--pub-sky); }
.lp-board__rows li.is-now { color: #fff; }
.lp-board__rows li.is-now .lp-board__lamp { background: var(--pub-mint); box-shadow: 0 0 0 5px rgba(123, 203, 144, .16), 0 0 18px rgba(123, 203, 144, .6); }
.lp-board__rows li.is-now .lp-board__state { background: rgba(123, 203, 144, .12); color: var(--pub-mint); animation: lp-flip .6s var(--pub-snap); }
.lp-board__rows li.is-now .lp-board__summary { max-height: 40px; opacity: 1; margin-top: 2px; }
@keyframes lp-flip { from { transform: rotateX(90deg); } to { transform: none; } }
.lp-board__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed #22324a; font-size: 12px; color: var(--pub-muted); }

/* ---- report bar -------------------------------------------------------- */
.lp-reportbar { position: relative; display: block; margin-top: clamp(56px, 7vw, 104px); overflow: hidden; background: var(--sa-blue-600); }
.lp-reportbar::before { content: ""; position: absolute; inset: 0; background: var(--sa-navy-800); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--pub-snap); }
.lp-reportbar:hover::before, .lp-reportbar:focus-visible::before { transform: none; }
.lp-reportbar__inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 132px; padding-top: 24px; padding-bottom: 24px; }
/* Small text on blue-600 must be white: 4.79:1 (tints measured 3.91–4.25, DESIGN.md §4.2). */
.lp-reportbar__kicker { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.lp-reportbar__title { font-weight: 300; font-size: clamp(28px, 3vw, 46px); line-height: 1; letter-spacing: -.035em; }
.lp-reportbar__end { display: flex; align-items: center; justify-content: flex-end; }
.lp-reportbar__meta { font-size: 15px; color: #fff; text-align: right; }
.lp-reportbar__circle { display: grid; place-items: center; width: 72px; height: 72px; margin-left: 24px; border-radius: 50%; background: #fff; color: var(--sa-blue-600); transition: transform .6s var(--pub-snap); }
.lp-reportbar:hover .lp-reportbar__circle { transform: rotate(-45deg) scale(1.06); }

/* ---- three steps + documents (paper section) ----------------------------- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1.5px solid var(--pub-deep); }
.lp-steps > li { padding: 28px 32px 8px 0; }
.lp-steps > li + li { padding-left: 32px; border-left: 1px solid var(--sa-gray-200); }
.lp-steps__num { display: block; font-weight: 200; font-size: 96px; line-height: .9; letter-spacing: -.06em; color: var(--sa-blue-600); font-feature-settings: "tnum" 1; }
.lp-steps h3 { margin-top: 18px; font-weight: 500; font-size: 24px; letter-spacing: -.02em; color: var(--pub-deep); }
.lp-steps p { margin-top: 6px; font-size: 15px; color: var(--sa-ink-700); }
.lp-steps ul { display: grid; gap: 8px; margin-top: 18px; list-style: none; }
.lp-steps ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.lp-steps ul li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sa-blue-600); }
.lp-steps ul li.is-optional { color: var(--sa-ink-700); }
.lp-steps ul li.is-optional::before { background: transparent; box-shadow: inset 0 0 0 1.5px #9db3cc; }

.lp-docs__title { margin-top: 96px; margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sa-blue-700); }
.lp-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-doc { padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 #e6ebf1, 0 18px 40px -28px rgba(0, 25, 77, .25); transition: transform .45s var(--pub-ease), box-shadow .45s; }
.lp-doc:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #e6ebf1, 0 28px 60px -30px rgba(0, 25, 77, .35); }
.lp-doc__type { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sa-blue-700); }
.lp-doc__headline { margin: 6px 0 16px; font-weight: 400; font-size: 22px; letter-spacing: -.02em; color: var(--pub-deep); }
.lp-doc__list { font-size: 14px; line-height: 1.7; }
.lp-doc__helpful { margin-top: 6px; font-size: 14px; color: var(--sa-ink-700); }
.lp-docs__note { margin-top: 20px; font-size: 14px; color: var(--sa-ink-700); }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
  .lp-hero__grid { grid-template-columns: 1fr; }
  .lp-board { max-width: 560px; transform: none; }
  .lp-reportbar__meta { display: none; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-steps > li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--sa-gray-200); }
  .lp-docs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-reportbar__inner { grid-template-columns: 1fr auto; min-height: 0; padding-top: 28px; padding-bottom: 28px; }
  .lp-reportbar__kicker { grid-column: 1 / -1; }
  .lp-reportbar__circle { width: 56px; height: 56px; margin: 0; }
  .lp-docs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-board { transform: none; }
}
