/* Home page only; tokens and shared chrome live in style.css. Lanes are a symbol here: the logo's two offset capsules. */
body.landing { font-size: 17px; line-height: 1.55; background: radial-gradient(1200px 600px at 50% -160px, var(--card), transparent 70%), var(--bg); }
.landing section, .landing .hero { position: relative; z-index: 1; max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.tile b, .faq summary { text-wrap: balance; }

/* hero */
.landing .hero { text-align: center; padding-top: 52px; }
.badge { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px -10px rgba(79,91,255,.4); font-size: 14.5px; font-weight: 500; }
.badge svg { width: 22px; height: 22px; color: var(--brand); }
.landing .hero h1 { font-size: clamp(42px, 7.2vw, 90px); line-height: 1; margin: 0 auto 24px; }
.lede { max-width: 34em; margin: 0 auto 34px; font-size: 19px; color: var(--muted); text-wrap: balance; }
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.landing .hero .meta { font-size: 14px; color: var(--muted); margin: 18px 0 0; text-wrap: balance; }

/* stage: a fixed-size illustration the page script scales to fit */
.landing .stage { margin-top: 56px; height: 640px; max-width: none; padding: 0; }
.art { --art-w: 1120; --art-h: 640; position: absolute; left: 50%; top: 0; width: calc(var(--art-w) * 1px); height: calc(var(--art-h) * 1px);
  transform: translateX(-50%); transform-origin: top center; }

.desk { position: absolute; left: 150px; top: 0; width: 970px; height: 600px; border-radius: 26px;
  background: var(--wall); box-shadow: 0 40px 80px -30px rgba(40,44,90,.45), inset 0 0 0 1px rgba(255,255,255,.4); }
.desk::before, .desk::after { content: ""; position: absolute; width: 150px; height: 420px; border-radius: 75px; pointer-events: none; }
.desk::before { right: 230px; top: 150px; background: rgba(255,255,255,.2); }
.desk::after { right: 60px; top: 230px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.32); }

