/* Quad prototype: pitch page and live demo page */
body.landing { background: var(--bg); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.lnav { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .lnav { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.lnav .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.lnav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.lnav .brand b { display: block; font-size: 15.5px; }
.lnav .brand small { display: block; font-size: 12.5px; color: var(--ink-3); }
.lnav .links { display: flex; align-items: center; gap: 4px; }
.lnav .links a.txt { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.lnav .links a.txt:hover { background: var(--surface-3); color: var(--ink); }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.025em; max-width: 17ch; }
.hero .lede { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero .uni { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero .uni b { display: block; font-size: 15px; }
.hero .uni small { color: var(--ink-3); font-size: 13px; }
.phone {
  position: relative; justify-self: center; width: 360px; height: 760px; border-radius: 50px; padding: 10px;
  background: #0B0F14; box-shadow: var(--shadow-3), inset 0 0 0 2px #2A323D;
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 40px; background: var(--bg); display: block; }
.phone-cap { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-3); }
.phone-col { display: grid; justify-items: center; }

/* sections */
.sec { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.15; max-width: 26ch; }
.sec .intro { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 62ch; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.way { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.way .wi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-ink); }
.way h3 { font-size: 19px; }
.way p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.way ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.way .btn { justify-self: start; margin-top: 4px; }
.way.feature { background: var(--brand-deep); color: #EAF0F7; border-color: transparent; }
.way.feature p, .way.feature ul { color: rgba(234, 240, 247, .82); }
.way.feature .wi { background: rgba(255, 255, 255, .12); color: var(--accent); }
.diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.diff { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.diff:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.diff h3 { font-size: 16.5px; display: flex; align-items: center; gap: 10px; }
.diff h3 .ic { color: var(--brand-ink); }
.diff p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.role { display: grid; gap: 12px; align-content: start; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.role h3 { font-size: 16.5px; }
.role ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.role a { font-weight: 600; font-size: 14px; color: var(--brand-ink); text-decoration: none; margin-top: auto; }
.role a:hover { text-decoration: underline; }
.secure { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.secure ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.secure li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.secure li .ic { color: var(--good); margin-top: 2px; }
.secure li b { display: block; font-size: 15px; }
.secure li span { color: var(--ink-2); font-size: 14px; }
.cta-band { padding: 40px; border-radius: 28px; background: var(--brand-deep); color: #EAF0F7; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: rgba(234, 240, 247, .8); margin-top: 8px; max-width: 56ch; }
.cta-band .btn-accent { margin-left: auto; }
.lfoot { padding: 28px 0 40px; color: var(--ink-3); font-size: 13.5px; }
.lfoot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* ---------- Showcase ---------- */
body.showcase { background: #E9EEF4; min-height: 100vh; }
html[data-theme="dark"] body.showcase { background: #0A0F14; }
.sc-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sc-top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.sc-top .brand b { font-size: 15px; display: block; }
.sc-top .brand small { color: var(--ink-3); font-size: 12.5px; }
.sc-top .seg { margin-left: auto; }
.sc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 24px 0; }
.sc-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.sc-step .n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 13px; }
.sc-step b { color: var(--ink); }
.sc-stage { display: flex; gap: 28px; align-items: flex-start; justify-content: center; padding: 18px 24px 28px; }
.sc-desk { flex: 1; min-width: 0; max-width: 1100px; }
.sc-label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.sc-screen { position: relative; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }
.sc-screen .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--surface-3); border-bottom: 1px solid var(--line); }
.sc-screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.sc-screen .bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); }
.sc-screen .vp { position: relative; overflow: hidden; }
.sc-screen iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 820px; border: 0; transform-origin: 0 0; }
.sc-phone { flex: none; }
.sc-phone .phone { width: 340px; height: 718px; }
.sc-small { display: none; padding: 32px 24px; text-align: center; }
@media (max-width: 1100px) {
  .sc-stage { flex-direction: column; align-items: center; }
  .sc-desk { width: 100%; }
}
@media (max-width: 760px) {
  .sc-steps { grid-template-columns: 1fr; }
  .sc-desk { display: none; }
  .sc-small { display: block; }
}

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .ways, .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .diff:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .secure { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .lnav .links a.txt { display: none; }
  .hero { padding-top: 32px; }
  .hero .lede { font-size: 16.5px; }
  .ways, .roles, .diffs { grid-template-columns: minmax(0, 1fr); }
  .diff:nth-child(even) { padding-left: 0; border-left: 0; }
  .phone-col { display: none; }
  .cta-band { padding: 28px 22px; }
  .cta-band .btn-accent { margin-left: 0; }
}
