:root{
  --canvas:#FFFFFF;
  --shade:#F1F0EB;
  --ink:#0A0A0A;
  --muted:#5F5F5A;
  --rule:#E6E4DE;
  --mint:#2EE6A8;
  --mint-ink:#04241A;
  --max:1560px;
  --pad:48px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  background:var(--canvas);
  color:var(--ink);
  font-family:'Outfit',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
/* Controls do not inherit the typeface on their own; without this a <button>
   with text in it falls back to the system font. */
button,input,select,textarea{font-family:inherit}
::selection{background:var(--mint);color:var(--mint-ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* ---------------------------------------------------------- type scale */
.display{
  font-size:clamp(40px,7.6vw,104px);
  line-height:0.98;
  letter-spacing:-0.035em;
  font-weight:400;
}
.h2{
  font-size:clamp(32px,4.6vw,64px);
  line-height:1.04;
  letter-spacing:-0.03em;
  font-weight:400;
}
.h3{
  font-size:clamp(22px,2.1vw,30px);
  line-height:1.14;
  letter-spacing:-0.018em;
  font-weight:400;
}
.lead{font-size:19px;line-height:1.52;letter-spacing:-0.006em}
.body{font-size:17px;line-height:1.55;letter-spacing:-0.004em}
.sm{font-size:14px;line-height:1.4}
.muted{color:var(--muted)}
.tabnum{font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------- banner */
.banner{
  display:block;
  background:var(--mint);
  color:var(--mint-ink);
  text-align:center;
  font-size:14px;
  font-weight:500;
  padding:12px 16px;
  transition:opacity .2s;
}
.banner:hover{opacity:.88}
.banner .short{display:none}

/* ---------------------------------------------------------- header */
.hdr{
  position:sticky;top:0;z-index:60;
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;
  /* On a wide screen the bar's contents line up with the page's column
     instead of drifting out to the window's corners. */
  padding:18px max(var(--pad),calc((100% - var(--max)) / 2 + var(--pad)));
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.hdr-left{display:flex;align-items:center;gap:40px}
/* Brand holds the left edge; nav and the CTA collect on the right so every
   actionable thing sits in one place instead of two. */
.hdr .nav{margin-left:auto;margin-right:18px}
.brand{display:flex;align-items:center;gap:11px}
.brand svg{height:26px;width:auto;color:var(--ink);flex-shrink:0}
.brand span{font-size:24px;font-weight:500;letter-spacing:-0.03em}
.nav{display:flex;align-items:center;gap:24px}
.nav a{font-size:15px;font-weight:400;color:rgba(10,10,10,.72);transition:color .2s}
.nav a:hover,.nav a.on{color:var(--ink)}

/* ---------------------------------------------------------- buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;
  font-size:15px;font-weight:500;
  padding:13px 26px;
  white-space:nowrap;
  transition:opacity .2s,background .2s,box-shadow .25s,transform .25s cubic-bezier(.2,.7,.2,1);
  cursor:pointer;border:0;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:scale(.985)}
.btn-dark{
  background:linear-gradient(to bottom,#2B2B2B,#000);
  color:#fff;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.28);
}
.btn-dark:hover{box-shadow:inset 0 1px 2px rgba(255,255,255,.28),0 10px 22px rgba(10,10,10,.2)}
.btn-light{background:#fff;color:var(--ink);border:1px solid var(--rule)}
.btn-light:hover{background:var(--shade)}
.btn-mint{background:var(--mint);color:var(--mint-ink);font-weight:600}
.btn-mint:hover{opacity:.9}
.btn-sm{padding:10px 22px;font-size:14px}
.link-u{
  font-size:15px;font-weight:500;
  text-decoration:underline;text-underline-offset:5px;
  text-decoration-color:rgba(10,10,10,.28);
  transition:text-decoration-color .2s;
}
.link-u:hover{text-decoration-color:var(--ink)}

/* ---------------------------------------------------------- layout */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.narrow{max-width:1180px;margin:0 auto;padding:0 var(--pad)}
.center{text-align:center}
.band{width:100%;overflow:hidden}
.band img{width:100%;height:auto;object-fit:cover}
.sec{padding:120px 0}
.sec-tight{padding:88px 0}
.shade{background:var(--shade)}

/* hero */
.hero{padding:64px 0 0}
.hero .display{max-width:1340px;margin:0 auto;text-wrap:balance}
.partners{
  display:flex;align-items:center;justify-content:center;
  gap:56px;flex-wrap:wrap;
  margin-top:44px;
}
.partner{display:flex;align-items:center;gap:11px;opacity:.72}
.partner .mask{
  display:inline-block;background:var(--ink);
  width:26px;height:26px;
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
}
.partner span{font-size:19px;font-weight:600;white-space:nowrap}
.partner .pre{font-weight:400}

/* two-column prose */
.prose2{
  display:grid;grid-template-columns:1fr 1fr;
  gap:72px;
}
.prose2 p{font-size:21px;line-height:1.48;letter-spacing:-0.01em;color:var(--muted)}
.prose2 p + p{color:var(--ink)}

/* two big cards */
.cards2{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:56px}
/* No card chrome. The art is a rounded plate and the copy sits straight on the
   section background; a white panel behind the text competes with the painting
   and makes the pair read as two boxes instead of an image with a caption. */
.card-lg{
  background:none;
}
.card-lg .art{
  aspect-ratio:7/5;
  overflow:hidden;
  background:var(--shade);
  border-radius:22px;
}
.card-lg .art img{width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.card-lg:hover .art img{transform:scale(1.035)}
.card-lg .body-pad{padding:30px 2px 8px}
.card-lg h3{margin-bottom:12px}
.card-lg p{color:var(--muted);margin-bottom:26px;max-width:460px}
.card-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}

/* security 2x2 */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:60px}
.feat{
  background:var(--shade);
  border-radius:20px;
  padding:34px;
  display:flex;align-items:flex-start;gap:26px;
  justify-content:space-between;
}
.feat-txt h3{margin-bottom:12px}
.feat-txt p{color:var(--muted);font-size:16px;line-height:1.52;max-width:400px}
.feat-art{
  flex:0 0 168px;width:168px;height:168px;
  border-radius:16px;overflow:hidden;
}
.feat-art img{width:100%;height:100%;object-fit:cover}

/* numbered steps */
.steps{display:grid;grid-template-columns:1fr 1fr;gap:64px 72px;margin-top:64px}
.step .n{
  font-size:14px;font-weight:500;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  display:block;margin-bottom:10px;
}
.steps-3{grid-template-columns:repeat(3,1fr);gap:56px}
.step h3{margin-bottom:12px}
.step p{color:var(--muted);font-size:17px;line-height:1.55}

/* fund cards */
.funds{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:56px}
.fund{
  border:1px solid var(--rule);
  border-radius:18px;
  padding:28px;
  background:var(--canvas);
}
.fund-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.fund-name{font-size:22px;letter-spacing:-0.018em}
.pill{
  font-size:11px;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;
  background:rgba(46,230,168,.22);color:var(--mint-ink);
  padding:5px 11px;border-radius:999px;
}
.fund-ens{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:12px;color:var(--muted);margin-bottom:24px;
}
.fund-row{
  display:flex;justify-content:space-between;
  font-size:15px;padding:9px 0;
  border-bottom:1px solid var(--rule);
}
.fund-row:last-child{border-bottom:0}
.fund-row span:first-child{color:var(--muted)}
.up{color:#0F7A55;font-weight:600}

/* token fee bars */
.fees{border:1px solid var(--rule);border-radius:22px;padding:44px;margin-top:56px}
.fee{margin-bottom:34px}
.fee:last-child{margin-bottom:0}
.fee-top{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:12px}
.fee-top .lbl{font-size:24px;letter-spacing:-0.018em}
.fee-top .note{font-size:14px;color:var(--muted);margin-left:14px}
.fee-top .pct{font-size:24px;font-variant-numeric:tabular-nums}
.bar{height:9px;border-radius:999px;background:var(--rule);overflow:hidden}
.bar i{display:block;height:100%;background:var(--mint);border-radius:999px}

/* supply grid */
.supply{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:56px}
.supply .box{border:1px solid var(--rule);border-radius:18px;padding:30px}
.supply .box .top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}
.supply .box .top .k{font-size:22px;letter-spacing:-0.018em}
.supply .box .top .v{font-size:22px;font-variant-numeric:tabular-nums}
.supply .box p{color:var(--muted);font-size:15px;margin-top:14px;line-height:1.5}

/* roadmap */
.road{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:56px}
.road .r{border:1px solid var(--rule);border-radius:18px;padding:26px}
.road .r .t{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:13px;color:var(--mint-ink);
  background:rgba(46,230,168,.18);
  display:inline-block;padding:5px 11px;border-radius:999px;
  margin-bottom:16px;
}
.road .r p{font-size:16px;line-height:1.5}

/* code block */
.codeblk{
  background:var(--ink);color:#fff;
  border-radius:22px;padding:44px;margin-top:52px;
}
/* The harnesses the skill runs under: a list, so none of them looks selected. */
.codeblk .works{display:flex;gap:8px;margin-bottom:26px;flex-wrap:wrap}
.codeblk .works span{
  font-size:14px;padding:6px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.78);
}
.codeblk p{color:rgba(255,255,255,.82);font-size:17px;line-height:1.55;margin-bottom:22px;max-width:760px}
.codeblk .cmd{
  background:rgba(0,0,0,.42);
  border:1px solid rgba(255,255,255,.12);
  border-radius:13px;padding:19px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:14px;overflow-x:auto;
}
.codeblk .cmd button{
  background:none;border:0;color:rgba(255,255,255,.55);
  font-size:14px;cursor:pointer;flex-shrink:0;
  font-family:inherit;
}
.codeblk .cmd button:hover{color:#fff}
.codeblk .foot{color:rgba(255,255,255,.55);font-size:14px;margin:22px 0 0}

/* stats row */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:56px}
.stat{border:1px solid var(--rule);border-radius:18px;padding:30px}
.stat .k{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:13px;color:var(--mint-ink);
  background:rgba(46,230,168,.18);
  display:inline-block;padding:5px 11px;border-radius:999px;margin-bottom:16px;
}
.stat .k.dim{background:var(--shade);color:var(--muted)}
.stat h3{margin-bottom:10px}
.stat p{color:var(--muted);font-size:16px;line-height:1.5}

/* closer */
.closer{padding:120px 0 0;text-align:center}
.sec:not(.shade) + .closer{padding-top:24px}
.closer .h2{max-width:1000px;margin:0 auto}
.closer-actions{display:flex;gap:14px;justify-content:center;margin-top:36px;flex-wrap:wrap}

/* footer */
.ftr{padding:80px 0 120px;position:relative;overflow:hidden}
/* The mark, large and barely there, in the empty right-hand corner of the page's
   last screen. It runs off the bottom edge so it reads as part of the paper. */
.ftr::after{
  content:"";
  position:absolute;z-index:0;pointer-events:none;
  right:max(var(--pad),calc((100% - var(--max)) / 2 + var(--pad)));
  bottom:-150px;
  width:400px;aspect-ratio:612/759;
  background:var(--shade);
  -webkit-mask:url(/logo.svg) center/contain no-repeat;
  mask:url(/logo.svg) center/contain no-repeat;
}
.ftr .wrap{position:relative;z-index:1}
.ftr-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:52px}
.ftr .brand{margin-bottom:18px}
.ftr .tag{color:var(--muted);font-size:15px;max-width:280px;line-height:1.5}
.ftr .copy{color:var(--muted);font-size:14px;margin-top:26px}
.ftr h4{font-size:15px;font-weight:600;margin-bottom:16px}
.ftr li{margin-bottom:11px}
.ftr li a{color:var(--muted);font-size:15px;transition:color .2s}
.ftr li a:hover{color:var(--ink)}
.langs{display:flex;gap:16px;margin-top:20px}
.langs a{font-size:14px;color:var(--muted)}
.langs a.on{color:var(--ink);font-weight:600}

/* app page */
.app-hdr{border-bottom:1px solid var(--rule)}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 13px;border-radius:999px;
  font-size:12px;font-weight:500;
  background:rgba(46,230,168,.18);color:var(--mint-ink);
}
.chip .dot{width:6px;height:6px;border-radius:50%;background:var(--mint-ink)}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:36px}
.metric{border:1px solid var(--rule);border-radius:16px;padding:22px}
.metric .k{font-size:14px;color:var(--muted);margin-bottom:8px}
.metric .v{font-size:28px;letter-spacing:-0.02em;font-variant-numeric:tabular-nums}
.tbl-wrap{border:1px solid var(--rule);border-radius:18px;overflow:hidden;margin-top:28px}
.tbl-top{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:18px 26px;border-bottom:1px solid var(--rule);
}
.tbl-top .t{font-size:15px;font-weight:600}
table{width:100%;border-collapse:collapse;font-size:15px}
th{
  text-align:left;font-weight:500;color:var(--muted);
  padding:13px 26px;border-bottom:1px solid var(--rule);font-size:14px;
}
td{padding:18px 26px;border-bottom:1px solid var(--rule)}
tr:last-child td{border-bottom:0}
tbody tr:hover{background:var(--shade)}
.ta-r{text-align:right}
.searchbox{
  display:flex;align-items:center;gap:9px;
  border:1px solid var(--rule);border-radius:999px;
  padding:9px 15px;font-size:14px;color:var(--muted);min-width:230px;
}
.searchbox .kbd{margin-left:auto;font-family:ui-monospace,monospace;font-size:12px}

