/* Homepage: mobile-first layer. Loaded last; only affects phones (<=600px),
   with extra tightening for small phones (<=360px). Desktop and tablet are untouched.
   Goals: reach the message sooner, full-width tap targets, shorter scroll. */

@media (max-width:600px){
  /* Hero: less empty space, full-width buttons */
  .vk-hero{padding-top:36px}
  .vk-headline{gap:18px;margin-bottom:28px}
  .vk-hero h1{font-size:clamp(36px,12vw,52px);line-height:1.02}
  .vk-lead{font-size:16px;line-height:1.55;margin:0}
  .vk-buttons{flex-direction:column;align-items:stretch;width:100%;gap:10px}
  .vk-cta-main,.vk-cta-book{width:100%;min-height:52px;justify-content:center;font-size:15px}
  .vk-cta-book{padding:8px 20px 8px 8px}
  .vk-item{width:72vw;height:52vw;max-width:300px;max-height:220px}

  /* Section rhythm: tighter vertical padding */
  .vk-install{padding:56px 0 48px}
  .vk-install-head{margin-bottom:24px}
  .vk-install-head>p{font-size:15px}
  .vk-app{padding:56px 0 64px}
  .vk-kit{padding:56px 0 64px}
  .vk-kit-head{margin-bottom:24px}
  .vk-sec{padding:56px 0 64px}
  .vk-sec-top{margin-bottom:24px}

  /* What we install: compact two-up grid instead of six tall cards */
  .sx-home .sx-grid,.sx-grid-sec .sx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sx-home .sx-card,.sx-grid-sec .sx-card{padding:16px 10px 0;border-radius:16px}
  .sx-home .sx-badge,.sx-grid-sec .sx-badge{font-size:10.5px;padding:4px 8px;margin-bottom:10px;white-space:nowrap;gap:5px}
  .sx-home .sx-badge::before,.sx-grid-sec .sx-badge::before{width:6px;height:6px}
  .sx-home .sx-card h2,.sx-grid-sec .sx-card h2{font-size:16px;line-height:1.25}
  .sx-home .sx-more,.sx-grid-sec .sx-more{font-size:13px;margin-top:6px}
  .sx-home .sx-art,.sx-grid-sec .sx-art{min-height:0;padding:10px 4px 14px}
  .sx-home .sx-art img,.sx-grid-sec .sx-art img{max-height:92px}
  .sx-home .sx-art .pair img,.sx-grid-sec .sx-art .pair img{max-height:84px}
  .sx-home .sx-art svg,.sx-grid-sec .sx-art svg{height:92px}
  .sx-home-acts{flex-direction:column;align-items:stretch;margin-top:24px}
  .sx-home-acts .sx-cta{width:100%;justify-content:center;text-align:center}
  .sx-home-all{text-align:center}

  /* Closing band buttons full width */
  .closing-actions{align-items:stretch}
}

