/* ============================================================
   PCL CE — Apple-style static landing page
   ============================================================ */

:root{
  --sans: "PingFang SC","HarmonyOS Sans SC","MiSans","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif: "Instrument Serif","Iowan Old Style","Songti SC",Georgia,serif;
  --mono: ui-monospace,"SF Mono","Cascadia Mono","Segoe UI Mono",Consolas,monospace;

  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --hair: rgba(0,0,0,.09);

  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --dark: #050506;
  --on: #f5f5f7;
  --on-muted: #a1a1a6;

  --accent: #2fd36f;
  --accent-ink: #0f9d58;

  --nav-h: 58px;
  --ease: cubic-bezier(.16,1,.3,1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

*,*::before,*::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-locked{ overflow: hidden; }

img{ max-width: 100%; display: block; }
button{ font-family: inherit; }
::selection{ background: rgba(47,211,111,.24); color: #0b3d20; }

a:focus-visible,
button:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link{
  position: fixed;
  top: -60px; left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 13px;
  text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus{ top: 12px; }

.grain{
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: var(--grain);
  background-size: 180px 180px;
}

.wrap{ width: min(1140px, 100% - 48px); margin-inline: auto; }
.wrap.narrow{ width: min(880px, 100% - 48px); }
.center{ text-align: center; }
.sec{ padding: 132px 0; }

/* ============================================================
   Typography helpers
   ============================================================ */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

.accent{ color: var(--accent-ink); }
.hero .accent,
.numbers .accent,
.download .accent,
.world .accent{ color: var(--accent); }

.script{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 32px;
}

.pulse{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(47,211,111,.45);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(47,211,111,.45); }
  70%{ box-shadow: 0 0 0 9px rgba(47,211,111,0); }
  100%{ box-shadow: 0 0 0 0 rgba(47,211,111,0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .55s var(--ease), background .35s, border-color .35s, box-shadow .55s var(--ease), color .35s;
  will-change: transform;
}
.btn:active{ transform: scale(.975); }
.btn svg{ width: 17px; height: 17px; }

.btn-light{ background: var(--on); color: #1d1d1f; }
.btn-light:hover{
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45);
}

.btn-dark{ background: #1d1d1f; color: #fff; }
.btn-dark:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -14px rgba(0,0,0,.4);
}

.btn-ghost{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.2);
  color: var(--on);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.32);
}

.btn-sm{ height: 38px; padding: 0 20px; font-size: 13px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  color: var(--on);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), color .4s, border-color .5s, backdrop-filter .5s;
}
.nav-inner{
  width: min(1140px, 100% - 40px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav.is-scrolled[data-theme="dark"]{
  background: rgba(5,5,6,.66);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.on-light{
  color: var(--ink);
}
.nav.on-light.is-scrolled{
  background: rgba(255,255,255,.72);
  border-bottom-color: var(--hair);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
}
.brand-mark{ width: 19px; height: 19px; color: var(--accent); flex: none; }
.brand-name{ white-space: nowrap; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}
.nav-links a{
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  opacity: .68;
  transition: opacity .3s;
}
.nav-links a:hover{ opacity: 1; }

.nav-actions{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 34px;
}
.nav-gh{
  display: inline-flex;
  color: inherit;
  opacity: .7;
  transition: opacity .3s, transform .4s var(--ease);
}
.nav-gh:hover{ opacity: 1; transform: translateY(-1px); }
.nav-gh svg{ width: 19px; height: 19px; }

.nav-cta{
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1d1d1f;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s, transform .4s var(--ease), color .3s;
}
.nav-cta:hover{ transform: translateY(-1px); background: #fff; }
.nav.on-light .nav-cta{ background: #1d1d1f; color: #fff; }
.nav.on-light .nav-cta:hover{ background: #000; }

.nav-toggle{
  display: none;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 150;
  padding: calc(var(--nav-h) + 40px) 28px 40px;
  background: rgba(5,5,6,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--on);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.mobile-menu[hidden]{ display: none; }
.mobile-menu.is-open{ opacity: 1; }

.mobile-menu nav{ display: flex; flex-direction: column; }
.mobile-menu nav a{
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: inherit;
  text-decoration: none;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-menu.is-open nav a{ opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1){ transition-delay: .06s; }
.mobile-menu.is-open nav a:nth-child(2){ transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(3){ transition-delay: .18s; }
.mobile-menu.is-open nav a:nth-child(4){ transition-delay: .24s; }
.mobile-menu nav a span{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .1em;
}
.mm-foot{
  margin: auto 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--faint);
}
/* ===== 倒计时模块样式 ===== */
.cd{
  --cd-fg:#f5f5f7;
  --cd-dim:#a1a1a6;
  --cd-accent:#2fd36f;
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:640px;
  padding:34px 36px 30px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:26px;
  background:#070708;
  color:var(--cd-fg);
  font-family:"PingFang SC","HarmonyOS Sans SC","MiSans","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  isolation:isolate;
}
.cd::before{
  content:"";
  position:absolute;
  inset:-40% -20% auto;
  height:150%;
  background:
    radial-gradient(46% 40% at 22% 8%, rgba(47,211,111,.16), transparent 70%),
    radial-gradient(40% 34% at 88% 0%, rgba(72,120,255,.10), transparent 72%);
  z-index:-1;
  pointer-events:none;
}

.cd-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:26px;
}
.cd-title{
  font-family:"Instrument Serif","Iowan Old Style","Songti SC",Georgia,serif;
  font-style:italic;
  font-weight:400;
  font-size:clamp(24px,3vw,32px);
  line-height:1.1;
  letter-spacing:-.01em;
  color:rgba(245,245,247,.92);
}
.cd-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:28px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  font-size:11.5px;
  letter-spacing:.12em;
  color:var(--cd-dim);
}
.cd-badge em{ font-style:normal; }
.cd-badge i{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--cd-accent);
  box-shadow:0 0 0 0 rgba(47,211,111,.45);
  animation:cdPulse 2.6s ease-out infinite;
}
@keyframes cdPulse{
  0%{ box-shadow:0 0 0 0 rgba(47,211,111,.45); }
  70%{ box-shadow:0 0 0 9px rgba(47,211,111,0); }
  100%{ box-shadow:0 0 0 0 rgba(47,211,111,0); }
}

.cd-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.cd-cell{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:6px 10px 4px;
  border-left:1px solid rgba(255,255,255,.1);
}
.cd-cell:first-child{ border-left:0; }
.cd-cell b{
  font-family:ui-monospace,"SF Mono","Cascadia Mono","Segoe UI Mono",Consolas,monospace;
  font-size:clamp(34px,5.6vw,58px);
  font-weight:500;
  line-height:1;
  letter-spacing:-.05em;
  font-variant-numeric:tabular-nums;
  color:#fff;
  transition:color .4s;
}
.cd-cell span{
  font-size:10.5px;
  letter-spacing:.18em;
  color:rgba(255,255,255,.38);
}

.cd-note{
  margin:24px 0 0;
  font-size:11.5px;
  letter-spacing:.06em;
  color:rgba(255,255,255,.36);
}

/* 已到时间 */
.cd.is-live .cd-cell b{ color:var(--cd-accent); }
.cd.is-live .cd-badge{ border-color:rgba(47,211,111,.4); color:var(--cd-accent); }
.cd.is-live .cd-badge i{ animation:none; }

@media (max-width:560px){
  .cd{ padding:26px 20px 24px; border-radius:22px; }
  .cd-head{ margin-bottom:22px; }
  .cd-grid{ grid-template-columns:1fr 1fr; }
  .cd-cell:nth-child(3){ border-left:0; }
  .cd-cell:nth-child(3),
  .cd-cell:nth-child(4){
    margin-top:18px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.1);
  }
}

@media (prefers-reduced-motion:reduce){
  .cd-badge i{ animation:none; }
  .cd-cell b{ transition:none; }
}

/* nav stays dark while the mobile menu is open */
body.is-menu .nav,
body.is-menu .nav.is-scrolled{
  background: transparent;
  border-bottom-color: transparent;
  color: var(--on);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-menu .nav-cta{ background: rgba(255,255,255,.92); color: #1d1d1f; }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 62px) 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  color: var(--on);
  overflow: hidden;
  isolation: isolate;
}

.hero-aura{
  position: absolute;
  inset: -10% -10% 0;
  z-index: 0;
  background:
    radial-gradient(26% 24% at var(--mx, 50%) var(--my, 30%), rgba(47,211,111,.12), transparent 72%),
    radial-gradient(52% 46% at 50% 4%, rgba(47,211,111,.17), transparent 66%),
    radial-gradient(46% 40% at 84% 26%, rgba(72,120,255,.11), transparent 70%),
    radial-gradient(40% 32% at 12% 34%, rgba(255,150,64,.06), transparent 72%);
  pointer-events: none;
}

.hero-grid{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 0%, transparent 78%);
  opacity: .8;
  pointer-events: none;
}

.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.hero .eyebrow{ color: #a1a1a6; margin-bottom: 26px; }

.hero h1{
  margin: 0 0 26px;
  font-size: clamp(42px, 7.4vw, 102px);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.048em;
  color: #fff;
}
.hero h1 .dim{ color: rgba(245,245,247,.42); }

.hero-sub{
  margin: 0 auto;
  max-width: 34em;
  font-size: clamp(15.5px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--on-muted);
  letter-spacing: .005em;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero-meta{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
}
.hero-meta li{ display: flex; align-items: center; }
.hero-meta li + li::before{
  content: "";
  width: 3px; height: 3px;
  margin: 0 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
}

.hero-art{
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  margin-top: clamp(18px, 4vh, 46px);
  will-change: transform;
}
#island{
  width: 100%;
  height: auto;
  overflow: visible;
  animation: bob 11s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}

.fc{ animation: floaty 7.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fc-2{ animation-delay: -2.6s; animation-duration: 8.8s; }
.fc-3{ animation-delay: -4.4s; animation-duration: 9.6s; }
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-15px); }
}

.art-shadow{
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 52%;
  height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47,211,111,.2), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.scroll-hint{
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.28));
  z-index: 3;
}
.scroll-hint span{
  position: absolute;
  left: -1px;
  top: -8px;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  animation: hint 2.4s var(--ease) infinite;
}
@keyframes hint{
  0%{ transform: translateY(0); opacity: 0; }
  30%{ opacity: 1; }
  100%{ transform: translateY(48px); opacity: 0; }
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker{
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 17px 0;
  overflow: hidden;
}
.ticker-track{
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state: paused; }
.ticker-set{
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  flex: none;
}
.ticker-set span{
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.ticker-set span::before{
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  flex: none;
}
@keyframes marquee{ to{ transform: translateX(-50%); } }

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto{
  background: var(--paper);
  padding: 154px 0 140px;
  text-align: center;
}
.manifesto .script{ color: var(--ink); }
.manifesto h2{
  margin: 0 0 22px;
  font-size: clamp(24px, 2.9vw, 36px);
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--faint);
}
.manifesto .lead{
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.85;
  letter-spacing: -.011em;
  color: var(--ink);
}

.principles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--hair);
  text-align: left;
}
.principle{ padding: 34px 28px 0; border-left: 1px solid var(--hair); }
.principle:first-child{ border-left: 0; padding-left: 0; }
.principle:last-child{ padding-right: 0; }
.p-index{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--accent-ink);
}
.principle h3{
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.principle p{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============================================================
   Section heads
   ============================================================ */
.sec-head{ max-width: 780px; margin-bottom: 58px; }
.sec-head.center{ margin-inline: auto; text-align: center; }
.sec-head h2{
  margin: 0 0 16px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.042em;
}
.sec-sub{
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--muted);
}
.numbers .sec-sub,
.download .sec-sub{ color: var(--faint); }

/* ============================================================
   Bento
   ============================================================ */
.features{ background: var(--paper-2); }

.bento{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.span4{ grid-column: span 4; }
.span5{ grid-column: span 5; }
.span7{ grid-column: span 7; }
.span12{ grid-column: span 12; }

.card{
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 340px;
  padding: 32px;
  border-radius: 26px;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.card:hover{ transform: translateY(-4px); }

.card-light{
  background: #fff;
  border: 1px solid rgba(0,0,0,.055);
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 18px 40px -24px rgba(0,0,0,.12);
}
.card-light:hover{ box-shadow: 0 30px 64px -30px rgba(0,0,0,.2); }

.card-dark{
  background: #0b0b0d;
  border: 1px solid rgba(255,255,255,.07);
  color: var(--on);
}
.card-dark::after{
  content: "";
  position: absolute;
  right: -18%;
  bottom: -55%;
  width: 80%;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(47,211,111,.16), transparent 66%);
  pointer-events: none;
}
.card-dark > *{ position: relative; z-index: 1; }
.card-dark:hover{ box-shadow: 0 34px 70px -34px rgba(0,0,0,.55); }

.card-copy{ position: relative; z-index: 1; }
.card-copy h3{
  margin: 12px 0 9px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.card-copy p{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.card-dark .card-copy p{ color: #a1a1a6; }

.tag{
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(47,211,111,.1);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card-dark .tag{
  background: rgba(47,211,111,.13);
  color: #7ee787;
}

/* --- crash terminal --- */
.term{
  background: #000;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.term-bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.term-bar i{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3a3a3c;
}
.term-bar span{
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: #6e6e73;
}
.term pre{
  margin: 0;
  padding: 16px 16px 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 2;
  color: #8e8e93;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.term .ln{ color: #8e8e93; }
.term .hit{
  color: #ff8a80;
  background: rgba(255,69,58,.1);
  border-radius: 4px;
  padding: 1px 3px;
}
.term-result{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 15px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12px;
  color: #d1d1d6;
}
.term-result p{ margin: 0; }
.ok{
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(47,211,111,.14);
  color: #7ee787;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

/* --- folders --- */
.folders{
  position: relative;
  height: 168px;
  margin-top: 4px;
}
.folder{
  position: absolute;
  width: 73%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.3);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.folder .f-bar{
  display: block;
  width: 34px; height: 4px;
  margin-bottom: 11px;
  border-radius: 9px;
  background: rgba(0,0,0,.12);
}
.folder strong{
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.folder em{
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}
.f1{ top: 0; left: 0; transform: rotate(-3.4deg); z-index: 1; }
.f2{ top: 44px; right: 0; transform: rotate(2.6deg); z-index: 2; }
.f3{ bottom: 0; left: 9%; transform: rotate(-1.2deg); z-index: 3; background: #fff; }
.card:hover .f1{ transform: rotate(-5.5deg) translate(-4px,-4px); }
.card:hover .f2{ transform: rotate(4deg) translate(4px,-2px); }
.card:hover .f3{ transform: rotate(0) translateY(-4px); box-shadow: 0 22px 40px -20px rgba(0,0,0,.34); }

/* --- resources --- */
.res-list{ display: flex; flex-direction: column; gap: 8px; }
.res-row{
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--paper-2);
}
.res-row i{
  width: 26px; height: 26px;
  border-radius: 7px;
  flex: none;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.res-row span{ font-size: 12.5px; letter-spacing: -.005em; }
.res-row em{
  margin-left: auto;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  color: var(--faint);
}

/* --- accounts --- */
.accounts{ display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.av-stack{ display: flex; }
.av-stack span{
  width: 40px; height: 40px;
  margin-left: -11px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.3);
}
.av-stack span:first-child{ margin-left: 0; }
.acct-chip{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12px;
  color: var(--ink-2);
}

/* --- java --- */
.java-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.jchip{
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.09);
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  transition: transform .5s var(--ease);
}
.jchip.is-on{
  background: #0b0b0d;
  border-color: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.jchip.is-on::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- wide open source --- */
.card-wide{
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 168px;
  padding: 34px 40px;
}
.card-wide .card-copy{ max-width: 62%; }
.wide-right{ display: flex; align-items: center; gap: 20px; flex: none; }
.license{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.42);
}

/* ============================================================
   Numbers
   ============================================================ */
.numbers{
  background: var(--dark);
  color: var(--on);
}
.stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat{ padding: 42px 26px 0; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child{ border-left: 0; padding-left: 0; }
.num{
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.num small{
  font-size: .4em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent);
}
.stat p{
  margin: 15px 0 0;
  font-size: 13.5px;
  color: var(--faint);
}

/* ============================================================
   Tour / launcher mockup
   ============================================================ */
.tour{ background: var(--paper); }

.tabs{
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  margin-bottom: 34px;
  border-radius: 999px;
  background: #f0f0f2;
}
.tab{
  appearance: none;
  border: 0;
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: background .35s, color .35s, box-shadow .35s;
}
.tab:hover{ color: var(--ink); }
.tab.is-active{
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.launcher{
  border-radius: 22px;
  overflow: hidden;
  background: #0f0f11;
  border: 1px solid rgba(0,0,0,.24);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.12);
}
.launcher-bar{
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 17px;
  background: #191919;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tls{ display: flex; gap: 7px; }
.tls i{ width: 11px; height: 11px; border-radius: 50%; }
.tls i:nth-child(1){ background: #ff5f57; }
.tls i:nth-child(2){ background: #febc2e; }
.tls i:nth-child(3){ background: #28c840; }
.launcher-title{
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: #6e6e73;
}
.launcher-bar::after{ content: ""; width: 44px; }

.launcher-body{
  display: grid;
  grid-template-columns: 76px 1fr;
  min-height: 468px;
}
.rail{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  background: #0a0a0c;
  border-right: 1px solid rgba(255,255,255,.05);
}
.rail-btn{
  position: relative;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #6e6e73;
}
.rail-btn svg{
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rail-btn.is-on{ color: #f5f5f7; background: rgba(255,255,255,.08); }
.rail-btn.is-on::before{
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  width: 3px; height: 18px;
  border-radius: 3px;
  background: var(--accent);
  transform: translateY(-50%);
}

.screens{ padding: 22px; }
.screen{ display: none; }
.screen.is-active{ display: block; animation: screenIn .55s var(--ease) both; }
#screen-home.is-active{
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  gap: 16px;
}
@keyframes screenIn{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: none; }
}

/* home */
.mc-card{
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(47,211,111,.32), transparent 60%),
    linear-gradient(155deg, #14432c 0%, #0a2016 55%, #0a0a0c 100%);
  color: #fff;
}
.mc-art{
  position: absolute;
  top: -18px; right: -18px;
  width: 190px;
  opacity: .55;
}
.mc-art svg{ width: 100%; height: auto; }
.mc-kicker{
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.mc-card h4{
  margin: 9px 0 5px;
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.mc-meta{
  margin: 0 0 20px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.mc-actions{ display: flex; align-items: center; gap: 13px; }
.mc-launch{
  border: 0;
  padding: 11px 23px;
  border-radius: 999px;
  background: var(--on);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s;
}
.mc-launch:hover{ background: #fff; transform: translateY(-1px); }
.mc-chip{ font-size: 11px; color: rgba(255,255,255,.5); }

.mc-side{
  padding: 22px;
  border-radius: 18px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.06);
}
.side-title{
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6e6e73;
}
.news{ margin: 0; padding: 0; list-style: none; }
.news li{
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 12.5px;
  line-height: 1.45;
  color: #d1d1d6;
}
.news li:last-child{ border-bottom: 0; }
.news span{
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  color: #6e6e73;
  padding-top: 2px;
}

/* store */
.store-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.store-head h4{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--on);
}
.store-head span{ font-size: 11.5px; color: #6e6e73; }

.store-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rtile{
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border-radius: 14px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .5s var(--ease), background .3s;
}
.rtile:hover{ transform: translateY(-2px); background: #1a1a1e; }
.rtile i{
  height: 66px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.rtile strong{
  font-size: 12.5px;
  font-weight: 500;
  color: var(--on);
  letter-spacing: -.01em;
}
.rtile small{ font-size: 10.5px; color: #6e6e73; }

/* versions */
.v-list{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.v-list li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.06);
}
.v-list strong{
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--on);
}
.v-list small{ display: block; margin-top: 2px; font-size: 11px; color: #6e6e73; }
.v-chip{
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: #a1a1a6;
}
.v-chip.is-on{
  border-color: transparent;
  background: rgba(47,211,111,.14);
  color: #7ee787;
}

/* settings */
.set-list{ display: flex; flex-direction: column; gap: 8px; }
.set-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #151518;
  border: 1px solid rgba(255,255,255,.06);
}
.set-row strong{
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--on);
}
.set-row small{ display: block; margin-top: 2px; font-size: 11px; color: #6e6e73; }
.switch{
  position: relative;
  flex: none;
  width: 40px; height: 23px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  transition: background .35s;
}
.switch::after{
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform .35s var(--ease);
}
.switch.is-on{ background: #2f9e44; }
.switch.is-on::after{ transform: translateX(17px); }

.tour-note{
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--faint);
}

/* ============================================================
   World / parallax
   ============================================================ */
.world{
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(460px, 74vh, 780px);
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
.world-img{
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 56%;
  transform: scale(1.16);
  will-change: transform;
}
.world-veil{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 20%, rgba(5,5,6,.6) 100%),
    linear-gradient(180deg, rgba(5,5,6,.62) 0%, rgba(5,5,6,.12) 38%, rgba(5,5,6,.82) 100%);
}
.world-copy{
  position: relative;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
  color: var(--on);
}
.world-copy .script{
  margin-bottom: 20px;
  font-size: clamp(20px, 2.7vw, 32px);
  color: rgba(245,245,247,.82);
}
.world-copy h2{
  margin: 0;
  font-size: clamp(34px, 5.4vw, 70px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.045em;
  text-shadow: 0 12px 40px rgba(0,0,0,.45);
}

/* ============================================================
   Community
   ============================================================ */
.community{ background: var(--paper); }

.avatars{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 46px auto 0;
}
.avatar{
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px -6px rgba(0,0,0,.3);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.avatar:hover{ transform: translateY(-5px) scale(1.06); box-shadow: 0 14px 24px -8px rgba(0,0,0,.28); }
.avatar-more{
  background: transparent;
  border: 1px dashed rgba(0,0,0,.22);
  color: var(--faint);
  font-size: 11.5px;
  font-weight: 500;
  box-shadow: none;
}
.avatar-more:hover{ color: var(--ink); border-color: rgba(0,0,0,.4); }

.comm-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin: 56px auto 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  text-align: center;
}
.comm-stats div{ padding: 26px 10px; border-left: 1px solid var(--hair); }
.comm-stats div:first-child{ border-left: 0; }
.comm-stats strong{
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--ink);
}
.comm-stats span{ display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }

.comm-cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}
.link-arrow{
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.link-arrow:hover{ color: var(--ink); }

/* ============================================================
   Download
   ============================================================ */
.download{
  position: relative;
  overflow: hidden;
  padding: 156px 0 168px;
  background: var(--dark);
  color: var(--on);
  text-align: center;
  isolation: isolate;
}
.dl-aura{
  position: absolute;
  inset: -20% -10% 0;
  background:
    radial-gradient(52% 46% at 50% 32%, rgba(47,211,111,.16), transparent 68%),
    radial-gradient(38% 34% at 82% 64%, rgba(64,110,255,.09), transparent 70%);
  pointer-events: none;
}
.download h2{
  position: relative;
  margin: 0 0 20px;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.045em;
}
.dl-ver{
  position: relative;
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  color: var(--faint);
}
.dl-ver span{ margin: 0 7px; color: rgba(255,255,255,.25); }

.dl-btns{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}
.dl-btn{ height: 50px; }

.dl-note{
  position: relative;
  margin: 28px 0 0;
  font-size: 12px;
  color: #6e6e73;
  letter-spacing: .02em;
}

/* ============================================================
   Footer
   ============================================================ */
.footer{
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 72px 0 40px;
  color: var(--faint);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
.f-brand .brand{ color: var(--on); margin-bottom: 16px; }
.f-brand p{
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.85;
  color: #6e6e73;
}
.f-col h4{
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--on);
}
.f-col a{
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
  transition: color .3s;
}
.f-col a:hover{ color: var(--on); }

.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom p{ margin: 0; font-size: 11.5px; color: #6e6e73; }

/* ============================================================
   Toast
   ============================================================ */
.toast{
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 500;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(29,29,31,.94);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.toast.is-shown{ opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Reveal
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in{ opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px){
  .nav-links{ gap: 20px; }
  .nav-actions{ margin-left: 24px; }
}

@media (max-width: 960px){
  .span7, .span5{ grid-column: span 12; }
  .span4{ grid-column: span 6; }
  .card{ min-height: 300px; }
  .card-wide{
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
  }
  .card-wide .card-copy{ max-width: 100%; }
  .wide-right{ flex-wrap: wrap; }
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .stat{ padding: 34px 22px 0; }
  .stat:nth-child(3){ border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3){
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 30px;
  }
  .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr; }
  .f-brand{ grid-column: span 3; }
}

@media (max-width: 860px){
  .nav-links{ display: none; }
  .nav-gh{ display: none; }
  .nav-toggle{
    display: block;
  }
  .nav-toggle span{
    position: absolute;
    left: 8px;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .45s var(--ease), opacity .3s;
  }
  .nav-toggle span:nth-child(1){ top: 13px; }
  .nav-toggle span:nth-child(2){ top: 19px; }
  body.is-menu .nav-toggle span:nth-child(1){ transform: translateY(3px) rotate(45deg); }
  body.is-menu .nav-toggle span:nth-child(2){ transform: translateY(-3px) rotate(-45deg); }
  .nav-actions{ margin-left: auto; }
  .sec{ padding: 104px 0; }
  .hero{ padding-top: calc(var(--nav-h) + 48px); }
  .launcher-body{ grid-template-columns: 62px 1fr; }
  .rail-btn.is-on::before{ left: -10px; }
  .screens{ padding: 16px; }
  #screen-home.is-active{ grid-template-columns: 1fr; }
  .mc-card{ min-height: 260px; }
  .tour .tabs{ margin-bottom: 26px; }
  .world{ height: clamp(400px, 64vh, 560px); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .f-brand{ grid-column: span 2; }
  .manifesto{ padding: 120px 0 110px; }
}

@media (max-width: 680px){
  .wrap, .wrap.narrow{ width: calc(100% - 40px); }
  .span4{ grid-column: span 12; }
  .card{ padding: 26px; border-radius: 22px; }
  .card-wide{ padding: 28px; }
  .card-copy h3{ font-size: 19px; }

  .hero-meta{ font-size: 9.5px; letter-spacing: .1em; }
  .hero-meta li + li::before{ margin: 0 10px; }
  .hero-actions .btn{ height: 46px; padding: 0 22px; font-size: 14px; }
  .hero-sub br{ display: none; }

  .principles{ grid-template-columns: 1fr; margin-top: 56px; border-top: 0; }
  .principle{
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
  .principle:first-child{ padding: 0 0 26px; border-top: 0; }

  .num{ font-size: 40px; }
  .stat{ padding: 26px 16px 0; }
  .stat:nth-child(3){ padding-left: 0; }
  .stat:nth-child(n+3){ padding-top: 26px; }

  .launcher{ border-radius: 18px; }
  .launcher-body{ grid-template-columns: 1fr; min-height: 0; }
  .rail{ display: none; }
  .store-grid{ grid-template-columns: 1fr 1fr; gap: 8px; }
  .rtile i{ height: 52px; }
  .rtile strong{ font-size: 11.5px; }
  .v-list li, .set-row{ padding: 12px 13px; }

  .community .sec-head h2{ font-size: 30px; }
  .avatars{ gap: 8px; margin-top: 34px; }
  .avatar{ width: 42px; height: 42px; font-size: 13px; }
  .comm-stats strong{ font-size: 22px; }
  .comm-stats div{ padding: 20px 6px; }

  .download{ padding: 116px 0 126px; }
  .dl-btns{ flex-direction: column; align-items: stretch; }
  .dl-btn{ width: 100%; }

  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .f-brand{ grid-column: span 2; }
  .footer-bottom{ flex-direction: column; gap: 8px; }

  .eyebrow{ font-size: 10px; }
}

@media (max-width: 420px){
  .footer-grid{ grid-template-columns: 1fr; }
  .f-brand{ grid-column: span 1; }
  .comm-cta{ flex-direction: column; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
}