/* ---------------------------------------------------------- responsive */
@media (max-width:1080px){
  :root{--pad:32px}
  .prose2{grid-template-columns:1fr;gap:34px}
  .cards2{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .funds{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:44px}
  .supply{grid-template-columns:1fr}
  .road{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr}
  .metrics{grid-template-columns:1fr 1fr}
  .ftr-grid{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:760px){
  :root{--pad:22px}
  .sec{padding:80px 0}
  .sec-tight{padding:60px 0}
  .hero{padding:44px 0 0}
  .nav{display:none}
  .banner .full{display:none}
  .banner .short{display:inline}
  .partners{gap:30px}
  .road{grid-template-columns:1fr}
  .ftr-grid{grid-template-columns:1fr;gap:34px}
  .ftr::after{display:none}
  .feat{flex-direction:column;gap:22px}
  .feat-art{flex-basis:auto;width:120px;height:120px}
  .fees{padding:26px}
  .codeblk{padding:26px}
  .metrics{grid-template-columns:1fr}
  .tbl-wrap{overflow-x:auto}
  table{min-width:760px}
  .closer{padding:80px 0 0}
}

/* ---------------------------------------------------------------- lifecycle */
/* Steps on the left drive a panel on the right. The panel is the point: reading
   "watchers replay the calldata" is abstract, watching a fork spin and land on
   a verdict is not. */
.flow{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:56px;
  align-items:stretch;
  margin-top:56px;
}

/* The left border is one continuous rail; the lit segment is the step on screen. */
.flow-step{
  display:block;width:100%;text-align:left;
  background:none;border:0;
  border-left:2px solid rgba(10,10,10,.12);
  padding:0 0 30px 26px;
  color:inherit;cursor:pointer;
  transition:border-color .35s ease;
}
.flow-step:last-child{padding-bottom:0}
.flow-step > *{opacity:.4;transition:opacity .35s ease}
.flow-step:hover > *{opacity:.7}
.flow-step.on{border-left-color:var(--ink)}
.flow-step.on > *{opacity:1}
.flow-step h3{
  font-size:clamp(20px,2vw,27px);
  line-height:1.15;letter-spacing:-0.018em;font-weight:400;
  margin-bottom:8px;
}
.flow-step p{
  font-size:16px;line-height:1.55;color:var(--muted);max-width:460px;
}

.flow-panel{
  position:relative;
  border-radius:22px;
  min-height:480px;
  display:flex;align-items:center;justify-content:center;
  padding:32px;
  /* Dark like the install block on /watchers: the two places the page shows
     what the machine is doing. */
  background:
    radial-gradient(85% 65% at 12% 0%,rgba(46,230,168,.24),transparent 66%),
    #0B0C0B;
  overflow:hidden;
}
.flow-panel :focus-visible,.codeblk :focus-visible{outline-color:#fff}

.flow-card{
  width:100%;max-width:460px;
  background:#fff;
  border-radius:16px;
  padding:28px 30px;
  box-shadow:0 24px 60px rgba(0,0,0,.5);
  animation:flow-in .45s cubic-bezier(.16,.84,.44,1) both;
}
@keyframes flow-in{
  from{opacity:0;transform:translateY(10px) scale(.98)}
  to{opacity:1;transform:none}
}

.flow-card .kicker{
  display:block;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);margin-bottom:10px;
}
.flow-card .title{
  font-size:20px;letter-spacing:-0.015em;margin-bottom:14px;line-height:1.3;
}
.flow-card .mono{
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:14px;color:var(--muted);line-height:1.65;
}
.flow-card .mono b{color:var(--ink);font-weight:500}
.flow-card .ok{color:#0F7A55;font-weight:600}

.flow-card .head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
}
.flow-tag{
  flex-shrink:0;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  background:var(--shade);color:var(--muted);
  border-radius:999px;padding:5px 10px;
}

/* the fork simulation state */
.flow-run{display:flex;align-items:center;gap:11px}
.spinner{
  width:15px;height:15px;flex-shrink:0;
  border:2px solid rgba(10,10,10,.14);
  border-top-color:var(--ink);
  border-radius:50%;
  animation:spin .7s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.flow-bar{
  height:6px;border-radius:999px;background:rgba(10,10,10,.08);
  overflow:hidden;margin-top:14px;
}
.flow-bar i{
  display:block;height:100%;width:0;border-radius:999px;background:var(--mint);
  animation:fill 2.4s linear forwards;
}
@keyframes fill{to{width:100%}}

.flow-dots{
  position:absolute;left:0;right:0;bottom:20px;
  display:flex;gap:7px;justify-content:center;
}
.flow-dots span{
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.26);
  transition:background .3s,width .3s;
}
.flow-dots span.on{background:#fff;width:20px;border-radius:999px}

@media (prefers-reduced-motion:reduce){
  .flow-card,.spinner,.flow-bar i{animation:none}
  .flow-step > *{opacity:1}
  .btn:hover,.btn:active,.card-lg:hover .art img{transform:none}
}

/* ---------------------------------------------------------------- hero entrance */
/* The one piece of motion on a page: the words settle, then the painting
   comes into focus. Nothing else moves on load. */
@media (prefers-reduced-motion:no-preference){
  .hero .wrap > *{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
  .hero .wrap > :nth-child(2){animation-delay:.08s}
  .hero .wrap > :nth-child(3){animation-delay:.16s}
  .hero .wrap > :nth-child(n+4){animation-delay:.24s}
  .hero .band img{animation:settle 1.5s cubic-bezier(.2,.7,.2,1) .12s both}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes settle{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}

@media (max-width:1080px){
  .flow{grid-template-columns:minmax(0,1fr);gap:36px}
  .flow-panel{min-height:340px;order:-1}
}

/* ---------------------------------------------------------------- mobile nav */
/* Below 760 the inline nav is hidden, which without this leaves a phone with no
   way to reach any section at all. */
.nav-toggle{
  display:none;
  width:42px;height:42px;
  border:0;background:none;padding:0;
  align-items:center;justify-content:center;
  flex-direction:column;gap:5px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;width:20px;height:1.5px;background:var(--ink);
  border-radius:2px;
  transition:transform .28s cubic-bezier(.6,.05,.3,1),opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.25px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}

.nav-drawer{
  position:fixed;inset:0;
  z-index:50;
  background:var(--canvas);
  padding:96px 26px 40px;
  display:flex;flex-direction:column;gap:4px;
  transform:translateY(-8px);
  opacity:0;pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
  overflow-y:auto;
}
.nav-drawer.open{opacity:1;transform:none;pointer-events:auto}
.nav-drawer a{
  font-size:26px;font-weight:400;letter-spacing:-0.02em;
  padding:15px 0;
  border-bottom:1px solid var(--rule);
}
.nav-drawer a:last-of-type{border-bottom:0}
.nav-drawer .btn{margin-top:26px;justify-content:center;padding:16px}

/* stop the page scrolling behind an open drawer */
body.nav-open{overflow:hidden}

@media (max-width:760px){
  .nav-toggle{display:flex}
  .hdr .nav{margin-right:0}
}

/* ---------------------------------------------------------------- phone pass */
@media (max-width:560px){
  .sec{padding:64px 0}
  .sec-tight{padding:48px 0}
  .hero{padding:34px 0 0}

  .display{font-size:clamp(34px,9.4vw,46px);line-height:1.02}
  .h2{font-size:clamp(27px,7.4vw,36px)}
  .h3{font-size:21px}
  .lead{font-size:17px}
  .prose2 p{font-size:18px}

  /* A 3.4:1 strip is a sliver on a phone. Crop it to 2:1 around the subject;
     each painting says where that is with object-position. */
  .band img{aspect-ratio:2/1}
  .card-lg .art{border-radius:16px}

  .feat{padding:24px}
  .feat-art{width:96px;height:96px;flex-basis:96px}

  .fees{padding:20px}
  .fee-top{flex-direction:column;gap:2px;align-items:flex-start}
  .fee-top .note{margin-left:0;display:block;margin-top:2px}
  .fee-top .pct{font-size:21px}

  .closer{padding:64px 0 0}
  .closer-actions{flex-direction:column;align-items:stretch}
  .closer-actions .btn{width:100%;justify-content:center}

  /* thumb-sized targets: 44px is the smallest reliable tap area */
  .btn{padding:14px 24px;min-height:46px}
  .btn-sm{padding:12px 18px;min-height:42px}

  .flow-panel{min-height:280px;padding:20px}
  .flow-card{max-width:none}
  .metrics{grid-template-columns:1fr 1fr}
  .stat .v{font-size:19px}

  .ftr{padding:56px 0 44px}
}

/* nothing should ever scroll sideways */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video{max-width:100%}

@media (max-width:760px){
  .searchbox{display:none}
  .chip{font-size:11px;padding:5px 10px}
}

/* ---------------------------------------------------------------- ticker pill */
/* Sits between the nav and the CTA. Price is the one number people check
   constantly, so it lives in the chrome rather than behind a click. */
.ticker-pill{
  display:inline-flex;align-items:center;gap:9px;
  border:1px solid var(--rule);border-radius:999px;
  padding:8px 14px;margin-right:10px;
  font-size:13px;font-weight:500;
  white-space:nowrap;
  transition:border-color .2s,background .2s;
}
.ticker-pill:hover{border-color:var(--ink);background:var(--shade)}
.ticker-pill .tp-sym{letter-spacing:-0.01em}
.ticker-pill .tp-price{
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;
  font-size:12px;
}
.ticker-pill.on{border-color:var(--ink)}

@media (max-width:900px){
  /* The pill is the only route to /buy, so it stays. The price is what gets
     dropped: a ticker still reads as a button, a price without room does not. */
  .ticker-pill .tp-price{display:none}
  .ticker-pill{padding:8px 13px;margin-right:8px}
}
@media (max-width:420px){
  /* Shrunk rather than hidden. Hiding it would leave no route to /buy at all,
     since the drawer no longer carries one. */
  .ticker-pill{padding:7px 11px;font-size:12px;margin-right:6px}
  .brand span{font-size:19px}
  .btn-sm{padding:10px 14px}
}

/* ---------------------------------------------------------------- header socials */
.hdr-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;flex-shrink:0;
  border-radius:9px;
  color:rgba(10,10,10,.55);
  transition:color .2s,background .2s;
}
.hdr-icon svg{width:17px;height:17px}
.hdr-icon:hover{color:var(--ink);background:var(--shade)}

/* Sits between the nav and the price, so the right side reads
   links, socials, price, menu, action. */
.hdr-icon + .ticker-pill{margin-left:6px}

@media (max-width:1040px){
  /* They live in the drawer and the footer on narrower screens, where there is
     room for labels instead of guessing at glyphs. */
  .hdr-icon{display:none}
}

.drawer-social{
  display:flex;gap:10px;margin-top:26px;
  padding-top:22px;border-top:1px solid var(--rule);
}
.drawer-social a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--rule);border-radius:999px;
  padding:13px;font-size:15px;
}
.drawer-social svg{width:16px;height:16px}
.drawer-social a:hover{background:var(--shade)}

/* ---------------------------------------------------------------- app header */
/* Search belongs beside the brand: it acts on the fund list below, not on the
   account controls, so it sits with what it searches. */
.app-hdr .hdr-left{gap:18px;flex:1;min-width:0}
.app-hdr .searchbox{max-width:280px;flex:1}
.app-hdr .hdr-left .hdr-icon{margin-right:0}
.app-hdr .hdr-left .hdr-icon + .hdr-icon{margin-left:-4px}

@media (max-width:1080px){
  .app-hdr .searchbox{display:none}
  .app-hdr .hdr-left .hdr-icon{display:none}
}

/* ---------------------------------------------------------------- token address */
/* The contract chip on /buy and /token, and the warning shown when the
   published address is a test. Filled by token-stats.js. */
.ca{
  display:inline-flex;align-items:center;gap:10px;max-width:100%;
  border:1px solid var(--rule);border-radius:999px;
  padding:10px 16px;margin-top:22px;
  font-family:ui-monospace,'SF Mono',Menlo,monospace;font-size:13px;
}
.ca span{overflow-wrap:anywhere}
.ca button{
  border:0;background:var(--shade);border-radius:999px;
  padding:5px 11px;font-size:12px;cursor:pointer;font-family:inherit;
}
.ca button:hover{background:var(--rule)}
.test-flag{
  display:inline-block;margin-top:18px;padding:9px 16px;border-radius:12px;
  background:#FBEAE5;color:#8C2F1C;font-size:15px;line-height:1.4;
}
.test-flag[hidden]{display:none}
/* Links that need the address: .btn's display would otherwise beat hidden. */
[data-when][hidden]{display:none}