.menubar { position: relative; z-index: 3; height: 32px; display: flex; align-items: center; gap: 20px; padding: 0 18px;
  border-radius: 26px 26px 0 0; background: rgba(255,255,255,.5); backdrop-filter: blur(12px); font-size: 13.5px; color: #1d1f27; }
.menubar b { font-weight: 700; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-style: normal; }
.mb-logo { display: grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: rgba(0,0,0,.13); }
.mb-logo svg { width: 15px; height: 15px; }
.mb-bat { width: 24px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #1d1f27; position: relative; }
.mb-bat::after { content: ""; position: absolute; left: 3px; top: 3px; width: 13px; height: 5px; border-radius: 1px; background: #1d1f27; }

.finder { --chrome: #ececee; --side: #f2f2f5; --pane: #ffffff; --sel: #dcdce1;
  position: absolute; left: 110px; top: 70px; width: 470px; margin: 0; z-index: 1; border-radius: 14px; overflow: hidden;
  background: var(--pane); color: #1a1c20; font-size: 13px; box-shadow: 0 24px 50px -16px rgba(20,22,40,.35), 0 0 0 1px rgba(0,0,0,.07); }
.finder .bar { height: 38px; background: var(--chrome); display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.finder .bar b { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.finder .bar b:nth-child(2) { background: #febc2e; } .finder .bar b:nth-child(3) { background: #28c840; }
.finder .bar span { margin-left: 14px; font-weight: 600; }
.finder .body { display: flex; min-height: 260px; }
.finder .side { width: 150px; flex: none; background: var(--side); padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; }
.finder .side small { font-size: 11px; font-weight: 600; color: #8a8f98; margin-top: 8px; }
.finder .side span { padding: 3px 8px; margin: 0 -8px; border-radius: 7px; display: flex; align-items: center; }
.finder .side .dev { background: var(--sel); font-weight: 600; }
.finder .side .dev em { margin-left: auto; color: #6d727b; } .finder .side .dev svg { width: 11px; height: 11px; }
.finder .files { flex: 1; padding: 22px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 8px; align-content: start; text-align: center; }
.finder .files svg { width: 54px; height: 42px; margin: 0 auto 6px; }

/* the Crosslane menu bar panel, after the app's PanelView */
.panel { position: absolute; right: 96px; top: 40px; width: 320px; z-index: 2; padding: 14px; border-radius: 20px;
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.4); color: var(--glass-text); font-size: 13px;
  box-shadow: 0 30px 60px -18px rgba(20,22,40,.45), inset 0 0 0 1px rgba(255,255,255,.35); }
.ph { display: flex; align-items: center; gap: 10px; }
.glyph { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff; }
.glyph svg { width: 20px; height: 20px; }
.ph b { display: block; font-size: 15px; } .ph small { color: var(--glass-muted); font-size: 12px; }
.tabs { display: flex; gap: 4px; margin: 14px 0 12px; padding: 4px; border-radius: 13px; background: var(--glass-well); }
.tabs span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; border-radius: 9px; font-size: 12px; color: var(--glass-muted); }
.tabs span svg { width: 13px; height: 13px; }
.tabs .on { background: var(--glass-sel); color: var(--glass-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.sec { display: block; font-size: 11px; font-weight: 600; color: var(--glass-muted); margin: 0 2px 6px; }
.dev-row { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: var(--glass-card); box-shadow: inset 0 0 0 1px var(--glass-line); }
.dicon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--glass-well); }
.dicon svg { width: 16px; height: 16px; }
.dmain { flex: 1; min-width: 0; }
.dmain b { font-size: 14.5px; }
.dmain small { display: flex; align-items: center; gap: 5px; color: var(--glass-muted); font-size: 11.5px; margin: 1px 0 9px; }
.ok { width: 7px; height: 7px; border-radius: 50%; background: #2fbf5b; }
.dctl { display: flex; gap: 5px; align-items: center; }
.seg { flex: 1; display: flex; padding: 3px; border-radius: 10px; background: var(--glass-well); }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; height: 26px; border-radius: 7px; font-size: 11.5px; color: var(--glass-muted); white-space: nowrap; }
.seg svg { width: 11px; height: 11px; }
.seg .on { background: var(--glass-sel); color: var(--glass-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ib { display: grid; place-items: center; width: 30px; height: 32px; border-radius: 9px; background: var(--glass-well); }
.ib svg { width: 13px; height: 13px; }
.pnote { margin: 10px 2px 12px; font-size: 11px; line-height: 1.4; color: var(--glass-muted); }
.quit { display: block; text-align: center; padding: 8px; border-radius: 999px; background: var(--glass-well); font-size: 12.5px; font-weight: 500; }

/* the lanes: files riding between phone and Mac, one lane each way */
.lane { position: absolute; left: -110px; width: 1000px; height: 56px; border-radius: 28px; z-index: 1;
  background: rgba(255,255,255,.26); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5);
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 98%); mask-image: linear-gradient(90deg, #000 72%, transparent 98%); }
.lane.l1 { top: 438px; } .lane.l2 { top: 506px; left: -40px; width: 930px; }
.chip { position: absolute; left: 0; top: 8px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px;
  border-radius: 20px; background: var(--chip); color: var(--glass-text); font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(20,22,40,.4); }
.chip:nth-child(1) { --o: 0; } .chip:nth-child(2) { --o: 1; } .chip:nth-child(3) { --o: 2; }
.ic { width: 28px; height: 28px; border-radius: 14px; flex: none; position: relative; }
.ic.photo { background: linear-gradient(140deg, #ffb36b, #ff5f8f); }
.ic.video { background: linear-gradient(140deg, #6f7bff, #4f5bff); }
.ic.doc { background: linear-gradient(140deg, #4fd1c5, #2b9fa8); }
.ic.music { background: linear-gradient(140deg, #c084fc, #8b5cf6); }
.ic::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; background: rgba(255,255,255,.92); }
.ic.video::after { inset: 9px 8px 9px 11px; border-radius: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ic.music::after { inset: 8px 11px 10px 11px; border-radius: 2px; }

/* the phone, in front */
.phone { position: absolute; left: 0; top: 140px; width: 224px; height: 462px; padding: 9px; border-radius: 42px; z-index: 4;
  background: #1c1e24; box-shadow: 0 40px 70px -20px rgba(10,12,30,.55), inset 0 0 0 2px #3a3d46; }
.phone .screen { height: 100%; border-radius: 34px; background: #f7f8fb; color: #1a1c20; padding: 14px 17px; font-size: 12.5px; overflow: hidden; }
.phone .status { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; margin-bottom: 28px; }
.phone .status span { width: 10px; height: 10px; border-radius: 50%; background: #1c1e22; margin: 0 auto; transform: translateX(-14px); }
.ptitle { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 20px; }
.psub { font-size: 12px; font-weight: 600; color: #3f55c9; margin: 0 0 8px; }
.radios { list-style: none; margin: 0; padding: 0; }
.radios li { display: flex; align-items: center; gap: 12px; padding: 9px 0; line-height: 1.25; }
.radios li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px #73787f; }
.radios li.on { font-weight: 600; }
.radios li.on::before { box-shadow: inset 0 0 0 2px #3f55c9, inset 0 0 0 5px #f7f8fb, inset 0 0 0 9px #3f55c9; }

/* sections */
.landing section h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; margin: 0 0 14px; }
.landing .sub { color: var(--muted); font-size: 18.5px; max-width: 36em; margin: 0 0 40px; }
.how, .grid, .cross, .faq, .pricing { padding-top: 130px; }

.how h2 { text-align: center; margin-bottom: 48px !important; }
.how ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.how li { counter-increment: s; padding: 0 30px; color: var(--muted); border-left: 1px solid var(--line); }
.how li:first-child { border-left: 0; }
.how li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--tint); color: var(--brand); font-weight: 600; font-size: 19px; margin-bottom: 18px; }
.how b { display: block; color: var(--text); font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }

.tiles { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.tile { background: var(--card); border-radius: 24px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.tile b { display: block; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 10px; }
.tile p { margin: 0; }
.tile.safe { grid-row: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; color: rgba(255,255,255,.84);
  background: linear-gradient(155deg, var(--brand), var(--brand-2)); box-shadow: 0 30px 60px -30px rgba(79,91,255,.7); }
.tile.safe::before { content: ""; position: absolute; right: -36px; top: -70px; width: 120px; height: 300px; border-radius: 60px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.tile.safe > * { position: relative; }
.tile.safe b { color: #fff; font-size: 30px; }
.tile.wide { grid-column: span 2; }
.switch { margin-top: auto; padding-top: 40px; display: flex; gap: 4px; }
.switch span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 16px;
  font-weight: 600; font-size: 15px; background: rgba(255,255,255,.14); color: #fff; }
.switch svg { width: 14px; height: 14px; }
.switch .on { background: #fff; color: #4f5bff; }

.cross { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.disc-card { aspect-ratio: 1; border-radius: 36px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.bigdisc { width: 72%; overflow: visible; }
.bigdisc circle { fill: var(--brand); }
.bigdisc rect { fill: var(--card); }
.routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.routes li { display: grid; grid-template-columns: 96px 1fr 96px 128px; align-items: center; gap: 18px;
  background: var(--card); border-radius: 20px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 19px; }
.routes li span:nth-of-type(2) { text-align: right; }
.routes i { position: relative; height: 26px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px var(--line); }
.routes .now i { background: var(--tint); box-shadow: none; }
.routes .now i::after { content: ""; position: absolute; top: 5px; left: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--tint-strong); }
.routes em { justify-self: end; font-style: normal; font-size: 13.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.routes .now em { color: #fff; background: var(--brand); box-shadow: none; }

.plan { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: var(--card);
  border-radius: 30px; padding: 52px 56px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(40,44,90,.35); }
.plan::before { content: ""; position: absolute; width: 110px; height: 320px; border-radius: 55px; pointer-events: none; }
.plan::before { right: 330px; top: -170px; background: var(--tint); }
.plan > * { position: relative; }
.plan h2 { margin-bottom: 8px !important; }
.plan .sub { margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--tint); transform: translateY(-1px); }
.buy { text-align: center; min-width: 260px; }
.landing .price { font-size: 58px; line-height: 1; text-align: center; }
.landing .price s { font-size: 22px; vertical-align: 16px; margin-right: 10px; }
.buy .fine { margin: 10px 0 22px; font-size: 14px; }

.faq { max-width: 820px !important; }
.faq h2 { margin-bottom: 28px !important; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 20px; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: .8; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 40em; }

/* motion: a loop in the hero, the rest follows the scroll */
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: ride 10s linear infinite; animation-delay: calc(var(--o) * -3.33s); }
  .l2 .chip { animation-name: ride-back; animation-duration: 9s; animation-delay: calc(var(--o) * -3s); }
  .routes .now i::after { animation: shuttle 3.2s ease-in-out infinite alternate; }
  .bigdisc .sa { animation: slide-up 6s ease-in-out infinite alternate; }
  .bigdisc .sb { animation: slide-down 6s ease-in-out infinite alternate; }
  @supports (animation-timeline: view()) {
    .bigdisc .sa, .bigdisc .sb { animation-duration: auto; animation-iteration-count: 1; animation-direction: normal; animation-timing-function: linear;
      animation-fill-mode: both; animation-timeline: view(); animation-range: cover 15% cover 85%; }
    .tile.safe::before { animation: nudge linear both; animation-timeline: view(); }
  }
}
@keyframes ride { from { transform: translateX(-60px); } to { transform: translateX(1000px); } }
@keyframes ride-back { from { transform: translateX(930px); } to { transform: translateX(-200px); } }
@keyframes nudge { from { transform: translateY(-40px); } to { transform: translateY(40px); } }
@keyframes shuttle { to { left: calc(100% - 21px); } }
@keyframes slide-up { from { transform: translateY(7px); } to { transform: translateY(-7px); } }
@keyframes slide-down { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* tablet and phone */
@media (max-width: 1080px) {
  .cross { grid-template-columns: 1fr; }
  .disc-card { max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .landing .hero { padding-top: 26px; }
  .lede { font-size: 17px; }
  .landing .stage { margin-top: 36px; }
  .art { --art-w: 600; --art-h: 640; }
  .desk { left: 70px; width: 530px; }
  .menubar > b, .menubar > span { display: none; }
  .finder { display: none; }
  .panel { right: 20px; top: 44px; width: 300px; }
  .lane.l1 { left: -70px; width: 600px; } .lane.l2 { left: -40px; width: 570px; }
  .phone { top: 150px; transform: scale(.9); transform-origin: left top; }
  .how, .grid, .cross, .faq, .pricing { padding-top: 84px; }
  .how ol { grid-template-columns: 1fr; gap: 28px; }
  .how li { border-left: 0; padding: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile.safe { grid-row: auto; } .tile.wide { grid-column: auto; }
  .routes li { grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 17px; padding: 18px 20px; }
  .routes i { grid-column: 1 / -1; grid-row: 2; }
  .routes em { grid-column: 2; grid-row: 1; }
  .routes li span:nth-of-type(2) { grid-column: 1; grid-row: 3; text-align: left; }
  .plan { grid-template-columns: 1fr; padding: 34px 24px; gap: 28px; }
  .buy { min-width: 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .chip { animation-name: ride-m; } .l2 .chip { animation-name: ride-back-m; }
}
@keyframes ride-m { from { transform: translateX(-60px); } to { transform: translateX(600px); } }
@keyframes ride-back-m { from { transform: translateX(570px); } to { transform: translateX(-200px); } }