@media (max-width:600px){
  /* Sector pages: pain sections, how-it-works timeline, schools map */
  .dp-pain,.dp-how{padding:56px 0}
  .dp-pain-grid,.dp-pain-alt .dp-pain-grid{gap:28px}
  .dp-how-top{gap:28px;margin-bottom:32px}
  .dp-flow{grid-template-columns:1fr;row-gap:22px}
  .dp-flow::before{display:block;left:21px;right:auto;top:22px;bottom:22px;width:2px;height:auto}
  .dp-flow::after{display:none}
  .dp-flow li{display:grid;grid-template-columns:44px 1fr;column-gap:16px;align-items:start}
  .dp-node{grid-row:1/3;width:44px;height:44px;font-size:16px;box-shadow:0 0 0 6px #061633}
  .dp-node-end{box-shadow:0 0 0 6px #061633,0 0 28px rgba(22,155,215,.5)}
  .dp-node-end svg{width:20px;height:20px}
  .dp-flow h3{margin:10px 0 0;font-size:18px}
  .dp-flow p{margin-top:4px;max-width:none;font-size:15px}
  .sc-map{padding:56px 0}
  .sc-map-head{margin-bottom:28px}
}

@media (max-width:360px){
  .sx-home .sx-grid,.sx-grid-sec .sx-grid{gap:8px}
  .sx-home .sx-card,.sx-grid-sec .sx-card{padding:14px 6px 0}
  .sx-home .sx-badge,.sx-grid-sec .sx-badge{font-size:9.5px;padding:3px 7px}
  .sx-home .sx-card h2,.sx-grid-sec .sx-card h2{font-size:15px}
}

@media (max-width:600px){
  /* Our security page */
  .sx-hero{padding:40px 0 28px}
  .sx-hero h1{font-size:clamp(36px,11vw,46px)}
  .sx-hero p{font-size:16px;margin-top:16px}
  .sx-grid-sec{padding-bottom:56px}
  .sx-note{margin-top:18px}
  .sx-paths{padding-top:56px}
  .sx-path{padding:22px}
  .sx-path h3{font-size:22px}
  .sx-path p{font-size:15px}
  .sx-path .sx-cta{width:100%;justify-content:center}
  .sx-detail{padding:56px 0}
  .sx-head{margin-bottom:28px}
  .sx-items{gap:12px}
  .sx-item{grid-template-columns:56px 1fr;gap:14px;padding:18px}
  .sx-thumb{width:56px;height:56px;border-radius:12px}
  .sx-thumb svg{height:40px}
  .sx-item h3{font-size:19px}
  .sx-item p{font-size:15px;line-height:1.55}
  .sx-item .sx-cta{width:100%;justify-content:center}
  .sx-one{padding:56px 0}
  .sx-one-grid{gap:28px}
  .sx-one-links a{width:100%;justify-content:center;text-align:center}

  /* Company page */
  .co-open{padding:44px 0 48px}
  .co-open h1{font-size:clamp(38px,11.5vw,48px)}
  .co-open-lead{font-size:17px;margin-top:20px}
  .co-story,.co-sec{padding:56px 0}
  .co-story-grid{gap:28px}
  .co-story-text p{font-size:17px}
  .co-quote{font-size:20px;margin:24px 0}
  .co-mv{padding-bottom:56px}
  .co-mv-card{padding:26px 22px 28px}
  .tm{padding:56px 0}
  .tm-head{margin-bottom:32px}
  .tm-founder{gap:22px}
  .tm-founder+.tm-founder{margin-top:48px}
  .tm-portrait img,.tm-initial{aspect-ratio:1/1;max-width:none;object-position:center 22%}
  .co-2030{padding:64px 0}
  .co-goals{grid-template-columns:1fr}
  .co-vals{grid-template-columns:1fr}
  .co-cta a{width:100%;justify-content:center;text-align:center}
}

@media (max-width:600px){
  /* Insights listing */
  .in-hero{padding:40px 0 32px}
  .in-hero h1{font-size:clamp(36px,11vw,46px)}
  .in-hero p{font-size:16px;margin-top:14px}
  .in-list{padding:28px 0 64px}
  .in-feature{gap:16px}
  .in-feature h2{font-size:24px;margin-top:10px}
  .in-feature p{font-size:15px;margin-top:10px}
  .in-more{margin-top:12px}
  .in-grid{gap:0;margin-top:32px;padding-top:4px}
  .in-card{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
  .in-card-img{grid-row:1/4;margin:0;aspect-ratio:1/1;border-radius:12px}
  .in-card .in-tag{font-size:11px;flex-wrap:wrap;gap:4px 6px}
  .in-card h3{font-size:16px;line-height:1.3;margin-top:4px}
  .in-card p{display:none}
  .in-soon{margin-top:28px;padding-top:0;border-top:0}

  /* Articles */
  .ar-head{padding-top:28px}
  .ar-head h1{font-size:clamp(30px,8.6vw,38px);margin-top:12px}
  .ar-dek{font-size:17px;margin-top:14px}
  .ar-meta{margin-top:16px;font-size:13px}
  .ar-cover{margin-top:28px}
  .ar-cover-note,.ar-body .ar-cover-note{font-size:12.5px!important;line-height:1.5!important;color:#7d8896!important}
  .ar-body{padding:40px 0 64px}
  .ar-lead{font-size:19px!important}
  .ar-body h2{font-size:24px;margin:40px 0 12px}
  .ar-stats{gap:10px;margin:28px 0}
  .ar-cta a{width:100%;justify-content:center;text-align:center}
}
