/* PhDLoop landing page — same tokens as the app (app.css), more air. */
.landing { background: var(--surface); }
.l-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.btn-lg { padding: .75rem 1.25rem; font-size: .95rem; border-radius: 9px; }

.l-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.l-nav-in { display: flex; align-items: center; gap: 2rem; height: 64px; }
.l-links { display: flex; gap: 1.6rem; flex: 1; }
.l-links a { color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.l-links a:hover { color: var(--ink); text-decoration: none; }
.l-cta { display: flex; gap: .5rem; }

.l-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.l-hero { padding: 84px 0 40px; text-align: center; background:
  radial-gradient(1200px 420px at 50% -120px, #e8eef8 0%, rgba(232,238,248,0) 70%), var(--surface); overflow: hidden; }
.l-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 0 0 1.2rem; }
.l-hero h1 span { color: var(--accent); }
.l-lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 720px; margin: 0 auto 2rem; line-height: 1.6; }
.l-hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.l-kinds { list-style: none; display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; padding: 0; margin: 2rem 0 3rem; color: var(--ink-3); font-size: .88rem; }
.l-kinds li { display: flex; align-items: center; gap: .45rem; }

.l-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface);
  box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 24px 60px -24px rgba(20,33,61,.35); }
.l-shot img { display: block; width: 100%; height: auto; }
.l-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.l-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.l-bar span { margin: 0 auto; font-size: .72rem; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 40px; }
.l-shot-hero { max-width: 1100px; margin: 0 auto; transform: perspective(1800px) rotateX(4deg); transform-origin: top center; }

.l-section { padding: 96px 0; }
.l-section.tinted { background: var(--bg); }
.l-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.l-head h2, .l-show h2, .l-sec h2, .l-about h2, .l-access h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.025em; line-height: 1.15; font-weight: 700; margin: 0 0 .9rem; }
.l-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

.l-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.l-feature { background: var(--surface); padding: 1.8rem; }
.l-feature h3 { font-size: 1.02rem; margin: .9rem 0 .4rem; }
.l-feature p { color: var(--ink-2); margin: 0; font-size: .92rem; line-height: 1.55; }
.l-ico { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }

.l-show-in { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; }
.l-show.rev .l-show-text { order: 2; }
.l-show-text p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.l-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.l-checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-size: .95rem; }
.l-checks .icon { color: var(--good); margin-top: .15rem; }

.l-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.l-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; }
.l-card h3 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.l-card p { color: var(--ink-2); margin: 0; line-height: 1.6; }

.l-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.l-steps b { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: 1.1rem; }
.l-steps h3 { font-size: 1.12rem; margin: 1rem 0 .4rem; }
.l-steps p { color: var(--ink-2); margin: 0; line-height: 1.6; }

.l-sec { display: grid; grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; }
.l-sec p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.l-sec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.l-sec-list li { display: flex; gap: .8rem; align-items: flex-start; }
.l-sec-list .icon { color: var(--accent); margin-top: .2rem; }
.l-sec-list b { display: block; margin-bottom: .2rem; } .l-sec-list span { color: var(--ink-2); font-size: .92rem; line-height: 1.55; }

.l-about { max-width: 820px; }
.l-about > p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.l-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.l-values h3 { font-size: 1rem; margin: 0 0 .4rem; } .l-values p { color: var(--ink-2); margin: 0; font-size: .92rem; line-height: 1.55; }

.l-access { background: linear-gradient(180deg, var(--side-bg) 0%, #1c2d52 100%); color: #e5e9f2; }
.l-access .l-eyebrow { color: #d6b25a; }
.l-access h2 { color: #fff; }
.l-access-in { display: grid; grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; }
.l-access-text p { color: #c5cde0; font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.4rem; }
.l-access-text .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.l-access-text .btn-ghost:hover { background: rgba(255,255,255,.08); }
.l-form { padding: 1.8rem; color: var(--ink); margin: 0; border-radius: 16px; }
.l-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.l-sent { text-align: center; padding: 2rem 1rem; } .l-sent .icon { color: var(--good); }

.l-footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--surface); }
.l-footer-in { display: flex; align-items: center; gap: 2rem; color: var(--ink-3); font-size: .85rem; }
.l-footer nav { display: flex; gap: 1.4rem; flex: 1; } .l-footer nav a { color: var(--ink-2); }

@media (max-width: 960px) {
  .l-links { display: none; }
  .l-nav-in { justify-content: space-between; }
  .l-grid, .l-three, .l-steps, .l-values { grid-template-columns: 1fr; }
  .l-show-in, .l-sec, .l-access-in { grid-template-columns: 1fr; gap: 2rem; }
  .l-show.rev .l-show-text { order: 0; }
  .l-sec-list { grid-template-columns: 1fr; }
  .l-section { padding: 64px 0; }
  .l-hero { padding-top: 56px; }
  .l-shot-hero { transform: none; }
  .l-footer-in { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 520px) { .l-cta .btn-ghost { display: none; } .l-wrap { padding: 0 16px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .l-nav { background: rgba(22,27,36,.85); } }
